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 =========================================================================*/
20 #ifndef vtkDisplayListPainter_h
21 #define vtkDisplayListPainter_h
22 
23 #include "vtkRenderingOpenGLModule.h" // For export macro
24 #include "vtkPainter.h"
25 
27 
29 {
30 public:
31  static vtkDisplayListPainter* New();
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
40  static vtkInformationIntegerKey* IMMEDIATE_MODE_RENDERING();
41 
45  virtual double GetTimeToDraw();
46 
47 protected:
50 
53  virtual void ProcessInformation(vtkInformation*);
54 
55 
56  // These methods set the ivars. These are purposefully protected.
57  // The only means to affect them should be using information object.
58  vtkSetMacro(ImmediateModeRendering,int);
59 
61 
62 private:
63  vtkDisplayListPainter(const vtkDisplayListPainter&); // Not implemented.
64  void operator=(const vtkDisplayListPainter&); // Not implemented.
65 };
66 
67 #endif
virtual double GetTimeToDraw()
Store vtkAlgorithm input/output information.
virtual void ProcessInformation(vtkInformation *)
Definition: vtkPainter.h:202
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKRENDERINGOPENGL_EXPORT
Key for integer values in vtkInformation.
abstract superclass for painter that builds/uses display lists.
Abstract class for drawing poly data.
Definition: vtkPainter.h:63
static vtkObject * New()
virtual void PrintSelf(ostream &os, vtkIndent indent)