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
29class VTKRENDERINGOPENGL_EXPORT vtkDisplayListPainter : public vtkPainter
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent);
35
45
51 virtual double GetTimeToDraw();
52
53protected:
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
70private:
71 vtkDisplayListPainter(const vtkDisplayListPainter&) VTK_DELETE_FUNCTION;
72 void operator=(const vtkDisplayListPainter&) VTK_DELETE_FUNCTION;
73};
74
75#endif
abstract superclass for painter that builds/uses display lists.
static vtkDisplayListPainter * New()
virtual double GetTimeToDraw()
Get the time required to draw the geometry last time it was rendered.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkInformationIntegerKey * IMMEDIATE_MODE_RENDERING()
Turn on/off flag to control whether data is rendered using immediate mode or note.
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
a simple class to control print indentation
Definition: vtkIndent.h:40
Key for integer values in vtkInformation.
Store vtkAlgorithm input/output information.
Abstract class for drawing poly data.
Definition: vtkPainter.h:62
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.