21#ifndef vtkDataSetCellIterator_h
22#define vtkDataSetCellIterator_h
25#include "vtkCommonDataModelModule.h"
Efficient cell iterator for vtkDataSet topologies.
Implementation of vtkCellIterator using vtkDataSet API.
void FetchPoints() override
Lookup the cell points in the data set and store them in this->Points.
void FetchCellType() override
Lookup the cell type in the data set and store it in this->CellType.
static vtkDataSetCellIterator * New()
void IncrementToNextCell() override
Update internal state to point to the next cell.
vtkIdType GetCellId() override
Get the id of the current cell.
vtkSmartPointer< vtkDataSet > DataSet
void FetchPointIds() override
Lookup the cell point ids in the data set and store them in this->PointIds.
~vtkDataSetCellIterator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool IsDoneWithTraversal() override
Returns false while the iterator is valid.
void SetDataSet(vtkDataSet *ds)
void ResetToFirstCell() override
Update internal state to point to the first cell.
abstract class to specify dataset behavior
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.