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

Implementation of vtkCellIterator using vtkPointSet API. More...

#include <vtkPointSetCellIterator.h>

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

List of all members.

Public Types

typedef vtkCellIterator Superclass

Public Member Functions

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

Static Public Member Functions

static vtkPointSetCellIteratorNew ()
static int IsTypeOf (const char *type)
static vtkPointSetCellIteratorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPointSetCellIterator ()
 ~vtkPointSetCellIterator ()
void ResetToFirstCell ()
void IncrementToNextCell ()
void FetchCellType ()
void FetchPointIds ()
void FetchPoints ()
void SetPointSet (vtkPointSet *ds)

Protected Attributes

vtkSmartPointer< vtkPointSetPointSet
vtkSmartPointer< vtkPointsPointSetPoints
vtkIdType CellId

Friends

class vtkPointSet

Detailed Description

Implementation of vtkCellIterator using vtkPointSet API.

Tests:
vtkPointSetCellIterator (Tests)

Definition at line 33 of file vtkPointSetCellIterator.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 37 of file vtkPointSetCellIterator.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 vtkPointSetCellIterator::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 vtkPointSetCellIterator::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* vtkPointSetCellIterator::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

virtual void vtkPointSetCellIterator::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 vtkPointSetCellIterator::ResetToFirstCell ( ) [protected, virtual]

Update internal state to point to the first cell.

Implements vtkCellIterator.

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

Update internal state to point to the next cell.

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.

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

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

Implements vtkCellIterator.


Friends And Related Function Documentation

friend class vtkPointSet [friend]

Definition at line 53 of file vtkPointSetCellIterator.h.


Member Data Documentation

Definition at line 56 of file vtkPointSetCellIterator.h.

Definition at line 57 of file vtkPointSetCellIterator.h.

Definition at line 58 of file vtkPointSetCellIterator.h.


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