28 #ifndef __vtkvmtkItems_h 29 #define __vtkvmtkItems_h 31 #include "vtkObject.h" 33 #include "vtkDataSet.h" 35 #include "vtkvmtkWin32Header.h" 37 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT
vtkvmtkItems :
public vtkObject
43 vtkSetMacro(ItemType,
int);
44 vtkGetMacro(ItemType,
int);
48 void Allocate(vtkIdType numItems, vtkIdType ext=1000);
67 void AllocateItem(vtkIdType i, vtkIdType itemType);
79 virtual vtkvmtkItem* InstantiateNewItem(
int itemType) = 0;
vtkvmtkItem * GetItem(vtkIdType id)
Control allocation and memory footprint of item instances.
void SetNumberOfItems(vtkIdType numberOfItems)
Base class for the construction of neighborhoods and stencil from a set of points.
vtkIdType GetNumberOfItems()