1 /*=========================================================================
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkOpenGLLight.h,v $
6 Date: $Date: 2002/08/22 18:39:31 $
7 Version: $Revision: 1.18 $
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
17 =========================================================================*/
18 // .NAME vtkOpenGLLight - OpenGL light
19 // .SECTION Description
20 // vtkOpenGLLight is a concrete implementation of the abstract class vtkLight.
21 // vtkOpenGLLight interfaces to the OpenGL rendering library.
23 #ifndef __vtkOpenGLLight_h
24 #define __vtkOpenGLLight_h
28 class vtkOpenGLRenderer;
30 class VTK_RENDERING_EXPORT vtkOpenGLLight : public vtkLight
33 static vtkOpenGLLight *New();
34 vtkTypeRevisionMacro(vtkOpenGLLight,vtkLight);
35 virtual void PrintSelf(ostream& os, vtkIndent indent);
38 // Implement base class method.
39 void Render(vtkRenderer *ren,int light_index);
45 vtkOpenGLLight(const vtkOpenGLLight&); // Not implemented.
46 void operator=(const vtkOpenGLLight&); // Not implemented.