VTK
|
a list of renderers More...
#include <vtkRendererCollection.h>
Public Types | |
typedef vtkCollection | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkRendererCollection * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRendererCollection () | |
~vtkRendererCollection () |
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.
Definition at line 33 of file vtkRendererCollection.h.
Reimplemented from vtkCollection.
Definition at line 37 of file vtkRendererCollection.h.
vtkRendererCollection::vtkRendererCollection | ( | ) | [inline, protected] |
Definition at line 71 of file vtkRendererCollection.h.
vtkRendererCollection::~vtkRendererCollection | ( | ) | [inline, protected] |
Definition at line 72 of file vtkRendererCollection.h.
static vtkRendererCollection* vtkRendererCollection::New | ( | ) | [static] |
Construct with empty list.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkCollection.
static vtkRendererCollection* vtkRendererCollection::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCollection.
virtual vtkObjectBase* vtkRendererCollection::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCollection.
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 42 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 50 of file vtkRendererCollection.h.
void vtkRendererCollection::Render | ( | ) |
Forward the Render() method to each renderer in the list.
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 65 of file vtkRendererCollection.h.