Go to the documentation of this file.
31 #ifndef vtkUnstructuredGridBase_h
32 #define vtkUnstructuredGridBase_h
34 #include "vtkCommonDataModelModule.h"
41 void PrintSelf(ostream &os,
vtkIndent indent) VTK_OVERRIDE
static vtkUnstructuredGridBase * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
virtual vtkIdType InsertNextCell(int type, vtkIdType npts, vtkIdType *ptIds)=0
Insert/create cell in object by type and list of point ids defining cell topology.
virtual vtkIdType InsertNextCell(int type, vtkIdType npts, vtkIdType *ptIds, vtkIdType nfaces, vtkIdType *faces)=0
static vtkUnstructuredGridBase * GetData(vtkInformationVector *v, int i=0)
dataset represents arbitrary combinations of all possible cell types.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array)=0
Fill vtkIdTypeArray container with list of cell Ids.
virtual void ReplaceCell(vtkIdType cellId, int npts, vtkIdType *pts)=0
Replace the points defining cell "cellId" with a new set of points.
vtkUnstructuredGridBase()
vtkAbstractTypeMacro(vtkUnstructuredGridBase, vtkPointSet) void PrintSelf(ostream &os
a simple class to control print indentation
list of point or cell ids
int GetDataObjectType() override
Return the type of data object.
dynamic, self-adjusting array of vtkIdType
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
~vtkUnstructuredGridBase() override
abstract class for specifying dataset behavior
#define VTK_UNSTRUCTURED_GRID_BASE
virtual vtkIdType InsertNextCell(int type, vtkIdList *ptIds)=0
Insert/create cell in object by a list of point ids defining cell topology.
general representation of visualization data
virtual void Allocate(vtkIdType numCells=1000, int extSize=1000)=0
Allocate memory for the number of cells indicated.
virtual int IsHomogeneous()=0
Traverse cells and determine if cells are all of the same type.