VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkBridgeCellIteratorOnCellList Class Reference

Iterate over a list of cells defined on a dataset. See InitWithCells(). More...

#include <vtkBridgeCellIteratorOnCellList.h>

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

Public Types

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

Public Member Functions

virtual int IsA (const char *type)
 
vtkBridgeCellIteratorOnCellListNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void Begin ()
 
int IsAtEnd ()
 
void GetCell (vtkGenericAdaptorCell *c)
 
vtkGenericAdaptorCell * GetCell ()
 
void Next ()
 
void InitWithCells (vtkIdList *cells, vtkBridgeDataSet *ds)
 
- Public Member Functions inherited from vtkBridgeCellIteratorStrategy
vtkBridgeCellIteratorStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkGenericAdaptorCell * NewCell ()
 

Static Public Member Functions

static
vtkBridgeCellIteratorOnCellList
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkBridgeCellIteratorOnCellList
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkBridgeCellIteratorStrategy
static int IsTypeOf (const char *type)
 
static
vtkBridgeCellIteratorStrategy
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkBridgeCellIteratorOnCellList ()
 
virtual ~vtkBridgeCellIteratorOnCellList ()
 
- Protected Member Functions inherited from vtkBridgeCellIteratorStrategy
 vtkBridgeCellIteratorStrategy ()
 
virtual ~vtkBridgeCellIteratorStrategy ()
 

Protected Attributes

vtkIdList * Cells
 
vtkBridgeDataSetDataSet
 
vtkIdType Id
 
vtkBridgeCellCell
 

Detailed Description

Iterate over a list of cells defined on a dataset. See InitWithCells().

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

Definition at line 35 of file vtkBridgeCellIteratorOnCellList.h.

Member Typedef Documentation

Definition at line 40 of file vtkBridgeCellIteratorOnCellList.h.

Constructor & Destructor Documentation

vtkBridgeCellIteratorOnCellList::vtkBridgeCellIteratorOnCellList ( )
protected
virtual vtkBridgeCellIteratorOnCellList::~vtkBridgeCellIteratorOnCellList ( )
protectedvirtual

Member Function Documentation

static vtkBridgeCellIteratorOnCellList* vtkBridgeCellIteratorOnCellList::New ( )
static
static int vtkBridgeCellIteratorOnCellList::IsTypeOf ( const char *  type)
static
virtual int vtkBridgeCellIteratorOnCellList::IsA ( const char *  type)
virtual

Reimplemented from vtkBridgeCellIteratorStrategy.

static vtkBridgeCellIteratorOnCellList* vtkBridgeCellIteratorOnCellList::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkBridgeCellIteratorOnCellList::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkBridgeCellIteratorStrategy.

vtkBridgeCellIteratorOnCellList* vtkBridgeCellIteratorOnCellList::NewInstance ( ) const
void vtkBridgeCellIteratorOnCellList::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkBridgeCellIteratorOnCellList::Begin ( )

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

int vtkBridgeCellIteratorOnCellList::IsAtEnd ( )

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

void vtkBridgeCellIteratorOnCellList::GetCell ( vtkGenericAdaptorCell *  c)

Cell at current position

Precondition
not_at_end: !IsAtEnd()
c_exists: c!=0 THREAD SAFE
vtkGenericAdaptorCell* vtkBridgeCellIteratorOnCellList::GetCell ( )

Cell at current position. NOT THREAD SAFE

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

Move iterator to next position. (loop progression).

Precondition
not_at_end: !IsAtEnd()
void vtkBridgeCellIteratorOnCellList::InitWithCells ( vtkIdList *  cells,
vtkBridgeDataSet ds 
)

Used internally by vtkBridgeCell. Iterate on neighbors defined by `cells' over the dataset `ds'.

Precondition
cells_exist: cells!=0
ds_exists: ds!=0

Member Data Documentation

vtkIdList* vtkBridgeCellIteratorOnCellList::Cells
protected

Definition at line 73 of file vtkBridgeCellIteratorOnCellList.h.

vtkBridgeDataSet* vtkBridgeCellIteratorOnCellList::DataSet
protected

Definition at line 74 of file vtkBridgeCellIteratorOnCellList.h.

vtkIdType vtkBridgeCellIteratorOnCellList::Id
protected

Definition at line 75 of file vtkBridgeCellIteratorOnCellList.h.

vtkBridgeCell* vtkBridgeCellIteratorOnCellList::Cell
protected

Definition at line 76 of file vtkBridgeCellIteratorOnCellList.h.


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