 |
VTK
9.1.0
|
Go to the documentation of this file.
42 #ifndef vtkIOSRenderWindow_h
43 #define vtkIOSRenderWindow_h
46 #include "vtkRenderingOpenGL2Module.h"
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(); }
370 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right = 0)
override;
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
virtual void PrefFullScreen()
Set the preferred window size to full screen.
void BlitDisplayFramebuffersToHardware() override
virtual void SetRootWindow(void *)
Sets the NSWindow* associated with this vtkRenderWindow.
void SetParentInfo(const char *) override
See the documentation for SetParentId().
void SetSize(int width, int height) override
Set the size (width and height) of the rendering window in screen coordinates (in pixels).
int * GetSize() override
Get the size (width and height) of the rendering window in screen coordinates (in pixels).
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void Frame() override
Finish the rendering process.
#define VTK_DEPRECATED_IN_9_1_0(reason)
static vtkIOSRenderWindow * New()
void DestroyOffScreenWindow()
void * GetPixelFormat()
Accessors for the pixel format object (Really an NSOpenGLPixelFormat*).
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.
virtual void WindowConfigure()
Specify various window parameters.
vtkTypeBool OnScreenInitialized
#define VTK_SIZEHINT(...)
virtual void * GetWindowId()
Returns the UIView* associated with this vtkRenderWindow.
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.
int * GetScreenSize() override
Get the current size of the screen in pixels.
a simple class to control print indentation
void DestroyWindow() override
Destroy a not-off-screen window.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
void SetWindowId(void *) override
Sets the UIView* associated with this vtkRenderWindow.
void SetSize(int a[2]) override
Set the size (width and height) of the rendering window in screen coordinates (in pixels).
void WindowRemap() override
Remap the window.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
void SetPixelFormat(void *pixelFormat)
Accessors for the pixel format object (Really an NSOpenGLPixelFormat*).
void SetPosition(int a[2]) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void * GetRootWindow()
Returns the NSWindow* associated with this vtkRenderWindow.
void CreateAWindow() override
Create a not-off-screen window.
~vtkIOSRenderWindow() override
vtkTypeBool OffScreenInitialized
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 MakeCurrent() override
Make this windows OpenGL context the current context.
void SetNextWindowId(void *) override
Dummy stubs for vtkWindow API.
virtual void * GetParentId()
Get the parent UIView* for this vtkRenderWindow.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
IOS OpenGL rendering window.
void SetStereoCapableWindow(vtkTypeBool capable) override
Prescribe that the window be created in a stereo-capable mode.