#include <vtkGenericCellIterator.h>
Inheritance diagram for vtkGenericCellIterator:
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(); }
Definition at line 42 of file vtkGenericCellIterator.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 vtkGenericCellIterator * | SafeDownCast (vtkObject *o) |
Public Member Functions | |
virtual void | Begin ()=0 |
virtual int | IsAtEnd ()=0 |
virtual vtkGenericAdaptorCell * | NewCell ()=0 |
virtual void | GetCell (vtkGenericAdaptorCell *c)=0 |
virtual vtkGenericAdaptorCell * | GetCell ()=0 |
virtual void | Next ()=0 |
Protected Member Functions | |
vtkGenericCellIterator () | |
virtual | ~vtkGenericCellIterator () |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. Definition at line 47 of file vtkGenericCellIterator.h. |
|
|
|
|
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. |
|
Standard VTK construction and type macros. Reimplemented from vtkObject. Reimplemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, vtkBridgeCellIteratorOne, and vtkBridgeCellIteratorStrategy. |
|
Move iterator to first position if any (loop initialization). Implemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, and vtkBridgeCellIteratorOne. |
|
Is the iterator at the end of traversal? Implemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, and vtkBridgeCellIteratorOne. |
|
Create an empty cell. The user is responsible for deleting it.
Implemented in vtkBridgeCellIterator, and vtkBridgeCellIteratorStrategy. |
|
Get the cell at current position. The cell should be instantiated with the NewCell() method.
Implemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, and vtkBridgeCellIteratorOne. |
|
Get the cell at the current traversal position. NOT THREAD SAFE
Implemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, and vtkBridgeCellIteratorOne. |
|
Move the iterator to the next position in the list.
Implemented in vtkBridgeCellIterator, vtkBridgeCellIteratorOnCellBoundaries, vtkBridgeCellIteratorOnCellList, vtkBridgeCellIteratorOnDataSet, and vtkBridgeCellIteratorOne. |