VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDisplayListPainter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00020 #ifndef vtkDisplayListPainter_h 00021 #define vtkDisplayListPainter_h 00022 00023 #include "vtkRenderingOpenGLModule.h" // For export macro 00024 #include "vtkPainter.h" 00025 00026 class vtkInformationIntegerKey; 00027 00028 class VTKRENDERINGOPENGL_EXPORT vtkDisplayListPainter : public vtkPainter 00029 { 00030 public: 00031 static vtkDisplayListPainter* New(); 00032 vtkTypeMacro(vtkDisplayListPainter, vtkPainter); 00033 void PrintSelf(ostream& os, vtkIndent indent); 00034 00040 static vtkInformationIntegerKey* IMMEDIATE_MODE_RENDERING(); 00041 00045 virtual double GetTimeToDraw(); 00046 00047 protected: 00048 vtkDisplayListPainter(); 00049 ~vtkDisplayListPainter(); 00050 00053 virtual void ProcessInformation(vtkInformation*); 00054 00055 00056 // These methods set the ivars. These are purposefully protected. 00057 // The only means to affect them should be using information object. 00058 vtkSetMacro(ImmediateModeRendering,int); 00059 00060 int ImmediateModeRendering; 00061 00062 private: 00063 vtkDisplayListPainter(const vtkDisplayListPainter&); // Not implemented. 00064 void operator=(const vtkDisplayListPainter&); // Not implemented. 00065 }; 00066 00067 #endif