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

vtkOpenGLLight.h

Go to the documentation of this file.
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 =========================================================================*/
00034 #ifndef __vtkOpenGLLight_h
00035 #define __vtkOpenGLLight_h
00036 
00037 #include "vtkLight.h"
00038 
00039 class vtkOpenGLRenderer;
00040 
00041 class VTK_RENDERING_EXPORT vtkOpenGLLight : public vtkLight
00042 {
00043 public:
00044   static vtkOpenGLLight *New();
00045   vtkTypeRevisionMacro(vtkOpenGLLight,vtkLight);
00046   virtual void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049   void Render(vtkRenderer *ren,int light_index);
00050   
00051 protected:  
00052   vtkOpenGLLight() {};
00053   ~vtkOpenGLLight() {};
00054 private:
00055   vtkOpenGLLight(const vtkOpenGLLight&);  // Not implemented.
00056   void operator=(const vtkOpenGLLight&);  // Not implemented.
00057 };
00058 
00059 #endif
00060