VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLLight.h 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 "vtkRenderingOpenGLModule.h" // For export macro 00026 #include "vtkLight.h" 00027 00028 class vtkOpenGLRenderer; 00029 00030 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLLight : public vtkLight 00031 { 00032 public: 00033 static vtkOpenGLLight *New(); 00034 vtkTypeMacro(vtkOpenGLLight, vtkLight); 00035 virtual void PrintSelf(ostream& os, vtkIndent indent); 00036 00038 void Render(vtkRenderer *ren, int light_index); 00039 00040 protected: 00041 vtkOpenGLLight() {} 00042 ~vtkOpenGLLight() {} 00043 00044 private: 00045 vtkOpenGLLight(const vtkOpenGLLight&); // Not implemented. 00046 void operator=(const vtkOpenGLLight&); // Not implemented. 00047 }; 00048 00049 #endif