27 #ifndef vtkMappedUnstructuredGridCellIterator_h
28 #define vtkMappedUnstructuredGridCellIterator_h
33 template <
class Implementation,
class CellIterator>
36 template <
class Implementation>
42 typedef Implementation ImplementationType;
73 #include "vtkMappedUnstructuredGridCellIterator.txx"
Efficient cell iterator for vtkDataSet topologies.
a simple class to control print indentation
Default cell iterator for vtkMappedUnstructuredGrid.
void FetchPoints()
Lookup the cell points in the data set and store them in this->Points.
void FetchPointIds()
Lookup the cell point ids in the data set and store them in this->PointIds.
vtkMappedUnstructuredGridCellIterator()
void IncrementToNextCell()
Update internal state to point to the next cell.
void ResetToFirstCell()
Update internal state to point to the first cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetMappedUnstructuredGrid(vtkMappedUnstructuredGrid< ImplementationType, ThisType > *grid)
vtkMappedUnstructuredGridCellIterator< ImplementationType > ThisType
bool IsDoneWithTraversal()
Returns false while the iterator is valid.
~vtkMappedUnstructuredGridCellIterator()
vtkIdType GetCellId()
Get the id of the current cell.
vtkTemplateTypeMacro(vtkMappedUnstructuredGridCellIterator< Implementation >, vtkCellIterator) typedef Implementation ImplementationType
static vtkMappedUnstructuredGridCellIterator< ImplementationType > * New()
void FetchCellType()
Lookup the cell type in the data set and store it in this->CellType.
Allows datasets with arbitrary storage layouts to be used with VTK.