VTK
9.0.20210227
Rendering
Core
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
=========================================================================*/
27
#ifndef vtkLightCollection_h
28
#define vtkLightCollection_h
29
30
#include "
vtkCollection.h
"
31
#include "vtkRenderingCoreModule.h"
// For export macro
32
33
class
vtkLight
;
34
35
class
VTKRENDERINGCORE_EXPORT
vtkLightCollection
:
public
vtkCollection
36
{
37
public
:
38
static
vtkLightCollection
*
New
();
39
vtkTypeMacro(
vtkLightCollection
,
vtkCollection
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
45
void
AddItem
(
vtkLight
* a);
46
51
vtkLight
* GetNextItem();
52
57
vtkLight
* GetNextLight(
vtkCollectionSimpleIterator
& cookie);
58
59
protected
:
60
vtkLightCollection
() =
default
;
61
~
vtkLightCollection
()
override
=
default
;
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
&) =
delete
;
69
void
operator=(
const
vtkLightCollection
&) =
delete
;
70
};
71
72
#endif
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition:
vtkCollection.h:48
vtkLight
a virtual light for 3D rendering
Definition:
vtkLight.h:56
vtkCollection.h
vtkLightCollection
an ordered list of lights
Definition:
vtkLightCollection.h:35
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkCollection
create and manipulate ordered lists of objects
Definition:
vtkCollection.h:52
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated on Sat Feb 27 2021 21:27:56 for VTK by
1.8.16