VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkUnstructuredGridCellIterator Class Reference

Implementation of vtkCellIterator specialized for vtkUnstructuredGrid. More...

#include <vtkUnstructuredGridCellIterator.h>

Inheritance diagram for vtkUnstructuredGridCellIterator:
Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridCellIterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkCellIterator Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkUnstructuredGridCellIteratorNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
bool IsDoneWithTraversal ()
vtkIdType GetCellId ()

Static Public Member Functions

static
vtkUnstructuredGridCellIterator
New ()
static int IsTypeOf (const char *type)
static
vtkUnstructuredGridCellIterator
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkUnstructuredGridCellIterator ()
 ~vtkUnstructuredGridCellIterator ()
void ResetToFirstCell ()
void IncrementToNextCell ()
void FetchCellType ()
void FetchPointIds ()
void FetchPoints ()
void FetchFaces ()
void SetUnstructuredGrid (vtkUnstructuredGrid *ug)
void CatchUpSkippedCells ()

Protected Attributes

unsigned char * CellTypeBegin
unsigned char * CellTypePtr
unsigned char * CellTypeEnd
vtkIdTypeConnectivityBegin
vtkIdTypeConnectivityPtr
vtkIdTypeFacesBegin
vtkIdTypeFacesLocsBegin
vtkIdTypeFacesLocsPtr
vtkIdType SkippedCells
vtkSmartPointer< vtkPointsUnstructuredGridPoints

Friends

class vtkUnstructuredGrid

Detailed Description

Implementation of vtkCellIterator specialized for vtkUnstructuredGrid.

Tests:
vtkUnstructuredGridCellIterator (Tests)

Definition at line 35 of file vtkUnstructuredGridCellIterator.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 40 of file vtkUnstructuredGridCellIterator.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkUnstructuredGridCellIterator::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

virtual int vtkUnstructuredGridCellIterator::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented from vtkObject.

Reimplemented from vtkObject.

Reimplemented from vtkObject.

virtual void vtkUnstructuredGridCellIterator::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.

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

Implements vtkCellIterator.

Get the id of the current cell.

Implements vtkCellIterator.

Update internal state to point to the first cell.

Implements vtkCellIterator.

Update internal state to point to the next cell.

Implements vtkCellIterator.

void vtkUnstructuredGridCellIterator::FetchCellType ( ) [protected, virtual]

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

Implements vtkCellIterator.

void vtkUnstructuredGridCellIterator::FetchPointIds ( ) [protected, virtual]

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

Implements vtkCellIterator.

void vtkUnstructuredGridCellIterator::FetchPoints ( ) [protected, virtual]

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

Implements vtkCellIterator.

void vtkUnstructuredGridCellIterator::FetchFaces ( ) [protected, virtual]

Lookup the cell faces in the data set and store them in this->Points. Few data sets support faces, so this method has a no-op default implementation. See vtkUnstructuredGrid::GetFaceStream for a description of the layout that Faces should have.

Reimplemented from vtkCellIterator.


Friends And Related Function Documentation

friend class vtkUnstructuredGrid [friend]

Definition at line 57 of file vtkUnstructuredGridCellIterator.h.


Member Data Documentation

Definition at line 60 of file vtkUnstructuredGridCellIterator.h.

Definition at line 61 of file vtkUnstructuredGridCellIterator.h.

Definition at line 62 of file vtkUnstructuredGridCellIterator.h.

Definition at line 64 of file vtkUnstructuredGridCellIterator.h.

Definition at line 65 of file vtkUnstructuredGridCellIterator.h.

Definition at line 66 of file vtkUnstructuredGridCellIterator.h.

Definition at line 67 of file vtkUnstructuredGridCellIterator.h.

Definition at line 68 of file vtkUnstructuredGridCellIterator.h.

Definition at line 73 of file vtkUnstructuredGridCellIterator.h.

Definition at line 76 of file vtkUnstructuredGridCellIterator.h.


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