17 #ifndef GEPETTO_GUI_OSGWIDGET_HH 18 #define GEPETTO_GUI_OSGWIDGET_HH 28 #include <osg/ref_ptr> 29 #include <osgViewer/ViewerBase> 30 #include <osgViewer/ViewerEventHandlers> 32 #include <osgQt/GraphicsWindowQt> 50 const std::string & name,
52 Qt::WindowFlags f = 0,
53 osgViewer::ViewerBase::ThreadingModel threadingModel=osgViewer::Viewer::ThreadPerContext );
59 WindowManagerPtr_t
window ()
const;
73 bool startCapture (
const std::string& filename,
const std::string& extension);
86 void readyReadProcessOutput ();
87 void toggleFullscreenMode (
bool fullscreenOn);
91 void initGraphicsWindowsAndViewer (
MainWindow* parent,
const std::string& name);
93 osg::ref_ptr<osgQt::GraphicsWindowQt> graphicsWindow_;
95 osg::ref_ptr<PickHandler> pickHandler_;
97 WindowManagerPtr_t wm_;
99 int nSuccessiveStaticFrames_;
100 osgViewer::ViewerRefPtr viewer_;
101 osg::ref_ptr <osgViewer::ScreenCaptureHandler> screenCapture_;
102 QTemporaryDir* tmpDirectory_;
105 QAction* recordMovie_;
109 QDialog* showPOutput_;
110 QTextBrowser* pOutput_;
112 QWidget* fullscreen_, *normal_;
119 #endif // GEPETTO_GUI_OSGWIDGET_HH
viewer::WindowManagerPtr_t WindowManagerPtr_t
Definition: osgwidget.hh:41
Class.
Definition: mainwindow.hh:43
::osg::Vec2f osgVector2
Definition: config-osg.h:108
viewer::WindowID WindowID
Definition: osgwidget.hh:42
Definition: pick-handler.hh:38
Definition: action-search-bar.hh:27
std::string WindowID
Definition: fwd.h:17
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:55