27 #ifndef vtkGenericOpenGLRenderWindow_h 28 #define vtkGenericOpenGLRenderWindow_h 30 #include "vtkRenderingOpenGL2Module.h" 47 void Finalize() VTK_OVERRIDE;
51 void Frame() VTK_OVERRIDE;
55 void MakeCurrent() VTK_OVERRIDE;
60 bool IsCurrent() VTK_OVERRIDE;
65 int SupportsOpenGL() VTK_OVERRIDE;
70 int IsDirect() VTK_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() VTK_OVERRIDE;
117 void SetIsDirect(
int newValue);
118 void SetSupportsOpenGL(
int newValue);
119 void SetIsCurrent(
bool newValue);
129 void Render() VTK_OVERRIDE;
141 vtkSetClampMacro(ForceMaximumHardwareLineWidth,
float, 0,
VTK_FLOAT_MAX);
142 vtkGetMacro(ForceMaximumHardwareLineWidth,
float);
152 vtkGetMacro(ReadyForRendering,
bool);
156 int SupportsOpenGLStatus;
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 * 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.
float ForceMaximumHardwareLineWidth
Set this to true to indicate that the context is now ready.
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.
virtual void SetNextWindowId(void *)=0
Dummy stubs for vtkWindow API.
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.
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.