VTK
|
a list of 2D actors More...
#include <vtkActor2DCollection.h>
Public Types | |
typedef vtkPropCollection | 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) |
Static Public Member Functions | |
static vtkActor2DCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkActor2DCollection * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkActor2DCollection () | |
~vtkActor2DCollection () | |
virtual void | DeleteElement (vtkCollectionElement *) |
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.
Reimplemented from vtkPropCollection.
Definition at line 44 of file vtkActor2DCollection.h.
vtkActor2DCollection::vtkActor2DCollection | ( | ) | [inline, protected] |
Definition at line 83 of file vtkActor2DCollection.h.
vtkActor2DCollection::~vtkActor2DCollection | ( | ) | [protected] |
static vtkActor2DCollection* vtkActor2DCollection::New | ( | ) | [static] |
Desctructor for the vtkActor2DCollection class. This removes all objects from the collection.
Reimplemented from vtkPropCollection.
static int vtkActor2DCollection::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type 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.
virtual int vtkActor2DCollection::IsA | ( | const char * | name | ) | [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 vtkActor2DCollection* vtkActor2DCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPropCollection.
virtual vtkObjectBase* vtkActor2DCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPropCollection.
Reimplemented from vtkPropCollection.
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.
int vtkActor2DCollection::IsItemPresent | ( | vtkActor2D * | a | ) | [inline] |
Standard Collection methods
Definition at line 99 of file vtkActor2DCollection.h.
vtkActor2D * vtkActor2DCollection::GetNextActor2D | ( | ) | [inline] |
Standard Collection methods
Definition at line 104 of file vtkActor2DCollection.h.
vtkActor2D * vtkActor2DCollection::GetLastActor2D | ( | ) | [inline] |
Standard Collection methods
Definition at line 109 of file vtkActor2DCollection.h.
vtkActor2D * vtkActor2DCollection::GetNextItem | ( | ) | [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.
vtkActor2D * vtkActor2DCollection::GetLastItem | ( | ) | [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.
vtkActor2D* vtkActor2DCollection::GetNextActor2D | ( | vtkCollectionSimpleIterator & | cookie | ) | [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.
virtual void vtkActor2DCollection::DeleteElement | ( | vtkCollectionElement * | ) | [protected, virtual] |
Reimplemented from vtkCollection.