OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / include / vtk / vtkOpenGLLight.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkOpenGLLight.h,v $
5   Language:  C++
6   Date:      $Date: 2002/08/22 18:39:31 $
7   Version:   $Revision: 1.18 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
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.
16
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.
22
23 #ifndef __vtkOpenGLLight_h
24 #define __vtkOpenGLLight_h
25
26 #include "vtkLight.h"
27
28 class vtkOpenGLRenderer;
29
30 class VTK_RENDERING_EXPORT vtkOpenGLLight : public vtkLight
31 {
32 public:
33   static vtkOpenGLLight *New();
34   vtkTypeRevisionMacro(vtkOpenGLLight,vtkLight);
35   virtual void PrintSelf(ostream& os, vtkIndent indent);
36
37   // Description:
38   // Implement base class method.
39   void Render(vtkRenderer *ren,int light_index);
40   
41 protected:  
42   vtkOpenGLLight() {};
43   ~vtkOpenGLLight() {};
44 private:
45   vtkOpenGLLight(const vtkOpenGLLight&);  // Not implemented.
46   void operator=(const vtkOpenGLLight&);  // Not implemented.
47 };
48
49 #endif
50