19 #ifndef vtkUnstructuredGridBase_h
20 #define vtkUnstructuredGridBase_h
22 #include "vtkCommonDataModelModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
43 virtual void Allocate(
vtkIdType numCells = 1000,
int extSize = 1000) = 0;
106 virtual
void GetIdsOfCellsOfType(
int type,
vtkIdTypeArray* array) = 0;
123 ~vtkUnstructuredGridBase() override;
127 virtual
vtkIdType InternalInsertNextCell(
129 virtual
void InternalReplaceCell(
vtkIdType cellId,
int npts, const
vtkIdType pts[]) = 0;
132 vtkUnstructuredGridBase(const vtkUnstructuredGridBase&) = delete;
133 void operator=(const vtkUnstructuredGridBase&) = delete;
136 VTK_ABI_NAMESPACE_END
int GetDataObjectType() VTK_FUTURE_CONST override
Standard vtkDataSet API methods.
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.
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkIdType IsHomogeneous(vtkCellArray *cells)
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
a simple class to control print indentation
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.
object to represent cell connectivity
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.