Gazebo Sensors

API Reference

8.2.1
ImageBrownDistortionModel Class Reference

Distortion Model class for image sensors. More...

#include <gz/sensors/ImageBrownDistortionModel.hh>

Public Member Functions

 ImageBrownDistortionModel ()
 Constructor. More...
 
virtual ~ImageBrownDistortionModel ()
 Destructor. More...
 
virtual void Load (const sdf::Camera &_sdf) override
 Load distortion parameters from sdf. More...
 
virtual void Print (std::ostream &_out) const override
 Documentation inherited. More...
 
virtual void SetCamera (rendering::CameraPtr _camera)
 
- Public Member Functions inherited from BrownDistortionModel
 BrownDistortionModel ()
 Constructor. More...
 
virtual ~BrownDistortionModel ()
 Destructor. More...
 
math::Vector2d Center () const
 Get the distortion center. More...
 
double K1 () const
 Get the radial distortion coefficient k1. More...
 
double K2 () const
 Get the radial distortion coefficient k2. More...
 
double K3 () const
 Get the radial distortion coefficient k3. More...
 
double P1 () const
 Get the tangential distortion coefficient p1. More...
 
double P2 () const
 Get the tangential distortion coefficient p2. More...
 
- Public Member Functions inherited from Distortion
 Distortion (DistortionType _type)
 Constructor. This should not be called directly unless creating an empty distortion model. Use DistortionFactory::NewDistortionModel to instantiate a new distortion model. More...
 
virtual ~Distortion ()
 Destructor. More...
 
DistortionType Type () const
 Accessor for DistortionType. More...
 

Detailed Description

Distortion Model class for image sensors.

Constructor & Destructor Documentation

◆ ImageBrownDistortionModel()

Constructor.

◆ ~ImageBrownDistortionModel()

virtual ~ImageBrownDistortionModel ( )
virtual

Destructor.

Member Function Documentation

◆ Load()

virtual void Load ( const sdf::Camera &  _sdf)
overridevirtual

Load distortion parameters from sdf.

Parameters
[in]_sdfSDF Distortion DOM object.

Reimplemented from BrownDistortionModel.

◆ Print()

virtual void Print ( std::ostream _out) const
overridevirtual

Documentation inherited.

Reimplemented from BrownDistortionModel.

◆ SetCamera()

virtual void SetCamera ( rendering::CameraPtr  _camera)
virtual

The documentation for this class was generated from the following file: