VTK
dox/Rendering/vtkOpenGLLightingPainter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOpenGLLightingPainter.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 =========================================================================*/
00024 #ifndef __vtkOpenGLLightingPainter_h
00025 #define __vtkOpenGLLightingPainter_h
00026 
00027 #include "vtkLightingPainter.h"
00028 
00029 class vtkWindow;
00030 
00031 class VTK_RENDERING_EXPORT vtkOpenGLLightingPainter : public vtkLightingPainter
00032 {
00033 public:
00034   static vtkOpenGLLightingPainter* New();
00035   vtkTypeMacro(vtkOpenGLLightingPainter, vtkLightingPainter);
00036   void PrintSelf(ostream& os ,vtkIndent indent);
00037 
00039 
00044   virtual double GetTimeToDraw()
00045     {
00046     return this->TimeToDraw;
00047     }
00048 protected:
00049   vtkOpenGLLightingPainter();
00050   ~vtkOpenGLLightingPainter();
00052 
00054 
00055   virtual void RenderInternal(vtkRenderer *renderer,
00056                               vtkActor *actor, 
00057                               unsigned long typeflags,
00058                               bool forceCompileOnly);
00060 
00061 private:
00062   vtkOpenGLLightingPainter(const vtkOpenGLLightingPainter&); // Not implemented.
00063   void operator=(const vtkOpenGLLightingPainter&); // Not implemented.
00064 };
00065 
00066 #endif
00067