VTK
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 "vtkRenderingCoreModule.h" // For export macro
33 #include "vtkCollection.h"
34 
35 class vtkLight;
36 
38 {
39  public:
42  virtual void PrintSelf(ostream& os, vtkIndent indent);
43 
45  void AddItem(vtkLight *a);
46 
50 
51  //BTX
53 
56  //ETX
58 
59 protected:
62 
63 private:
64  // hide the standard AddItem from the user and the compiler.
65  void AddItem(vtkObject *o)
66  { this->vtkCollection::AddItem(o); }
67 
68 private:
69  vtkLightCollection(const vtkLightCollection&); // Not implemented.
70  void operator=(const vtkLightCollection&); // Not implemented.
71 };
72 
73 #endif
vtkLightCollection::vtkLightCollection
vtkLightCollection()
Definition: vtkLightCollection.h:60
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
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkLightCollection::AddItem
void AddItem(vtkLight *a)
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:53
vtkLightCollection::GetNextItem
vtkLight * GetNextItem()
vtkLightCollection::GetNextLight
vtkLight * GetNextLight(vtkCollectionSimpleIterator &cookie)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderingCoreModule.h
vtkLightCollection::~vtkLightCollection
~vtkLightCollection()
Definition: vtkLightCollection.h:61
vtkgl::a
GLboolean GLboolean GLboolean GLboolean a
Definition: vtkgl.h:12312
vtkLightCollection::New
static vtkLightCollection * New()
vtkCollection::AddItem
void AddItem(vtkObject *)
VTKRENDERINGCORE_EXPORT
#define VTKRENDERINGCORE_EXPORT
Definition: vtkRenderingCoreModule.h:15
vtkLightCollection::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)