|
OpenSceneGraph
3.0.1
|
Public Member Functions | |
| QGraphicsViewAdapter (osg::Image *image, QWidget *widget) | |
| void | setUpKeyMap () |
| bool | sendPointerEvent (int x, int y, int buttonMask) |
| bool | sendKeyEvent (int key, bool keyDown) |
| void | setFrameLastRendered (const osg::FrameStamp *frameStamp) |
| void | clearWriteBuffer () |
| void | render () |
| void | assignImage (unsigned int i) |
| void | resize (int width, int height) |
| void | setBackgroundColor (QColor color) |
| QColor | getBackgroundColor () const |
| QGraphicsView * | getQGraphicsView () |
| QGraphicsScene * | getQGraphicsScene () |
Protected Types | |
| typedef std::map< int, Qt::Key > | KeyMap |
Protected Member Functions | |
| bool | handlePointerEvent (int x, int y, int buttonMask) |
| bool | handleKeyEvent (int key, bool keyDown) |
| QWidget * | getWidgetAt (const QPoint &pos) |
| virtual void | customEvent (QEvent *event) |
Protected Attributes | |
| osg::observer_ptr< osg::Image > | _image |
| int | _previousButtonMask |
| int | _previousMouseX |
| int | _previousMouseY |
| int | _previousQtMouseX |
| int | _previousQtMouseY |
| bool | _previousSentEvent |
| int | _width |
| int | _height |
| KeyMap | _keyMap |
| Qt::KeyboardModifiers | _qtKeyModifiers |
| QColor | _backgroundColor |
| QPointer< QGraphicsView > | _graphicsView |
| QPointer< QGraphicsScene > | _graphicsScene |
| QPointer< QWidget > | _widget |
| OpenThreads::Mutex | _qimagesMutex |
| OpenThreads::Mutex | _qresizeMutex |
| unsigned int | _previousFrameNumber |
| bool | _newImageAvailable |
| unsigned int | _currentRead |
| unsigned int | _currentWrite |
| unsigned int | _previousWrite |
| QImage | _qimages [3] |
typedef std::map<int, Qt::Key> osgQt::QGraphicsViewAdapter::KeyMap [protected] |
| osgQt::QGraphicsViewAdapter::QGraphicsViewAdapter | ( | osg::Image * | image, |
| QWidget * | widget | ||
| ) |
| void osgQt::QGraphicsViewAdapter::assignImage | ( | unsigned int | i | ) |
| virtual void osgQt::QGraphicsViewAdapter::customEvent | ( | QEvent * | event | ) | [protected, virtual] |
| QColor osgQt::QGraphicsViewAdapter::getBackgroundColor | ( | ) | const [inline] |
| QGraphicsScene* osgQt::QGraphicsViewAdapter::getQGraphicsScene | ( | ) | [inline] |
| QGraphicsView* osgQt::QGraphicsViewAdapter::getQGraphicsView | ( | ) | [inline] |
| QWidget* osgQt::QGraphicsViewAdapter::getWidgetAt | ( | const QPoint & | pos | ) | [protected] |
| bool osgQt::QGraphicsViewAdapter::handleKeyEvent | ( | int | key, |
| bool | keyDown | ||
| ) | [protected] |
| bool osgQt::QGraphicsViewAdapter::handlePointerEvent | ( | int | x, |
| int | y, | ||
| int | buttonMask | ||
| ) | [protected] |
| void osgQt::QGraphicsViewAdapter::render | ( | ) |
| void osgQt::QGraphicsViewAdapter::resize | ( | int | width, |
| int | height | ||
| ) |
| bool osgQt::QGraphicsViewAdapter::sendKeyEvent | ( | int | key, |
| bool | keyDown | ||
| ) |
| bool osgQt::QGraphicsViewAdapter::sendPointerEvent | ( | int | x, |
| int | y, | ||
| int | buttonMask | ||
| ) |
| void osgQt::QGraphicsViewAdapter::setBackgroundColor | ( | QColor | color | ) | [inline] |
| void osgQt::QGraphicsViewAdapter::setFrameLastRendered | ( | const osg::FrameStamp * | frameStamp | ) |
QColor osgQt::QGraphicsViewAdapter::_backgroundColor [protected] |
unsigned int osgQt::QGraphicsViewAdapter::_currentRead [protected] |
unsigned int osgQt::QGraphicsViewAdapter::_currentWrite [protected] |
QPointer<QGraphicsScene> osgQt::QGraphicsViewAdapter::_graphicsScene [protected] |
QPointer<QGraphicsView> osgQt::QGraphicsViewAdapter::_graphicsView [protected] |
int osgQt::QGraphicsViewAdapter::_height [protected] |
KeyMap osgQt::QGraphicsViewAdapter::_keyMap [protected] |
bool osgQt::QGraphicsViewAdapter::_newImageAvailable [protected] |
int osgQt::QGraphicsViewAdapter::_previousButtonMask [protected] |
unsigned int osgQt::QGraphicsViewAdapter::_previousFrameNumber [protected] |
int osgQt::QGraphicsViewAdapter::_previousMouseX [protected] |
int osgQt::QGraphicsViewAdapter::_previousMouseY [protected] |
int osgQt::QGraphicsViewAdapter::_previousQtMouseX [protected] |
int osgQt::QGraphicsViewAdapter::_previousQtMouseY [protected] |
bool osgQt::QGraphicsViewAdapter::_previousSentEvent [protected] |
unsigned int osgQt::QGraphicsViewAdapter::_previousWrite [protected] |
QImage osgQt::QGraphicsViewAdapter::_qimages[3] [protected] |
OpenThreads::Mutex osgQt::QGraphicsViewAdapter::_qimagesMutex [protected] |
OpenThreads::Mutex osgQt::QGraphicsViewAdapter::_qresizeMutex [protected] |
Qt::KeyboardModifiers osgQt::QGraphicsViewAdapter::_qtKeyModifiers [protected] |
QPointer<QWidget> osgQt::QGraphicsViewAdapter::_widget [protected] |
int osgQt::QGraphicsViewAdapter::_width [protected] |
| Generated at Thu Sep 27 2012 17:03:21 for the OpenSceneGraph by doxygen 1.7.6.1. |