OpenSceneGraph
3.4.0
|
Public Member Functions | |
QWebViewImage () | |
virtual void | navigateTo (const std::string &url) |
QWebView * | getQWebView () |
QWebPage * | getQWebPage () |
QGraphicsViewAdapter * | getQGraphicsViewAdapter () |
void | clearWriteBuffer () |
void | render () |
virtual bool | requiresUpdateCall () const |
Return whether the update(NodeVisitor* nv) should be required on each frame to enable proper working of osg::Image. | |
virtual void | update (osg::NodeVisitor *nv) |
update method for osg::Image subclasses that update themselves during the update traversal. | |
virtual bool | sendFocusHint (bool focus) |
Hint whether to enable or disable focus to images acting as front ends to interactive surfaces such as a vnc or browser window. | |
virtual bool | sendPointerEvent (int x, int y, int buttonMask) |
Send pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. | |
virtual bool | sendKeyEvent (int key, bool keyDown) |
Send key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. | |
virtual void | setFrameLastRendered (const osg::FrameStamp *frameStamp) |
Pass frame information to the custom Image classes, to be called only when objects associated with imagery are not culled. | |
Protected Attributes | |
QPointer< QGraphicsViewAdapter > | _adapter |
QPointer< QWebView > | _webView |
QPointer< QWebPage > | _webPage |
osgQt::QWebViewImage::QWebViewImage | ( | ) | [inline] |
References _adapter, _webPage, _webView, and osgQt::getOrCreateQApplication().
void osgQt::QWebViewImage::clearWriteBuffer | ( | ) | [inline] |
References _adapter.
References _adapter.
QWebPage* osgQt::QWebViewImage::getQWebPage | ( | ) | [inline] |
References _webPage.
QWebView* osgQt::QWebViewImage::getQWebView | ( | ) | [inline] |
References _webView.
virtual void osgQt::QWebViewImage::navigateTo | ( | const std::string & | url | ) | [inline, virtual] |
Implements osgWidget::BrowserImage.
References _webView.
void osgQt::QWebViewImage::render | ( | ) | [inline] |
virtual bool osgQt::QWebViewImage::requiresUpdateCall | ( | ) | const [inline, virtual] |
Return whether the update(NodeVisitor* nv) should be required on each frame to enable proper working of osg::Image.
Reimplemented from osg::Image.
virtual bool osgQt::QWebViewImage::sendFocusHint | ( | bool | ) | [inline, virtual] |
Hint whether to enable or disable focus to images acting as front ends to interactive surfaces such as a vnc or browser window.
Return true if handled.
Reimplemented from osg::Image.
References _webPage.
virtual bool osgQt::QWebViewImage::sendKeyEvent | ( | int | , |
bool | |||
) | [inline, virtual] |
Send key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window.
Return true if handled.
Reimplemented from osg::Image.
References _adapter.
virtual bool osgQt::QWebViewImage::sendPointerEvent | ( | int | , |
int | , | ||
int | |||
) | [inline, virtual] |
Send pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window.
Return true if handled.
Reimplemented from osg::Image.
References _adapter.
virtual void osgQt::QWebViewImage::setFrameLastRendered | ( | const osg::FrameStamp * | ) | [inline, virtual] |
Pass frame information to the custom Image classes, to be called only when objects associated with imagery are not culled.
Reimplemented from osg::Image.
References _adapter.
virtual void osgQt::QWebViewImage::update | ( | osg::NodeVisitor * | ) | [inline, virtual] |
update method for osg::Image subclasses that update themselves during the update traversal.
Reimplemented from osg::Image.
References render().
QPointer<QGraphicsViewAdapter> osgQt::QWebViewImage::_adapter [protected] |
Referenced by clearWriteBuffer(), getQGraphicsViewAdapter(), QWebViewImage(), render(), sendKeyEvent(), sendPointerEvent(), and setFrameLastRendered().
QPointer<QWebPage> osgQt::QWebViewImage::_webPage [protected] |
Referenced by getQWebPage(), QWebViewImage(), and sendFocusHint().
QPointer<QWebView> osgQt::QWebViewImage::_webView [protected] |
Referenced by getQWebView(), navigateTo(), and QWebViewImage().
![]() | Generated at Tue Dec 8 2015 00:16:49 for the OpenSceneGraph by doxygen 1.7.6.1. |