28#ifndef vtkUnstructuredGridBase_h
29#define vtkUnstructuredGridBase_h
31#include "vtkCommonDataModelModule.h"
general representation of visualization data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
list of point or cell ids
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
concrete class for storing a set of points
dataset represents arbitrary combinations of all possible cell types.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methdos for type information and printing.
void ReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])
Replace the points defining cell "cellId" with a new set of points.
static vtkUnstructuredGridBase * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
vtkIdType InsertNextCell(int type, vtkIdList *ptIds)
Insert/create cell in object by a list of point ids defining cell topology.
virtual void InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])=0
vtkAbstractTypeMacro(vtkUnstructuredGridBase, vtkPointSet)
int GetDataObjectType() override
Return the type of data object.
virtual vtkIdType InternalInsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[], vtkIdType nfaces, const vtkIdType faces[])=0
vtkIdType InsertNextCell(int type, vtkIdType npts, const vtkIdType ptIds[], vtkIdType nfaces, const vtkIdType faces[])
virtual vtkIdType InternalInsertNextCell(int type, vtkIdList *ptIds)=0
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
~vtkUnstructuredGridBase() override
virtual int IsHomogeneous()=0
Traverse cells and determine if cells are all of the same type.
virtual void Allocate(vtkIdType numCells=1000, int extSize=1000)=0
Allocate memory for the number of cells indicated.
static vtkUnstructuredGridBase * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
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[])
Insert/create cell in object by type and list of point ids defining cell topology.
vtkUnstructuredGridBase()
#define VTK_UNSTRUCTURED_GRID_BASE
#define VTK_SIZEHINT(...)