VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkRenderWindowCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkRenderWindowCollection.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
26
#ifndef __vtkRenderWindowCollection_h
27
#define __vtkRenderWindowCollection_h
28
29
#include "
vtkCollection.h
"
30
#include "
vtkRenderWindow.h
"
// Needed for static cast
31
32
class
VTK_RENDERING_EXPORT
vtkRenderWindowCollection
:
public
vtkCollection
33
{
34
public
:
35
static
vtkRenderWindowCollection
*
New
();
36
vtkTypeMacro(
vtkRenderWindowCollection
,
vtkCollection
);
37
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
41
void
AddItem
(
vtkRenderWindow
*a)
42
{
43
this->
vtkCollection::AddItem
(a);
44
}
46
48
50
vtkRenderWindow
*GetNextItem()
51
{
52
return
static_cast<
vtkRenderWindow
*
>
(this->
GetNextItemAsObject
());
53
}
55
56
//BTX
58
60
vtkRenderWindow
*GetNextRenderWindow(
vtkCollectionSimpleIterator
&cookie)
61
{
62
return
static_cast<
vtkRenderWindow
*
>
(this->
GetNextItemAsObject
(cookie));
63
}
64
//ETX
66
67
protected
:
68
vtkRenderWindowCollection
() {}
69
~vtkRenderWindowCollection
() {}
70
71
private
:
72
// hide the standard AddItem from the user and the compiler.
73
void
AddItem
(
vtkObject
*o)
74
{
75
this->
vtkCollection::AddItem
(o);
76
}
77
78
private
:
79
vtkRenderWindowCollection
(
const
vtkRenderWindowCollection
&);
// Not implemented.
80
void
operator=(
const
vtkRenderWindowCollection
&);
// Not implemented.
81
};
82
#endif
Generated on Wed May 30 2012 13:22:23 for VTK by
1.8.1