30#ifndef vtkGenericOpenGLRenderWindow_h
31#define vtkGenericOpenGLRenderWindow_h
34#include "vtkRenderingOpenGL2Module.h"
102 void HideCursor() override;
103 void ShowCursor() override;
105 void WindowRemap() override;
107 void SetNextWindowId(
void*) override;
108 void SetNextWindowInfo(const
char*) override;
109 void CreateAWindow() override;
110 void DestroyWindow() override;
119 void SetSupportsOpenGL(
int newValue);
120 void SetIsCurrent(
bool newValue);
130 void Render() override;
135 float GetMaximumHardwareLineWidth() override;
143 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
152 vtkSetMacro(ReadyForRendering,
bool);
153 vtkGetMacro(ReadyForRendering,
bool);
159 vtkSetVector2Macro(ScreenSize,
int);
164 void SetCurrentCursor(
int cShape) override;
174 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
175 bool IsDrawable() override;
180 void OpenGLInit() override;
189 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void* data,
int right) override;
192 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int right) override;
195 int SetRGBACharPixelData(
196 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int blend,
int right) override;
198 int blend = 0,
int right = 0) override;
201 int SupportsOpenGLStatus;
203 float ForceMaximumHardwareLineWidth;
204 bool ReadyForRendering;
platform independent render window
void * GetGenericWindowId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
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
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetDisplayId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void Frame() override
flush the pending drawing operations Class user may to watch for WindowFrameEvent and act on it
void SetParentId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetWindowInfo(const char *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
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
These are window system independent methods that are used to help interface vtkWindow to native windo...
void * GetGenericParentId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
int * GetScreenSize() override
Get the current size of the screen in pixels.
void SetOwnContext(vtkTypeBool)
void * GetGenericDisplayId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
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
These are window system independent methods that are used to help interface vtkWindow to native windo...
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(...)