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

Iterate over one cell only of a dataset. More...

#include <vtkBridgeCellIteratorOne.h>

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

Public Types

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

Public Member Functions

virtual int IsA (const char *type)
 
vtkBridgeCellIteratorOneNewInstance () const
 
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)
 
- Public Member Functions inherited from vtkBridgeCellIteratorStrategy
vtkBridgeCellIteratorStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkGenericAdaptorCellNewCell ()
 
- Public Member Functions inherited from vtkGenericCellIterator
vtkGenericCellIteratorNewInstance () const
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkBridgeCellIteratorOneNew ()
 
static int IsTypeOf (const char *type)
 
static vtkBridgeCellIteratorOneSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkBridgeCellIteratorStrategy
static int IsTypeOf (const char *type)
 
static vtkBridgeCellIteratorStrategySafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkGenericCellIterator
static int IsTypeOf (const char *type)
 
static vtkGenericCellIteratorSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkBridgeCellIteratorOne ()
 
virtual ~vtkBridgeCellIteratorOne ()
 
- 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 &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int cIsAtEnd
 
vtkBridgeDataSetDataSet
 
vtkIdType Id
 
vtkBridgeCellCell
 
vtkCellInternalCell
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

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.

Member Typedef Documentation

Definition at line 41 of file vtkBridgeCellIteratorOne.h.

Constructor & Destructor Documentation

vtkBridgeCellIteratorOne::vtkBridgeCellIteratorOne ( )
protected
virtual vtkBridgeCellIteratorOne::~vtkBridgeCellIteratorOne ( )
protectedvirtual

Member Function Documentation

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

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

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

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

vtkBridgeCellIteratorOne* vtkBridgeCellIteratorOne::NewInstance ( ) const
void vtkBridgeCellIteratorOne::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard VTK construction and type macros.

Reimplemented from vtkGenericCellIterator.

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: