Spacecraft Control Framework 1.0
Spacecraft Control Library
sc_relative_state_from_points.h
Go to the documentation of this file.
1
3
4#ifndef __RELATIVE_STATE_FROM_POINTS__
5#define __RELATIVE_STATE_FROM_POINTS__
6
7#ifdef AS_OS_WINDOWS
8 #include "matrixlib.h"
9#else
10 #include <MatrixLib/MatrixLib.h>
11#endif
12
16{
17
18 private:
20 ml_matrix t;
22 ml_matrix b;
24 double fX;
26 double fY;
27
28
29 public:
33 void update( const ml_matrix& rW, const ml_matrix& rF );
35 ml_matrix get_transformation_matrix(){return this->b;};
37 ml_matrix get_offset(){return this->t;};
39 double get_f_x(){return this->fX;};
41 double get_f_y(){return this->fY;};
42
43
44};
45
46
47#endif
Generates transformaton matrix and offset plus camera parameters from points.
Definition: sc_relative_state_from_points.h:16
double get_f_x()
Get the x focal length.
Definition: sc_relative_state_from_points.h:39
relative_state_from_points(void)
Constructor.
Definition: sc_relative_state_from_points.cc:17
ml_matrix get_offset()
Find the offset.
Definition: sc_relative_state_from_points.h:37
ml_matrix get_transformation_matrix()
Return the transformation matrix.
Definition: sc_relative_state_from_points.h:35
void update(const ml_matrix &rW, const ml_matrix &rF)
Update.
Definition: sc_relative_state_from_points.cc:27
double get_f_y()
Get the y focal length.
Definition: sc_relative_state_from_points.h:41