vtkGenericCellIterator Class Reference
#include <vtkGenericCellIterator.h>
Inheritance diagram for vtkGenericCellIterator:
[legend]Collaboration diagram for vtkGenericCellIterator:
[legend]List of all members.
Detailed Description
iterator used to traverse cells
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:
vtkGenericDataSet *dataset;
vtkGenericCellIterator *it = dataset->NewCellIterator(2);
for (it->Begin(); !it->IsAtEnd(); it->Next());
{
spec=it->GetCell();
}
- Created by:
-
- CVS contributions (if > 5%):
-
- CVS logs (CVSweb):
.h (/Filtering/vtkGenericCellIterator
.h)
.cxx (/Filtering/vtkGenericCellIterator
.cxx)
- Tests:
- vtkGenericCellIterator (Tests)
Definition at line 52 of file vtkGenericCellIterator.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkGenericCellIterator::vtkGenericCellIterator |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkGenericCellIterator::GetClassName |
( |
|
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
int vtkGenericCellIterator::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
virtual int vtkGenericCellIterator::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
void vtkGenericCellIterator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Standard VTK construction and type macros.
Reimplemented from vtkObject. |
virtual void vtkGenericCellIterator::Begin |
( |
|
) |
[pure virtual] |
|
|
Move iterator to first position if any (loop initialization). |
virtual int vtkGenericCellIterator::IsAtEnd |
( |
|
) |
[pure virtual] |
|
|
Is the iterator at the end of traversal? |
|
Create an empty cell. The user is responsible for deleting it. - Postcondition:
- result_exists: result!=0
|
|
Get the cell at current position. The cell should be instantiated with the NewCell() method. - Precondition:
- not_at_end: !IsAtEnd()
c_exists: c!=0 THREAD SAFE
|
|
Get the cell at the current traversal position. NOT THREAD SAFE - Precondition:
- not_at_end: !IsAtEnd()
- Postcondition:
- result_exits: result!=0
|
virtual void vtkGenericCellIterator::Next |
( |
|
) |
[pure virtual] |
|
|
Move the iterator to the next position in the list. - Precondition:
- not_at_end: !IsAtEnd()
|
The documentation for this class was generated from the following file: