GSLAM  3.0.0
Public Member Functions | List of all members
Camera Class Reference

Public Member Functions

 Camera (const std::shared_ptr< CameraImpl > &Impl=std::shared_ptr< CameraImpl >(new CameraImpl()))
 
 Camera (const std::vector< double > &paras)
 
std::string CameraType () const
 
std::string info () const
 
bool isValid () const
 
int width () const
 
int height () const
 
Point2d Project (const Point3d &p3d) const
 
Point2d Project (const double x, const double y, const double z) const
 
Point3d UnProject (const Point2d &p2d) const
 
Point3d UnProject (const double x, const double y) const
 
std::vector< double > getParameters () const
 
bool applyScale (double scale=0.5)
 
Camera estimatePinHoleCamera (void) const