VTK
vtkOpenGLLightingPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLLightingPainter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkOpenGLLightingPainter_h
25 #define vtkOpenGLLightingPainter_h
26 
27 #include "vtkRenderingOpenGLModule.h" // For export macro
28 #include "vtkLightingPainter.h"
29 
30 class vtkWindow;
31 
33 {
34 public:
35  static vtkOpenGLLightingPainter* New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
45  virtual double GetTimeToDraw()
46  { return this->TimeToDraw; }
48 
49 protected:
52 
54 
55  virtual void RenderInternal(vtkRenderer *renderer,
56  vtkActor *actor,
57  unsigned long typeflags,
58  bool forceCompileOnly);
60 
61 private:
62  vtkOpenGLLightingPainter(const vtkOpenGLLightingPainter&); // Not implemented.
63  void operator=(const vtkOpenGLLightingPainter&); // Not implemented.
64 };
65 
66 #endif
painter that manages lighting.
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
void PrintSelf(ostream &os, vtkIndent indent)
abstract specification for renderers
Definition: vtkRenderer.h:63
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
abstract class defining interface for painter that can handle lightin.
static vtkLightingPainter * New()
double TimeToDraw
Definition: vtkPainter.h:236