Go to the documentation of this file.
18 #ifndef IGNITION_SENSORS_BROWNDISTORTIONMODEL_HH_
19 #define IGNITION_SENSORS_BROWNDISTORTIONMODEL_HH_
26 #include "ignition/utils/ImplPtr.hh"
33 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
36 class BrownDistortionModelPrivate;
41 class IGNITION_SENSORS_VISIBLE BrownDistortionModel :
public Distortion
45 public: BrownDistortionModel();
48 public:
virtual ~BrownDistortionModel();
51 public:
virtual void Load(
const sdf::Camera &_sdf)
override;
55 public:
double K1()
const;
59 public:
double K2()
const;
63 public:
double K3()
const;
67 public:
double P1()
const;
71 public:
double P2()
const;
75 public: math::Vector2d Center()
const;
78 public:
virtual void Print(
std::ostream &_out)
const override;
81 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: gz/sensors/AirPressureSensor.hh:31
double K3() const
Get the radial distortion coefficient k3.
double K2() const
Get the radial distortion coefficient k2.
math::Vector2d Center() const
Get the distortion center.
virtual void Print(std::ostream &_out) const override
Documentation inherited.
BrownDistortionModel()
Constructor.
double P1() const
Get the tangential distortion coefficient p1.
double P2() const
Get the tangential distortion coefficient p2.
virtual void Load(const sdf::Camera &_sdf) override
Load distortion parameters from sdf.
virtual ~BrownDistortionModel()
Destructor.
double K1() const
Get the radial distortion coefficient k1.