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 =========================================================================*/
24 #ifndef vtkOpenGLRepresentationPainter_h
25 #define vtkOpenGLRepresentationPainter_h
26 
27 #include "vtkRenderingOpenGLModule.h" // For export macro
30 
31 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLRepresentationPainter :
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
46  virtual double GetTimeToDraw()
47  {
48  return this->TimeToDraw;
49  }
50 
51 protected:
54 
58  void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
59  unsigned long typeflags,bool forceCompileOnly);
60 
61 private:
63  void operator=(const vtkOpenGLRepresentationPainter&) VTK_DELETE_FUNCTION;
64 };
65 
66 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
painter handling representation using OpenGL.
abstract specification for renderers
Definition: vtkRenderer.h:63
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual double GetTimeToDraw()
This painter overrides GetTimeToDraw() to never pass the request to the delegate. ...
a simple class to control print indentation
Definition: vtkIndent.h:39
Key for integer values in vtkInformation.
painter that handles representation.
static vtkRepresentationPainter * New()
double TimeToDraw
Definition: vtkPainter.h:273