 |
VTK
9.1.0
|
Go to the documentation of this file.
115 #ifndef vtkGenericOpenGLRenderWindow_h
116 #define vtkGenericOpenGLRenderWindow_h
119 #include "vtkRenderingOpenGL2Module.h"
187 void HideCursor() override;
188 void ShowCursor() override;
190 void WindowRemap() override;
192 void SetNextWindowId(
void*) override;
193 void SetNextWindowInfo(const
char*) override;
194 void CreateAWindow() override;
195 void DestroyWindow() override;
204 void SetSupportsOpenGL(
int newValue);
205 void SetIsCurrent(
bool newValue);
215 void Render() override;
220 float GetMaximumHardwareLineWidth() override;
228 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
237 vtkSetMacro(ReadyForRendering,
bool);
238 vtkGetMacro(ReadyForRendering,
bool);
244 vtkSetVector2Macro(ScreenSize,
int);
249 void SetCurrentCursor(
int cShape) override;
259 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
260 bool IsDrawable() override;
265 void OpenGLInit() override;
274 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void*
data,
int right) override;
277 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int right) override;
280 int SetRGBACharPixelData(
281 int x1,
int y1,
int x2,
int y2,
unsigned char*
data,
int front,
int blend,
int right) override;
283 int blend = 0,
int right = 0) override;
286 int SupportsOpenGLStatus;
288 float ForceMaximumHardwareLineWidth;
289 bool ReadyForRendering;
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
int SupportsOpenGL() override
Returns if OpenGL is supported.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOwnContext(vtkTypeBool)
static vtkGenericOpenGLRenderWindow * New()
~vtkGenericOpenGLRenderWindow() override
dynamic, self-adjusting array of unsigned char
platform independent render window
#define VTK_DEPRECATED_IN_9_1_0(reason)
int * GetScreenSize() override
Get the current size of the screen in pixels.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
vtkTypeBool IsDirect() override
Returns if the context is direct.
void SetBackRightBuffer(unsigned int)
#define VTK_SIZEHINT(...)
void * GetGenericContext() 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 SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
void MakeCurrent() override
Makes the context current.
void SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
void SetBackLeftBuffer(unsigned int)
a simple class to control print indentation
void Finalize() override
Cleans up graphics resources allocated in the context for this VTK scene.
void PushState()
no-op (for API compat with OpenGL1).
void SetWindowId(void *) override
does nothing
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
void SetFrontLeftBuffer(unsigned int)
set the drawing buffers to use
void PopState()
no-op (for API compat with OpenGL1).
void SetFrontRightBuffer(unsigned int)
bool IsCurrent() override
Returns if the context is current.
vtkGenericOpenGLRenderWindow()