24 #ifndef vtkGenericOpenGLRenderWindow_h
25 #define vtkGenericOpenGLRenderWindow_h
28 #include "vtkRenderingOpenGL2Module.h"
30 VTK_ABI_NAMESPACE_BEGIN
97 void HideCursor() override;
98 void ShowCursor() override;
100 void WindowRemap() override;
102 void SetNextWindowId(
void*) override;
103 void SetNextWindowInfo(const
char*) override;
104 void CreateAWindow() override;
105 void DestroyWindow() override;
114 void SetSupportsOpenGL(
int newValue);
115 void SetIsCurrent(
bool newValue);
125 void Render() override;
130 float GetMaximumHardwareLineWidth() override;
138 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
147 vtkSetMacro(ReadyForRendering,
bool);
148 vtkGetMacro(ReadyForRendering,
bool);
154 vtkSetVector2Macro(ScreenSize,
int);
159 void SetCurrentCursor(
int cShape) override;
168 void OpenGLInit() override;
177 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right) override;
180 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int right) override;
183 int SetRGBACharPixelData(
184 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int blend,
int right) override;
186 int blend = 0,
int right = 0) override;
189 int SupportsOpenGLStatus;
191 float ForceMaximumHardwareLineWidth;
192 bool ReadyForRendering;
199 VTK_ABI_NAMESPACE_END
platform independent render window
void Finalize() override
Cleans up graphics resources allocated in the context for this VTK scene.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void SetWindowId(void *) override
does nothing
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int * GetScreenSize() override
Get the current size of the screen in pixels.
~vtkGenericOpenGLRenderWindow() override
vtkTypeBool IsDirect() override
Returns if the context is direct.
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
void Frame() override
flush the pending drawing operations Class user may to watch for WindowFrameEvent and act on it
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
void SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
void SetBackRightBuffer(unsigned int)
vtkGenericOpenGLRenderWindow()
void MakeCurrent() override
Makes the context current.
int SupportsOpenGL() override
Returns if OpenGL is supported.
void PopState()
no-op (for API compat with OpenGL1).
void SetFrontRightBuffer(unsigned int)
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
void SetOwnContext(vtkTypeBool)
void SetFrontLeftBuffer(unsigned int)
set the drawing buffers to use
void SetBackLeftBuffer(unsigned int)
void PushState()
no-op (for API compat with OpenGL1).
bool IsCurrent() override
Returns if the context is current.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
static vtkGenericOpenGLRenderWindow * New()
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
#define VTK_SIZEHINT(...)