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