22 #ifndef vtkStructuredCellArray_h
23 #define vtkStructuredCellArray_h
26 #include "vtkCommonDataModelModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
31 template <
typename T,
int ArrayType>
71 void SetData(VTK_FUTURE_CONST
int extent[6],
bool usePixelVoxelOrientation);
102 VTK_EXPECTS(0 <= cellId && cellId < GetNumberOfCells()) override;
110 VTK_EXPECTS(0 <= cellId && cellId < GetNumberOfCells()) override;
120 cellPoints, cellSize)
VTK_EXPECTS(0 <= cellId && cellId < GetNumberOfCells()) override;
127 void GetCellAtId(
int ijk[3],
vtkIdList* ptIds);
147 int GetMaxCellSize() override;
161 ~vtkStructuredCellArray() override;
166 struct vtkStructuredCellBackend;
167 template <
int DataDescription,
bool UsePixelVoxelOrientation>
173 vtkStructuredCellArray(const vtkStructuredCellArray&) = delete;
174 void operator=(const vtkStructuredCellArray&) = delete;
177 VTK_ABI_NAMESPACE_END
178 #endif // vtkStructuredCellArray_h
abstract object to represent cell connectivity
implicit object to represent cell connectivity
Hold a reference to a vtkObjectBase instance.
virtual vtkIdType GetOffset(vtkIdType cellId)=0
Get the offset (into the connectivity) for a specified cell id.
a simple class to control print indentation
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
#define VTK_SIZEHINT(...)
bool IsStorageShareable() const override
A read only array class that wraps an implicit function from integers to any value type supported by ...
virtual vtkIdType GetNumberOfOffsets() const =0
Get the number of elements in the offsets array.
void GetCellAtId(vtkIdType cellId, vtkIdType &cellSize, vtkIdType const *&cellPoints)
Return the point ids for the cell at cellId.
virtual vtkIdType GetNumberOfCells() const =0
Get the number of cells in the array.
virtual void Initialize()=0
Free any memory and reset to an empty state.
virtual vtkIdType IsHomogeneous() const =0
Check if all cells have the same number of vertices.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual vtkIdType GetNumberOfConnectivityIds() const =0
Get the size of the connectivity array that stores the point ids.