|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
18 #ifndef CAMERA_CAMERA_MODEL_H_
19 #define CAMERA_CAMERA_MODEL_H_
23 #include <Eigen/Geometry>
33 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
35 double fov_x,
int x_res,
int y_res);
58 bool IsInFov(
double x,
double y,
double z)
const;
70 void InitTransform(
const Eigen::Vector3d & position,
const Eigen::Matrix3d & rotation);
82 #endif // CAMERA_CAMERA_MODEL_H_
~CameraModel()
Definition: camera_model.cc:53
Definition: camera_model.h:26
Eigen::Vector3d GetPosition() const
Definition: camera_model.cc:55
void RodriguesToRotation(Eigen::Vector3d const &vector, Eigen::Matrix3d *rotation)
Definition: camera_model.cc:138
Definition: camera_params.h:58
double GetFovY(void) const
Definition: camera_model.cc:76
void RotationToRodrigues(Eigen::Matrix3d const &rotation, Eigen::Vector3d *vector)
Definition: camera_model.cc:130
Eigen::Matrix3d GetRotation() const
Definition: camera_model.cc:59
Definition: camera_model.h:31
void SetTransform(const Eigen::Affine3d &cam_t_global)
Definition: camera_model.cc:67
Eigen::Vector3d Vector3d(const PointType &point)
Definition: utilities.h:328
const Eigen::Affine3d & GetTransform() const
Definition: camera_model.cc:63
const camera::CameraParameters & GetParameters() const
Definition: camera_model.cc:81
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CameraModel(const Eigen::Vector3d &position, const Eigen::Matrix3d &rotation, double fov_x, int x_res, int y_res)
Definition: camera_model.cc:26
Eigen::Vector3d CameraCoordinates(const Eigen::Vector3d &p) const
Definition: camera_model.cc:105
Eigen::Vector2d ImageCoordinates(const Eigen::Vector3d &p) const
Definition: camera_model.cc:89
Eigen::Vector3d Ray(int x, int y) const
Definition: camera_model.cc:94
Eigen::Affine3d Affine3d(const Eigen::Matrix< double, 7, 1 > &affine_vector)
Definition: utilities.cc:43
bool IsInFov(const Eigen::Vector3d &p) const
Definition: camera_model.cc:109
double GetFovX(void) const
Definition: camera_model.cc:71