Go to the documentation of this file.
33 #ifndef vtkGenericOpenGLRenderWindow_h
34 #define vtkGenericOpenGLRenderWindow_h
36 #include "vtkRenderingOpenGL2Module.h"
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;
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 SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
int SupportsOpenGL() override
Returns if OpenGL is supported.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkGenericOpenGLRenderWindow * New()
~vtkGenericOpenGLRenderWindow() override
platform independent render window
int * GetScreenSize() override
Get the current size of the screen in pixels.
void * GetGenericParentId() override
void * GetGenericDisplayId() override
void * GetGenericDrawable() override
void SetBackRightBuffer(unsigned int)
#define VTK_SIZEHINT(...)
int IsDirect() override
Returns if the context is direct.
void * GetGenericContext() override
void Frame() override
flush the pending drawing operations Class user may to watch for WindowFrameEvent and act on it
void SetParentInfo(const char *) override
void MakeCurrent() override
Makes the context current.
void SetWindowInfo(const char *) override
void SetBackLeftBuffer(unsigned int)
a simple class to control print indentation
void Finalize() override
Cleans up graphics resources allocated in the context for this VTK scene.
void PushState()
no-op (for API compat with OpenGL1).
void SetWindowId(void *) override
does nothing
void SetParentId(void *) override
void * GetGenericWindowId() override
void SetFrontLeftBuffer(unsigned int)
void PopState()
no-op (for API compat with OpenGL1).
void SetFrontRightBuffer(unsigned int)
bool IsCurrent() override
Returns if the context is current.
void SetBackBuffer(unsigned int)
vtkGenericOpenGLRenderWindow()
void SetFrontBuffer(unsigned int)
set the drawing buffers to use