Go to the documentation of this file.
42 #ifndef vtkIOSRenderWindow_h
43 #define vtkIOSRenderWindow_h
45 #include "vtkRenderingOpenGL2Module.h"
116 void SetPosition(
int a[2]) override;
117 void SetPosition(
int,
int) override;
134 void SetWindowName(const
char *) override;
136 void SetNextWindowInfo(const
char *)
override
138 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
142 vtkWarningMacro(
"Method not implemented.");
147 vtkWarningMacro(
"Method not implemented.");
151 vtkWarningMacro(
"Method not implemented.");
171 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
245 int bpp=16,
int zbpp=16);
364 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right=0)
override;
375 int ForceMakeCurrent;
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
void UpdateContext()
Update this window's OpenGL context, e.g.
virtual void PrefFullScreen()
Set the preferred window size to full screen.
virtual void SetRootWindow(void *)
Sets the NSWindow* associated with this vtkRenderWindow.
void SetParentInfo(const char *) override
See the documentation for SetParentId().
void Start() override
Begin the rendering process.
int * GetSize() override
Get the current size of the window in pixels.
void SetCursorPosition(int x, int y) override
void * GetGenericDisplayId() override
void Frame() override
Finish the rendering process.
void SetForceMakeCurrent() override
If called, allow MakeCurrent() to skip cache-check when called.
static vtkIOSRenderWindow * New()
virtual int GetWindowCreated()
Get the WindowCreated flag.
bool IsDrawable() override
Test if the window has a valid drawable.
void SetContextId(void *)
Accessors for the OpenGL context (Really an NSOpenGLContext*).
void DestroyOffScreenWindow()
void SetParentId(void *UIView) override
Set the UIView* for the vtkRenderWindow to be parented within.
void Initialize() override
Initialize the window for rendering.
void SetWindowInfo(const char *) override
Set this RenderWindow's window id to a pre-existing window.
void ShowCursor() override
virtual void WindowConfigure()
Specify various window parameters.
#define VTK_SIZEHINT(...)
virtual void * GetWindowId()
Returns the UIView* associated with this vtkRenderWindow.
int IsDirect() override
Is this render window using hardware acceleration? 0-false, 1-true.
void SetSize(int, int) override
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
bool IsCurrent() override
Tells if this window is the current OpenGL context for the calling thread.
a simple class to control print indentation
const char * ReportCapabilities() override
Get report of capabilities for the render window.
void DestroyWindow() override
Destroy a not-off-screen window.
void * GetGenericWindowId() override
void SetCurrentCursor(int) override
Change the shape of the cursor.
int GetEventPending() override
Check to see if an event is pending for this window.
void SetWindowId(void *) override
Sets the UIView* associated with this vtkRenderWindow.
void SetSize(int a[2]) override
Set the size of the window in pixels.
void WindowRemap() override
Remap the window.
void * GetGenericDrawable() override
void SetPixelFormat(void *pixelFormat)
Accessors for the pixel format object (Really an NSOpenGLPixelFormat*).
virtual void * GetRootWindow()
Returns the NSWindow* associated with this vtkRenderWindow.
void CreateAWindow() override
Create a not-off-screen window.
~vtkIOSRenderWindow() override
bool InitializeFromCurrentContext() override
Initialize the render window from the information associated with the currently activated OpenGL cont...
int ReadPixels(const vtkRecti &rect, int front, int glFormat, int glType, void *data, int right=0) override
void HideCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void * GetGenericContext() override
void MakeCurrent() override
Make this windows OpenGL context the current context.
void Finalize() override
Clean up device contexts, rendering contexts, etc.
void SetNextWindowId(void *) override
virtual void * GetParentId()
Get the parent UIView* for this vtkRenderWindow.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
int GetDepthBufferSize() override
Get the size of the depth buffer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void * GetGenericParentId() override
IOS OpenGL rendering window.
virtual void SetupPixelFormat(void *hDC, void *dwFlags, int debug, int bpp=16, int zbpp=16)
virtual void SetupPalette(void *hDC)
Initialize OpenGL for this window.
void SetStereoCapableWindow(vtkTypeBool capable) override
Prescribe that the window be created in a stereo-capable mode.