Go to the documentation of this file.00001 #ifndef IMAGECOMPOSER_HPP_
00002 #define IMAGECOMPOSER_HPP_
00003
00004 #include <sensor_msgs/Image.h>
00005 #include <cv_bridge/cv_bridge.h>
00006
00007 namespace virtual_camera {
00008
00009
00016 class ImageComposer {
00017 public:
00018 virtual ~ImageComposer() {}
00019
00020
00028 virtual void refreshCache(uint rows, uint cols) = 0;
00029
00030
00037 virtual void compose(const cv_bridge::CvImagePtr & target, const std::string & encoding) = 0;
00038 };
00039
00040 typedef boost::shared_ptr<ImageComposer> ImageComposerPtr;
00041 }
00042
00043 #endif