#include <MeshFilter.h>
|
vtkPolyData * | GetOutput () |
| Get output surface mesh.
|
|
| mirtkOnOffMacro (DoublePrecision) |
| Enable/disable double precision output.
|
|
virtual void | Run () |
| Run filter.
|
|
void | SetInput (vtkPolyData *) |
| Set input surface mesh.
|
|
void | SetInputData (vtkPolyData *) |
| Set input surface mesh.
|
|
void | Update () |
| Run filter.
|
|
virtual const char * | NameOfClass () const =0 |
| Get name of class, which this object is an instance of.
|
|
virtual ParameterList | Parameter () const |
| Get parameter name/value pairs.
|
|
bool | Parameter (const ParameterList &) |
| Set parameters from name/value pairs.
|
|
virtual bool | Set (const char *name, const char *value) |
|
virtual | ~Object () |
| Destructor.
|
|
|
virtual void | Execute ()=0 |
| Execute filter.
|
|
virtual void | Finalize () |
| Finalize filter execution.
|
|
virtual void | Initialize () |
| Initialize filter after input and parameters are set.
|
|
virtual void | InitializeEdgeTable () |
| To be called by subclass in Initialize when _EdgeTable is needed.
|
|
| MeshFilter () |
| Default constructor.
|
|
| MeshFilter (const MeshFilter &) |
| Copy constructor.
|
|
vtkSmartPointer< vtkDataArray > | NewArray (const char *name, vtkIdType n, int c, int type=VTK_VOID) const |
|
vtkSmartPointer< vtkDataArray > | NewArray (const char *name, int c=1, int type=VTK_VOID) const |
|
vtkSmartPointer< vtkDataArray > | NewCellArray (const char *name, int c=1, int type=VTK_VOID) const |
|
vtkSmartPointer< vtkDataArray > | NewPointArray (const char *name, int c=1, int type=VTK_VOID) const |
|
MeshFilter & | operator= (const MeshFilter &) |
| Assignment operator.
|
|
virtual | ~MeshFilter () |
| Destructor.
|
|
template<typename... Args> |
void | Throw (ErrorType err, const char *func, Args... args) const |
|
|
static const char * | NameOfType () |
| Get name of this class type.
|
|
template<typename... Args> |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
|
Base class for filters which process discrete surface and/or volumetric meshes
Definition at line 39 of file MeshFilter.h.
§ NewArray() [1/2]
vtkSmartPointer<vtkDataArray> mirtk::MeshFilter::NewArray |
( |
const char * |
name, |
|
|
vtkIdType |
n, |
|
|
int |
c, |
|
|
int |
type = VTK_VOID |
|
) |
| const |
|
protected |
Allocate new data set attributes array
- Parameters
-
[in] | name | Name of data array. |
[in] | n | Number of tuples. |
[in] | c | Number of components. |
[in] | type | Type of VTK array. When VTK_VOID, a floating point array is allocated with either single or double precision depending on the DoublePrecision flag of this mesh filter. |
- Returns
- New floating point array
§ NewArray() [2/2]
vtkSmartPointer<vtkDataArray> mirtk::MeshFilter::NewArray |
( |
const char * |
name, |
|
|
int |
c = 1 , |
|
|
int |
type = VTK_VOID |
|
) |
| const |
|
protected |
Allocate new point data array
- Parameters
-
[in] | name | Name of data array. |
[in] | c | Number of components. |
[in] | type | Type of VTK array. When VTK_VOID, a floating point array is allocated with either single or double precision depending on the DoublePrecision flag of this mesh filter. |
- Returns
- New floating point array
- Deprecated:
- Use NewPointArray instead.
§ NewCellArray()
vtkSmartPointer<vtkDataArray> mirtk::MeshFilter::NewCellArray |
( |
const char * |
name, |
|
|
int |
c = 1 , |
|
|
int |
type = VTK_VOID |
|
) |
| const |
|
protected |
Allocate new cell data array
- Parameters
-
[in] | name | Name of data array. |
[in] | c | Number of components. |
[in] | type | Type of VTK array. When VTK_VOID, a floating point array is allocated with either single or double precision depending on the DoublePrecision flag of this mesh filter. |
- Returns
- New floating point array
§ NewPointArray()
vtkSmartPointer<vtkDataArray> mirtk::MeshFilter::NewPointArray |
( |
const char * |
name, |
|
|
int |
c = 1 , |
|
|
int |
type = VTK_VOID |
|
) |
| const |
|
protected |
Allocate new point data array
- Parameters
-
[in] | name | Name of data array. |
[in] | c | Number of components. |
[in] | type | Type of VTK array. When VTK_VOID, a floating point array is allocated with either single or double precision depending on the DoublePrecision flag of this mesh filter. |
- Returns
- New floating point array
The documentation for this class was generated from the following file: