VTK
vtkOpenGLRepresentationPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLRepresentationPainter.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 =========================================================================*/
23 #ifndef __vtkOpenGLRepresentationPainter_h
24 #define __vtkOpenGLRepresentationPainter_h
25 
26 #include "vtkRenderingOpenGLModule.h" // For export macro
29 
30 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLRepresentationPainter :
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
44  virtual double GetTimeToDraw()
45  {
46  return this->TimeToDraw;
47  }
49 
50 protected:
53 
55 
56  void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
57  unsigned long typeflags,bool forceCompileOnly);
58 private:
60  void operator=(const vtkOpenGLRepresentationPainter&); // Not implemented.
61 };
63 
64 #endif