1 #ifndef MF_DEPTH_CAMERA_H_
2 #define MF_DEPTH_CAMERA_H_
Eigen_vec2 image_coordinates_type
2D image coordinates, range and scale defined by subclass.
Definition: camera.h:25
float real
Real number type.
Definition: common.h:48
virtual Eigen_vec3 point(const image_coordinates_type &c, real depth) const =0
Eigen_vec3 point(const spherical_coordinates &sp) const
Convert 3D point spherical coordinates sp to cartesian.
Definition: camera.cc:29
Camera which defines mapping from 3D spatial coordinates to 2D image coordinates. ...
Definition: camera.h:16
virtual real depth(const spherical_coordinates &sp) const
Definition: depth_camera.h:16
Camera which maps 3D coordinates of point to depth value in addition to the 2D image coordinates...
Definition: depth_camera.h:9
virtual real depth(const Eigen_vec3 &p) const =0
Spherical coordinates.
Definition: spherical_coordinates.h:16
Eigen_mat< 3, 1 > Eigen_vec3
Definition: eigen.h:25