00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMesaDisplayListPainter.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 =========================================================================*/ 00022 #ifndef __vtkMesaDisplayListPainter_h 00023 #define __vtkMesaDisplayListPainter_h 00024 00025 #include "vtkDisplayListPainter.h" 00026 00027 class VTK_RENDERING_EXPORT vtkMesaDisplayListPainter : public vtkDisplayListPainter 00028 { 00029 public: 00030 static vtkMesaDisplayListPainter* New(); 00031 vtkTypeMacro(vtkMesaDisplayListPainter, vtkDisplayListPainter); 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 00034 00036 00039 virtual void ReleaseGraphicsResources(vtkWindow *); 00040 protected: 00041 vtkMesaDisplayListPainter(); 00042 ~vtkMesaDisplayListPainter(); 00044 00045 unsigned int ListIds[4]; 00046 vtkTimeStamp BuildTimes[4]; 00047 00048 void ReleaseList(int index); 00049 00051 00053 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00054 unsigned long typeflags); 00056 00057 private: 00058 vtkMesaDisplayListPainter(const vtkMesaDisplayListPainter&); // Not implemented. 00059 void operator=(const vtkMesaDisplayListPainter&); // Not implemented. 00060 }; 00061 00062 #endif 00063