movement_from_image.hpp
Go to the documentation of this file.
00001 
00028 #ifndef _MOVEMENT_FROM_IMAGE_HPP_
00029 #define _MOVEMENT_FROM_IMAGE_HPP_
00030 
00031 #include <Magick++.h>
00032 #include "sr_movements/partial_movement.hpp"
00033 #include <boost/smart_ptr.hpp>
00034 
00035 namespace shadowrobot
00036 {
00037   class MovementFromImage : public PartialMovement
00038   {
00039   public:
00040     MovementFromImage(std::string image_path);
00041     virtual ~MovementFromImage();
00042 
00043   protected:
00051     void generate_movement_();
00052 
00054     boost::shared_ptr<Magick::Image> image_;
00055 
00057     ssize_t nb_cols_;
00059     ssize_t nb_rows_;
00060   };
00061 }
00062 
00063 /* For the emacs weenies in the crowd.
00064 Local Variables:
00065    c-basic-offset: 2
00066 End:
00067 */
00068 
00069 #endif


sr_movements
Author(s): Ugo Cupcic / ugo@shadowrobot.com
autogenerated on Fri Jan 3 2014 12:08:55