Public Types | Public Member Functions | Protected Member Functions | List of all members
mirtk::SurfacePatches Class Reference

#include <SurfacePatches.h>

Inheritance diagram for mirtk::SurfacePatches:
Inheritance graph
Collaboration diagram for mirtk::SurfacePatches:
Collaboration graph

Public Types

enum  Ordering { NoOrdering, LargestFirst, SmallestFirst }
 Enumeration of possible orderings of surface patches. More...
 

Public Member Functions

vtkDataArray * GetLabelsArray () const
 Get cell data array storing surface patch labels.
 
SurfacePatchesoperator= (const SurfacePatches &)
 Assignment operator.
 
 SurfacePatches ()
 Constructor.
 
 SurfacePatches (const SurfacePatches &)
 Copy constructor.
 
virtual ~SurfacePatches ()
 Destructor.
 
- Public Member Functions inherited from mirtk::MeshFilter
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.
 
- Public Member Functions inherited from mirtk::Object
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.
 

Protected Member Functions

virtual void Execute ()
 Execute filter.
 
virtual void Finalize ()
 Finalize filter output.
 
virtual void Initialize ()
 Initialize filter after input and parameters are set.
 
- Protected Member Functions inherited from mirtk::SurfaceFilter
SurfaceFilteroperator= (const SurfaceFilter &)
 Assignment operator.
 
 SurfaceFilter ()
 Default constructor.
 
 SurfaceFilter (const SurfaceFilter &)
 Copy constructor.
 
virtual ~SurfaceFilter ()
 Destructor.
 
- Protected Member Functions inherited from mirtk::MeshFilter
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
 
MeshFilteroperator= (const MeshFilter &)
 Assignment operator.
 
virtual ~MeshFilter ()
 Destructor.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 

Additional Inherited Members

- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

Labels connected surface patches

Each surface patch consists of interior cells with edges that have only one cell edge neigbhor. Only boundary cells of a surface patch have an edge with no or multiple cell edge neigbhors.

Other definitions of patch borders based on surface attributes may be considered by specializations (subclasses) of this filter.

Definition at line 41 of file SurfacePatches.h.

Member Enumeration Documentation

§ Ordering

Enumeration of possible orderings of surface patches.

Enumerator
NoOrdering 

No sorting of output patches.

LargestFirst 

Sort by decreasing patch size.

SmallestFirst 

Sort by increasing patch size.

Definition at line 50 of file SurfacePatches.h.


The documentation for this class was generated from the following file: