#include <movement_from_image.hpp>

Public Member Functions | |
| MovementFromImage (std::string image_path) | |
| virtual | ~MovementFromImage () |
Protected Member Functions | |
| void | generate_movement_ () |
Protected Attributes | |
| boost::shared_ptr< Magick::Image > | image_ |
| The image from which the movement is generated. | |
| ssize_t | nb_cols_ |
| The number of columns in the image. | |
| ssize_t | nb_rows_ |
| The number of rows in the image. | |
Definition at line 37 of file movement_from_image.hpp.
| shadowrobot::MovementFromImage::MovementFromImage | ( | std::string | image_path | ) |
Definition at line 35 of file movement_from_image.cpp.
| shadowrobot::MovementFromImage::~MovementFromImage | ( | ) | [virtual] |
Definition at line 47 of file movement_from_image.cpp.
| void shadowrobot::MovementFromImage::generate_movement_ | ( | ) | [protected] |
Generates a movement from the given png file:
Definition at line 51 of file movement_from_image.cpp.
boost::shared_ptr<Magick::Image> shadowrobot::MovementFromImage::image_ [protected] |
The image from which the movement is generated.
Definition at line 54 of file movement_from_image.hpp.
ssize_t shadowrobot::MovementFromImage::nb_cols_ [protected] |
The number of columns in the image.
Definition at line 57 of file movement_from_image.hpp.
ssize_t shadowrobot::MovementFromImage::nb_rows_ [protected] |
The number of rows in the image.
Definition at line 59 of file movement_from_image.hpp.