42 #ifndef vtkIOSRenderWindow_h
43 #define vtkIOSRenderWindow_h
45 #include "vtkRenderingOpenGL2Module.h"
58 void Start() VTK_OVERRIDE;
63 void Frame() VTK_OVERRIDE;
68 virtual
void WindowConfigure();
78 void Initialize() VTK_OVERRIDE;
86 void SetFullScreen(
int) VTK_OVERRIDE;
91 void WindowRemap() VTK_OVERRIDE;
97 virtual
void PrefFullScreen();
103 void SetSize(
int a[2]) VTK_OVERRIDE;
104 void SetSize(
int,
int) VTK_OVERRIDE;
110 int *GetSize() VTK_OVERRIDE;
116 void SetPosition(
int a[2]) VTK_OVERRIDE;
117 void SetPosition(
int,
int) VTK_OVERRIDE;
123 int *GetScreenSize() VTK_OVERRIDE;
128 int *GetPosition() VTK_OVERRIDE;
134 void SetWindowName(const
char *) VTK_OVERRIDE;
136 void SetNextWindowInfo(
char *) VTK_OVERRIDE
138 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
142 vtkWarningMacro(
"Method not implemented.");
147 vtkWarningMacro(
"Method not implemented.");
151 vtkWarningMacro(
"Method not implemented.");
167 void SetParentInfo(
char*) VTK_OVERRIDE;
169 void SetNextWindowId(
void*) VTK_OVERRIDE
171 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
183 void StereoUpdate() VTK_OVERRIDE;
191 void SetStereoCapableWindow(
int capable) VTK_OVERRIDE;
196 void MakeCurrent() VTK_OVERRIDE;
201 bool IsCurrent() VTK_OVERRIDE;
209 bool IsDrawable() VTK_OVERRIDE;
214 void UpdateContext();
219 const
char *ReportCapabilities() VTK_OVERRIDE;
224 int SupportsOpenGL() VTK_OVERRIDE;
229 int IsDirect() VTK_OVERRIDE;
236 void SetForceMakeCurrent() VTK_OVERRIDE;
242 int GetEventPending() VTK_OVERRIDE;
248 virtual
void SetupPalette(
void *hDC);
249 virtual
void SetupPixelFormat(
void *hDC,
void *dwFlags,
int debug,
250 int bpp=16,
int zbpp=16);
256 void Finalize() VTK_OVERRIDE;
261 int GetDepthBufferSize() VTK_OVERRIDE;
270 void HideCursor() VTK_OVERRIDE;
271 void ShowCursor() VTK_OVERRIDE;
272 void SetCursorPosition(
int x,
int y) VTK_OVERRIDE;
278 void SetCurrentCursor(
int) VTK_OVERRIDE;
284 virtual
int GetWindowCreated();
290 void SetContextId(
void *);
291 void *GetContextId();
292 void *GetGenericContext() VTK_OVERRIDE {
return this->GetContextId();}
305 virtual void SetRootWindow(
void *);
310 virtual void *GetRootWindow();
327 virtual
void *GetWindowId();
328 void *GetGenericWindowId() VTK_OVERRIDE {
return this->GetWindowId();}
343 virtual void *GetParentId();
350 void SetPixelFormat(
void *pixelFormat);
351 void *GetPixelFormat();
358 void CreateGLContext();
360 void CreateAWindow() VTK_OVERRIDE;
361 void DestroyWindow() VTK_OVERRIDE;
362 void DestroyOffScreenWindow();
364 int OffScreenInitialized;
365 int OnScreenInitialized;
369 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data) VTK_OVERRIDE;
380 int ForceMakeCurrent;
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on...
bool InitializeFromCurrentContext() override
Initialize the render window from the information associated with the currently activated OpenGL cont...
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
void SetWindowId(void *) override=0
Dummy stubs for vtkWindow API.
a simple class to control print indentation
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
void SetWindowInfo(char *) override=0
Dummy stubs for vtkWindow API.
void SetParentId(void *) override=0
Dummy stubs for vtkWindow API.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Start()=0
Initialize the rendering process.
IOS OpenGL rendering window.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.