CVB++ 15.0
LaserPlaneCalibrator3D Class Reference

Calibration object to applying parameters calibrating laser plane. More...

#include <cvb/_decl/decl_laser_plane_calibrator_3d.hpp>

Inherits Calibrator3D.

Inherited by AtCalibrator3D, FactorsCalibrator3D, LaserPlaneHomographyCalibrator3D, and LaserPlaneZigZagCalibrator3D.

Public Member Functions

std::pair< Cvb::optional< AffineMatrix3D >, Cvb::optional< AffineTransformationParameters > > CorrectionOfLaserPlaneInclination () const
 Gets the correction for the laser plane inclination (affine transformation) from the calibrator. More...
 
void SetCorrectionOfLaserPlaneInclination (const Cvb::optional< AffineMatrix3D > &affineTransformation, const Cvb::optional< AffineTransformationParameters > &transformationParameters)
 Sets the correction for the laser plane inclination (affine transformation) to the calibrator. More...
 
Cvb::SensorSettings SensorSettings () const noexcept
 Gets sensor settings. More...
 
double YFactor () const noexcept
 Gets the y factor (encoder step). More...
 
- Public Member Functions inherited from Calibrator3D
Cvb::optional< double > RangeMapIgnoreValue () const
 Gets value to be ignored in range map. More...
 
void SetRangeMapIgnoreValue (Cvb::optional< double > rangeMapIgnoreValue)
 Sets value to be ignored in range map in the calibrator. More...
 
AffineMatrix3D ExtrinsicMatrix () const
 Gets the extrinsic transformation matrix (rigid body transformation) of the calibrator. More...
 
void SetExtrinsicMatrix (const AffineMatrix3D &transformation)
 Sets the extrinsic transformation matrix (rigid body transformation with rotation and translation) of the calibrator. More...
 
void Save (const String &fileName) const
 Write the current content calibrator to a file. More...
 
void * Handle () const noexcept
 Returns C-API style handle to Node Object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Calibrator3D
template<class T >
static std::shared_ptr< T > Load (const String &fileName)
 Loads a 3D calibration from file. More...
 
static Calibrator3DPtr FromHandle (HandleGuard< Calibrator3D > &&guard)
 Creates a calibrator from a classic API handle. More...
 

Detailed Description

Calibration object to applying parameters calibrating laser plane.

Member Function Documentation

◆ CorrectionOfLaserPlaneInclination()

std::pair< Cvb::optional< AffineMatrix3D >, Cvb::optional< AffineTransformationParameters > > CorrectionOfLaserPlaneInclination ( ) const
inline

Gets the correction for the laser plane inclination (affine transformation) from the calibrator.

Note: The affine transformation parameters (second return value) are only available if the SpecificTransformationParameters model was selected for the estimation of the extrinsic calibration.

Returns
Optional transformation matrix and the transformation parameters.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ SensorSettings()

Cvb::SensorSettings SensorSettings ( ) const
inlinenoexcept

Gets sensor settings.

Returns
Sensor settings.
Exceptions
Doesnot throw any exception.

◆ SetCorrectionOfLaserPlaneInclination()

void SetCorrectionOfLaserPlaneInclination ( const Cvb::optional< AffineMatrix3D > &  affineTransformation,
const Cvb::optional< AffineTransformationParameters > &  transformationParameters 
)
inline

Sets the correction for the laser plane inclination (affine transformation) to the calibrator.

If the matrix calculated from transformationParameter (see AffineTransformationParameters for transformation rule) is not equal affineTransformation, the function will throw an error.

Parameters
[in]affineTransformationAffine transformation to be set.
[in]transformationParametersTransformation parameters to be set.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ YFactor()

double YFactor ( ) const
inlinenoexcept

Gets the y factor (encoder step).

Returns
The y factor.
Exceptions
Doesnot throw any exception.