VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkBridgeCellIteratorOnDataSet Class Reference

Iterate over cells of a dataset. More...

#include <vtkBridgeCellIteratorOnDataSet.h>

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

List of all members.

Public Types

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

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 vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char 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)
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 &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

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

Standard VTK construction and type macros.

Reimplemented from vtkBridgeCellIteratorStrategy.

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: