|
VMTK
|
Serves as the base class for constructing neighborhoods and stencils from a set of points. More...
#include <vtkvmtkItem.h>
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkItem * | NewInstance () const |
| virtual vtkIdType | GetItemType ()=0 |
| virtual void | DeepCopy (vtkvmtkItem *src) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkItem * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkItem () | |
| ~vtkvmtkItem () | |
Serves as the base class for constructing neighborhoods and stencils from a set of points.
vtkvmtkItem is the abstract root of vmtk's differential-geometry "item" hierarchy (see vtkvmtkDataSetItem, vtkvmtkNeighborhood, vtkvmtkStencil): a lightweight, individually reference-counted object representing one per-point piece of local data (a topological neighborhood, a finite-difference/finite-element stencil, etc.), meant to be held in bulk by a matching vtkvmtkItems collection. GetItemType() identifies the concrete item type so that collections can instantiate the right subclass, and DeepCopy() is the standard mechanism for copying one item's data into another of the same type.
Definition at line 41 of file vtkvmtkItem.h.
| typedef vtkObject vtkvmtkItem::Superclass |
Definition at line 45 of file vtkvmtkItem.h.
|
inlineprotected |
Definition at line 61 of file vtkvmtkItem.h.
|
inlineprotected |
Definition at line 62 of file vtkvmtkItem.h.
|
static |
|
virtual |
Reimplemented in vtkvmtkDataSetItem, vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkNeighborhood, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataFELaplaceBeltramiStencil, vtkvmtkPolyDataFVFELaplaceBeltramiStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataLaplaceBeltramiStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataManifoldStencil, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, vtkvmtkStencil, and vtkvmtkUnstructuredGridNeighborhood.
|
static |
|
protectedvirtual |
Reimplemented in vtkvmtkDataSetItem, vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkNeighborhood, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataFELaplaceBeltramiStencil, vtkvmtkPolyDataFVFELaplaceBeltramiStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataLaplaceBeltramiStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataManifoldStencil, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, vtkvmtkStencil, and vtkvmtkUnstructuredGridNeighborhood.
| vtkvmtkItem * vtkvmtkItem::NewInstance | ( | ) | const |
|
pure virtual |
Get an identifier for the concrete item type (one of the VTK_VMTK_*_NEIGHBORHOOD / VTK_VMTK_*_STENCIL constants), used by owning vtkvmtkItems collections to instantiate the correct subclass.
Implemented in vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataFELaplaceBeltramiStencil, vtkvmtkPolyDataFVFELaplaceBeltramiStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, and vtkvmtkUnstructuredGridNeighborhood.
|
virtual |
Standard DeepCopy method. Since this object contains no reference to other objects, there is no ShallowCopy.
Reimplemented in vtkvmtkDataSetItem, vtkvmtkNeighborhood, and vtkvmtkStencil.
Definition at line 27 of file vtkvmtkItem.cxx.