Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkRendererCollection Class Reference

#include <vtkRendererCollection.h>

Inheritance diagram for vtkRendererCollection:

Inheritance graph
[legend]
Collaboration diagram for vtkRendererCollection:

Collaboration graph
[legend]
List of all members.

Detailed Description

a list of renderers

vtkRendererCollection represents and provides methods to manipulate a list of renderers (i.e., vtkRenderer and subclasses). The list is unsorted and duplicate entries are not prevented.

See also:
vtkRenderer vtkCollection
Created by:
  • Martin, Ken
CVS contributions (if > 5%):
  • Martin, Ken (59%)
  • Childs, Hank (14%)
  • Schroeder, Will (11%)
  • Avila, Lisa (5%)
CVS logs (CVSweb):
  • .cxx (/Rendering/vtkRendererCollection.cxx)
  • .h (/Rendering/vtkRendererCollection.h)

Definition at line 45 of file vtkRendererCollection.h.

Public Types

typedef vtkCollection Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Render ()
vtkRendererGetFirstRenderer ()
void AddItem (vtkRenderer *a)
vtkRendererGetNextItem ()
vtkRendererGetNextRenderer (vtkCollectionSimpleIterator &cookie)

Static Public Member Functions

vtkRendererCollectionNew ()
int IsTypeOf (const char *type)
vtkRendererCollectionSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRendererCollection ()
 ~vtkRendererCollection ()


Member Typedef Documentation

typedef vtkCollection vtkRendererCollection::Superclass
 

Reimplemented from vtkCollection.

Definition at line 49 of file vtkRendererCollection.h.


Constructor & Destructor Documentation

vtkRendererCollection::vtkRendererCollection  )  [inline, protected]
 

Definition at line 82 of file vtkRendererCollection.h.

vtkRendererCollection::~vtkRendererCollection  )  [inline, protected]
 

Definition at line 83 of file vtkRendererCollection.h.


Member Function Documentation

vtkRendererCollection* vtkRendererCollection::New  )  [static]
 

Construct with empty list.

Reimplemented from vtkCollection.

virtual const char* vtkRendererCollection::GetClassName  )  [virtual]
 

Reimplemented from vtkCollection.

int vtkRendererCollection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkCollection.

virtual int vtkRendererCollection::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkCollection.

vtkRendererCollection* vtkRendererCollection::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkCollection.

virtual void vtkRendererCollection::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 vtkRendererCollection::AddItem vtkRenderer a  )  [inline]
 

Add a Renderer to the list.

Definition at line 54 of file vtkRendererCollection.h.

References vtkCollection::AddItem().

vtkRenderer* vtkRendererCollection::GetNextItem  )  [inline]
 

Get the next Renderer in the list. Return NULL when at the end of the list.

Definition at line 61 of file vtkRendererCollection.h.

References vtkCollection::GetNextItemAsObject().

void vtkRendererCollection::Render  ) 
 

Forward the Render() method to each renderer in the list.

vtkRenderer* vtkRendererCollection::GetFirstRenderer  ) 
 

Get the first Renderer in the list. Return NULL when at the end of the list.

vtkRenderer* vtkRendererCollection::GetNextRenderer vtkCollectionSimpleIterator cookie  )  [inline]
 

Reentrant safe way to get an object in a collection. Just pass the same cookie back and forth.

Definition at line 76 of file vtkRendererCollection.h.

References vtkCollection::GetNextItemAsObject(), and vtkCollectionSimpleIterator.


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