16#ifndef vtkXOpenGLRenderWindow_h
17#define vtkXOpenGLRenderWindow_h
21#include "vtkRenderingOpenGL2Module.h"
26VTK_ABI_NAMESPACE_BEGIN
28class vtkXOpenGLRenderWindowInternal;
99 void SetSize(
int width,
int height)
override;
107 void SetSizeNoXResize(
int,
int);
113 virtual Colormap GetDesiredColormap();
114 virtual Visual* GetDesiredVisual();
115 virtual vtkXVisualInfo* GetDesiredVisualInfo();
116 virtual
int GetDesiredDepth();
130 void MakeCurrent() override;
135 bool IsCurrent() override;
140 void ReleaseCurrent() override;
147 void SetForceMakeCurrent() override;
152 const
char* ReportCapabilities() override;
162 void* GetGenericDisplayId()
override {
return this->GetDisplayId(); }
188 Display* GetDisplayId();
193 bool EnsureDisplay() override;
201 void SetDisplayId(Display*);
203 void SetDisplayId(
void*) override;
210 Window GetParentId();
217 void SetParentId(Window);
219 void SetParentId(
void*) override;
226 Window GetWindowId();
233 void SetWindowId(Window);
235 void SetWindowId(
void*) override;
241 void SetNextWindowId(Window);
248 void SetNextWindowId(
void*) override;
253 void SetWindowName(const
char*) override;
265 bool InitializeFromCurrentContext() override;
270 bool GetPlatformSupportsRenderWindowSharing()
override {
return true; }
list of point or cell ids
topologically and geometrically regular array of data
a simple class to control print indentation
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
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 * GetGenericFBConfig()
void DestroyWindow() override
Destroy a not-off-screen window.
void PopContext() override
Ability to push and pop this window's context as the current context.
int * GetScreenSize() override
Get the current size of the screen 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 * GetGenericParentId() override
Dummy stubs for vtkWindow API.
void Initialize() override
Initialize the rendering window.
void SetSize(int a[2]) override
Get the size (width and height) of the rendering window in screen coordinates (in pixels).
void SetSize(int width, int height) override
Set the size (width and height in pixels) of the rendering window.
void CreateAWindow() override
Create a not-off-screen window.
void SetParentInfo(const char *info) override
Sets the X window id of the window that WILL BE created.
vtkTypeBool ForceMakeCurrent
void Start() override
Begin the rendering process.
bool SetSwapControl(int i) override
Set the number of vertical syncs required between frames.
void SetFullScreen(vtkTypeBool) override
Change the window to fill the entire screen.
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed or mouse wheel activated.
void SetWindowInfo(const char *info) override
Set this RenderWindow's X window id to a pre-existing window.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCurrentCursor(int) override
Change the shape of the cursor.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
vtkXOpenGLRenderWindowInternal * Internal
void Finalize() override
"Deinitialize" the rendering window.
void SetNextWindowInfo(const char *info) override
Set the window info that will be used after WindowRemap()
void Frame() override
End the rendering process and display the image.
std::stack< Drawable > DrawableStack
~vtkXOpenGLRenderWindow() override
virtual void PrefFullScreen()
Set the preferred window size to full screen.
void WindowRemap() override
Resize the window.
virtual void WindowInitialize()
Initialize the window for rendering.
void SetPosition(int a[2]) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
std::stack< void * > ContextStack
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
void Render() override
This computes the size of the render window before calling the supper classes render.
void SetPosition(int x, int y) override
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
static vtkXOpenGLRenderWindow * New()
std::stack< Display * > DisplayStack
void SetShowWindow(bool val) override
Show or not Show the window.
void PushContext() override
Ability to push and pop this window's context as the current context.
vtkTypeBool UsingHardware
#define VTK_DEPRECATED_IN_9_3_0(reason)
#define VTK_SIZEHINT(...)
#define VTK_MARSHAL_EXCLUDE_REASON_NOT_SUPPORTED
#define VTK_MARSHALEXCLUDE(reason)