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)
override
static vtkUnstructuredGridBase * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
virtual vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[], vtkIdType nfaces, const 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 vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[])=0
virtual void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array)=0
Fill vtkIdTypeArray container with list of cell Ids.
vtkIdType InsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[], vtkIdType nfaces, const vtkIdType faces[])
vtkUnstructuredGridBase()
vtkAbstractTypeMacro(vtkUnstructuredGridBase, vtkPointSet) void PrintSelf(ostream &os
virtual vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds)=0
#define VTK_SIZEHINT(...)
a simple class to control print indentation
virtual void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])=0
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
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.
vtkIdType InsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[])
Insert/create cell in object by type and list of point ids defining cell topology.
vtkIdType InsertNextCell(int type, vtkIdList *ptIds)
Insert/create cell in object by a list of point ids defining cell topology.
void ReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])
Replace the points defining cell "cellId" with a new set of points.