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 
28 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
43  virtual double GetTimeToDraw()
44  {
45  return this->TimeToDraw;
46  }
48 
49 protected:
52 
54 
55  void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
56  unsigned long typeflags,bool forceCompileOnly);
57 private:
59  void operator=(const vtkOpenGLRepresentationPainter&); // Not implemented.
60 };
62 
63 #endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
painter handling representation using OpenGL.
abstract specification for renderers
Definition: vtkRenderer.h:69
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
Key for integer values in vtkInformation.
#define VTK_RENDERING_EXPORT
painter that handles representation.
static vtkRepresentationPainter * New()
double TimeToDraw
Definition: vtkPainter.h:235