|
Equalizer
1.4.1
|
Inheritance diagram for osgScaleViewer::Config:
Collaboration diagram for osgScaleViewer::Config:Public Member Functions | |
| Config (eq::ServerPtr parent) | |
| Construct a new config. | |
| virtual bool | init () |
| Reimplemented. | |
| virtual bool | exit () |
| Reimplemented. | |
| virtual uint32_t | startFrame () |
| Reimplemented. | |
| virtual bool | handleEvent (const eq::ConfigEvent *event) |
| Reimplemented for camera controls. | |
| void | setInitData (const InitData &data) |
| Sets the InitData object. | |
| const InitData & | getInitData () const |
| Gets the InitData object. | |
| bool | mapData (const eq::uint128_t &initDataID) |
Protected Member Functions | |
| void | updateFrameData (float elapsed) |
Definition at line 45 of file share/Equalizer/examples/osgScaleViewer/config.h.
| osgScaleViewer::Config::Config | ( | eq::ServerPtr | parent | ) |
Construct a new config.
Reimplemented from eq::Config.
Definition at line 49 of file osgScaleViewer/config.cpp.
| const InitData & osgScaleViewer::Config::getInitData | ( | ) | const |
Gets the InitData object.
Definition at line 151 of file osgScaleViewer/config.cpp.
Referenced by osgScaleViewer::Node::configInit(), and osgScaleViewer::Pipe::configInit().
Here is the caller graph for this function:| bool osgScaleViewer::Config::handleEvent | ( | const eq::ConfigEvent * | event | ) | [virtual] |
Reimplemented for camera controls.
If a keypress happens, this function updates _moveDirection, so that the new camera position can be calculated in updateFrameData(). If a mouse move event happens, this function updates _pointerXDiff and mPointerYDiff, so that the new camera viewing direction can be calculated in updateFrameData().
Reimplemented from eq::Config.
Definition at line 170 of file osgScaleViewer/config.cpp.
References eq::PointerEvent::buttons, eq::Event::context, eq::ConfigEvent::data, eq::KeyEvent::key, eq::Event::KEY_PRESS, eq::Event::KEY_RELEASE, eq::Event::keyPress, eq::Event::pointerMotion, osgScaleViewer::FrameData::toggleStatistics(), eq::Event::type, eq::PointerEvent::x, and eq::PointerEvent::y.
Here is the call graph for this function:| void osgScaleViewer::Config::setInitData | ( | const InitData & | data | ) |
Sets the InitData object.
| data | the init data. |
Definition at line 146 of file osgScaleViewer/config.cpp.
Referenced by osgScaleViewer::OSGScaleViewer::run().
Here is the caller graph for this function:
1.4.1 by
1.7.6.1