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;
123 void SetIsDirect(
int newValue);
124 void SetSupportsOpenGL(
int newValue);
125 void SetIsCurrent(
bool newValue);
147 vtkSetClampMacro(ForceMaximumHardwareLineWidth,
float, 0,
VTK_FLOAT_MAX);
148 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
158 vtkGetMacro(ReadyForRendering,
bool);
163 vtkSetVector2Macro(ScreenSize,
int);
173 int SupportsOpenGLStatus;
virtual void Finalize()=0
Finalize the rendering process.
virtual void SetIsPicking(int)
virtual void WindowRemap()=0
Remap the rendering window.
virtual void HideCursor()=0
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
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 Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
virtual void SetNextWindowInfo(char *)=0
Dummy stubs for vtkWindow API.
virtual void SetFullScreen(int)=0
Turn on/off rendering full screen window size.
void * GetGenericParentId() override=0
Dummy stubs for vtkWindow API.
virtual int GetEventPending()=0
Check to see if a mouse button has been pressed.
void * GetGenericDisplayId() override=0
Dummy stubs for vtkWindow API.
virtual int IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
float ForceMaximumHardwareLineWidth
Set this to true to indicate that the context is now ready.
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
virtual void DestroyWindow()=0
Destroy a not-off-screen window.
void SetWindowInfo(char *) override=0
Dummy stubs for vtkWindow API.
int SupportsOpenGL() override
Does this render window support OpenGL? 0-false, 1-true.
virtual void SetNextWindowId(void *)=0
Dummy stubs for vtkWindow API.
virtual void Frame()=0
A termination method performed at the end of the rendering process to do things like swapping buffers...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
virtual float GetMaximumHardwareLineWidth()
Return the largest line width supported by the hardware.
virtual void Start()=0
Initialize the rendering process.
void PopState()
no-op (for API compat with OpenGL1).
void * GetGenericWindowId() override=0
Dummy stubs for vtkWindow API.
virtual void CreateAWindow()=0
Create a not-off-screen window.
void MakeCurrent() override=0
Attempt to make this window the current graphics context for the calling thread.
virtual void ShowCursor()=0
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
bool ReadyForRendering
Set this to true to indicate that the context is now ready.