Go to the documentation of this file.
33 #ifndef vtkGenericOpenGLRenderWindow_h
34 #define vtkGenericOpenGLRenderWindow_h
36 #include "vtkRenderingOpenGL2Module.h"
57 void Frame()
override;
80 void SetFrontBuffer(
unsigned int);
81 void SetFrontLeftBuffer(
unsigned int);
82 void SetFrontRightBuffer(
unsigned int);
83 void SetBackBuffer(
unsigned int);
84 void SetBackLeftBuffer(
unsigned int);
85 void SetBackRightBuffer(
unsigned int);
106 void Start() override;
107 void HideCursor() override;
108 void ShowCursor() override;
110 void WindowRemap() override;
111 int GetEventPending() override;
112 void SetNextWindowId(
void*) override;
113 void SetNextWindowInfo(const
char*) override;
114 void CreateAWindow() override;
115 void DestroyWindow() override;
123 void SetIsDirect(
int newValue);
124 void SetSupportsOpenGL(
int newValue);
125 void SetIsCurrent(
bool newValue);
135 void Render() override;
140 float GetMaximumHardwareLineWidth() override;
147 vtkSetClampMacro(ForceMaximumHardwareLineWidth,
float, 0,
VTK_FLOAT_MAX);
148 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
157 vtkSetMacro(ReadyForRendering,
bool);
158 vtkGetMacro(ReadyForRendering,
bool);
163 vtkSetVector2Macro(ScreenSize,
int);
174 void SetCurrentCursor(
int cShape) override;
178 int SupportsOpenGLStatus;
180 float ForceMaximumHardwareLineWidth;
181 bool ReadyForRendering;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
platform independent render window
virtual void Finalize()=0
Finalize the rendering process.
void SetDisplayId(void *) override=0
Dummy stubs for vtkWindow API.
virtual int * GetScreenSize()=0
Get the current size of the screen in pixels.
virtual bool IsCurrent()=0
Tells if this window is the current graphics context for the calling thread.
void SetWindowId(void *) override=0
void SetParentId(void *) override=0
#define VTK_SIZEHINT(...)
void * GetGenericParentId() override=0
void * GetGenericDrawable() override=0
a simple class to control print indentation
void * GetGenericContext() override=0
void SetWindowInfo(const char *) override=0
void * GetGenericDisplayId() override=0
void * GetGenericWindowId() override=0
void PushState()
no-op (for API compat with OpenGL1).
void MakeCurrent() override=0
Attempt to make this window the current graphics context for the calling thread.
void PopState()
no-op (for API compat with OpenGL1).
virtual int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
virtual void Frame()=0
A termination method performed at the end of the rendering process to do things like swapping buffers...
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
void SetParentInfo(const char *) override=0