36#ifndef vtkGenericOpenGLRenderWindow_h
37#define vtkGenericOpenGLRenderWindow_h
40#include "vtkRenderingOpenGL2Module.h"
180 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
195 const
vtkRecti& rect,
int front,
int glFormat,
int glType,
void* data,
int right) override;
198 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int right) override;
202 int x1,
int y1,
int x2,
int y2,
unsigned char* data,
int front,
int blend,
int right) override;
204 int blend = 0,
int right = 0) override;
void * GetGenericWindowId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void Finalize() override
Cleans up graphics resources allocated in the context for this VTK scene.
void CreateAWindow() override
Create a not-off-screen window.
int SetRGBACharPixelData(int x1, int y1, int x2, int y2, unsigned char *data, int front, int blend, int right) override
Set this to true to indicate that the context is now ready.
bool IsDrawable() override
Overridden to simply call GetReadyForRendering
void WindowRemap() override
Remap the rendering window.
void SetWindowId(void *) override
does nothing
int SetPixelData(int x1, int y1, int x2, int y2, unsigned char *data, int front, int right) override
Set this to true to indicate that the context is now ready.
float GetMaximumHardwareLineWidth() override
Overridden to pass explicitly specified MaximumHardwareLineWidth, if any.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool ReadyForRendering
Set this to true to indicate that the context is now ready.
void SetIsDirect(vtkTypeBool newValue)
Allow to update state within observer callback without changing data argument and MTime.
static vtkGenericOpenGLRenderWindow * New()
~vtkGenericOpenGLRenderWindow() override
vtkTypeBool IsDirect() override
void SetParentInfo(const char *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetDisplayId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void HideCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void SetSupportsOpenGL(int newValue)
Allow to update state within observer callback without changing data argument and MTime.
void SetParentId(void *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
int DirectStatus
Set this to true to indicate that the context is now ready.
void SetWindowInfo(const char *) override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetBackRightBuffer(unsigned int)
vtkGenericOpenGLRenderWindow()
void MakeCurrent() override
float ForceMaximumHardwareLineWidth
Set this to true to indicate that the context is now ready.
void SetNextWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
int SupportsOpenGL() override
void PopState()
no-op (for API compat with OpenGL1).
bool CurrentStatus
Set this to true to indicate that the context is now ready.
void SetFrontRightBuffer(unsigned int)
void * GetGenericContext() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetIsCurrent(bool newValue)
Allow to update state within observer callback without changing data argument and MTime.
void OpenGLInit() override
Initialize OpenGL for this window.
vtkTypeBool GetEventPending() override
Check to see if a mouse button has been pressed.
void Render() override
Override the Render method to do some state management.
void SetNextWindowId(void *) override
Dummy stubs for vtkWindow API.
void * GetGenericParentId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
int * GetScreenSize() override
Get the current size of the screen in pixels.
void SetOwnContext(vtkTypeBool)
int ReadPixels(const vtkRecti &rect, int front, int glFormat, int glType, void *data, int right) override
Overridden to not attempt to read pixels if this->ReadyForRendering is false.
void DestroyWindow() override
Destroy a not-off-screen window.
void * GetGenericDisplayId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetFrontLeftBuffer(unsigned int)
set the drawing buffers to use
int SupportsOpenGLStatus
Set this to true to indicate that the context is now ready.
void ShowCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void SetBackLeftBuffer(unsigned int)
void PushState()
no-op (for API compat with OpenGL1).
bool IsCurrent() override
void SetCurrentCursor(int cShape) override
Overridden to invoke vtkCommand::CursorChangedEvent.
void * GetGenericDrawable() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void SetFullScreen(vtkTypeBool) override
Turn on/off rendering full screen window size.
a simple class to control print indentation
dynamic, self-adjusting array of unsigned char
#define VTK_DEPRECATED_IN_9_1_0(reason)
#define VTK_SIZEHINT(...)