23 #ifndef vtkEGLRenderWindow_h
24 #define vtkEGLRenderWindow_h
27 #include "vtkRenderingOpenGL2Module.h"
32 VTK_ABI_NAMESPACE_BEGIN
50 void Frame()
override;
61 virtual void WindowInitialize();
91 virtual void PrefFullScreen();
148 void SetDisplayId(
void*)
override {}
203 void GetEGLSurfaceSize(
int* width,
int*
height);
228 void ResizeWindow(
int width,
int height);
235 bool SetDeviceAsDisplay(
int deviceIndex);
241 std::unique_ptr<vtkEGLRenderWindowInternals> Internals;
244 #define vtkEGLRenderWindow_OVERRIDE_ATTRIBUTES vtkEGLRenderWindow::CreateOverrideAttributes()
245 VTK_ABI_NAMESPACE_END
vtkTypeBool GetOwnWindow()
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
Attribute for vtkObjectFactory overrides.
virtual 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...
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
virtual void WindowRemap()
Remap the rendering window.
void Render() override
Handle opengl specific code and calls superclass.
bool IsPointSpriteBugTested
void SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
virtual void SetPosition(int x, int y)
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
virtual void Finalize()
Finalize the rendering process.
virtual void SetShowWindow(bool)
Show or not Show the window.
bool IsPointSpriteBugPresent_
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
virtual void SetStereoCapableWindow(vtkTypeBool capable)
Prescribe that the window be created in a stereo-capable mode.
void SetSize(int a[2]) override
Get the size (width and height) of the rendering window in screen coordinates (in pixels)...
static vtkOpenGLRenderWindow * New()
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
void SetWindowId(void *) override
Dummy stubs for vtkWindow API.
a simple class to control print indentation
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
list of point or cell ids
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
void Initialize() override
Initialize the rendering window.
static vtkOverrideAttribute * CreateOverrideAttributes()
virtual void MakeCurrent()
Make the window current.
#define VTK_SIZEHINT(...)
const char * ReportCapabilities() override
Get report of capabilities for the render window.
void SetNextWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
void Frame() override
A termination method performed at the end of the rendering process to do things like swapping buffers...
Internal class used to store and control EGL state.
void SetPosition(int a[2]) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void ReleaseCurrent()
Release the current context.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNextWindowId(void *) override
Dummy stubs for vtkWindow API.
virtual void SetWindowName(const char *)
Get name of rendering window.
virtual void ShowCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
virtual void CreateAWindow()=0
Create a not-off-screen window.
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed.
virtual int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
vtkTypeBool IsDirect() override
Is this render window using hardware acceleration? 0-false, 1-true.