43#ifndef vtkIOSRenderWindow_h
44#define vtkIOSRenderWindow_h
46#include "vtkRenderingOpenGL2Module.h"
139 vtkWarningMacro(
"SetNextWindowInfo not implemented (WindowRemap not implemented).");
143 vtkWarningMacro(
"Method not implemented.");
148 vtkWarningMacro(
"Method not implemented.");
152 vtkWarningMacro(
"Method not implemented.");
172 vtkWarningMacro(
"SetNextWindowId not implemented (WindowRemap not implemented).");
251 int bpp=16,
int zbpp=16);
380 int ForceMakeCurrent;
IOS OpenGL rendering window.
virtual void StereoUpdate()
Update system if needed due to stereo rendering.
void SetPixelFormat(void *pixelFormat)
Accessors for the pixel format object (Really an NSOpenGLPixelFormat*).
virtual void SetParentInfo(char *)
See the documenation for SetParentId().
virtual void SetForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called.
virtual bool InitializeFromCurrentContext()
Initialize the render window from the information associated with the currently activated OpenGL cont...
virtual void SetSize(int, int)
virtual bool IsDrawable()
Test if the window has a valid drawable.
const char * ReportCapabilities()
Get report of capabilities for the render window.
void SetNextWindowId(void *)
virtual void PrefFullScreen()
Set the preferred window size to full screen.
virtual void SetFullScreen(int)
Change the window to fill the entire screen.
virtual void * GetGenericWindowId()
int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
virtual void SetRootWindow(void *)
Sets the NSWindow* associated with this vtkRenderWindow.
virtual void SetCursorPosition(int x, int y)
virtual int GetEventPending()
Check to see if an event is pending for this window.
int SupportsOpenGL()
Does this render window support OpenGL? 0-false, 1-true.
void SetContextId(void *)
Accessors for the OpenGL context (Really an NSOpenGLContext*).
virtual int GetPixelData(int x, int y, int x2, int y2, int front, unsigned char *data)
virtual void SetDisplayId(void *)
Dummy stubs for vtkWindow API.
void Finalize()
Clean up device contexts, rendering contexts, etc.
virtual void ShowCursor()
virtual void Start()
Begin the rendering process.
virtual void * GetGenericDisplayId()
virtual void SetPosition(int a[2])
Set the position of the window.
void DestroyOffScreenWindow()
virtual void SetupPixelFormat(void *hDC, void *dwFlags, int debug, int bpp=16, int zbpp=16)
static vtkIOSRenderWindow * New()
virtual void SetWindowName(const char *)
Set the name of the window.
virtual void SetParentId(void *UIView)
Set the UIView* for the vtkRenderWindow to be parented within.
virtual int * GetSize()
Get the current size of the window in pixels.
virtual void Frame()
Finish the rendering process.
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
virtual void SetWindowId(void *)
Sets the UIView* associated with this vtkRenderWindow.
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 * GetGenericContext()
void CreateAWindow()
Create a not-off-screen window.
virtual void SetWindowInfo(char *)
Set this RenderWindow's window id to a pre-existing window.
void SetNextWindowInfo(char *)
virtual void * GetGenericParentId()
virtual int GetWindowCreated()
Get the WindowCreated flag.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetCurrentCursor(int)
Change the shape of the cursor.
virtual void * GetGenericDrawable()
void UpdateContext()
Update this window's OpenGL context, e.g.
virtual void SetSize(int a[2])
Set the size of the window in pixels.
void DestroyWindow()
Destroy a not-off-screen window.
virtual void MakeCurrent()
Make this windows OpenGL context the current context.
virtual void SetStereoCapableWindow(int capable)
Prescribe that the window be created in a stereo-capable mode.
virtual void * GetRootWindow()
Returns the NSWindow* associated with this vtkRenderWindow.
virtual void * GetParentId()
Get the parent UIView* for this vtkRenderWindow.
virtual int * GetPosition()
Get the position in screen coordinates of the window.
virtual bool IsCurrent()
Tells if this window is the current OpenGL context for the calling thread.
virtual void SetPosition(int, int)
virtual void * GetWindowId()
Returns the UIView* associated with this vtkRenderWindow.
virtual void WindowRemap()
Remap the window.
int GetDepthBufferSize()
Get the size of the depth buffer.
virtual void SetupPalette(void *hDC)
Initialize OpenGL for this window.
virtual void WindowConfigure()
Specify various window parameters.
virtual void Initialize()
Initialize the window for rendering.
a simple class to control print indentation