diff options
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/camera.h b/src/camera.h new file mode 100644 index 0000000..9e5f736 --- /dev/null +++ b/src/camera.h @@ -0,0 +1,44 @@ +#ifndef camera_INC +#define camera_INC +#include <Eigen/Dense> +#include <yaml-cpp/yaml.h> + +#define BINNING 0.5 // set the binning factor +using Eigen::Matrix; +using Eigen::Vector4d; +/* + * ===================================================================================== + * Class: Camera + * Description: Class for the camera. + * ===================================================================================== + */ +class Camera +{ + public: + /* ==================== LIFECYCLE ======================================= */ + Camera (const char *fin); /* constructor */ + + /* ==================== ACCESSORS ======================================= */ + Matrix<double,3,3> K(); + Vector4d d(); + + /* ==================== MUTATORS ======================================= */ + + /* ==================== OPERATORS ======================================= */ + + protected: + /* ==================== METHODS ======================================= */ + + /* ==================== DATA MEMBERS ======================================= */ + + private: + /* ==================== METHODS ======================================= */ + + /* ==================== DATA MEMBERS ======================================= */ + Matrix<double,3,3> _K; + Vector4d _d; + +}; /* ----- end of class Camera ----- */ + + +#endif /* ----- #ifndef camera_INC ----- */ |