12 #ifndef vtkSDL2WebGPURenderWindow_h
13 #define vtkSDL2WebGPURenderWindow_h
17 #include "vtkRenderingWebGPUModule.h"
19 VTK_ABI_NAMESPACE_BEGIN
69 void SetPosition(
int,
int) override;
70 void SetPosition(
int a[2])
override { this->
SetPosition(a[0], a[1]); }
87 void SetWindowName(const
char*) override;
89 void* GetGenericWindowId()
override {
return (
void*)this->WindowId; }
131 void* WindowId =
nullptr;
143 VTK_ABI_NAMESPACE_END
a simple class to control print indentation
int * GetScreenSize() override
Get the current size of the screen in pixels.
int GetColorBufferSizes(int *rgba) override
Get the size of the color buffer.
static vtkSDL2WebGPURenderWindow * New()
static const std::string DEFAULT_BASE_WINDOW_NAME
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPosition(int a[2]) override
Set the position of the window.
bool Initialize() override
Initialize the rendering window.
vtkSDL2WebGPURenderWindow()
bool IsCurrent() override
Tells if this window is the current OpenGL context for the calling thread.
void HideCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void SetShowWindow(bool val) override
Show or not Show the window.
void Clean()
Clean up device contexts, rendering contexts, etc.
void SetSize(int a[2]) override
Set the size of the window in pixels.
void CreateAWindow() override
Create a not-off-screen window.
~vtkSDL2WebGPURenderWindow() override
void SetSize(int, int) override
Set the size of the window in pixels.
void ShowCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void Finalize() override
Finalize the rendering window.
void Frame() override
A termination method performed at the end of the rendering process to do things like swapping buffers...
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
void MakeCurrent() override
Make the window current.
int * GetSize() override
Get the current size of the window in pixels.
void DestroyWindow() override
Destroy a not-off-screen window.
void ReleaseCurrent() override
Release the current context.
#define VTK_SIZEHINT(...)