VTK
|
Implementation of vtkGenericCellIterator. It is just an example that show how to implement the Generic API. It is also used for testing and evaluating the Generic framework. More...
#include <vtkBridgeCellIterator.h>
Public Types | |
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) |
vtkBridgeCellIterator * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Begin () |
int | IsAtEnd () |
vtkGenericAdaptorCell * | NewCell () |
void | GetCell (vtkGenericAdaptorCell *c) |
vtkGenericAdaptorCell * | GetCell () |
void | Next () |
void | InitWithOneCell (vtkBridgeCell *c) |
void | InitWithDataSet (vtkBridgeDataSet *ds, int dim) |
void | InitWithDataSetBoundaries (vtkBridgeDataSet *ds, int dim, int exterior_only) |
void | InitWithOneCell (vtkBridgeDataSet *ds, vtkIdType cellid) |
void | InitWithCellBoundaries (vtkBridgeCell *cell, int dim) |
void | InitWithCells (vtkIdList *cells, vtkBridgeDataSet *ds) |
void | InitWithPoints (vtkPoints *coords, vtkIdList *pts, int dim, vtkIdType cellid) |
Public Member Functions inherited from vtkGenericCellIterator | |
vtkGenericCellIterator * | NewInstance () const |
Public Member Functions inherited from vtkObject | |
vtkObject * | NewInstance () 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) |
vtkCommand * | GetCommand (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 vtkBridgeCellIterator * | New () |
static int | IsTypeOf (const char *type) |
static vtkBridgeCellIterator * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkGenericCellIterator | |
static int | IsTypeOf (const char *type) |
static vtkGenericCellIterator * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
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 vtkObjectBase * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkBridgeCellIterator () | |
virtual | ~vtkBridgeCellIterator () |
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 | |
vtkBridgeCellIteratorStrategy * | CurrentIterator |
vtkBridgeCellIteratorOnDataSet * | IteratorOnDataSet |
vtkBridgeCellIteratorOne * | IteratorOneCell |
vtkBridgeCellIteratorOnCellBoundaries * | IteratorOnCellBoundaries |
vtkBridgeCellIteratorOnCellList * | IteratorOnCellList |
vtkBridgeDataSet * | DataSet |
vtkIdType | Id |
int | OneCell |
vtkIdType | Size |
vtkBridgeCell * | Cell |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Implementation of vtkGenericCellIterator. It is just an example that show how to implement the Generic API. It is also used for testing and evaluating the Generic framework.
Definition at line 45 of file vtkBridgeCellIterator.h.
Definition at line 49 of file vtkBridgeCellIterator.h.
|
protected |
|
protectedvirtual |
|
static |
|
static |
|
virtual |
Standard VTK construction and type macros.
Reimplemented from vtkGenericCellIterator.
|
static |
|
protectedvirtual |
Standard VTK construction and type macros.
Reimplemented from vtkGenericCellIterator.
vtkBridgeCellIterator* vtkBridgeCellIterator::NewInstance | ( | ) | const |
|
virtual |
Standard VTK construction and type macros.
Reimplemented from vtkGenericCellIterator.
|
virtual |
Move iterator to first position if any (loop initialization).
Implements vtkGenericCellIterator.
|
virtual |
Is there no cell at iterator position? (exit condition).
Implements vtkGenericCellIterator.
|
virtual |
|
virtual |
Cell at current position
Implements vtkGenericCellIterator.
|
virtual |
Cell at current position. NOT THREAD SAFE
Implements vtkGenericCellIterator.
|
virtual |
Move iterator to next position. (loop progression).
Implements vtkGenericCellIterator.
void vtkBridgeCellIterator::InitWithDataSet | ( | vtkBridgeDataSet * | ds, |
int | dim | ||
) |
Used internally by vtkBridgeDataSet. Iterate over cells of `ds' of some dimension `dim'.
void vtkBridgeCellIterator::InitWithDataSetBoundaries | ( | vtkBridgeDataSet * | ds, |
int | dim, | ||
int | exterior_only | ||
) |
Used internally by vtkBridgeDataSet. Iterate over boundary cells of `ds' of some dimension `dim'.
void vtkBridgeCellIterator::InitWithOneCell | ( | vtkBridgeDataSet * | ds, |
vtkIdType | cellid | ||
) |
Used internally by vtkBridgeDataSet. Iterate on one cell `id' of `ds'.
void vtkBridgeCellIterator::InitWithOneCell | ( | vtkBridgeCell * | c | ) |
Used internally by vtkBridgeCell. Iterate on one cell `c'.
void vtkBridgeCellIterator::InitWithCellBoundaries | ( | vtkBridgeCell * | cell, |
int | dim | ||
) |
Used internally by vtkBridgeCell. Iterate on boundary cells of a cell.
void vtkBridgeCellIterator::InitWithCells | ( | vtkIdList * | cells, |
vtkBridgeDataSet * | ds | ||
) |
Used internally by vtkBridgeCell. Iterate on neighbors defined by `cells' over the dataset `ds'.
void vtkBridgeCellIterator::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.
|
protected |
Definition at line 134 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 135 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 136 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 137 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 138 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 140 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 141 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 142 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 143 of file vtkBridgeCellIterator.h.
|
protected |
Definition at line 144 of file vtkBridgeCellIterator.h.