21 #ifndef vtkUnstructuredGridCellIterator_h
22 #define vtkUnstructuredGridCellIterator_h
25 #include "vtkCommonDataModelModule.h"
Encapsulate traversal logic for vtkCellArray.
object to represent cell connectivity
Efficient cell iterator for vtkDataSet topologies.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
represent and manipulate 3D points
dynamic, self-adjusting array of unsigned char
Implementation of vtkCellIterator specialized for vtkUnstructuredGrid.
vtkUnstructuredGridCellIterator()
vtkSmartPointer< vtkPoints > Coords
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetUnstructuredGrid(vtkUnstructuredGrid *ug)
void IncrementToNextCell() override
Update internal state to point to the next cell.
void ResetToFirstCell() override
Update internal state to point to the first cell.
vtkSmartPointer< vtkIdTypeArray > FaceLocs
bool IsDoneWithTraversal() override
Returns false while the iterator is valid.
vtkIdType GetCellId() override
Get the id of the current cell.
static vtkUnstructuredGridCellIterator * New()
void FetchFaces() override
Lookup the cell faces in the data set and store them in this->Faces.
void FetchPoints() override
Lookup the cell points in the data set and store them in this->Points.
vtkSmartPointer< vtkCellArrayIterator > Cells
vtkSmartPointer< vtkUnsignedCharArray > Types
~vtkUnstructuredGridCellIterator() override
void FetchPointIds() override
Lookup the cell point ids in the data set and store them in this->PointIds.
vtkSmartPointer< vtkIdTypeArray > FaceConn
void FetchCellType() override
Lookup the cell type in the data set and store it in this->CellType.
dataset represents arbitrary combinations of all possible cell types