Go to the documentation of this file.
32 #ifndef vtkEGLRenderWindow_h
33 #define vtkEGLRenderWindow_h
35 #include "vtkRenderingOpenGL2Module.h"
50 virtual void Start(
void);
55 virtual void Frame(
void);
60 virtual void WindowInitialize(
void);
90 virtual void PrefFullScreen(
void);
135 virtual
void SetDisplayId(
void *) {};
195 void GetEGLSurfaceSize(
int* width,
int*
height);
221 void ResizeWindow(
int width,
int height);
228 void SetDeviceAsDisplay(
int deviceIndex);
234 bool DeviceExtensionsPresent;
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.
virtual void Start()=0
Initialize the rendering process.
virtual void SetNextWindowInfo(const char *)
virtual void ShowCursor()=0
virtual void SetParentInfo(const char *)
int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
virtual vtkTypeBool GetOffScreenRendering()
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 void SetOffScreenRendering(vtkTypeBool)
Create a window in memory instead of on the screen.
virtual int * GetScreenSize()=0
Get the current size of the screen in pixels.
virtual bool IsCurrent()=0
Tells if this window is the current graphics context for the calling thread.
virtual void SetNextWindowId(void *)
void SetWindowId(void *) override=0
virtual void WindowRemap()=0
Remap the rendering window.
virtual void * GetGenericParentId()
virtual int GetEventPending()
Check to see if a mouse button has been pressed.
#define VTK_SIZEHINT(...)
void Render() override
Handle opengl specific code and calls superclass.
virtual void SetWindowName(const char *)
a simple class to control print indentation
void * GetGenericContext() override=0
void SetWindowInfo(const char *) override=0
void * GetGenericDisplayId() override=0
list of point or cell ids
virtual void SetParentId(void *)
void MakeCurrent() override=0
Attempt to make this window the current graphics context for the calling thread.
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
virtual void SetStereoCapableWindow(vtkTypeBool capable)
virtual void * GetGenericDrawable()
void SetPosition(int a[2])
virtual int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
virtual void SetSize(int a[2])
virtual void * GetGenericWindowId()
bool IsPointSpriteBugTested
bool IsPointSpriteBugPresent_
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
virtual void SetPosition(int, int)
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,...
virtual void Initialize(void)
Initialize the rendering window.
virtual void CreateAWindow()=0
Create a not-off-screen window.