13 #ifndef vtkAbstractCellArray_h
14 #define vtkAbstractCellArray_h
16 #include "vtkCommonDataModelModule.h"
21 #include <initializer_list>
23 VTK_ABI_NAMESPACE_BEGIN
37 virtual void Initialize() = 0;
42 virtual vtkIdType GetNumberOfCells()
const = 0;
48 virtual vtkIdType GetNumberOfOffsets()
const = 0;
58 virtual vtkIdType GetNumberOfConnectivityIds()
const = 0;
66 virtual bool IsStorageShareable()
const = 0;
100 virtual
void GetCellAtId(
110 VTK_EXPECTS(0 <= cellId && cellId < GetNumberOfCells()) = 0;
131 virtual
int GetMaxCellSize() = 0;
145 ~vtkAbstractCellArray() override;
150 vtkAbstractCellArray(const vtkAbstractCellArray&) = delete;
151 void operator=(const vtkAbstractCellArray&) = delete;
154 VTK_ABI_NAMESPACE_END
155 #endif // vtkAbstractCellArray_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract object to represent cell connectivity
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkIdType IsHomogeneous(vtkCellArray *cells)
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
#define VTK_SIZEHINT(...)
Allocate and hold a VTK object.