34#ifndef __vtkvmtkItems_h
35#define __vtkvmtkItems_h
39#include "vtkDataSet.h"
41#include "vtkvmtkWin32Header.h"
43class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT
vtkvmtkItems :
public vtkObject
61 void Allocate(vtkIdType numItems, vtkIdType ext=1000);
101 void AllocateItem(vtkIdType i, vtkIdType itemType);
Serves as the base class for constructing neighborhoods and stencils from a set of points.
Control allocation and memory footprint of item instances.
virtual vtkvmtkItem * InstantiateNewItem(int itemType)=0
vtkvmtkItem * GetItem(vtkIdType id)
void SetNumberOfItems(vtkIdType numberOfItems)
void Allocate(vtkIdType numItems, vtkIdType ext=1000)
vtkIdType GetNumberOfItems()
vtkvmtkItem ** Resize(vtkIdType sz)