#include <vtkGenericPointIterator.h>
Inheritance diagram for vtkGenericPointIterator:
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:
vtkGenericDataSet *dataset; vtkGenericPointIterator *it = dataset->NewPointIterator(); for (it->Begin(); !it->IsAtEnd(); it->Next()); { x=it->GetPosition(); }
Definition at line 40 of file vtkGenericPointIterator.h.
typedef vtkObject | Superclass |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
static int | IsTypeOf (const char *type) |
static vtkGenericPointIterator * | SafeDownCast (vtkObject *o) |
virtual vtkIdType | GetId ()=0 |
vtkGenericPointIterator () | |
virtual | ~vtkGenericPointIterator () |
Public Member Functions | |
virtual void | Begin ()=0 |
virtual int | IsAtEnd ()=0 |
virtual void | Next ()=0 |
virtual double * | GetPosition ()=0 |
virtual void | GetPosition (double x[3])=0 |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. Definition at line 45 of file vtkGenericPointIterator.h. |
|
Destructor. |
|
Return the unique identifier for the point, could be non-contiguous.
|
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Move iterator to first position if any (loop initialization). Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Is the iterator at the end of traversal? Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Move the iterator to the next position in the list.
Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Get the coordinates of the point at the current iterator position.
Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Get the coordinates of the point at the current iterator position.
Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |
|
Return the unique identifier for the point, could be non-contiguous.
Implemented in vtkBridgePointIterator, vtkBridgePointIteratorOnCell, vtkBridgePointIteratorOnDataSet, and vtkBridgePointIteratorOne. |