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