Distortion Class Reference
Distortion models for sensor output signals. More...
#include <gz/sensors/Distortion.hh>
Public Member Functions | |
| 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. | |
| virtual | ~Distortion () |
| Destructor. | |
| virtual void | Load (const sdf::Camera &_sdf) |
| Load distortion parameters from sdf. | |
| virtual void | Print (std::ostream &_out) const |
| Output information about the distortion model. | |
| DistortionType | Type () const |
| Accessor for DistortionType. | |
Detailed Description
Distortion models for sensor output signals.
Constructor & Destructor Documentation
◆ Distortion()
|
explicit |
Constructor. This should not be called directly unless creating an empty distortion model. Use DistortionFactory::NewDistortionModel to instantiate a new distortion model.
- Parameters
-
[in] _type Type of distortion model.
◆ ~Distortion()
|
virtual |
Destructor.
Member Function Documentation
◆ Load()
|
virtual |
Load distortion parameters from sdf.
- Parameters
-
[in] _sdf SDF Distortion DOM object.
Reimplemented in BrownDistortionModel, and ImageBrownDistortionModel.
◆ Print()
|
virtual |
Output information about the distortion model.
- Parameters
-
[in] _out Output stream
Reimplemented in BrownDistortionModel, and ImageBrownDistortionModel.
◆ Type()
| DistortionType Type | ( | ) | const |
Accessor for DistortionType.
- Returns
- Type of distortion currently in use.
The documentation for this class was generated from the following file: