18 #ifndef _GAZEBO_RENDERING_DISTORTION_HH_
19 #define _GAZEBO_RENDERING_DISTORTION_HH_
31 class DistortionPrivate;
49 public:
virtual void Load(sdf::ElementPtr _sdf);
53 public:
void SetCamera(
CameraPtr _camera);
58 public:
void SetCrop(
bool _crop);
62 public:
double GetK1()
const;
66 public:
double GetK2()
const;
70 public:
double GetK3()
const;
74 public:
double GetP1()
const;
78 public:
double GetP2()
const;
95 double _p1,
double _p2);
98 protected: sdf::ElementPtr
sdf;
102 private: DistortionPrivate *dataPtr;
Generic double x, y vector.
Definition: Vector2d.hh:36
Camera distortion based on Brown's model.
Definition: Distortion.hh:39
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:88
sdf::ElementPtr sdf
Distortion SDF values.
Definition: Distortion.hh:98