42 #ifndef vtkIOSRenderWindow_h
43 #define vtkIOSRenderWindow_h
46 #include "vtkRenderingOpenGL2Module.h"
58 void Frame()
override;
63 virtual void WindowConfigure();
92 virtual void PrefFullScreen();
119 void SetPosition(
int x,
int y) override;
120 void SetPosition(
int a[2])
override { this->
SetPosition(a[0], a[1]); }
139 void SetWindowName(const
char*) override;
141 void SetNextWindowInfo(const
char*)
override
143 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
147 vtkWarningMacro(
"Method not implemented.");
150 void SetDisplayId(
void*)
override { vtkWarningMacro(
"Method not implemented."); }
153 vtkWarningMacro(
"Method not implemented.");
173 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
207 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
208 bool IsDrawable() override;
213 void UpdateContext();
218 const
char* ReportCapabilities() override;
223 int SupportsOpenGL() override;
235 void SetForceMakeCurrent() override;
247 virtual
void SetupPalette(
void* hDC);
248 virtual
void SetupPixelFormat(
void* hDC,
void* dwFlags,
int debug,
int bpp = 16,
int zbpp = 16);
254 void Finalize() override;
259 int GetDepthBufferSize() override;
268 void HideCursor() override;
269 void ShowCursor() override;
270 void SetCursorPosition(
int x,
int y) override;
276 void SetCurrentCursor(
int) override;
282 virtual
int GetWindowCreated();
288 void SetContextId(
void*);
289 void* GetContextId();
290 void* GetGenericContext()
override {
return this->GetContextId(); }
303 virtual void SetRootWindow(
void*);
308 virtual void* GetRootWindow();
325 virtual void* GetWindowId();
341 virtual void* GetParentId();
348 void SetPixelFormat(
void* pixelFormat);
349 void* GetPixelFormat();
356 void CreateGLContext();
363 void DestroyOffScreenWindow();
370 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right = 0)
override;
#define VTK_DEPRECATED_IN_9_1_0(reason)
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
virtual void WindowRemap()
Remap the rendering window.
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 SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
virtual void BlitDisplayFramebuffersToHardware()
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
void SetNextWindowId(void *) override
Dummy stubs for vtkWindow API.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
virtual void SetStereoCapableWindow(vtkTypeBool capable)
Prescribe that the window be created in a stereo-capable mode.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
void SetWindowId(void *) override
Dummy stubs for vtkWindow API.
a simple class to control print indentation
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
virtual void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
void Frame() override
A termination method performed at the end of the rendering process to do things like swapping buffers...
vtkTypeBool OnScreenInitialized
void SetSize(int a[2]) override
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
virtual int * GetSize()
Get the size (width and height) of the rendering window in screen coordinates (in pixels)...
vtkTypeBool OffScreenInitialized
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
IOS OpenGL rendering window.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
void SetPosition(int a[2]) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void Initialize(void)
Initialize the rendering window.
virtual void CreateAWindow()=0
Create a not-off-screen window.
virtual int ReadPixels(const vtkRecti &rect, int front, int glFormat, int glType, void *data, int right=0)