VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkBridgeCellIteratorOnDataSet Class Reference

Iterate over cells of a dataset. More...

#include <vtkBridgeCellIteratorOnDataSet.h>

Inheritance diagram for vtkBridgeCellIteratorOnDataSet:
[legend]
Collaboration diagram for vtkBridgeCellIteratorOnDataSet:
[legend]

Public Types

typedef
vtkBridgeCellIteratorStrategy 
Superclass
- Public Types inherited from vtkBridgeCellIteratorStrategy
typedef vtkGenericCellIterator Superclass
- Public Types inherited from vtkGenericCellIterator
typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Begin ()
int IsAtEnd ()
void GetCell (vtkGenericAdaptorCell *c)
vtkGenericAdaptorCellGetCell ()
void Next ()
void InitWithDataSet (vtkBridgeDataSet *ds, int dim)
- Public Member Functions inherited from vtkBridgeCellIteratorStrategy
vtkGenericAdaptorCellNewCell ()
- Public Member Functions inherited from vtkGenericCellIterator

Static Public Member Functions

static
vtkBridgeCellIteratorOnDataSet
New ()
static int IsTypeOf (const char *type)
static
vtkBridgeCellIteratorOnDataSet
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkBridgeCellIteratorOnDataSet ()
virtual ~vtkBridgeCellIteratorOnDataSet ()
- Protected Member Functions inherited from vtkBridgeCellIteratorStrategy
 vtkBridgeCellIteratorStrategy ()
virtual ~vtkBridgeCellIteratorStrategy ()
- Protected Member Functions inherited from vtkGenericCellIterator
 vtkGenericCellIterator ()
virtual ~vtkGenericCellIterator ()
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Protected Attributes

int Dim
vtkBridgeDataSetDataSet
vtkIdType Id
vtkIdType Size
vtkBridgeCellCell

Detailed Description

Iterate over cells of a dataset.

See Also
vtkBridgeCellIterator, vtkBridgeDataSet, vtkBridgeCellIteratorStrategy
Tests:
vtkBridgeCellIteratorOnDataSet (Tests)

Definition at line 34 of file vtkBridgeCellIteratorOnDataSet.h.

Member Typedef Documentation

Definition at line 39 of file vtkBridgeCellIteratorOnDataSet.h.

Constructor & Destructor Documentation

vtkBridgeCellIteratorOnDataSet::vtkBridgeCellIteratorOnDataSet ( )
protected
virtual vtkBridgeCellIteratorOnDataSet::~vtkBridgeCellIteratorOnDataSet ( )
protectedvirtual

Member Function Documentation

static vtkBridgeCellIteratorOnDataSet* vtkBridgeCellIteratorOnDataSet::New ( )
static

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

Reimplemented from vtkObject.

virtual const char* vtkBridgeCellIteratorOnDataSet::GetClassName ( )
virtual

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

static int vtkBridgeCellIteratorOnDataSet::IsTypeOf ( const char *  type)
static

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

virtual int vtkBridgeCellIteratorOnDataSet::IsA ( const char *  type)
virtual

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

static vtkBridgeCellIteratorOnDataSet* vtkBridgeCellIteratorOnDataSet::SafeDownCast ( vtkObject o)
static

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

void vtkBridgeCellIteratorOnDataSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

void vtkBridgeCellIteratorOnDataSet::Begin ( )
virtual

Move iterator to first position if any (loop initialization).

Implements vtkGenericCellIterator.

int vtkBridgeCellIteratorOnDataSet::IsAtEnd ( )
virtual

Is there no cell at iterator position? (exit condition).

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOnDataSet::GetCell ( vtkGenericAdaptorCell c)
virtual

Cell at current position

Precondition
not_at_end: !IsAtEnd()
c_exists: c!=0 THREAD SAFE

Implements vtkGenericCellIterator.

vtkGenericAdaptorCell* vtkBridgeCellIteratorOnDataSet::GetCell ( )
virtual

Cell at current position. NOT THREAD SAFE

Precondition
not_at_end: !IsAtEnd()
Postcondition
result_exits: result!=0

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOnDataSet::Next ( )
virtual

Move iterator to next position. (loop progression).

Precondition
not_at_end: !IsAtEnd()

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOnDataSet::InitWithDataSet ( vtkBridgeDataSet ds,
int  dim 
)

Used internally by vtkBridgeDataSet. Iterate over cells of `ds' of some dimension `dim'.

Precondition
ds_exists: ds!=0
valid_dim_range: (dim>=-1) && (dim<=3)

Member Data Documentation

int vtkBridgeCellIteratorOnDataSet::Dim
protected

Definition at line 72 of file vtkBridgeCellIteratorOnDataSet.h.

vtkBridgeDataSet* vtkBridgeCellIteratorOnDataSet::DataSet
protected

Definition at line 74 of file vtkBridgeCellIteratorOnDataSet.h.

vtkIdType vtkBridgeCellIteratorOnDataSet::Id
protected

Definition at line 75 of file vtkBridgeCellIteratorOnDataSet.h.

vtkIdType vtkBridgeCellIteratorOnDataSet::Size
protected

Definition at line 76 of file vtkBridgeCellIteratorOnDataSet.h.

vtkBridgeCell* vtkBridgeCellIteratorOnDataSet::Cell
protected

Definition at line 77 of file vtkBridgeCellIteratorOnDataSet.h.


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