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
vtkGenericOpenGLRenderWindow::New
static vtkGenericOpenGLRenderWindow * New()
vtkGenericOpenGLRenderWindow
platform independent render window
Definition: vtkGenericOpenGLRenderWindow.h:33
vtkExternalOpenGLRenderWindow
OpenGL render window that allows using an external window to render vtk objects.
Definition: vtkExternalOpenGLRenderWindow.h:50
vtkGenericOpenGLRenderWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkRenderWindow::Render
virtual void Render()
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGenericOpenGLRenderWindow::IsCurrent
bool IsCurrent()
Returns if the context is current.
vtkGenericOpenGLRenderWindow::Start
void Start()
Initialize the rendering process.
vtkExternalOpenGLRenderWindow::AutomaticWindowPositionAndResize
int AutomaticWindowPositionAndResize
Definition: vtkExternalOpenGLRenderWindow.h:96