VTK
vtkExternalOpenGLRenderWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExternalOpenGLRenderWindow.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 =========================================================================*/
44 #ifndef vtkExternalOpenGLRenderWindow_h
45 #define vtkExternalOpenGLRenderWindow_h
46 
47 #include "vtkRenderingExternalModule.h" // For export macro
48 #include "vtkGenericOpenGLRenderWindow.h"
49 
50 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderWindow :
52 {
53 public:
56  void PrintSelf(ostream &os, vtkIndent indent);
57 
61  void Start(void);
62 
67  void Render();
68 
73  virtual bool IsCurrent();
74 
76 
87  vtkGetMacro(AutomaticWindowPositionAndResize,int);
88  vtkSetMacro(AutomaticWindowPositionAndResize,int);
89  vtkBooleanMacro(AutomaticWindowPositionAndResize,int);
91 
92 protected:
95 
97 
98 private:
100  void operator=(const vtkExternalOpenGLRenderWindow&) VTK_DELETE_FUNCTION;
101 };
102 #endif //vtkExternalOpenGLRenderWindow_h
vtkExternalOpenGLRenderWindow::New
static vtkExternalOpenGLRenderWindow * New()
vtkExternalOpenGLRenderWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGenericOpenGLRenderWindow
platform independent render window
Definition: vtkGenericOpenGLRenderWindow.h:34
vtkExternalOpenGLRenderWindow::Render
void Render()
This computes the size of the render window before calling the superclass' Render() method.
vtkExternalOpenGLRenderWindow
OpenGL render window that allows using an external window to render vtk objects.
Definition: vtkExternalOpenGLRenderWindow.h:52
vtkExternalOpenGLRenderWindow::Start
void Start(void)
Begin the rendering process using the existing context.
vtkExternalOpenGLRenderWindow::IsCurrent
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkExternalOpenGLRenderWindow::~vtkExternalOpenGLRenderWindow
~vtkExternalOpenGLRenderWindow()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkExternalOpenGLRenderWindow::AutomaticWindowPositionAndResize
int AutomaticWindowPositionAndResize
Definition: vtkExternalOpenGLRenderWindow.h:96
vtkExternalOpenGLRenderWindow::vtkExternalOpenGLRenderWindow
vtkExternalOpenGLRenderWindow()