VTK
|
a list of 2D actors More...
#include <vtkActor2DCollection.h>
Public Types | |
typedef vtkPropCollection | Superclass |
![]() | |
typedef vtkCollection | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkActor2DCollection * | NewInstance () const |
void | Sort () |
void | AddItem (vtkActor2D *a) |
void | RenderOverlay (vtkViewport *viewport) |
int | IsItemPresent (vtkActor2D *a) |
vtkActor2D * | GetNextActor2D () |
vtkActor2D * | GetLastActor2D () |
vtkActor2D * | GetNextItem () |
vtkActor2D * | GetLastItem () |
vtkActor2D * | GetNextActor2D (vtkCollectionSimpleIterator &cookie) |
![]() | |
vtkPropCollection * | NewInstance () const |
void | AddItem (vtkProp *a) |
vtkProp * | GetNextProp () |
vtkProp * | GetLastProp () |
int | GetNumberOfPaths () |
vtkProp * | GetNextProp (vtkCollectionSimpleIterator &cookie) |
![]() | |
vtkCollection * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkObject *) |
void | InsertItem (int i, vtkObject *) |
void | ReplaceItem (int i, vtkObject *) |
void | RemoveItem (int i) |
void | RemoveItem (vtkObject *) |
void | RemoveAllItems () |
int | IsItemPresent (vtkObject *a) |
int | GetNumberOfItems () |
void | InitTraversal () |
vtkObject * | GetNextItemAsObject () |
vtkObject * | GetItemAsObject (int i) |
vtkCollectionIterator * | NewIterator () |
void | InitTraversal (vtkCollectionSimpleIterator &cookie) |
vtkObject * | GetNextItemAsObject (vtkCollectionSimpleIterator &cookie) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
![]() | |
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) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
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 vtkActor2DCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkActor2DCollection * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkPropCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkPropCollection * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkCollection * | SafeDownCast (vtkObjectBase *o) |
static vtkCollection * | New () |
![]() | |
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 int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Additional Inherited Members | |
![]() | |
int | NumberOfItems |
vtkCollectionElement * | Top |
vtkCollectionElement * | Bottom |
vtkCollectionElement * | Current |
![]() | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
a list of 2D actors
vtkActor2DCollection is a subclass of vtkCollection. vtkActor2DCollection maintains a collection of vtkActor2D objects that is sorted by layer number, with lower layer numbers at the start of the list. This allows the vtkActor2D objects to be rendered in the correct order.
Definition at line 37 of file vtkActor2DCollection.h.
Definition at line 44 of file vtkActor2DCollection.h.
|
inlineprotected |
Definition at line 83 of file vtkActor2DCollection.h.
|
protected |
|
static |
Desctructor for the vtkActor2DCollection class. This removes all objects from the collection.
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
|
static |
|
protectedvirtual |
Reimplemented from vtkPropCollection.
vtkActor2DCollection* vtkActor2DCollection::NewInstance | ( | ) | const |
void vtkActor2DCollection::Sort | ( | ) |
Sorts the vtkActor2DCollection by layer number. Smaller layer numbers are first. Layer numbers can be any integer value.
void vtkActor2DCollection::AddItem | ( | vtkActor2D * | a | ) |
Add an actor to the list. The new actor is inserted in the list according to it's layer number.
|
inline |
Standard Collection methods
Definition at line 99 of file vtkActor2DCollection.h.
|
inline |
Standard Collection methods
Definition at line 104 of file vtkActor2DCollection.h.
|
inline |
Standard Collection methods
Definition at line 109 of file vtkActor2DCollection.h.
|
inline |
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor2D(), GetLastActor2D() variants where possible.
Definition at line 121 of file vtkActor2DCollection.h.
|
inline |
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor2D(), GetLastActor2D() variants where possible.
Definition at line 126 of file vtkActor2DCollection.h.
void vtkActor2DCollection::RenderOverlay | ( | vtkViewport * | viewport | ) |
Sort and then render the collection of 2D actors.
|
inline |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 77 of file vtkActor2DCollection.h.
|
protectedvirtual |
Reimplemented from vtkCollection.