00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLDisplayListPainter.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 =========================================================================*/ 00024 #ifndef __vtkOpenGLDisplayListPainter_h 00025 #define __vtkOpenGLDisplayListPainter_h 00026 00027 #include "vtkDisplayListPainter.h" 00028 00029 class VTK_RENDERING_EXPORT vtkOpenGLDisplayListPainter : public vtkDisplayListPainter 00030 { 00031 public: 00032 static vtkOpenGLDisplayListPainter* New(); 00033 vtkTypeMacro(vtkOpenGLDisplayListPainter, vtkDisplayListPainter); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 00040 virtual void ReleaseGraphicsResources(vtkWindow *); 00041 //BTX 00042 protected: 00043 vtkOpenGLDisplayListPainter(); 00044 ~vtkOpenGLDisplayListPainter(); 00045 00046 00048 00050 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00051 unsigned long typeflags, 00052 bool forceCompileOnly); 00054 00055 private: 00056 vtkOpenGLDisplayListPainter(const vtkOpenGLDisplayListPainter&); // Not implemented. 00057 void operator=(const vtkOpenGLDisplayListPainter&); // Not implemented. 00058 00059 class vtkInternals; 00060 vtkInternals* Internals; 00061 //ETX 00062 }; 00063 00064 #endif 00065