Go to the documentation of this file.
26 #ifndef vtkEGLRenderWindow_h
27 #define vtkEGLRenderWindow_h
29 #include "vtkRenderingOpenGL2Module.h"
229 bool DeviceExtensionsPresent;
virtual void Initialize(void)
Initialize the rendering window.
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)
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 SetFullScreen(int)
Change the window to fill the entire screen.
virtual void SetNextWindowId(void *)
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.
virtual void SetParentInfo(char *)
virtual void SetDisplayId(void *)
Dummy stubs for vtkWindow API.
virtual void SetStereoCapableWindow(int capable)
Prescribe that the window be created in a stereo-capable mode.
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 void SetNextWindowInfo(char *)
void SetPosition(int a[2])
virtual void SetOffScreenRendering(int value)
Render without displaying the window.
virtual void SetSize(int a[2])
Set the size of the window in screen coordinates in pixels.
virtual void Frame(void)
End the rendering process and display the image.
void CreateAWindow()
Create a not-off-screen window.
virtual void * GetGenericWindowId()
bool IsPointSpriteBugTested
virtual int * GetPosition()
Get the position in screen coordinates (pixels) of the window.
void ResizeWindow(int width, int height)
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
virtual void SetWindowInfo(char *)
bool IsPointSpriteBugPresent_
virtual void * GetGenericContext()
void DestroyWindow()
Destroy a not-off-screen window.
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 GetOffScreenRendering()
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
void GetEGLSurfaceSize(int *width, int *height)
Returns the width and height of the allocated EGL surface.