#include <odgraphicswindow.h>
|
| | ODGraphicsWindow (ODGLWidget *widget) |
| |
| | ODGraphicsWindow (osg::GraphicsContext::Traits *, QWidget *parent=nullptr, const QGLWidget *shareWidget=0, Qt::WindowFlags f=Qt::WindowFlags()) |
| |
| virtual | ~ODGraphicsWindow () |
| |
| void | closeImplementation () override |
| |
| ODGLWidget * | getGLWidget () |
| |
| const ODGLWidget * | getGLWidget () const |
| |
| bool | getTouchEventsEnabled () const |
| |
| bool | getWindowDecoration () const override |
| |
| std::string | getWindowName () override |
| |
| void | getWindowRectangle (int &x, int &y, int &width, int &height) override |
| |
| void | grabFocus () override |
| |
| void | grabFocusIfPointerInWindow () override |
| |
| bool | init (QWidget *parent, const QGLWidget *shareWidget, Qt::WindowFlags f) |
| |
| bool | isRealizedImplementation () const override |
| |
| bool | makeCurrentImplementation () override |
| |
| void | raiseWindow () override |
| |
| bool | realizeImplementation () override |
| |
| bool | releaseContextImplementation () override |
| |
| void | requestWarpPointer (float x, float y) override |
| |
| void | runOperations () override |
| |
| void | setCursor (MouseCursor) override |
| |
| virtual void | setTouchEventsEnabled (bool yn) |
| |
| bool | setWindowDecorationImplementation (bool yn) override |
| |
| void | setWindowName (const std::string &) override |
| |
| bool | setWindowRectangleImplementation (int x, int y, int width, int height) override |
| |
| void | swapBuffersImplementation () override |
| |
| void | useCursor (bool cursoron) override |
| |
| bool | valid () const override |
| |
|
| static osg::GraphicsContext::Traits * | createTraits (const QGLWidget *widget) |
| |
| static void | qglFormat2traits (const QGLFormat &format, osg::GraphicsContext::Traits *) |
| |
| static QGLFormat | traits2qglFormat (const osg::GraphicsContext::Traits *) |
| |
◆ ODGraphicsWindow() [1/2]
| ODGraphicsWindow::ODGraphicsWindow |
( |
osg::GraphicsContext::Traits * | , |
|
|
QWidget * | parent = nullptr, |
|
|
const QGLWidget * | shareWidget = 0, |
|
|
Qt::WindowFlags | f = Qt::WindowFlags() ) |
◆ ODGraphicsWindow() [2/2]
| ODGraphicsWindow::ODGraphicsWindow |
( |
ODGLWidget * | widget | ) |
|
◆ ~ODGraphicsWindow()
| virtual ODGraphicsWindow::~ODGraphicsWindow |
( |
| ) |
|
|
virtual |
◆ closeImplementation()
| void ODGraphicsWindow::closeImplementation |
( |
| ) |
|
|
override |
◆ createTraits()
| static osg::GraphicsContext::Traits * ODGraphicsWindow::createTraits |
( |
const QGLWidget * | widget | ) |
|
|
static |
◆ getGLWidget() [1/2]
◆ getGLWidget() [2/2]
| const ODGLWidget * ODGraphicsWindow::getGLWidget |
( |
| ) |
const |
|
inline |
◆ getTouchEventsEnabled()
| bool ODGraphicsWindow::getTouchEventsEnabled |
( |
| ) |
const |
|
inline |
◆ getWindowDecoration()
| bool ODGraphicsWindow::getWindowDecoration |
( |
| ) |
const |
|
override |
◆ getWindowName()
| std::string ODGraphicsWindow::getWindowName |
( |
| ) |
|
|
override |
◆ getWindowRectangle()
| void ODGraphicsWindow::getWindowRectangle |
( |
int & | x, |
|
|
int & | y, |
|
|
int & | width, |
|
|
int & | height ) |
|
override |
◆ grabFocus()
| void ODGraphicsWindow::grabFocus |
( |
| ) |
|
|
override |
◆ grabFocusIfPointerInWindow()
| void ODGraphicsWindow::grabFocusIfPointerInWindow |
( |
| ) |
|
|
override |
◆ init()
| bool ODGraphicsWindow::init |
( |
QWidget * | parent, |
|
|
const QGLWidget * | shareWidget, |
|
|
Qt::WindowFlags | f ) |
◆ isRealizedImplementation()
| bool ODGraphicsWindow::isRealizedImplementation |
( |
| ) |
const |
|
override |
◆ makeCurrentImplementation()
| bool ODGraphicsWindow::makeCurrentImplementation |
( |
| ) |
|
|
override |
◆ qglFormat2traits()
| static void ODGraphicsWindow::qglFormat2traits |
( |
const QGLFormat & | format, |
|
|
osg::GraphicsContext::Traits * | ) |
|
static |
◆ raiseWindow()
| void ODGraphicsWindow::raiseWindow |
( |
| ) |
|
|
override |
◆ realizeImplementation()
| bool ODGraphicsWindow::realizeImplementation |
( |
| ) |
|
|
override |
◆ releaseContextImplementation()
| bool ODGraphicsWindow::releaseContextImplementation |
( |
| ) |
|
|
override |
◆ requestWarpPointer()
| void ODGraphicsWindow::requestWarpPointer |
( |
float | x, |
|
|
float | y ) |
|
override |
◆ runOperations()
| void ODGraphicsWindow::runOperations |
( |
| ) |
|
|
override |
◆ setCursor()
◆ setTouchEventsEnabled()
| virtual void ODGraphicsWindow::setTouchEventsEnabled |
( |
bool | yn | ) |
|
|
inlinevirtual |
◆ setWindowDecorationImplementation()
| bool ODGraphicsWindow::setWindowDecorationImplementation |
( |
bool | yn | ) |
|
|
override |
◆ setWindowName()
| void ODGraphicsWindow::setWindowName |
( |
const std::string & | | ) |
|
|
override |
◆ setWindowRectangleImplementation()
| bool ODGraphicsWindow::setWindowRectangleImplementation |
( |
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height ) |
|
override |
◆ swapBuffersImplementation()
| void ODGraphicsWindow::swapBuffersImplementation |
( |
| ) |
|
|
override |
◆ traits2qglFormat()
| static QGLFormat ODGraphicsWindow::traits2qglFormat |
( |
const osg::GraphicsContext::Traits * | | ) |
|
|
static |
◆ useCursor()
| void ODGraphicsWindow::useCursor |
( |
bool | cursoron | ) |
|
|
override |
◆ valid()
| bool ODGraphicsWindow::valid |
( |
| ) |
const |
|
override |
◆ ODGLWidget
◆ _currentCursor
| QCursor ODGraphicsWindow::_currentCursor |
|
protected |
◆ _ownsWidget
| bool ODGraphicsWindow::_ownsWidget |
|
protected |
◆ _realized
| bool ODGraphicsWindow::_realized |
|
protected |
◆ _widget