45#ifndef vtkGenericOpenGLRenderWindow_h
46#define vtkGenericOpenGLRenderWindow_h
49#include "vtkRenderingOpenGL2Module.h"
117 void HideCursor() override;
118 void ShowCursor() override;
120 void WindowRemap() override;
122 void SetNextWindowId(
void*) override;
123 void SetNextWindowInfo(const
char*) override;
124 void CreateAWindow() override;
125 void DestroyWindow() override;
134 void SetSupportsOpenGL(
int newValue);
135 void SetIsCurrent(
bool newValue);
145 void Render() override;
150 float GetMaximumHardwareLineWidth() override;
158 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
167 vtkSetMacro(ReadyForRendering,
bool);
168 vtkGetMacro(ReadyForRendering,
bool);
174 vtkSetVector2Macro(ScreenSize,
int);
179 void SetCurrentCursor(
int cShape) override;
189 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
190 bool IsDrawable() override;
195 void OpenGLInit() override;
204 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void* data,
int right) override;
207 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int right) override;
210 int SetRGBACharPixelData(
211 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int blend,
int right) override;
213 int blend = 0,
int right = 0) override;
216 int SupportsOpenGLStatus;
218 float ForceMaximumHardwareLineWidth;
219 bool ReadyForRendering;
platform independent render window
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
void Finalize() override
Cleans up graphics resources allocated in the context for this VTK scene.
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.
static vtkGenericOpenGLRenderWindow * New()
~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 * GetGenericContext() override
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
int * GetScreenSize() override
Get the current size of the screen in pixels.
void SetOwnContext(vtkTypeBool)
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
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 * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
#define VTK_DEPRECATED_IN_9_1_0(reason)
#define VTK_SIZEHINT(...)