VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL2/vtkOpenGLLight.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004 
00005   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00021 #ifndef vtkOpenGLLight_h
00022 #define vtkOpenGLLight_h
00023 
00024 #include "vtkRenderingOpenGL2Module.h" // For export macro
00025 #include "vtkLight.h"
00026 
00027 class vtkOpenGLRenderer;
00028 
00029 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLLight : public vtkLight
00030 {
00031 public:
00032   static vtkOpenGLLight *New();
00033   vtkTypeMacro(vtkOpenGLLight, vtkLight);
00034   virtual void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037   void Render(vtkRenderer *ren, int light_index);
00038 
00039 protected:
00040   vtkOpenGLLight() {}
00041   ~vtkOpenGLLight() {}
00042 
00043 private:
00044   vtkOpenGLLight(const vtkOpenGLLight&);  // Not implemented.
00045   void operator=(const vtkOpenGLLight&);  // Not implemented.
00046 };
00047 
00048 #endif