VTK
dox/Rendering/vtkDisplayListPainter.h
Go to the documentation of this file.
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 "vtkPainter.h"
00024 
00025 class vtkInformationIntegerKey;
00026 
00027 class VTK_RENDERING_EXPORT vtkDisplayListPainter : public vtkPainter
00028 {
00029 public:
00030   static vtkDisplayListPainter* New();
00031   vtkTypeMacro(vtkDisplayListPainter, vtkPainter);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033   
00039   static vtkInformationIntegerKey* IMMEDIATE_MODE_RENDERING();
00040 
00044   virtual double GetTimeToDraw();
00045   
00046 protected:
00047   vtkDisplayListPainter();
00048   ~vtkDisplayListPainter();
00049  
00052   virtual void ProcessInformation(vtkInformation*);
00053  
00054   
00055   // These methods set the ivars. These are purposefully protected.
00056   // The only means to affect them should be using information object.
00057   vtkSetMacro(ImmediateModeRendering,int);
00058 
00059   int ImmediateModeRendering;
00060 
00061 private:
00062   vtkDisplayListPainter(const vtkDisplayListPainter&); // Not implemented.
00063   void operator=(const vtkDisplayListPainter&); // Not implemented.
00064 };
00065 
00066 #endif