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