dox/Rendering/vtkRendererCollection.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030
#ifndef __vtkRendererCollection_h
00031
#define __vtkRendererCollection_h
00032
00033
#include "vtkCollection.h"
00034
#include "vtkRenderer.h"
00035
00036 class VTK_RENDERING_EXPORT vtkRendererCollection :
public vtkCollection
00037 {
00038
public:
00039
static vtkRendererCollection *
New();
00040 vtkTypeRevisionMacro(vtkRendererCollection,
vtkCollection);
00041
virtual void PrintSelf(ostream& os,
vtkIndent indent);
00042
00044
00045 void AddItem(
vtkRenderer *a) {
00046 this->vtkCollection::AddItem((
vtkObject *)a);};
00048
00050
00052 vtkRenderer *GetNextItem() {
00053
return static_cast<vtkRenderer *>(this->
GetNextItemAsObject());};
00055
00057
void Render();
00058
00059
protected:
00060 vtkRendererCollection() {};
00061 ~vtkRendererCollection() {};
00062
00063
private:
00064
00065
void AddItem(
vtkObject *o) { this->vtkCollection::AddItem(o); };
00066
00067
private:
00068 vtkRendererCollection(
const vtkRendererCollection&);
00069
void operator=(
const vtkRendererCollection&);
00070 };
00071
00072
00073
#endif