VTK
vtkOpenGLContextActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLContextActor.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 =========================================================================*/
23 #ifndef vtkOpenGLContextActor_h
24 #define vtkOpenGLContextActor_h
25 
26 #include "vtkRenderingContextOpenGL2Module.h" // For export macro
27 #include "vtkContextActor.h"
28 
29 class VTKRENDERINGCONTEXTOPENGL2_EXPORT vtkOpenGLContextActor : public vtkContextActor
30 {
31 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
34 
36 
40  virtual void ReleaseGraphicsResources(vtkWindow *window);
41 
43  virtual int RenderOverlay(vtkViewport *viewport);
44 
45 protected:
48 
51  void Initialize(vtkViewport* viewport);
52 
53 private:
54  vtkOpenGLContextActor(const vtkOpenGLContextActor&); // Not implemented.
55  void operator=(const vtkOpenGLContextActor&); // Not implemented.
56 };
57 
58 #endif
vtkContextActor.h
vtkOpenGLContextActor::RenderOverlay
virtual int RenderOverlay(vtkViewport *viewport)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkOpenGLContextActor::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *window)
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkContextActor
provides a vtkProp derived object.
Definition: vtkContextActor.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkOpenGLContextActor::~vtkOpenGLContextActor
~vtkOpenGLContextActor()
vtkOpenGLContextActor
provides a vtkProp derived object.
Definition: vtkOpenGLContextActor.h:30
vtkOpenGLContextActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLContextActor::Initialize
void Initialize(vtkViewport *viewport)
vtkOpenGLContextActor::New
static vtkOpenGLContextActor * New()
vtkOpenGLContextActor::vtkOpenGLContextActor
vtkOpenGLContextActor()