OpenSceneGraph  3.0.1
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 ()
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

Constructor & Destructor Documentation

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

Member Function Documentation

void osgQt::QWidgetImage::clearWriteBuffer ( )
QGraphicsViewAdapter* osgQt::QWidgetImage::getQGraphicsViewAdapter ( ) [inline]
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.


Member Data Documentation

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

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

osg logo
Generated at Mon Oct 3 2011 12:39:48 for the OpenSceneGraph by doxygen 1.7.5.