Jafar
|
class SBAObsevation Holds structure of observed point. More...
class SBAObsevation Holds structure of observed point.
point
is the feature to be observed (3D point for example) nbFramesIn
number of frames where it appears projections
stores the projection in each frame #include <sba.hpp>
Public Types | |
typedef std::map< int, jblas::vec2 >::const_iterator | ProjectionsIterator |
defines an iterator over the projections of the observed point | |
Public Member Functions | |
SBAObservation () | |
default constructor | |
SBAObservation (const SBAObservation &obs) | |
copy constructor | |
void | setPoint (const jblas::vec3 &_point) |
sets point to _point | |
jblas::vec3 | getPoint () const |
returns the value of point | |
int | nbOfFramesIn () const |
gets number of frames where it is seen; | |
jblas::vec2 | getProjection (const int &frameIndex) |
gets the 2D projection of an observed point in frame index frameIndex | |
void | insertProjection (const int &frameIndex, const jblas::vec2 &_projection) |
inserts new projection of the observed point with frame index frameIndex | |
std::map< int, jblas::vec2 > ::const_iterator | projectionsBegin () const |
std::map< int, jblas::vec2 > ::const_iterator | projectionsEnd () const |
size_t | projectionsSize () const |
Private Attributes | |
jblas::vec3 | point |
the observed point | |
std::map< int, jblas::vec2 > | projections |
the projections of the observed point over the frames | |
int | nbFramesIn |
Friends | |
class | SBAObservations |
Generated on Wed Oct 15 2014 00:37:32 for Jafar by doxygen 1.7.6.1 |