vtkActorCollection Class Reference

#include <vtkActorCollection.h>

Inheritance diagram for vtkActorCollection:

Inheritance graph
[legend]
Collaboration diagram for vtkActorCollection:

Collaboration graph
[legend]

List of all members.


Detailed Description

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.

See also:
vtkActor vtkCollection

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)
vtkActorGetNextActor ()
vtkActorGetLastActor ()
void ApplyProperties (vtkProperty *p)
vtkActorGetNextItem ()
vtkActorGetLastItem ()
vtkActorGetNextActor (vtkCollectionSimpleIterator &cookie)

Static Public Member Functions

static vtkActorCollectionNew ()
static int IsTypeOf (const char *type)
static vtkActorCollectionSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkActorCollection ()
 ~vtkActorCollection ()

Member Typedef Documentation

Reimplemented from vtkPropCollection.

Definition at line 38 of file vtkActorCollection.h.


Constructor & Destructor Documentation

vtkActorCollection::vtkActorCollection (  )  [inline, protected]

Definition at line 71 of file vtkActorCollection.h.

vtkActorCollection::~vtkActorCollection (  )  [inline, protected]

Definition at line 72 of file vtkActorCollection.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Sat Dec 27 13:16:22 2008 for VTK by  doxygen 1.5.6