vtkGenericPointIterator Class Reference
#include <vtkGenericPointIterator.h>
Inheritance diagram for vtkGenericPointIterator:
[legend]Collaboration diagram for vtkGenericPointIterator:
[legend]List of all members.
Detailed Description
iterator used to traverse points
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();
}
- Created by:
-
- CVS contributions (if > 5%):
-
- CVS logs (CVSweb):
.cxx (/Filtering/vtkGenericPointIterator
.cxx)
.h (/Filtering/vtkGenericPointIterator
.h)
- Tests:
- vtkGenericPointIterator (Tests)
Definition at line 50 of file vtkGenericPointIterator.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkGenericPointIterator::vtkGenericPointIterator |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkGenericPointIterator::GetClassName |
( |
|
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
int vtkGenericPointIterator::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
virtual int vtkGenericPointIterator::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
void vtkGenericPointIterator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
virtual void vtkGenericPointIterator::Begin |
( |
|
) |
[pure virtual] |
|
|
Move iterator to first position if any (loop initialization). |
virtual int vtkGenericPointIterator::IsAtEnd |
( |
|
) |
[pure virtual] |
|
|
Is the iterator at the end of traversal? |
virtual void vtkGenericPointIterator::Next |
( |
|
) |
[pure virtual] |
|
|
Move the iterator to the next position in the list. - Precondition:
- not_off: !IsAtEnd()
|
virtual double* vtkGenericPointIterator::GetPosition |
( |
|
) |
[pure virtual] |
|
|
Get the coordinates of the point at the current iterator position. - Precondition:
- not_off: !IsAtEnd()
- Postcondition:
- result_exists: result!=0
|
virtual void vtkGenericPointIterator::GetPosition |
( |
double |
x[3] |
) |
[pure virtual] |
|
|
Get the coordinates of the point at the current iterator position. - Precondition:
- not_off: !IsAtEnd()
x_exists: x!=0
|
virtual vtkIdType vtkGenericPointIterator::GetId |
( |
|
) |
[pure virtual] |
|
|
Return the unique identifier for the point, could be non-contiguous. - Precondition:
- not_off: !IsAtEnd()
|
The documentation for this class was generated from the following file: