17 #ifndef GEPETTO_GUI_OSGWIDGET_HH
18 #define GEPETTO_GUI_OSGWIDGET_HH
28 #include <osg/ref_ptr>
29 #include <osgQt/GraphicsWindowQt>
30 #include <osgViewer/ViewerBase>
31 #include <osgViewer/ViewerEventHandlers>
48 Qt::WindowFlags f = 0,
49 osgViewer::ViewerBase::ThreadingModel threadingModel =
50 osgViewer::Viewer::ThreadPerContext);
70 bool startCapture(
const std::string& filename,
const std::string& extension);
83 void readyReadProcessOutput();
84 void toggleFullscreenMode(
bool fullscreenOn);
88 void initGraphicsWindowsAndViewer(
MainWindow* parent,
89 const std::string& name);
91 osg::ref_ptr<osgQt::GraphicsWindowQt> graphicsWindow_;
93 osg::ref_ptr<PickHandler> pickHandler_;
97 int nSuccessiveStaticFrames_;
98 osgViewer::ViewerRefPtr viewer_;
99 osg::ref_ptr<osgViewer::ScreenCaptureHandler> screenCapture_;
100 QTemporaryDir* tmpDirectory_;
103 QAction* recordMovie_;
107 QDialog* showPOutput_;
108 QTextBrowser* pOutput_;
110 QWidget *fullscreen_, *normal_;
Class.
Definition: mainwindow.hh:40
Definition: pick-handler.hh:36
::osg::Vec2f osgVector2
Definition: config-osg.h:98
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:58
viewer::WindowID WindowID
Definition: osgwidget.hh:41
viewer::WindowManagerPtr_t WindowManagerPtr_t
Definition: osgwidget.hh:40
std::string WindowID
Definition: fwd.h:17
Definition: action-search-bar.hh:27