17#ifndef vtkOSOpenGLRenderWindow_h
18#define vtkOSOpenGLRenderWindow_h
21#include "vtkRenderingOpenGL2Module.h"
24VTK_ABI_NAMESPACE_BEGIN
26class vtkOSOpenGLRenderWindowInternal;
74 void SetSize(
int width,
int height)
override;
94 void SetPosition(
int x,
int y) override;
95 void SetPosition(
int a[2])
override { this->
SetPosition(a[0], a[1]); }
list of point or cell ids
a simple class to control print indentation
OffScreen Mesa rendering window.
void WindowRemap() override
Resize the window.
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
virtual void WindowInitialize()
Initialize the window for rendering.
void ShowCursor() 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 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.
vtkOSOpenGLRenderWindowInternal * Internal
~vtkOSOpenGLRenderWindow() override
vtkTypeBool IsDirect() override
Is this render window using hardware acceleration? 0-false, 1-true.
int * GetScreenSize() override
Get the current size of the screen in pixels.
void SetParentId(void *) override
Sets the parent of the window that WILL BE created.
void MakeCurrent() override
Make this window the current OpenGL context.
void SetWindowId(void *) override
Set this RenderWindow's X window id to a pre-existing window.
void SetNextWindowInfo(const char *info) override
Set the window info that will be used after WindowRemap()
void Initialize() override
Initialize the rendering window.
void CreateAWindow() override
Create a not-off-screen window.
void CreateOffScreenWindow(int width, int height)
void SetNextWindowId(void *) override
Set the window id of the new window once a WindowRemap is done.
void SetSize(int width, int height) override
Set the size of the window in screen coordinates in pixels.
void * GetGenericParentId() override
Xwindow get set functions.
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed.
void SetPosition(int a[2]) override
Move the window to a new position on the display.
void SetForceMakeCurrent() override
If called, allow MakeCurrent() to skip cache-check when called.
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 SetParentInfo(const char *info) override
Sets the X window id of the window that WILL BE created.
void DestroyWindow() override
Destroy a not-off-screen window.
bool IsCurrent() override
Tells if this window is the current OpenGL context for the calling thread.
void Frame() override
End the rendering process and display the image.
static vtkOSOpenGLRenderWindow * New()
const char * ReportCapabilities() override
Get report of capabilities for the render window.
void * GetGenericDrawable() override
Xwindow get set functions.
void * GetGenericDisplayId() override
Xwindow get set functions.
void * GetGenericContext() override
Xwindow get set functions.
vtkTypeBool ForceMakeCurrent
void SetWindowName(const char *) override
Get name of rendering window.
void SetDisplayId(void *) override
Set the X display id for this RenderWindow to use to a pre-existing X display id.
void * GetGenericWindowId() override
Xwindow get set functions.
void SetStereoCapableWindow(vtkTypeBool capable) override
Prescribe that the window be created in a stereo-capable mode.
void ResizeOffScreenWindow(int width, int height)
void DestroyOffScreenWindow()
vtkOSOpenGLRenderWindow()
void Finalize() override
"Deinitialize" the rendering window.
void SetWindowInfo(const char *info) override
Set this RenderWindow's X window id to a pre-existing window.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SIZEHINT(...)