#include <vtkActorCollection.h>
vtkActorCollection represents and provides methods to manipulate a list of actors (i.e., vtkActor and subclasses). The list is unsorted and duplicate entries are not prevented.
Definition at line 34 of file vtkActorCollection.h.
Public Types | |
typedef vtkPropCollection | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddItem (vtkActor *a) |
vtkActor * | GetNextActor () |
vtkActor * | GetLastActor () |
void | ApplyProperties (vtkProperty *p) |
vtkActor * | GetNextItem () |
vtkActor * | GetLastItem () |
vtkActor * | GetNextActor (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkActorCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkActorCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkActorCollection () | |
~vtkActorCollection () |
vtkActorCollection::vtkActorCollection | ( | ) | [inline, protected] |
Definition at line 71 of file vtkActorCollection.h.
vtkActorCollection::~vtkActorCollection | ( | ) | [inline, protected] |
Definition at line 72 of file vtkActorCollection.h.
static vtkActorCollection* vtkActorCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkPropCollection.
virtual const char* vtkActorCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPropCollection.
static int vtkActorCollection::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
virtual int vtkActorCollection::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
static vtkActorCollection* vtkActorCollection::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPropCollection.
virtual void vtkActorCollection::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkCollection.
void vtkActorCollection::AddItem | ( | vtkActor * | a | ) | [inline] |
Add an actor to the list.
Definition at line 85 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetNextActor | ( | ) | [inline] |
Get the next actor in the list.
Definition at line 90 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetLastActor | ( | ) | [inline] |
Get the last actor in the list.
Definition at line 95 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetNextItem | ( | ) | [inline] |
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor(), GetLastActor() variants where possible.
Definition at line 107 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetLastItem | ( | ) | [inline] |
Access routines that are provided for compatibility with previous version of VTK. Please use the GetNextActor(), GetLastActor() variants where possible.
Definition at line 112 of file vtkActorCollection.h.
void vtkActorCollection::ApplyProperties | ( | vtkProperty * | p | ) |
Apply properties to all actors in this collection.
vtkActor* vtkActorCollection::GetNextActor | ( | vtkCollectionSimpleIterator & | cookie | ) | [inline] |
Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.
Definition at line 65 of file vtkActorCollection.h.