VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
vtkLightCollection.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkLightCollection.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
=========================================================================*/
29
#ifndef __vtkLightCollection_h
30
#define __vtkLightCollection_h
31
32
#include "
vtkCollection.h
"
33
34
class
vtkLight
;
35
36
class
VTK_RENDERING_EXPORT
vtkLightCollection
:
public
vtkCollection
37
{
38
public
:
39
static
vtkLightCollection
*
New
();
40
vtkTypeMacro(
vtkLightCollection
,
vtkCollection
);
41
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
void
AddItem
(
vtkLight
*a);
45
48
vtkLight
*GetNextItem();
49
50
//BTX
52
54
vtkLight
*GetNextLight(
vtkCollectionSimpleIterator
&cookie);
55
//ETX
57
58
protected
:
59
vtkLightCollection
() {};
60
~vtkLightCollection
() {};
61
62
63
private
:
64
// hide the standard AddItem from the user and the compiler.
65
void
AddItem
(
vtkObject
*o) { this->
vtkCollection::AddItem
(o); };
66
67
private
:
68
vtkLightCollection
(
const
vtkLightCollection
&);
// Not implemented.
69
void
operator=(
const
vtkLightCollection
&);
// Not implemented.
70
};
71
72
73
#endif
74
Generated on Sun Sep 9 2012 13:03:44 for VTK by
1.8.1.2