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:
32  static vtkDisplayListPainter* New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
44  static vtkInformationIntegerKey* IMMEDIATE_MODE_RENDERING();
45 
51  virtual double GetTimeToDraw();
52 
53 protected:
56 
61  virtual void ProcessInformation(vtkInformation*);
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
virtual double GetTimeToDraw()
Get the time required to draw the geometry last time it was rendered.
Store vtkAlgorithm input/output information.
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
Definition: vtkPainter.h:233
a simple class to control print indentation
Definition: vtkIndent.h:39
Key for integer values in vtkInformation.
abstract superclass for painter that builds/uses display lists.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Abstract class for drawing poly data.
Definition: vtkPainter.h:61
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.