VTK
vtkMesaDisplayListPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMesaDisplayListPainter.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 =========================================================================*/
22 #ifndef __vtkMesaDisplayListPainter_h
23 #define __vtkMesaDisplayListPainter_h
24 
25 #include "vtkDisplayListPainter.h"
26 
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
34 
36 
39  virtual void ReleaseGraphicsResources(vtkWindow *);
40 protected:
44 
45  unsigned int ListIds[4];
46  vtkTimeStamp BuildTimes[4];
47 
48  void ReleaseList(int index);
49 
51 
53  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
54  unsigned long typeflags);
56 
57 private:
58  vtkMesaDisplayListPainter(const vtkMesaDisplayListPainter&); // Not implemented.
59  void operator=(const vtkMesaDisplayListPainter&); // Not implemented.
60 };
61 
62 #endif
63 
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
record modification and/or execution time
Definition: vtkTimeStamp.h:33
abstract specification for renderers
Definition: vtkRenderer.h:69
void PrintSelf(ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources(vtkWindow *)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
a simple class to control print indentation
Definition: vtkIndent.h:37
display list painter using Mesa.
abstract superclass for painter that builds/uses display lists.
#define VTK_RENDERING_EXPORT
static vtkDisplayListPainter * New()