VTK
vtkOpenGLDisplayListPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLDisplayListPainter.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 =========================================================================*/
25 #ifndef vtkOpenGLDisplayListPainter_h
26 #define vtkOpenGLDisplayListPainter_h
27 
28 #include "vtkRenderingOpenGLModule.h" // For export macro
29 #include "vtkDisplayListPainter.h"
30 
31 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLDisplayListPainter : public vtkDisplayListPainter
32 {
33 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
43  virtual void ReleaseGraphicsResources(vtkWindow *);
44 
45 protected:
46 
49 
54  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
55  unsigned long typeflags,
56  bool forceCompileOnly);
57 
58 private:
59  vtkOpenGLDisplayListPainter(const vtkOpenGLDisplayListPainter&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkOpenGLDisplayListPainter&) VTK_DELETE_FUNCTION;
61 
62  class vtkInternals;
63  vtkInternals* Internals;
64 
65 };
66 
67 #endif
68 
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
display list painter using OpenGL.
abstract specification for renderers
Definition: vtkRenderer.h:63
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this painter.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract superclass for painter that builds/uses display lists.
static vtkDisplayListPainter * New()