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 "vtkRenderingCoreModule.h" // For export macro
24 #include "vtkPainter.h"
25 
27 
28 class VTKRENDERINGCORE_EXPORT vtkDisplayListPainter : public vtkPainter
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