Go to the documentation of this file.
26 #ifndef vtkEGLRenderWindow_h
27 #define vtkEGLRenderWindow_h
29 #include "vtkRenderingOpenGL2Module.h"
44 virtual void Start(
void);
49 virtual void Frame(
void);
54 virtual void WindowInitialize(
void);
84 virtual void PrefFullScreen(
void);
189 void GetEGLSurfaceSize(
int* width,
int*
height);
216 void ResizeWindow(
int width,
int height);
223 void SetDeviceAsDisplay(
int deviceIndex);
229 bool DeviceExtensionsPresent;
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Start()=0
Initialize the rendering process.
virtual void SetStereoCapableWindow(int capable)
virtual void ShowCursor()=0
virtual int GetOffScreenRendering()
virtual void SetFullScreen(int)=0
Turn on/off rendering full screen window size.
int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
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 SetWindowInfo(char *)=0
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 *)
virtual void WindowRemap()=0
Remap the rendering window.
virtual void * GetGenericParentId()
virtual int GetEventPending()
Check to see if a mouse button has been pressed.
virtual void * GetGenericDisplayId()=0
virtual void SetWindowName(const char *)
virtual void SetParentInfo(char *)
virtual void SetDisplayId(void *)
Dummy stubs for vtkWindow API.
virtual void Render()
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
a simple class to control print indentation
list of point or cell ids
virtual void SetParentId(void *)
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
virtual void * GetGenericDrawable()
virtual void SetNextWindowInfo(char *)
void SetPosition(int a[2])
virtual void SetWindowId(void *)=0
virtual int * GetPosition()
Set/Get the position in screen coordinates of the rendering window.
virtual int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
virtual void SetSize(int a[2])
Set the size of the window in screen coordinates in pixels.
virtual void * GetGenericWindowId()
bool IsPointSpriteBugTested
virtual void MakeCurrent()=0
Attempt to make this window the current graphics context for the calling thread.
virtual void * GetGenericContext()=0
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 SetOffScreenRendering(int)
Create a window in memory instead of on the screen.
virtual void Initialize(void)
Initialize the rendering window.
virtual void CreateAWindow()=0
Create a not-off-screen window.
virtual void SetSize(int a[2])
Set the size of the window in screen coordinates in pixels.