Widget that displays scenes. More...
#include <gepetto/gui/osgwidget.hh>
Public Slots | |
void | onHome () |
Replace the camera at her home position. More... | |
void | addFloor () |
void | toggleCapture (bool active) |
void | captureFrame () |
void | captureFrame (const std::string &filename) |
bool | startCapture (const std::string &filename, const std::string &extension) |
bool | stopCapture () |
Public Member Functions | |
OSGWidget (WindowsManagerPtr_t wm, const std::string &name, MainWindow *parent, Qt::WindowFlags f=0, osgViewer::ViewerBase::ThreadingModel threadingModel=osgViewer::Viewer::ThreadPerContext) | |
virtual | ~OSGWidget () |
WindowID | windowID () const |
WindowManagerPtr_t | window () const |
WindowsManagerPtr_t | osg () const |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
bool | isFixedSize () const |
void | setFixedSize (bool fixedSize) |
void | setWindowDimension (const osgVector2 &size) |
Friends | |
class | PickHandler |
Widget that displays scenes.
gepetto::gui::OSGWidget::OSGWidget | ( | WindowsManagerPtr_t | wm, |
const std::string & | name, | ||
MainWindow * | parent, | ||
Qt::WindowFlags | f = 0 , |
||
osgViewer::ViewerBase::ThreadingModel | threadingModel = osgViewer::Viewer::ThreadPerContext |
||
) |
|
virtual |
|
slot |
|
slot |
|
slot |
|
protected |
|
slot |
Replace the camera at her home position.
WindowsManagerPtr_t gepetto::gui::OSGWidget::osg | ( | ) | const |
|
protectedvirtual |
|
protected |
|
protected |
|
slot |
|
slot |
|
slot |
WindowManagerPtr_t gepetto::gui::OSGWidget::window | ( | ) | const |
WindowID gepetto::gui::OSGWidget::windowID | ( | ) | const |
|
friend |