31 #ifndef vtkUnstructuredGridBase_h
32 #define vtkUnstructuredGridBase_h
34 #include "vtkCommonDataModelModule.h"
51 virtual void Allocate(
vtkIdType numCells = 1000,
int extSize = 1000) = 0;
110 virtual
int IsHomogeneous() = 0;
122 ~vtkUnstructuredGridBase() override;
128 virtual
void InternalReplaceCell(
vtkIdType cellId,
int npts, const
vtkIdType pts[]) = 0;
131 vtkUnstructuredGridBase(const vtkUnstructuredGridBase&) = delete;
132 void operator=(const vtkUnstructuredGridBase&) = delete;
concrete class for storing a set of points
dynamic, self-adjusting array of vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
a simple class to control print indentation
int GetDataObjectType() override
Return the type of data object.
list of point or cell ids
#define VTK_SIZEHINT(...)
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
#define VTK_UNSTRUCTURED_GRID_BASE
general representation of visualization data
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.