VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkMappedUnstructuredGridCellIterator< Implementation > Class Template Reference

Default cell iterator for vtkMappedUnstructuredGrid. More...

#include <vtkMappedUnstructuredGridCellIterator.h>

Inheritance diagram for vtkMappedUnstructuredGridCellIterator< Implementation >:
Inheritance graph
[legend]
Collaboration diagram for vtkMappedUnstructuredGridCellIterator< Implementation >:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

template<class Implementation>
class vtkMappedUnstructuredGridCellIterator< Implementation >

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.


Member Typedef Documentation

template<class Implementation>
typedef Implementation vtkMappedUnstructuredGridCellIterator< Implementation >::ImplementationType

Definition at line 42 of file vtkMappedUnstructuredGridCellIterator.h.

Definition at line 43 of file vtkMappedUnstructuredGridCellIterator.h.


Constructor & Destructor Documentation

template<class Implementation>
vtkMappedUnstructuredGridCellIterator< Implementation >::vtkMappedUnstructuredGridCellIterator ( ) [protected]
template<class Implementation>
vtkMappedUnstructuredGridCellIterator< Implementation >::~vtkMappedUnstructuredGridCellIterator ( ) [protected]

Member Function Documentation

template<class Implementation>
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.

template<class Implementation>
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.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::SetMappedUnstructuredGrid ( vtkMappedUnstructuredGrid< ImplementationType, ThisType > *  grid)
template<class Implementation>
bool vtkMappedUnstructuredGridCellIterator< Implementation >::IsDoneWithTraversal ( ) [virtual]

Returns false while the iterator is valid. Always safe to call.

Implements vtkCellIterator.

template<class Implementation>
vtkIdType vtkMappedUnstructuredGridCellIterator< Implementation >::GetCellId ( ) [virtual]

Get the id of the current cell.

Implements vtkCellIterator.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::ResetToFirstCell ( ) [protected, virtual]

Update internal state to point to the first cell.

Implements vtkCellIterator.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::IncrementToNextCell ( ) [protected, virtual]

Update internal state to point to the next cell.

Implements vtkCellIterator.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchCellType ( ) [protected, virtual]

Lookup the cell type in the data set and store it in this->CellType.

Implements vtkCellIterator.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchPointIds ( ) [protected, virtual]

Lookup the cell point ids in the data set and store them in this->PointIds.

Implements vtkCellIterator.

template<class Implementation>
void vtkMappedUnstructuredGridCellIterator< Implementation >::FetchPoints ( ) [protected, virtual]

Lookup the cell points in the data set and store them in this->Points.

Implements vtkCellIterator.


The documentation for this class was generated from the following file: