25 #ifndef WGESCREENCAPTURE_H
26 #define WGESCREENCAPTURE_H
30 #include <boost/signals2.hpp>
31 #include <boost/function.hpp>
35 #include <osg/RenderInfo>
37 #include "../common/WSharedObject.h"
38 #include "../common/WCondition.h"
40 #include "WGECamera.h"
42 #include "animation/WGEAnimationFrameTimer.h"
78 typedef osg::ref_ptr< WGEScreenCapture >
RefPtr;
132 virtual void operator()( osg::RenderInfo& renderInfo )
const;
173 virtual void handleImage(
size_t framesLeft,
size_t totalFrames, osg::ref_ptr< osg::Image > image )
const;
180 void record(
size_t frames = std::numeric_limits< size_t >::max() );
204 #endif // WGESCREENCAPTURE_H