VTK
vtkDisplayListPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDisplayListPainter.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 =========================================================================*/
21 #ifndef vtkDisplayListPainter_h
22 #define vtkDisplayListPainter_h
23 
24 #include "vtkRenderingOpenGLModule.h" // For export macro
25 #include "vtkPainter.h"
26 
28 
29 class VTKRENDERINGOPENGL_EXPORT vtkDisplayListPainter : public vtkPainter
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
45 
51  virtual double GetTimeToDraw();
52 
53 protected:
56 
62 
63 
64  // These methods set the ivars. These are purposefully protected.
65  // The only means to affect them should be using information object.
66  vtkSetMacro(ImmediateModeRendering,int);
67 
69 
70 private:
71  vtkDisplayListPainter(const vtkDisplayListPainter&) VTK_DELETE_FUNCTION;
72  void operator=(const vtkDisplayListPainter&) VTK_DELETE_FUNCTION;
73 };
74 
75 #endif
vtkDisplayListPainter::New
static vtkDisplayListPainter * New()
vtkDisplayListPainter::ProcessInformation
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
vtkDisplayListPainter::~vtkDisplayListPainter
~vtkDisplayListPainter()
vtkDisplayListPainter::GetTimeToDraw
virtual double GetTimeToDraw()
Get the time required to draw the geometry last time it was rendered.
vtkDisplayListPainter::IMMEDIATE_MODE_RENDERING
static vtkInformationIntegerKey * IMMEDIATE_MODE_RENDERING()
Turn on/off flag to control whether data is rendered using immediate mode or note.
vtkDisplayListPainter
abstract superclass for painter that builds/uses display lists.
Definition: vtkDisplayListPainter.h:30
vtkDisplayListPainter::vtkDisplayListPainter
vtkDisplayListPainter()
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:35
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPainter
Abstract class for drawing poly data.
Definition: vtkPainter.h:62
vtkDisplayListPainter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPainter.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDisplayListPainter::ImmediateModeRendering
int ImmediateModeRendering
Definition: vtkDisplayListPainter.h:66