OpenSceneGraph  3.4.0
Public Member Functions | Protected Attributes
osgQt::QWidgetImage Class Reference
Inheritance diagram for osgQt::QWidgetImage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QWidgetImage (QWidget *widget=0)
QWidget * getQWidget ()
QGraphicsViewAdaptergetQGraphicsViewAdapter ()
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.
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)
 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< QWidget > _widget

Constructor & Destructor Documentation

osgQt::QWidgetImage::QWidgetImage ( QWidget *  widget = 0)

Member Function Documentation

QWidget* osgQt::QWidgetImage::getQWidget ( ) [inline]
virtual bool osgQt::QWidgetImage::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 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]

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.

virtual bool osgQt::QWidgetImage::sendKeyEvent ( int  ,
bool   
) [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.

virtual bool osgQt::QWidgetImage::sendPointerEvent ( int  ,
int  ,
int   
) [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.

virtual void osgQt::QWidgetImage::setFrameLastRendered ( const osg::FrameStamp ) [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.

virtual void osgQt::QWidgetImage::update ( osg::NodeVisitor ) [inline, virtual]

update method for osg::Image subclasses that update themselves during the update traversal.

Reimplemented from osg::Image.


Member Data Documentation

QPointer<QWidget> osgQt::QWidgetImage::_widget [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:14:29 for the OpenSceneGraph by doxygen 1.7.6.1.