Open CASCADE Technology
6.5.4
|
This class represents low-level wrapper over window with GL context. The window itself should be provided to constructor.
#include <OpenGl_Window.hxx>
OpenGl_Window::OpenGl_Window | ( | const Handle< OpenGl_Display > & | theDisplay, |
const CALL_DEF_WINDOW & | theCWindow, | ||
Aspect_RenderingContext | theGContext, | ||
const Handle< OpenGl_Context > & | theShareCtx | ||
) |
virtual OpenGl_Window::~OpenGl_Window | ( | ) | [virtual] |
virtual Standard_Boolean OpenGl_Window::Activate | ( | ) | [protected, virtual] |
Reimplemented in OpenGl_Workspace.
Standard_Boolean OpenGl_Window::BackDither | ( | ) | const [inline] |
const TEL_COLOUR& OpenGl_Window::BackgroundColor | ( | ) | const [inline] |
void OpenGl_Window::DisableFeatures | ( | ) | const [protected] |
void OpenGl_Window::DisablePolygonOffset | ( | ) | const |
Standard_Boolean OpenGl_Window::Dither | ( | ) | const [inline] |
void OpenGl_Window::EnableFeatures | ( | ) | const [protected] |
void OpenGl_Window::EnablePolygonOffset | ( | ) | const |
const Handle< OpenGl_Display >& OpenGl_Window::GetDisplay | ( | ) | const [inline] |
GLCONTEXT OpenGl_Window::GetGContext | ( | ) | const |
const Handle< OpenGl_Context >& OpenGl_Window::GetGlContext | ( | ) | const [inline] |
Standard_Integer OpenGl_Window::Height | ( | ) | const [inline] |
void OpenGl_Window::Init | ( | ) | [protected] |
void OpenGl_Window::MakeBackBufCurrent | ( | ) | const [protected] |
void OpenGl_Window::MakeFrontAndBackBufCurrent | ( | ) | const [protected] |
void OpenGl_Window::MakeFrontBufCurrent | ( | ) | const [protected] |
void OpenGl_Window::ReadDepths | ( | const Standard_Integer | theX, |
const Standard_Integer | theY, | ||
const Standard_Integer | theWidth, | ||
const Standard_Integer | theHeight, | ||
float * | theDepths | ||
) |
void OpenGl_Window::Resize | ( | const CALL_DEF_WINDOW & | theCWindow | ) |
void OpenGl_Window::SetBackgroundColor | ( | const Standard_ShortReal | theR, |
const Standard_ShortReal | theG, | ||
const Standard_ShortReal | theB | ||
) |
Standard_Integer OpenGl_Window::Width | ( | ) | const [inline] |
Standard_Boolean OpenGl_Window::myBackDither [protected] |
TEL_COLOUR OpenGl_Window::myBgColor [protected] |
Handle< OpenGl_Display > OpenGl_Window::myDisplay [protected] |
Standard_Boolean OpenGl_Window::myDither [protected] |
Handle< OpenGl_Context > OpenGl_Window::myGlContext [protected] |
Standard_Integer OpenGl_Window::myHeight [protected] |
Standard_Boolean OpenGl_Window::myOwnGContext [protected] |
Standard_Integer OpenGl_Window::myWidth [protected] |