27 #ifndef vtkGenericOpenGLRenderWindow_h 28 #define vtkGenericOpenGLRenderWindow_h 30 #include "vtkRenderingOpenGL2Module.h" 51 void Frame()
override;
74 void SetFrontBuffer(
unsigned int);
75 void SetFrontLeftBuffer(
unsigned int);
76 void SetFrontRightBuffer(
unsigned int);
77 void SetBackBuffer(
unsigned int);
78 void SetBackLeftBuffer(
unsigned int);
79 void SetBackRightBuffer(
unsigned int);
100 void Start() override;
101 void HideCursor() override;
102 void ShowCursor() override;
104 void WindowRemap() override;
105 int GetEventPending() override;
106 void SetNextWindowId(
void*) override;
107 void SetNextWindowInfo(
char*) override;
108 void CreateAWindow() override;
109 void DestroyWindow() override;
117 void SetIsDirect(
int newValue);
118 void SetSupportsOpenGL(
int newValue);
119 void SetIsCurrent(
bool newValue);
129 void Render() override;
134 float GetMaximumHardwareLineWidth() override;
141 vtkSetClampMacro(ForceMaximumHardwareLineWidth,
float, 0,
VTK_FLOAT_MAX);
142 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
151 vtkSetMacro(ReadyForRendering,
bool);
152 vtkGetMacro(ReadyForRendering,
bool);
157 vtkSetVector2Macro(ScreenSize,
int);
167 int SupportsOpenGLStatus;
169 float ForceMaximumHardwareLineWidth;
170 bool ReadyForRendering;
virtual void Finalize()=0
Finalize the rendering process.
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
virtual int * GetScreenSize()=0
Get the current size of the screen in pixels.
void PushState()
no-op (for API compat with OpenGL1).
void * GetGenericContext() override=0
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override=0
Dummy stubs for vtkWindow API.
void * GetGenericDisplayId() override=0
Dummy stubs for vtkWindow API.
virtual int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
virtual bool IsCurrent()=0
Tells if this window is the current graphics context for the calling thread.
void SetWindowId(void *) override=0
Dummy stubs for vtkWindow API.
platform independent render window
void SetDisplayId(void *) override=0
Dummy stubs for vtkWindow API.
a simple class to control print indentation
void SetWindowInfo(char *) override=0
Dummy stubs for vtkWindow API.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
#define VTK_SIZEHINT(...)
virtual void Frame()=0
A termination method performed at the end of the rendering process to do things like swapping buffers...
void SetParentId(void *) override=0
Dummy stubs for vtkWindow API.
void SetParentInfo(char *) override=0
Dummy stubs for vtkWindow API.
void * GetGenericDrawable() override=0
Dummy stubs for vtkWindow API.
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 * GetGenericWindowId() override=0
Dummy stubs for vtkWindow API.
void MakeCurrent() override=0
Attempt to make this window the current graphics context for the calling thread.