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 =========================================================================*/
43 #ifndef vtkExternalOpenGLRenderWindow_h
44 #define vtkExternalOpenGLRenderWindow_h
45 
46 #include "vtkRenderingExternalModule.h" // For export macro
47 #include "vtkGenericOpenGLRenderWindow.h"
48 
49 class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLRenderWindow :
51 {
52 public:
55  void PrintSelf(ostream &os, vtkIndent indent);
56 
58  void Start(void);
59 
62  void Render();
63 
66  virtual bool IsCurrent();
67 
69 
79  vtkGetMacro(AutomaticWindowPositionAndResize,int);
80  vtkSetMacro(AutomaticWindowPositionAndResize,int);
81  vtkBooleanMacro(AutomaticWindowPositionAndResize,int);
83 
84 protected:
87 
89 
90 private:
92  void operator=(const vtkExternalOpenGLRenderWindow&); // Not implemented
93 };
94 #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:38
bool IsCurrent()
Returns if the context is current.
void PrintSelf(ostream &os, vtkIndent indent)