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

Implementation of vtkCellIterator using vtkDataSet API. More...

#include <vtkDataSetCellIterator.h>

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

List of all members.

Public Types

typedef vtkCellIterator Superclass

Public Member Functions

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

Static Public Member Functions

static vtkDataSetCellIteratorNew ()
static int IsTypeOf (const char *type)
static vtkDataSetCellIteratorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDataSetCellIterator ()
 ~vtkDataSetCellIterator ()
void ResetToFirstCell ()
void IncrementToNextCell ()
void FetchCellType ()
void FetchPointIds ()
void FetchPoints ()
void SetDataSet (vtkDataSet *ds)

Protected Attributes

vtkSmartPointer< vtkDataSetDataSet
vtkIdType CellId

Friends

class vtkDataSet

Detailed Description

Implementation of vtkCellIterator using vtkDataSet API.

Tests:
vtkDataSetCellIterator (Tests)

Definition at line 32 of file vtkDataSetCellIterator.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 36 of file vtkDataSetCellIterator.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 vtkDataSetCellIterator::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 vtkDataSetCellIterator::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.

virtual vtkObjectBase* vtkDataSetCellIterator::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

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

void vtkDataSetCellIterator::ResetToFirstCell ( ) [protected, virtual]

Update internal state to point to the first cell.

Implements vtkCellIterator.

void vtkDataSetCellIterator::IncrementToNextCell ( ) [protected, virtual]

Update internal state to point to the next cell.

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.

void vtkDataSetCellIterator::SetDataSet ( vtkDataSet ds) [protected]

Friends And Related Function Documentation

friend class vtkDataSet [friend]

Definition at line 52 of file vtkDataSetCellIterator.h.


Member Data Documentation

Definition at line 55 of file vtkDataSetCellIterator.h.

Definition at line 56 of file vtkDataSetCellIterator.h.


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