19 #ifndef vtkUnstructuredGridBase_h
20 #define vtkUnstructuredGridBase_h
22 #include "vtkCommonDataModelModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
40 virtual void Allocate(
vtkIdType numCells = 1000,
int extSize = 1000) = 0;
99 virtual
int IsHomogeneous() = 0;
111 ~vtkUnstructuredGridBase() override;
117 virtual
void InternalReplaceCell(
vtkIdType cellId,
int npts, const
vtkIdType pts[]) = 0;
120 vtkUnstructuredGridBase(const vtkUnstructuredGridBase&) = delete;
121 void operator=(const vtkUnstructuredGridBase&) = delete;
124 VTK_ABI_NAMESPACE_END
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
Standard vtkDataSet API methods.
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.