Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Rendering/vtkOpenGLLight.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLLight.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00026 #ifndef __vtkOpenGLLight_h 00027 #define __vtkOpenGLLight_h 00028 00029 #include "vtkLight.h" 00030 00031 class vtkOpenGLRenderer; 00032 00033 class VTK_RENDERING_EXPORT vtkOpenGLLight : public vtkLight 00034 { 00035 public: 00036 static vtkOpenGLLight *New(); 00037 vtkTypeRevisionMacro(vtkOpenGLLight,vtkLight); 00038 virtual void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 void Render(vtkRenderer *ren,int light_index); 00042 00043 protected: 00044 vtkOpenGLLight() {}; 00045 ~vtkOpenGLLight() {}; 00046 private: 00047 vtkOpenGLLight(const vtkOpenGLLight&); // Not implemented. 00048 void operator=(const vtkOpenGLLight&); // Not implemented. 00049 }; 00050 00051 #endif 00052