VTK
dox/Rendering/OpenGL/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 "vtkRenderingOpenGLModule.h" // For export macro
00028 #include "vtkLightingPainter.h"
00029 
00030 class vtkWindow;
00031 
00032 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLLightingPainter : public vtkLightingPainter
00033 {
00034 public:
00035   static vtkOpenGLLightingPainter* New();
00036   vtkTypeMacro(vtkOpenGLLightingPainter, vtkLightingPainter);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00045   virtual double GetTimeToDraw()
00046     { return this->TimeToDraw; }
00048 
00049 protected:
00050   vtkOpenGLLightingPainter();
00051   ~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