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

Pinhole model (x y)^T=(fx*X/Z+cx,fy*Y/Z+cy)^T. More...

Inheritance diagram for CameraPinhole:
CameraImpl

Public Member Functions

 CameraPinhole (int _w, int _h, double _fx, double _fy, double _cx, double _cy)
 
virtual std::string CameraType () const
 
virtual bool isValid () const
 
virtual Point2d Project (const Point3d &p3d) const
 
virtual Point3d UnProject (const Point2d &p2d) const
 
virtual std::vector< double > getParameters () const
 
virtual bool applyScale (double scale=0.5)
 
- Public Member Functions inherited from CameraImpl
 CameraImpl (int _w=-1, int _h=-1)
 
virtual std::string info () const
 

Public Attributes

double fx
 
double fy
 
double cx
 
double cy
 
double fx_inv
 
double fy_inv
 
- Public Attributes inherited from CameraImpl
int32_t w
 
int32_t h
 
int32_t state
 
int32_t tmp
 

Detailed Description

Pinhole model (x y)^T=(fx*X/Z+cx,fy*Y/Z+cy)^T.