OpenSceneGraph
3.0.1
|
Public Member Functions | |
QWidgetImage (QWidget *widget=0) | |
QWidget * | getQWidget () |
QGraphicsViewAdapter * | getQGraphicsViewAdapter () |
void | clearWriteBuffer () |
void | render () |
virtual void | scaleImage (int s, int t, int r, GLenum newDataType) |
Overridden scaleImage used to catch cases where the image is fullscreen and the window is resized. | |
virtual bool | sendFocusHint (bool focus) |
method for hinting 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) |
method for sending 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) |
method for sending 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) |
method for passing 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< QWidget > | _widget |
osgQt::QWidgetImage::QWidgetImage | ( | QWidget * | widget = 0 | ) |
QWidget* osgQt::QWidgetImage::getQWidget | ( | ) | [inline] |
void osgQt::QWidgetImage::render | ( | ) |
virtual void osgQt::QWidgetImage::scaleImage | ( | int | s, |
int | t, | ||
int | r, | ||
GLenum | newDataType | ||
) | [virtual] |
Overridden scaleImage used to catch cases where the image is fullscreen and the window is resized.
Reimplemented from osg::Image.
virtual bool osgQt::QWidgetImage::sendFocusHint | ( | bool | ) | [virtual] |
method for hinting 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.
virtual bool osgQt::QWidgetImage::sendKeyEvent | ( | int | , |
bool | |||
) | [virtual] |
method for sending 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.
virtual bool osgQt::QWidgetImage::sendPointerEvent | ( | int | , |
int | , | ||
int | |||
) | [virtual] |
method for sending 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.
virtual void osgQt::QWidgetImage::setFrameLastRendered | ( | const osg::FrameStamp * | ) | [virtual] |
method for passing frame information to the custom Image classes, to be called only when objects associated with imagery are not culled.
Reimplemented from osg::Image.
QPointer<QGraphicsViewAdapter> osgQt::QWidgetImage::_adapter [protected] |
QPointer<QWidget> osgQt::QWidgetImage::_widget [protected] |
![]() | Generated at Sun May 6 2012 20:07:53 for the OpenSceneGraph by doxygen 1.8.0. |