 |
VTK
9.0.1
|
Go to the documentation of this file.
32 #ifndef vtkEGLRenderWindow_h
33 #define vtkEGLRenderWindow_h
36 #include "vtkRenderingOpenGL2Module.h"
50 void Frame(
void)
override;
58 virtual void WindowInitialize(
void);
88 virtual void PrefFullScreen(
void);
140 void SetDisplayId(
void*)
override {}
195 void GetEGLSurfaceSize(
int* width,
int*
height);
220 void ResizeWindow(
int width,
int height);
227 void SetDeviceAsDisplay(
int deviceIndex);
233 bool DeviceExtensionsPresent;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNextWindowInfo(const char *) override
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed.
void SetWindowInfo(const char *) override
virtual void SetPosition(int x, int y)
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
void * GetGenericWindowId() override
void SetPosition(int a[2]) override
void SetWindowId(void *) override
void SetNextWindowId(void *) override
void * GetGenericDrawable() override
void SetSize(int a[2]) override
void * GetGenericDisplayId() override
virtual void WindowRemap()
Remap the rendering window.
virtual void ShowCursor()
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...
#define VTK_SIZEHINT(...)
virtual void Finalize()
Finalize the rendering process.
void Render() override
Handle opengl specific code and calls superclass.
virtual void SetWindowName(const char *)
vtkTypeBool IsDirect() override
Is this render window using hardware acceleration? 0-false, 1-true.
void * GetGenericParentId() override
void MakeCurrent() override
Attempt to make this window the current graphics context for the calling thread.
a simple class to control print indentation
vtkTypeBool GetOwnWindow()
list of point or cell ids
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
virtual void SetStereoCapableWindow(vtkTypeBool capable)
virtual int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
void SetSize(int width, int height) override
Set the size (width and height) of the rendering window in screen coordinates (in pixels).
void Frame() override
A termination method performed at the end of the rendering process to do things like swapping buffers...
bool IsPointSpriteBugTested
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
bool IsPointSpriteBugPresent_
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
void SetParentInfo(const char *) override
virtual void SetShowWindow(bool)
void * GetGenericContext() override
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
void SetParentId(void *) override
virtual void Initialize(void)
Initialize the rendering window.
virtual void CreateAWindow()=0
Create a not-off-screen window.