17 #ifndef GEPETTO_GUI_OSGWIDGET_HH 18 #define GEPETTO_GUI_OSGWIDGET_HH 27 #include <osg/ref_ptr> 28 #include <osgQt/GraphicsWindowQt> 29 #include <osgViewer/ViewerBase> 30 #include <osgViewer/ViewerEventHandlers> 47 Qt::WindowFlags f = 0,
48 osgViewer::ViewerBase::ThreadingModel threadingModel =
49 osgViewer::Viewer::ThreadPerContext);
69 bool startCapture(
const std::string& filename,
const std::string& extension);
82 void readyReadProcessOutput();
83 void toggleFullscreenMode(
bool fullscreenOn);
87 void initGraphicsWindowsAndViewer(
MainWindow* parent,
88 const std::string& name);
90 osg::ref_ptr<osgQt::GraphicsWindowQt> graphicsWindow_;
92 osg::ref_ptr<PickHandler> pickHandler_;
96 int nSuccessiveStaticFrames_;
97 osgViewer::ViewerRefPtr viewer_;
98 osg::ref_ptr<osgViewer::ScreenCaptureHandler> screenCapture_;
99 QTemporaryDir* tmpDirectory_;
102 QAction* recordMovie_;
106 QDialog* showPOutput_;
107 QTextBrowser* pOutput_;
109 QWidget *fullscreen_, *normal_;
116 #endif // GEPETTO_GUI_OSGWIDGET_HH
viewer::WindowManagerPtr_t WindowManagerPtr_t
Definition: osgwidget.hh:39
Class.
Definition: mainwindow.hh:40
::osg::Vec2f osgVector2
Definition: config-osg.h:98
viewer::WindowID WindowID
Definition: osgwidget.hh:40
Definition: pick-handler.hh:35
Definition: action-search-bar.hh:26
std::string WindowID
Definition: fwd.h:17
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:58