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:
40  static vtkLightCollection *New();
42  virtual void PrintSelf(ostream& os, vtkIndent indent);
43 
45  void AddItem(vtkLight *a);
46 
49  vtkLight *GetNextItem();
50 
51  //BTX
53 
55  vtkLight *GetNextLight(vtkCollectionSimpleIterator &cookie);
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
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47
abstract base class for most VTK objects
Definition: vtkObject.h:61
void PrintSelf(ostream &os, vtkIndent indent)
a list of lights
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkCollection * New()
a virtual light for 3D rendering
Definition: vtkLight.h:60
void AddItem(vtkObject *)
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
#define VTKRENDERINGCORE_EXPORT