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
vtkRepresentationPainter::New
static vtkRepresentationPainter * New()
vtkRepresentationPainter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLRepresentationPainter::GetTimeToDraw
virtual double GetTimeToDraw()
This painter overrides GetTimeToDraw() to never pass the request to the delegate.
Definition: vtkOpenGLRepresentationPainter.h:46
vtkRepresentationPainter.h
vtkPainter::RenderInternal
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
vtkRepresentationPainter
painter that handles representation.
Definition: vtkRepresentationPainter.h:30
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPainter::TimeToDraw
double TimeToDraw
Definition: vtkPainter.h:273
vtkOpenGLRepresentationPainter
painter handling representation using OpenGL.
Definition: vtkOpenGLRepresentationPainter.h:31
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:63