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> 49 const std::string & name,
51 Qt::WindowFlags f = 0,
52 osgViewer::ViewerBase::ThreadingModel threadingModel=osgViewer::Viewer::ThreadPerContext );
58 WindowManagerPtr_t
window ()
const;
72 bool startCapture (
const std::string& filename,
const std::string& extension);
85 void readyReadProcessOutput ();
86 void toggleFullscreenMode (
bool fullscreenOn);
90 void initGraphicsWindowsAndViewer (
MainWindow* parent,
const std::string& name);
92 osg::ref_ptr<osgQt::GraphicsWindowQt> graphicsWindow_;
94 osg::ref_ptr<PickHandler> pickHandler_;
96 WindowManagerPtr_t wm_;
98 osgViewer::ViewerRefPtr viewer_;
99 osg::ref_ptr <osgViewer::ScreenCaptureHandler> screenCapture_;
105 QDialog* showPOutput_;
106 QTextBrowser* pOutput_;
108 QWidget* fullscreen_, *normal_;
115 #endif // GEPETTO_GUI_OSGWIDGET_HH
viewer::WindowManagerPtr_t WindowManagerPtr_t
Definition: osgwidget.hh:40
Class.
Definition: mainwindow.hh:43
::osg::Vec2f osgVector2
Definition: config-osg.h:108
viewer::WindowID WindowID
Definition: osgwidget.hh:41
Definition: pick-handler.hh:36
Definition: action-search-bar.hh:27
std::string WindowID
Definition: fwd.h:17
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:55