vtkBridgeCellIteratorOne Class Reference

#include <vtkBridgeCellIteratorOne.h>

Inheritance diagram for vtkBridgeCellIteratorOne:

Inheritance graph
[legend]
Collaboration diagram for vtkBridgeCellIteratorOne:

Collaboration graph
[legend]
List of all members.

Detailed Description

Iterate over one cell only of a dataset.

See also:
vtkBridgeCellIterator, vtkBridgeDataSet, vtkBridgeCellIteratorStrategy
Tests:
vtkBridgeCellIteratorOne (Tests)

Definition at line 36 of file vtkBridgeCellIteratorOne.h.

Public Types

typedef vtkBridgeCellIteratorStrategy 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 InitWithOneCell (vtkBridgeCell *c)
void InitWithOneCell (vtkBridgeDataSet *ds, vtkIdType cellid)
void InitWithPoints (vtkPoints *coords, vtkIdList *pts, int dim, vtkIdType cellid)

Static Public Member Functions

static vtkBridgeCellIteratorOneNew ()
static int IsTypeOf (const char *type)
static vtkBridgeCellIteratorOneSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkBridgeCellIteratorOne ()
virtual ~vtkBridgeCellIteratorOne ()

Protected Attributes

int cIsAtEnd
vtkBridgeDataSetDataSet
vtkIdType Id
vtkBridgeCellCell
vtkCellInternalCell


Member Typedef Documentation

typedef vtkBridgeCellIteratorStrategy vtkBridgeCellIteratorOne::Superclass

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

Definition at line 41 of file vtkBridgeCellIteratorOne.h.


Constructor & Destructor Documentation

vtkBridgeCellIteratorOne::vtkBridgeCellIteratorOne (  )  [protected]

virtual vtkBridgeCellIteratorOne::~vtkBridgeCellIteratorOne (  )  [protected, virtual]


Member Function Documentation

static vtkBridgeCellIteratorOne* vtkBridgeCellIteratorOne::New (  )  [static]

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

Reimplemented from vtkObject.

virtual const char* vtkBridgeCellIteratorOne::GetClassName (  )  [virtual]

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

static int vtkBridgeCellIteratorOne::IsTypeOf ( const char *  type  )  [static]

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

virtual int vtkBridgeCellIteratorOne::IsA ( const char *  type  )  [virtual]

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

static vtkBridgeCellIteratorOne* vtkBridgeCellIteratorOne::SafeDownCast ( vtkObject o  )  [static]

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

void vtkBridgeCellIteratorOne::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

void vtkBridgeCellIteratorOne::Begin (  )  [virtual]

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

Implements vtkGenericCellIterator.

int vtkBridgeCellIteratorOne::IsAtEnd (  )  [virtual]

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

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOne::GetCell ( vtkGenericAdaptorCell c  )  [virtual]

Cell at current position

Precondition:
not_at_end: !IsAtEnd()

c_exists: c!=0 THREAD SAFE

Implements vtkGenericCellIterator.

vtkGenericAdaptorCell* vtkBridgeCellIteratorOne::GetCell (  )  [virtual]

Cell at current position. NOT THREAD SAFE

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

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOne::Next (  )  [virtual]

Move iterator to next position. (loop progression).

Precondition:
not_at_end: !IsAtEnd()

Implements vtkGenericCellIterator.

void vtkBridgeCellIteratorOne::InitWithOneCell ( vtkBridgeDataSet ds,
vtkIdType  cellid 
)

Used internally by vtkBridgeDataSet. Iterate on one cell `id' of `ds'.

Precondition:
ds_exists: ds!=0

valid_id: (id>=0)&&(id<=ds->GetNumberOfCells())

void vtkBridgeCellIteratorOne::InitWithOneCell ( vtkBridgeCell c  ) 

Used internally by vtkBridgeCell. Iterate on one cell `c'.

Precondition:
c_exists: c!=0

void vtkBridgeCellIteratorOne::InitWithPoints ( vtkPoints coords,
vtkIdList pts,
int  dim,
vtkIdType  cellid 
)

Used internally by vtkBridgeCell. Iterate on a boundary cell (defined by its points `pts' with coordinates `coords', dimension `dim' and unique id `cellid') of a cell.

Precondition:
coords_exist: coords!=0

pts_exist: pts!=0

valid_dim: dim>=0 && dim<=2

valid_points: pts->GetNumberOfIds()>dim


Member Data Documentation

int vtkBridgeCellIteratorOne::cIsAtEnd [protected]

Definition at line 90 of file vtkBridgeCellIteratorOne.h.

vtkBridgeDataSet* vtkBridgeCellIteratorOne::DataSet [protected]

Definition at line 91 of file vtkBridgeCellIteratorOne.h.

vtkIdType vtkBridgeCellIteratorOne::Id [protected]

Definition at line 92 of file vtkBridgeCellIteratorOne.h.

vtkBridgeCell* vtkBridgeCellIteratorOne::Cell [protected]

Definition at line 93 of file vtkBridgeCellIteratorOne.h.

vtkCell* vtkBridgeCellIteratorOne::InternalCell [protected]

Definition at line 94 of file vtkBridgeCellIteratorOne.h.


The documentation for this class was generated from the following file:
Generated on Mon Mar 10 13:10:29 2008 for VTK by  doxygen 1.5.1