00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLLight.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00022 #ifndef __vtkOpenGLLight_h 00023 #define __vtkOpenGLLight_h 00024 00025 #include "vtkLight.h" 00026 00027 class vtkOpenGLRenderer; 00028 00029 class VTK_RENDERING_EXPORT vtkOpenGLLight : public vtkLight 00030 { 00031 public: 00032 static vtkOpenGLLight *New(); 00033 vtkTypeRevisionMacro(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 private: 00043 vtkOpenGLLight(const vtkOpenGLLight&); // Not implemented. 00044 void operator=(const vtkOpenGLLight&); // Not implemented. 00045 }; 00046 00047 #endif 00048