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