vtkGenericPointIterator

Section: Visualization Toolkit Filtering Classes

Usage

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

Typical use is: <pre> vtkGenericDataSet *dataset; vtkGenericPointIterator *it = dataset->NewPointIterator(); for (it->Begin(); !it->IsAtEnd(); it->Next()); { x=it->GetPosition(); } </pre>

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

  obj = vtkGenericPointIterator

Methods

The class vtkGenericPointIterator 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 vtkGenericPointIterator class.