Go to the documentation of this file.
42 #ifndef vtkIOSRenderWindow_h
43 #define vtkIOSRenderWindow_h
45 #include "vtkRenderingOpenGL2Module.h"
58 void Start()
override;
63 void Frame()
override;
68 virtual void WindowConfigure();
97 virtual void PrefFullScreen();
103 void SetSize(
int a[2])
override;
104 void SetSize(
int,
int)
override;
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).");
209 void UpdateContext();
243 virtual void SetupPalette(
void *hDC);
244 virtual void SetupPixelFormat(
void *hDC,
void *dwFlags,
int debug,
245 int bpp=16,
int zbpp=16);
279 virtual int GetWindowCreated();
285 void SetContextId(
void *);
286 void *GetContextId();
300 virtual void SetRootWindow(
void *);
305 virtual void *GetRootWindow();
322 virtual void *GetWindowId();
338 virtual void *GetParentId();
345 void SetPixelFormat(
void *pixelFormat);
346 void *GetPixelFormat();
353 void CreateGLContext();
357 void DestroyOffScreenWindow();
364 const vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right=0)
override;
375 int ForceMakeCurrent;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSize(int a[2]) override
Set the size of the window in screen coordinates in pixels.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
virtual void Start()=0
Initialize the rendering process.
virtual void ShowCursor()=0
virtual int * GetSize()
Set/Get the size of the window in screen coordinates in pixels.
void * GetGenericDisplayId() override
virtual int ReadPixels(const vtkRecti &rect, int front, int glFormat, int glType, void *data, int right=0)
virtual void HideCursor()=0
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 Finalize()=0
Finalize the rendering process.
virtual void SetFullScreen(vtkTypeBool)=0
Turn on/off rendering full screen window size.
virtual bool IsCurrent()=0
Tells if this window is the current graphics context for the calling thread.
int GetDepthBufferSize() override
Get the size of the depth buffer.
void SetWindowId(void *) override=0
virtual void SetForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called.
virtual void WindowRemap()=0
Remap the rendering window.
void SetParentId(void *) override=0
#define VTK_SIZEHINT(...)
bool InitializeFromCurrentContext() override
Initialize the render window from the information associated with the currently activated OpenGL cont...
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
a simple class to control print indentation
void SetWindowInfo(const char *) override=0
void * GetGenericWindowId() override
virtual void SetCurrentCursor(int)
Change the shape of the cursor.
void MakeCurrent() override=0
Attempt to make this window the current graphics context for the calling thread.
virtual void SetStereoCapableWindow(vtkTypeBool capable)
void * GetGenericDrawable() override
const char * ReportCapabilities() override
Get report of capabilities for the render window.
virtual void SetCursorPosition(int, int)
virtual bool IsDrawable()
Test if the window has a valid drawable.
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
void * GetGenericContext() override
virtual int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
void SetNextWindowId(void *) override
virtual void Frame()=0
A termination method performed at the end of the rendering process to do things like swapping buffers...
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
void * GetGenericParentId() override
IOS OpenGL rendering window.
virtual int GetEventPending()=0
Check to see if a mouse button has been pressed.
virtual void Initialize(void)
Initialize the rendering window.
virtual void CreateAWindow()=0
Create a not-off-screen window.
void SetParentInfo(const char *) override=0