VTK
|
Default cell iterator for vtkMappedUnstructuredGrid. More...
#include <vtkMappedUnstructuredGridCellIterator.h>
Public Types | |
typedef Implementation | ImplementationType |
typedef vtkMappedUnstructuredGridCellIterator < ImplementationType > | ThisType |
Public Member Functions | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetMappedUnstructuredGrid (vtkMappedUnstructuredGrid< ImplementationType, ThisType > *grid) |
bool | IsDoneWithTraversal () |
vtkIdType | GetCellId () |
Static Public Member Functions | |
static vtkMappedUnstructuredGridCellIterator < ImplementationType > * | New () |
Protected Member Functions | |
vtkMappedUnstructuredGridCellIterator () | |
~vtkMappedUnstructuredGridCellIterator () | |
void | ResetToFirstCell () |
void | IncrementToNextCell () |
void | FetchCellType () |
void | FetchPointIds () |
void | FetchPoints () |
Default cell iterator for vtkMappedUnstructuredGrid.
This class is used by default for vtkMappedUnstructedGrid instances. It uses random access for data lookups. Custom vtkCellIterator implementations should be used instead when random-access is inefficient.
Definition at line 37 of file vtkMappedUnstructuredGridCellIterator.h.
typedef Implementation vtkMappedUnstructuredGridCellIterator< Implementation >::ImplementationType |
Definition at line 42 of file vtkMappedUnstructuredGridCellIterator.h.
typedef vtkMappedUnstructuredGridCellIterator<ImplementationType> vtkMappedUnstructuredGridCellIterator< Implementation >::ThisType |
Definition at line 43 of file vtkMappedUnstructuredGridCellIterator.h.
vtkMappedUnstructuredGridCellIterator< Implementation >::vtkMappedUnstructuredGridCellIterator | ( | ) | [protected] |
vtkMappedUnstructuredGridCellIterator< Implementation >::~vtkMappedUnstructuredGridCellIterator | ( | ) | [protected] |
static vtkMappedUnstructuredGridCellIterator<ImplementationType>* vtkMappedUnstructuredGridCellIterator< Implementation >::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkMappedUnstructuredGridCellIterator< Implementation >::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::SetMappedUnstructuredGrid | ( | vtkMappedUnstructuredGrid< ImplementationType, ThisType > * | grid | ) |
bool vtkMappedUnstructuredGridCellIterator< Implementation >::IsDoneWithTraversal | ( | ) | [virtual] |
Returns false while the iterator is valid. Always safe to call.
Implements vtkCellIterator.
vtkIdType vtkMappedUnstructuredGridCellIterator< Implementation >::GetCellId | ( | ) | [virtual] |
Get the id of the current cell.
Implements vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::ResetToFirstCell | ( | ) | [protected, virtual] |
Update internal state to point to the first cell.
Implements vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::IncrementToNextCell | ( | ) | [protected, virtual] |
Update internal state to point to the next cell.
Implements vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchCellType | ( | ) | [protected, virtual] |
Lookup the cell type in the data set and store it in this->CellType.
Implements vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchPointIds | ( | ) | [protected, virtual] |
Lookup the cell point ids in the data set and store them in this->PointIds.
Implements vtkCellIterator.
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchPoints | ( | ) | [protected, virtual] |
Lookup the cell points in the data set and store them in this->Points.
Implements vtkCellIterator.