|
VMTK
|
Build the one-ring neighborhood of a point on a vtkPolyData surface mesh. More...
#include <vtkvmtkPolyDataNeighborhood.h>
Public Types | |
| typedef vtkvmtkNeighborhood | Superclass |
| Public Types inherited from vtkvmtkNeighborhood | |
| typedef vtkvmtkDataSetItem | Superclass |
| Public Types inherited from vtkvmtkDataSetItem | |
| typedef vtkvmtkItem | Superclass |
| Public Types inherited from vtkvmtkItem | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkPolyDataNeighborhood * | NewInstance () const |
| virtual vtkIdType | GetItemType () override |
| virtual void | Build () override |
| Public Member Functions inherited from vtkvmtkNeighborhood | |
| vtkvmtkNeighborhood * | NewInstance () const |
| virtual bool | GetIsBoundary () |
| vtkIdType | GetNumberOfPoints () |
| vtkIdType | GetPointId (vtkIdType i) |
| vtkIdType * | GetPointer (vtkIdType i) |
| virtual void | DeepCopy (vtkvmtkItem *src) override |
| Public Member Functions inherited from vtkvmtkDataSetItem | |
| vtkvmtkDataSetItem * | NewInstance () const |
| void | SetDataSet (vtkDataSet *dataSet) |
| vtkDataSet * | GetDataSet () |
| virtual void | SetDataSetPointId (vtkIdType) |
| virtual vtkIdType | GetDataSetPointId () |
| virtual void | SetReallocateOnBuild (int) |
| virtual int | GetReallocateOnBuild () |
| virtual void | ReallocateOnBuildOn () |
| virtual void | ReallocateOnBuildOff () |
| Public Member Functions inherited from vtkvmtkItem | |
| vtkvmtkItem * | NewInstance () const |
Static Public Member Functions | |
| static vtkvmtkPolyDataNeighborhood * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkPolyDataNeighborhood * | SafeDownCast (vtkObjectBase *o) |
| Static Public Member Functions inherited from vtkvmtkNeighborhood | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkNeighborhood * | SafeDownCast (vtkObjectBase *o) |
| Static Public Member Functions inherited from vtkvmtkDataSetItem | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkDataSetItem * | SafeDownCast (vtkObjectBase *o) |
| Static Public Member Functions inherited from vtkvmtkItem | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkItem * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkPolyDataNeighborhood () | |
| ~vtkvmtkPolyDataNeighborhood () | |
| Protected Member Functions inherited from vtkvmtkNeighborhood | |
| vtkvmtkNeighborhood () | |
| ~vtkvmtkNeighborhood () | |
| void | ResizePointList (vtkIdType ptId, int size) |
| Protected Member Functions inherited from vtkvmtkDataSetItem | |
| vtkvmtkDataSetItem () | |
| ~vtkvmtkDataSetItem () | |
| Protected Member Functions inherited from vtkvmtkItem | |
| vtkvmtkItem () | |
| ~vtkvmtkItem () | |
Additional Inherited Members | |
| Protected Attributes inherited from vtkvmtkNeighborhood | |
| vtkIdType | NPoints |
| vtkIdType * | PointIds |
| bool | IsBoundary |
| Protected Attributes inherited from vtkvmtkDataSetItem | |
| vtkDataSet * | DataSet |
| vtkIdType | DataSetPointId |
| int | ReallocateOnBuild |
Build the one-ring neighborhood of a point on a vtkPolyData surface mesh.
Given a point id set on the underlying vtkvmtkNeighborhood (via SetDataSet/SetDataSetPointId) and a vtkPolyData data set, Build() collects the ids of all points connected to that point by a shared cell (its one-ring / umbrella neighborhood) and stores them for later access through the inherited vtkvmtkNeighborhood point-id array. This is the neighborhood implementation used by mesh-processing classes that operate on triangulated surfaces, and is instantiated internally by classes such as vtkvmtkSparseMatrix when building neighborhoods from a vtkPolyData input.
Definition at line 41 of file vtkvmtkPolyDataNeighborhood.h.
Definition at line 46 of file vtkvmtkPolyDataNeighborhood.h.
|
inlineprotected |
Definition at line 60 of file vtkvmtkPolyDataNeighborhood.h.
|
inlineprotected |
Definition at line 61 of file vtkvmtkPolyDataNeighborhood.h.
|
static |
|
static |
|
virtual |
Reimplemented from vtkvmtkNeighborhood.
|
static |
|
protectedvirtual |
Reimplemented from vtkvmtkNeighborhood.
| vtkvmtkPolyDataNeighborhood * vtkvmtkPolyDataNeighborhood::NewInstance | ( | ) | const |
|
inlineoverridevirtual |
Return the neighborhood item type identifier (VTK_VMTK_POLYDATA_NEIGHBORHOOD), used by vtkvmtkNeighborhoods/vtkvmtkItems factories to instantiate the correct neighborhood subclass.
Implements vtkvmtkItem.
Definition at line 52 of file vtkvmtkPolyDataNeighborhood.h.
|
overridevirtual |
Build the neighborhood.
Implements vtkvmtkNeighborhood.
Definition at line 31 of file vtkvmtkPolyDataNeighborhood.cxx.