VTK
vtkOpenGLLight.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLLight.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 =========================================================================*/
22 #ifndef __vtkOpenGLLight_h
23 #define __vtkOpenGLLight_h
24 
25 #include "vtkLight.h"
26 
27 class vtkOpenGLRenderer;
28 
30 {
31 public:
32  static vtkOpenGLLight *New();
33  vtkTypeMacro(vtkOpenGLLight,vtkLight);
34  virtual void PrintSelf(ostream& os, vtkIndent indent);
35 
37  void Render(vtkRenderer *ren,int light_index);
38 
39 protected:
42 private:
43  vtkOpenGLLight(const vtkOpenGLLight&); // Not implemented.
44  void operator=(const vtkOpenGLLight&); // Not implemented.
45 };
46 
47 #endif
48