Spherical camera model with unit sphere as imaging surface. More...
#include <camera_model.h>
Public Member Functions | |
Vector3d | backProject (const Vector3d &im_coord) const |
bool | canBackProject (const Vector3d &im_coord) const |
is this a valid coordinate in the imaging surface? (i.e. does it sample some ray?) | |
bool | canProject (const Vector3d &ray_coord) const |
is ray sampled by the camera? | |
Vector3d | project (const Vector3d &ray_coord) const |
SphericalCM (double _hfov=IGNORE, double _vfov=IGNORE) | |
Static Public Attributes | |
static const double | IGNORE = -1 |
Protected Attributes | |
double | hfov |
double | vfov |
Spherical camera model with unit sphere as imaging surface.
Definition at line 81 of file camera_model.h.
vslam::SphericalCM::SphericalCM | ( | double | _hfov = IGNORE , |
double | _vfov = IGNORE |
||
) | [inline] |
Definition at line 89 of file camera_model.h.
Vector3d vslam::SphericalCM::backProject | ( | const Vector3d & | im_coord | ) | const [inline] |
Reimplemented from vslam::CameraModel< Vector3d, Vector3d >.
Definition at line 106 of file camera_model.h.
bool vslam::SphericalCM::canBackProject | ( | const Vector3d & | im_coord | ) | const [inline] |
is this a valid coordinate in the imaging surface? (i.e. does it sample some ray?)
Reimplemented from vslam::CameraModel< Vector3d, Vector3d >.
Definition at line 102 of file camera_model.h.
bool vslam::SphericalCM::canProject | ( | const Vector3d & | ray | ) | const [inline] |
is ray sampled by the camera?
Reimplemented from vslam::CameraModel< Vector3d, Vector3d >.
Definition at line 93 of file camera_model.h.
Vector3d vslam::SphericalCM::project | ( | const Vector3d & | ray_coord | ) | const [inline] |
Reimplemented from vslam::CameraModel< Vector3d, Vector3d >.
Definition at line 98 of file camera_model.h.
double vslam::SphericalCM::hfov [protected] |
Definition at line 83 of file camera_model.h.
const double vslam::SphericalCM::IGNORE = -1 [static] |
Definition at line 87 of file camera_model.h.
double vslam::SphericalCM::vfov [protected] |
Definition at line 84 of file camera_model.h.