VTK
vtkGenericOpenGLRenderWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderWindow.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 =========================================================================*/
32 #ifndef vtkGenericOpenGLRenderWindow_hpp
33 #define vtkGenericOpenGLRenderWindow_hpp
34 
35 #include "vtkOpenGLRenderWindow.h"
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 protected:
46 
47 public:
48 
50  void Finalize();
51 
54  void Frame();
55 
58  void MakeCurrent();
59 
63  bool IsCurrent();
64 
68  int SupportsOpenGL();
69 
73  int IsDirect();
74 
75  // {@
77  void SetFrontBuffer(unsigned int);
78  void SetFrontLeftBuffer(unsigned int);
79  void SetFrontRightBuffer(unsigned int);
80  void SetBackBuffer(unsigned int);
81  void SetBackLeftBuffer(unsigned int);
82  void SetBackRightBuffer(unsigned int);
83  // }@
84 
86  void PushState();
88  void PopState();
89 
90  // {@
92  void SetWindowId(void*);
93  void* GetGenericWindowId();
94  void SetDisplayId(void*);
95  void SetParentId(void*);
96  void* GetGenericDisplayId();
97  void* GetGenericParentId();
98  void* GetGenericContext();
99  void* GetGenericDrawable();
100  void SetWindowInfo(char*);
101  void SetParentInfo(char*);
102  int* GetScreenSize();
103  void Start();
104  void HideCursor();
105  void ShowCursor();
106  void SetFullScreen(int);
107  void WindowRemap();
108  int GetEventPending();
109  void SetNextWindowId(void*);
110  void SetNextWindowInfo(char*);
111  void CreateAWindow();
112  void DestroyWindow();
113  // }@
114 
115 protected:
116 
117 private:
119  void operator=(const vtkGenericOpenGLRenderWindow&); // Not implemented.
120 };
121 
122 #endif
OpenGL rendering window.
virtual void Finalize()=0
virtual void SetWindowInfo(char *)=0
virtual void WindowRemap()=0
virtual void * GetGenericContext()=0
void PrintSelf(ostream &os, vtkIndent indent)
virtual void HideCursor()=0
virtual void * GetGenericDisplayId()=0
static vtkRenderWindow * New()
virtual int * GetScreenSize()=0
virtual void SetWindowId(void *)=0
virtual void SetNextWindowInfo(char *)=0
virtual void SetFullScreen(int)=0
virtual void * GetGenericDrawable()=0
virtual int GetEventPending()=0
virtual int IsDirect()
virtual int SupportsOpenGL()
virtual void SetParentInfo(char *)=0
virtual bool IsCurrent()=0
virtual void SetParentId(void *)=0
platform independent render window
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual void DestroyWindow()=0
virtual void SetDisplayId(void *)=0
virtual void MakeCurrent()=0
virtual void SetNextWindowId(void *)=0
virtual void Frame()=0
#define VTK_RENDERING_EXPORT
virtual void Start()=0
virtual void CreateAWindow()=0
virtual void * GetGenericParentId()=0
virtual void ShowCursor()=0
virtual void * GetGenericWindowId()=0