22#ifndef vtkStructuredCellArray_h
23#define vtkStructuredCellArray_h
26#include "vtkCommonDataModelModule.h"
29VTK_ABI_NAMESPACE_BEGIN
74 void SetData(
int extent[6],
bool usePixelVoxelOrientation);
169 struct vtkStructuredCellBackend;
170 template <
int DataDescription,
bool UsePixelVoxelOrientation>
abstract object to represent cell connectivity
virtual vtkIdType GetNumberOfCells() const =0
Get the number of cells in the array.
list of point or cell ids
A read only array class that wraps an implicit function from integers to any value type supported by ...
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
implicit object to represent cell connectivity
void ShallowCopy(vtkAbstractCellArray *ca) override
Shallow copy ca into this cell array.
int GetMaxCellSize() override
Returns the size of the largest cell.
void GetCellAtId(int ijk[3], vtkIdList *ptIds)
Return the point ids for the cell at ijk.
vtkIdType GetNumberOfConnectivityIds() const override
Get the size of the connectivity array that stores the point ids.
void Initialize() override
Free any memory and reset to an empty state.
void GetCellAtId(vtkIdType cellId, vtkIdType &cellSize, vtkIdType const *&cellPoints, vtkIdList *ptIds) override
Return the point ids for the cell at cellId.
vtkIdType GetOffset(vtkIdType cellId) override
Get the offset (into the connectivity) for a specified cell id.
void GetCellAtId(vtkIdType cellId, vtkIdType &cellSize, vtkIdType *cellPoints) override
Return the point ids for the cell at cellId.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetNumberOfOffsets() const override
Get the number of elements in the offsets array.
static vtkStructuredCellArray * New()
void SetData(int extent[6], bool usePixelVoxelOrientation)
Create a new cell array given extent and a flag indicating whether the data should be stored in a vox...
bool IsStorageShareable() const override
~vtkStructuredCellArray() override
void GetCellAtId(int ijk[3], vtkIdType &cellSize, vtkIdType *cellPoints)
Return the point ids for the cell at ijk.
vtkIdType GetCellSize(vtkIdType cellId) const override
Return the size of the cell at cellId.
vtkIdType IsHomogeneous() override
Check if all cells have the same number of vertices.
void DeepCopy(vtkAbstractCellArray *ca) override
Perform a deep copy (no reference counting) of the given cell array.
vtkSmartPointer< vtkImplicitArray< vtkStructuredCellBackend > > Connectivity
vtkIdType GetNumberOfCells() const override
Get the number of cells in the array.
void GetCellAtId(vtkIdType cellId, vtkIdList *ptIds) override
Return the point ids for the cell at cellId.
#define VTK_SIZEHINT(...)