VTK
|
a list of actors More...
#include <vtkActorCollection.h>
Public Types | |
typedef vtkPropCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkActorCollection * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkActorCollection () | |
~vtkActorCollection () |
a list of actors
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 35 of file vtkActorCollection.h.
Reimplemented from vtkPropCollection.
Definition at line 39 of file vtkActorCollection.h.
vtkActorCollection::vtkActorCollection | ( | ) | [inline, protected] |
Definition at line 72 of file vtkActorCollection.h.
vtkActorCollection::~vtkActorCollection | ( | ) | [inline, protected] |
Definition at line 73 of file vtkActorCollection.h.
static vtkActorCollection* vtkActorCollection::New | ( | ) | [static] |
Construct with empty list.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPropCollection.
static vtkActorCollection* vtkActorCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPropCollection.
virtual vtkObjectBase* vtkActorCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPropCollection.
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 86 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetNextActor | ( | ) | [inline] |
Get the next actor in the list.
Definition at line 91 of file vtkActorCollection.h.
vtkActor * vtkActorCollection::GetLastActor | ( | ) | [inline] |
Get the last actor in the list.
Definition at line 96 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 108 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 113 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 66 of file vtkActorCollection.h.