15#ifndef vtkXWebGPURenderWindow_h
16#define vtkXWebGPURenderWindow_h
18#include "vtkRenderingWebGPUModule.h"
22VTK_ABI_NAMESPACE_BEGIN
96 void SetSize(
int width,
int height)
override;
142 Display* GetDisplayId();
147 bool EnsureDisplay() override;
154 void SetDisplayId(Display*);
155 void SetDisplayId(
void*) override;
161 Window GetParentId();
167 void SetParentId(Window);
168 void SetParentId(
void*) override;
174 Window GetWindowId();
180 void SetWindowId(Window);
181 void SetWindowId(
void*) override;
187 void SetNextWindowId(Window);
194 void SetNextWindowId(
void*) override;
199 void SetWindowName(const
char*) override;
211 bool InitializeFromCurrentContext() override;
216 bool GetPlatformSupportsRenderWindowSharing()
override {
return true; }
topologically and geometrically regular array of data
a simple class to control print indentation
WebGPU rendering window for the X Window system.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
virtual void WindowInitialize()
Initialize the window for rendering.
void CreateAWindow() override
Create a not-off-screen window.
void SetCurrentCursor(int) override
Change the shape of the cursor.
void Render() override
This computes the size of the render window before calling the supper classes render.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
std::string MakeDefaultWindowNameWithBackend() override
Construct the window title as "Visualization Toolkit - <WindowSystem> <GraphicsBackend>" Ex: "Visuali...
void SetPosition(int a[2]) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
void SetStereoCapableWindow(vtkTypeBool capable) override
Prescribe that the window be created in a stereo-capable mode.
virtual void PrefFullScreen()
Set the preferred window size to full screen.
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 SetNextWindowInfo(const char *info) override
Set the window info that will be used after WindowRemap()
~vtkXWebGPURenderWindow() override
bool WindowSetup() override
Initialize the rendering window.
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed or mouse wheel activated.
void SetPosition(int x, int y) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
vtkTypeBool IsDirect() override
Is this render window using hardware acceleration? 0-false, 1-true.
void SetSize(int width, int height) override
Set the size (width and height in pixels) of the rendering window.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the VTK class.
void WindowRemap() override
Resize the window.
void Frame() override
End the rendering process and display the image.
void SetSize(int a[2]) override
Get the size (width and height) of the rendering window in screen coordinates (in pixels).
void SetShowWindow(bool val) override
Show or not Show the window.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
const char * ReportCapabilities() override
Get report of capabilities for the render window.
void Finalize() override
"Deinitialize" the rendering window.
void DestroyWindow() override
Destroy a not-off-screen window.
vtkTypeBool UsingHardware
int * GetScreenSize() override
Get the current size of the screen in pixels.
void SetParentInfo(const char *info) override
Sets the X window id of the window that WILL BE created.
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
static vtkXWebGPURenderWindow * New()
Instantiate the class.
void SetWindowInfo(const char *info) override
Set this RenderWindow's X window id to a pre-existing window.
void * GetGenericDisplayId() override
Xwindow get set functions.
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...
#define VTK_SIZEHINT(...)