VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkVolumeCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkVolumeCollection.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 __vtkVolumeCollection_h
27
#define __vtkVolumeCollection_h
28
29
#include "
vtkPropCollection.h
"
30
31
#include "
vtkVolume.h
"
// Needed for static cast
32
33
class
VTK_RENDERING_EXPORT
vtkVolumeCollection
:
public
vtkPropCollection
34
{
35
public
:
36
static
vtkVolumeCollection
*
New
();
37
vtkTypeMacro(
vtkVolumeCollection
,
vtkPropCollection
);
38
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
41
42
void
AddItem
(
vtkVolume
*a)
43
{
44
this->
vtkCollection::AddItem
(a);
45
}
47
49
51
vtkVolume
*
GetNextVolume
() {
52
return
static_cast<
vtkVolume
*
>
(this->
GetNextItemAsObject
());};
54
55
58
vtkVolume
*
GetNextItem
() {
return
this->GetNextVolume(); };
59
60
//BTX
62
64
vtkVolume
*
GetNextVolume
(
vtkCollectionSimpleIterator
&cookie) {
65
return
static_cast<
vtkVolume
*
>
(this->
GetNextItemAsObject
(cookie));};
66
//ETX
68
69
protected
:
70
vtkVolumeCollection
() {};
71
~vtkVolumeCollection
() {};
72
73
private
:
74
// hide the standard AddItem from the user and the compiler.
75
void
AddItem
(
vtkObject
*o) { this->
vtkCollection::AddItem
(o); };
76
void
AddItem
(
vtkProp
*o) { this->
vtkPropCollection::AddItem
(o); };
77
78
private
:
79
vtkVolumeCollection
(
const
vtkVolumeCollection
&);
// Not implemented.
80
void
operator=(
const
vtkVolumeCollection
&);
// Not implemented.
81
};
82
83
#endif
Generated on Sun Sep 9 2012 13:03:45 for VTK by
1.8.1.2