30 #ifndef vtkIOSRenderWindow_h
31 #define vtkIOSRenderWindow_h
34 #include "vtkRenderingOpenGL2Module.h"
36 VTK_ABI_NAMESPACE_BEGIN
50 void Frame()
override;
55 virtual void WindowConfigure();
84 virtual void PrefFullScreen();
111 void SetPosition(
int x,
int y) override;
112 void SetPosition(
int a[2])
override { this->
SetPosition(a[0], a[1]); }
131 void SetWindowName(const
char*) override;
133 void SetNextWindowInfo(const
char*)
override
135 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
139 vtkWarningMacro(
"Method not implemented.");
142 void SetDisplayId(
void*)
override { vtkWarningMacro(
"Method not implemented."); }
145 vtkWarningMacro(
"Method not implemented.");
165 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
195 void UpdateContext();
229 virtual void SetupPalette(
void* hDC);
230 virtual void SetupPixelFormat(
void* hDC,
void* dwFlags,
int debug,
int bpp = 16,
int zbpp = 16);
264 virtual int GetWindowCreated();
270 void SetContextId(
void*);
271 void* GetContextId();
285 virtual void SetRootWindow(
void*);
290 virtual void* GetRootWindow();
307 virtual void* GetWindowId();
323 virtual void* GetParentId();
330 void SetPixelFormat(
void* pixelFormat);
331 void* GetPixelFormat();
338 void CreateGLContext();
345 void DestroyOffScreenWindow();
352 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right = 0)
override;
365 #define vtkIOSRenderWindow_OVERRIDE_ATTRIBUTES vtkIOSRenderWindow::CreateOverrideAttributes()
366 VTK_ABI_NAMESPACE_END
int GetDepthBufferSize() override
Get the size of the depth buffer.
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 SetForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called.
Attribute for vtkObjectFactory overrides.
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...
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
virtual void WindowRemap()
Remap the rendering window.
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 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.
static vtkOpenGLRenderWindow * New()
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 int * GetScreenSize()
Get the current size of the screen in pixels.
void Initialize() override
Initialize the rendering window.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
static vtkOverrideAttribute * CreateOverrideAttributes()
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.
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...
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 SetCurrentCursor(int)
Change the shape of the cursor.
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.