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 =========================================================================*/
41 #ifndef vtkExternalOpenGLRenderWindow_h
42 #define vtkExternalOpenGLRenderWindow_h
43 
44 #include "vtkRenderingExternalModule.h" // For export macro
45 #include "vtkGenericOpenGLRenderWindow.h"
46 
47 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderWindow :
49 {
50 public:
53  void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
54 
58  void Start(void) VTK_OVERRIDE;
59 
64  bool IsCurrent() VTK_OVERRIDE;
65 
67 
78  vtkGetMacro(AutomaticWindowPositionAndResize,int);
79  vtkSetMacro(AutomaticWindowPositionAndResize,int);
80  vtkBooleanMacro(AutomaticWindowPositionAndResize,int);
82 
83 protected:
85  ~vtkExternalOpenGLRenderWindow() VTK_OVERRIDE;
86 
87  int AutomaticWindowPositionAndResize;
88 
89 private:
90  vtkExternalOpenGLRenderWindow(const vtkExternalOpenGLRenderWindow&) VTK_DELETE_FUNCTION;
91  void operator=(const vtkExternalOpenGLRenderWindow&) VTK_DELETE_FUNCTION;
92 };
93 #endif //vtkExternalOpenGLRenderWindow_h
static vtkGenericOpenGLRenderWindow * New()
OpenGL render window that allows using an external window to render vtk objects.
void Start() override
Initialize the rendering process.
platform independent render window
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.