|
Jafar
|
Class View, used to save image and localisation data. More...
Class View, used to save image and localisation data.
You can look at it as just a struct, manipulation methodes are located in the class ViewsManager
#include <view.hpp>
Public Member Functions | |
| View (const int &_imgIndex, const jblas::vec2 &_pixel, const jblas::vec3 &_position, const jblas::vec3 &_direction, const jblas::vec2 &_size=jblas::zero_vec(2), const float &_area=-1) | |
| View (const View &view) | |
| int | getImgIndex () |
| jblas::vec2 | getPixel () |
| jblas::vec3 | getPosition () |
| jblas::vec3 | getDirection () |
| jblas::vec2 | getSize () |
| float | getArea () |
| void | setImgIndex (const int &_index) |
| setter for the image index | |
| void | setPixel (const jblas::vec2 &_pixel) |
| setter for the pixel | |
| void | setPosition (const jblas::vec3 &_position) |
| setter for the roi center's position (coordinates in the camera reference) | |
| void | setDirection (const jblas::vec3 &_direction) |
| setter for the direction of the roi (in the camera reference) | |
| void | setSize (const jblas::vec2 &_size) |
| setter for the roi size, respectively width and heigth | |
| void | setArea (const float &_area) |
| setter for the roi area | |
Private Attributes | |
| int | imgIndex |
| jblas::vec2 | pixel |
| jblas::vec3 | position |
| jblas::vec3 | direction |
| jblas::vec2 | size |
| float | area |
Friends | |
| class | ViewsManager |
| std::ostream & | operator<< (std::ostream &s, const View &v) |
| Generated on Wed Oct 15 2014 00:37:32 for Jafar by doxygen 1.7.6.1 |
|