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
30
31class VTKRENDERINGOPENGL_EXPORT vtkOpenGLDisplayListPainter : public vtkDisplayListPainter
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent);
37
44
45protected:
46
49
54 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
55 unsigned long typeflags,
56 bool forceCompileOnly);
57
58private:
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:52
abstract superclass for painter that builds/uses display lists.
a simple class to control print indentation
Definition: vtkIndent.h:40
display list painter using OpenGL.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLDisplayListPainter * New()
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
If not using ImmediateModeRendering, this will build a display list, if outdated and use the display ...
abstract specification for renderers
Definition: vtkRenderer.h:64
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35