#include <vtkRendererCollection.h>
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.
Definition at line 32 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 () |
vtkRenderer * | GetFirstRenderer () |
void | AddItem (vtkRenderer *a) |
vtkRenderer * | GetNextItem () |
vtkRenderer * | GetNextRenderer (vtkCollectionSimpleIterator &cookie) |
Static Public Member Functions | |
static vtkRendererCollection * | New () |
static int | IsTypeOf (const char *type) |
static vtkRendererCollection * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkRendererCollection () | |
~vtkRendererCollection () |
vtkRendererCollection::vtkRendererCollection | ( | ) | [inline, protected] |
Definition at line 72 of file vtkRendererCollection.h.
vtkRendererCollection::~vtkRendererCollection | ( | ) | [inline, protected] |
Definition at line 73 of file vtkRendererCollection.h.
static vtkRendererCollection* vtkRendererCollection::New | ( | ) | [static] |
Construct with empty list.
Reimplemented from vtkCollection.
virtual const char* vtkRendererCollection::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCollection.
static int vtkRendererCollection::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 vtkCollection.
virtual int vtkRendererCollection::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 vtkCollection.
static 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 41 of file vtkRendererCollection.h.
vtkRenderer* vtkRendererCollection::GetNextItem | ( | ) | [inline] |
Get the next Renderer in the list. Return NULL when at the end of the list.
Definition at line 51 of file vtkRendererCollection.h.
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 66 of file vtkRendererCollection.h.