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