30 #ifndef vtkIOSRenderWindow_h
31 #define vtkIOSRenderWindow_h
34 #include "vtkRenderingOpenGL2Module.h"
36 VTK_ABI_NAMESPACE_BEGIN
47 void Frame()
override;
52 virtual void WindowConfigure();
81 virtual void PrefFullScreen();
108 void SetPosition(
int x,
int y) override;
109 void SetPosition(
int a[2])
override { this->
SetPosition(a[0], a[1]); }
128 void SetWindowName(const
char*) override;
130 void SetNextWindowInfo(const
char*)
override
132 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
136 vtkWarningMacro(
"Method not implemented.");
139 void SetDisplayId(
void*)
override { vtkWarningMacro(
"Method not implemented."); }
142 vtkWarningMacro(
"Method not implemented.");
162 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
192 void UpdateContext();
226 virtual void SetupPalette(
void* hDC);
227 virtual void SetupPixelFormat(
void* hDC,
void* dwFlags,
int debug,
int bpp = 16,
int zbpp = 16);
261 virtual int GetWindowCreated();
267 void SetContextId(
void*);
268 void* GetContextId();
282 virtual void SetRootWindow(
void*);
287 virtual void* GetRootWindow();
304 virtual void* GetWindowId();
320 virtual void* GetParentId();
327 void SetPixelFormat(
void* pixelFormat);
328 void* GetPixelFormat();
335 void CreateGLContext();
342 void DestroyOffScreenWindow();
349 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right = 0)
override;
363 VTK_ABI_NAMESPACE_END
int GetDepthBufferSize() override
Get the size of the depth buffer.
virtual void SetForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called.
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
virtual void WindowRemap()
Remap the rendering window.
virtual void HideCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
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 void SetCurrentCursor(int)
Change the shape of the cursor.
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
virtual void Finalize()
Finalize the rendering process.
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.
void * GetGenericContext() override
Accessors for the OpenGL context (Really an NSOpenGLContext*).
virtual void ShowCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
virtual void SetCursorPosition(int, int)
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
virtual void Initialize()
Initialize the rendering window.
virtual void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
const char * ReportCapabilities() override
Get report of capabilities for the render window.
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
virtual vtkTypeBool GetEventPending()
Check to see if a mouse button has been pressed.
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 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)
virtual vtkTypeBool IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.