Documentation for vtkActor2DCollection

vtkActor2DCollection

Super Class: vtkCollection

Description:

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.

 

See Also:

vtkActor2D vtkCollection

 

Methods:

void vtkActor2DCollection ()
static vtkActor2DCollection *New ()
const char *GetClassName ()
void Sort ()
void AddItem (vtkActor2D *)
int IsItemPresent (vtkActor2D *)
vtkActor2D *GetNextItem ()
vtkActor2D *GetLastItem ()
void Render (vtkViewport *)
void DeleteElement (vtkCollectionElement *)

 

Detailed Method Descriptions:

Desctructor for the vtkActor2DCollection class. This removes all objects from the collection.

void vtkActor2DCollection ()

Sorts the vtkActor2DCollection by layer number. Smaller layer numbers are first. Layer numbers can be any integer value.

void Sort ()

Add an actor to the list. The new actor is inserted in the list according to it's layer number.

void AddItem (vtkActor2D *)

Standard Collection methods

int IsItemPresent (vtkActor2D *)
vtkActor2D *GetNextItem ()
vtkActor2D *GetLastItem ()

Sort and then render the collection of 2D actors.

void Render (vtkViewport *)