gepetto::gui::OSGWidget Class Reference

Widget that displays scenes. More...

#include <gepetto/gui/osgwidget.hh>

Inheritance diagram for gepetto::gui::OSGWidget:
[legend]
Collaboration diagram for gepetto::gui::OSGWidget:
[legend]

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
 

Detailed Description

Widget that displays scenes.

Constructor & Destructor Documentation

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 gepetto::gui::OSGWidget::~OSGWidget ( )
virtual

Member Function Documentation

void gepetto::gui::OSGWidget::addFloor ( )
slot
void gepetto::gui::OSGWidget::captureFrame ( )
slot
void gepetto::gui::OSGWidget::captureFrame ( const std::string &  filename)
slot
bool gepetto::gui::OSGWidget::isFixedSize ( ) const
protected
void gepetto::gui::OSGWidget::onHome ( )
slot

Replace the camera at her home position.

WindowsManagerPtr_t gepetto::gui::OSGWidget::osg ( ) const
virtual void gepetto::gui::OSGWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual
void gepetto::gui::OSGWidget::setFixedSize ( bool  fixedSize)
protected
void gepetto::gui::OSGWidget::setWindowDimension ( const osgVector2 size)
protected
bool gepetto::gui::OSGWidget::startCapture ( const std::string &  filename,
const std::string &  extension 
)
slot
bool gepetto::gui::OSGWidget::stopCapture ( )
slot
void gepetto::gui::OSGWidget::toggleCapture ( bool  active)
slot
WindowManagerPtr_t gepetto::gui::OSGWidget::window ( ) const
WindowID gepetto::gui::OSGWidget::windowID ( ) const

Friends And Related Function Documentation

friend class PickHandler
friend