Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkActorCollection Class Reference

a list of actors. More...

#include <vtkActorCollection.h>

Inheritance diagram for vtkActorCollection:

Inheritance graph
[legend]
Collaboration diagram for vtkActorCollection:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void AddItem (vtkActor *a)
vtkActor * GetNextActor ()
vtkActor * GetLastActor ()
void ApplyProperties (vtkProperty *p)
vtkActor * GetNextItem ()
vtkActor * GetLastItem ()

Static Public Methods

vtkActorCollection * New ()
int IsTypeOf (const char *type)
vtkActorCollection * SafeDownCast (vtkObject *o)

Protected Methods

 vtkActorCollection ()
 ~vtkActorCollection ()

Detailed Description

a list of actors.

Date:
2001/10/11 13:38:06
Revision:
1.40

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 61 of file vtkActorCollection.h.


Constructor & Destructor Documentation

vtkActorCollection::vtkActorCollection (    )  [inline, protected]
 

Definition at line 88 of file vtkActorCollection.h.

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

Definition at line 89 of file vtkActorCollection.h.


Member Function Documentation

vtkActorCollection* vtkActorCollection::New (    )  [static]
 

Construct with empty list.

Reimplemented from vtkPropCollection.

virtual const char* vtkActorCollection::GetClassName (    )  [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPropCollection.

int vtkActorCollection::IsTypeOf (  const char *    type )  [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 *    type )  [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.

vtkActorCollection* vtkActorCollection::SafeDownCast (  vtkObject *    o )  [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPropCollection.

void vtkActorCollection::AddItem (  vtkActor *    a )  [inline]
 

Add an actor to the list.

Definition at line 102 of file vtkActorCollection.h.

vtkActor * vtkActorCollection::GetNextActor (    )  [inline]
 

Get the next actor in the list.

Definition at line 107 of file vtkActorCollection.h.

Referenced by GetNextItem().

vtkActor * vtkActorCollection::GetLastActor (    )  [inline]
 

Get the last actor in the list.

Definition at line 112 of file vtkActorCollection.h.

Referenced by GetLastItem().

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 124 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 129 of file vtkActorCollection.h.

void vtkActorCollection::ApplyProperties (  vtkProperty *    p ) 
 

Apply properties to all actors in this collection.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:27:14 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001