vtkGenericCellIterator

Section: Visualization Toolkit Filtering Classes

Usage

This class (and subclasses) are used to iterate over cells. Use it only in conjunction with vtkGenericDataSet (i.e., the adaptor framework).

Typical use is: <pre> vtkGenericDataSet *dataset; vtkGenericCellIterator *it = dataset->NewCellIterator(2); for (it->Begin(); !it->IsAtEnd(); it->Next()); { spec=it->GetCell(); } </pre>

To create an instance of class vtkGenericCellIterator, simply invoke its constructor as follows

  obj = vtkGenericCellIterator

Methods

The class vtkGenericCellIterator has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkGenericCellIterator class.