Go to the documentation of this file.
32 #ifndef vtkEGLRenderWindow_h
33 #define vtkEGLRenderWindow_h
35 #include "vtkRenderingOpenGL2Module.h"
135 virtual
void SetDisplayId(
void *) {};
234 bool DeviceExtensionsPresent;
virtual void SetNextWindowInfo(const char *)
virtual void * GetGenericDisplayId()
void SetDeviceAsDisplay(int deviceIndex)
Use EGL_EXT_device_base, EGL_EXT_platform_device and EGL_EXT_platform_base extensions to set the disp...
virtual void WindowInitialize(void)
Initialize the window for rendering.
virtual void SetWindowId(void *window)
virtual void SetStereoCapableWindow(vtkTypeBool capable)
Prescribe that the window be created in a stereo-capable mode.
virtual void SetParentInfo(const char *)
int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
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 SetNextWindowId(void *)
void CreateAWindow() override
Create a not-off-screen window.
virtual void WindowRemap(void)
Resize the window.
virtual void * GetGenericParentId()
static vtkEGLRenderWindow * New()
int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
virtual int GetEventPending()
Check to see if a mouse button has been pressed.
#define VTK_SIZEHINT(...)
void SetPosition(int, int)
Move the window to a new position on the display.
virtual void SetSize(int, int)
Specify the size of the rendering window in pixels.
a simple class to control print indentation
virtual void Start(void)
Begin the rendering process.
list of point or cell ids
void MakeCurrent()
Make this window the current OpenGL context.
virtual bool IsCurrent()
Tells if this window is the current OpenGL context for the calling thread.
virtual void Finalize(void)
"Deinitialize" the rendering window.
virtual void SetParentId(void *)
void SetWindowName(const char *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void * GetGenericDrawable()
virtual vtkTypeBool GetOffScreenRendering()
void SetPosition(int a[2])
void DestroyWindow() override
Destroy a not-off-screen window.
virtual void SetFullScreen(vtkTypeBool)
Change the window to fill the entire screen.
virtual void SetSize(int a[2])
virtual void Frame(void)
End the rendering process and display the image.
virtual void * GetGenericWindowId()
bool IsPointSpriteBugTested
void Initialize(void) override
Initialize the rendering window.
void ResizeWindow(int width, int height)
virtual void SetOffScreenRendering(vtkTypeBool value)
Render without displaying the window.
bool IsPointSpriteBugPresent_
virtual void * GetGenericContext()
virtual void SetWindowInfo(const char *)
virtual void PrefFullScreen(void)
Set the preferred window size to full screen.
void Render()
This computes the size of the render window before calling the supper classes render.
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
bool IsPointSpriteBugPresent() override
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
void GetEGLSurfaceSize(int *width, int *height)
Returns the width and height of the allocated EGL surface.