31 #ifndef vtkUnstructuredGridBase_h 32 #define vtkUnstructuredGridBase_h 51 virtual void Allocate(vtkIdType numCells=1000,
int extSize=1000) = 0;
67 virtual vtkIdType InsertNextCell(
int type, vtkIdType npts,
68 vtkIdType *ptIds) = 0;
78 virtual vtkIdType InsertNextCell(
int type,
vtkIdList *ptIds) = 0;
86 virtual vtkIdType InsertNextCell(
int type, vtkIdType npts, vtkIdType *ptIds,
87 vtkIdType nfaces, vtkIdType *faces) = 0;
95 virtual void ReplaceCell(vtkIdType cellId,
int npts, vtkIdType *pts) = 0;
107 virtual int IsHomogeneous() = 0;
static vtkPointSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
abstract class for specifying dataset behavior
dynamic, self-adjusting array of vtkIdType
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
int GetDataObjectType() override
Return the type of data object.
list of point or cell ids
#define VTK_UNSTRUCTURED_GRID_BASE
general representation of visualization data
dataset represents arbitrary combinations of all possible cell types.
#define VTKCOMMONDATAMODEL_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.