|
VMTK
|
Create an item instance associated with a data set and a particular point id. More...
#include <vtkvmtkDataSetItem.h>
Public Types | |
| typedef vtkvmtkItem | Superclass |
| Public Types inherited from vtkvmtkItem | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkDataSetItem * | NewInstance () const |
| virtual void | Build ()=0 |
| virtual void | DeepCopy (vtkvmtkItem *src) override |
| 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 |
| virtual vtkIdType | GetItemType ()=0 |
Static Public Member Functions | |
| 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 |
| vtkvmtkDataSetItem () | |
| ~vtkvmtkDataSetItem () | |
| Protected Member Functions inherited from vtkvmtkItem | |
| vtkvmtkItem () | |
| ~vtkvmtkItem () | |
Protected Attributes | |
| vtkDataSet * | DataSet |
| vtkIdType | DataSetPointId |
| int | ReallocateOnBuild |
Create an item instance associated with a data set and a particular point id.
vtkvmtkDataSetItem is an abstract vtkvmtkItem specialization that anchors the item to a specific point (DataSetPointId) of a specific vtkDataSet (DataSet). Concrete subclasses (e.g. vtkvmtkNeighborhood and its descendants) use Build() to compute, from DataSet and DataSetPointId, whatever local geometric quantity the item represents (topological neighbors, finite-difference stencil weights, etc.). Items of this kind are normally created and owned in bulk by a matching vtkvmtkDataSetItems collection, one per point of the data set.
Definition at line 42 of file vtkvmtkDataSetItem.h.
Definition at line 46 of file vtkvmtkDataSetItem.h.
|
protected |
Definition at line 27 of file vtkvmtkDataSetItem.cxx.
|
inlineprotected |
Definition at line 91 of file vtkvmtkDataSetItem.h.
|
static |
|
virtual |
Reimplemented from vtkvmtkItem.
Reimplemented in vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkNeighborhood, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataFELaplaceBeltramiStencil, vtkvmtkPolyDataFVFELaplaceBeltramiStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataLaplaceBeltramiStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataManifoldStencil, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, vtkvmtkStencil, and vtkvmtkUnstructuredGridNeighborhood.
|
static |
|
protectedvirtual |
Reimplemented from vtkvmtkItem.
Reimplemented in vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkNeighborhood, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataFELaplaceBeltramiStencil, vtkvmtkPolyDataFVFELaplaceBeltramiStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataLaplaceBeltramiStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataManifoldStencil, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, vtkvmtkStencil, and vtkvmtkUnstructuredGridNeighborhood.
| vtkvmtkDataSetItem * vtkvmtkDataSetItem::NewInstance | ( | ) | const |
|
inline |
Set/get the data set that this item refers to. The reference is stored but not registered (no reference counting), so the data set must be kept alive by the caller for the lifetime of this item.
Definition at line 56 of file vtkvmtkDataSetItem.h.
|
inline |
Set/get the data set that this item refers to. The reference is stored but not registered (no reference counting), so the data set must be kept alive by the caller for the lifetime of this item.
Definition at line 57 of file vtkvmtkDataSetItem.h.
|
virtual |
Set/get the id, within DataSet, of the point that this item is built around. Default: -1 (unset).
|
virtual |
Set/get the id, within DataSet, of the point that this item is built around. Default: -1 (unset).
|
pure virtual |
Build the item.
Implemented in vtkvmtkEmptyNeighborhood, vtkvmtkEmptyStencil, vtkvmtkNeighborhood, vtkvmtkPolyDataAreaWeightedUmbrellaStencil, vtkvmtkPolyDataGradientStencil, vtkvmtkPolyDataLaplaceBeltramiStencil, vtkvmtkPolyDataManifoldExtendedNeighborhood, vtkvmtkPolyDataManifoldNeighborhood, vtkvmtkPolyDataManifoldStencil, vtkvmtkPolyDataNeighborhood, vtkvmtkPolyDataUmbrellaStencil, vtkvmtkStencil, and vtkvmtkUnstructuredGridNeighborhood.
|
overridevirtual |
Standard DeepCopy method.
Reimplemented from vtkvmtkItem.
Reimplemented in vtkvmtkNeighborhood, and vtkvmtkStencil.
Definition at line 34 of file vtkvmtkDataSetItem.cxx.
|
virtual |
Toggle whether Build() is forced to reallocate/recompute the item's internal data even if it has already been built. Default: off.
|
virtual |
Toggle whether Build() is forced to reallocate/recompute the item's internal data even if it has already been built. Default: off.
|
virtual |
Toggle whether Build() is forced to reallocate/recompute the item's internal data even if it has already been built. Default: off.
|
virtual |
Toggle whether Build() is forced to reallocate/recompute the item's internal data even if it has already been built. Default: off.
|
protected |
Definition at line 93 of file vtkvmtkDataSetItem.h.
|
protected |
Definition at line 94 of file vtkvmtkDataSetItem.h.
|
protected |
Definition at line 96 of file vtkvmtkDataSetItem.h.