VTK
dox
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
=========================================================================*/
30
#ifndef vtkLightCollection_h
31
#define vtkLightCollection_h
32
33
#include "vtkRenderingCoreModule.h"
// For export macro
34
#include "
vtkCollection.h
"
35
36
class
vtkLight
;
37
38
class
VTKRENDERINGCORE_EXPORT
vtkLightCollection
:
public
vtkCollection
39
{
40
public
:
41
static
vtkLightCollection
*
New
();
42
vtkTypeMacro(
vtkLightCollection
,
vtkCollection
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
44
48
void
AddItem
(
vtkLight
*a);
49
54
vtkLight
*GetNextItem();
55
60
vtkLight
*GetNextLight(
vtkCollectionSimpleIterator
&cookie);
61
62
protected
:
63
vtkLightCollection
() {}
64
~vtkLightCollection
() {}
65
66
private
:
67
// hide the standard AddItem from the user and the compiler.
68
void
AddItem
(
vtkObject
*o)
69
{ this->
vtkCollection::AddItem
(o); }
70
71
private
:
72
vtkLightCollection
(
const
vtkLightCollection
&) VTK_DELETE_FUNCTION;
73
void
operator=(
const
vtkLightCollection
&) VTK_DELETE_FUNCTION;
74
};
75
76
#endif
vtkLightCollection::vtkLightCollection
vtkLightCollection()
Definition:
vtkLightCollection.h:63
vtkCollection::New
static vtkCollection * New()
Construct with empty list.
vtkCollectionSimpleIterator
void * vtkCollectionSimpleIterator
Definition:
vtkCollection.h:47
vtkLight
a virtual light for 3D rendering
Definition:
vtkLight.h:61
vtkCollection.h
vtkLightCollection
a list of lights
Definition:
vtkLightCollection.h:38
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkCollection
create and manipulate unsorted lists of objects
Definition:
vtkCollection.h:51
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkLightCollection::~vtkLightCollection
~vtkLightCollection()
Definition:
vtkLightCollection.h:64
vtkCollection::AddItem
void AddItem(vtkObject *)
Add an object to the list.
vtkCollection::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.17