30 #ifndef vtkGenericOpenGLRenderWindow_h 31 #define vtkGenericOpenGLRenderWindow_h 34 #include "vtkRenderingOpenGL2Module.h" 53 void Frame()
override;
76 void SetFrontLeftBuffer(
unsigned int);
77 void SetFrontRightBuffer(
unsigned int);
78 void SetBackLeftBuffer(
unsigned int);
79 void SetBackRightBuffer(
unsigned int);
82 void SetDefaultFrameBufferId(
unsigned int);
83 void SetOwnContext(
int);
103 void HideCursor() override;
104 void ShowCursor() override;
106 void WindowRemap() override;
108 void SetNextWindowId(
void*) override;
109 void SetNextWindowInfo(const
char*) override;
110 void CreateAWindow() override;
111 void DestroyWindow() override;
120 void SetSupportsOpenGL(
int newValue);
121 void SetIsCurrent(
bool newValue);
131 void Render() override;
136 float GetMaximumHardwareLineWidth() override;
143 vtkSetClampMacro(ForceMaximumHardwareLineWidth,
float, 0,
VTK_FLOAT_MAX);
144 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
153 vtkSetMacro(ReadyForRendering,
bool);
154 vtkGetMacro(ReadyForRendering,
bool);
160 vtkSetVector2Macro(ScreenSize,
int);
165 void SetCurrentCursor(
int cShape) override;
174 VTK_LEGACY(
bool IsDrawable() override);
183 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right) override;
186 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int right) override;
189 int SetRGBACharPixelData(
190 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int blend,
int right) override;
192 int blend = 0,
int right = 0) override;
195 int SupportsOpenGLStatus;
197 float ForceMaximumHardwareLineWidth;
198 bool ReadyForRendering;
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on...
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
void MakeCurrent() override
Attempt to make this window the current graphics context for the calling thread.
void PushState()
no-op (for API compat with OpenGL1).
void SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
virtual void Finalize()
Finalize the rendering process.
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
void SetWindowId(void *) override
Dummy stubs for vtkWindow API.
platform independent render window
a simple class to control print indentation
virtual int * GetScreenSize()
Get the current size of the screen in pixels.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
#define VTK_SIZEHINT(...)
dynamic, self-adjusting array of unsigned char
void Frame() override
A termination method performed at the end of the rendering process to do things like swapping buffers...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void PopState()
no-op (for API compat with OpenGL1).
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
virtual vtkTypeBool IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.