CVB++ 15.0
FactorsCalibrator3D Class Reference

Calibration object to apply factors component wise. More...

#include <cvb/factors_calibrator_3d.hpp>

Inherits LaserPlaneCalibrator3D.

Static Public Member Functions

static FactorsCalibrator3DPtr Create (double x, double y, double z)
 Creates a simple calibrator based on factors. More...
 
static FactorsCalibrator3DPtr Create (Factors3D factors)
 Creates a simple calibrator based on factors. More...
 
- 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...
 

Additional Inherited Members

- Public Member Functions inherited from LaserPlaneCalibrator3D
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...
 

Detailed Description

Calibration object to apply factors component wise.

Member Function Documentation

◆ Create() [1/2]

static FactorsCalibrator3DPtr Create ( double  x,
double  y,
double  z 
)
inlinestatic

Creates a simple calibrator based on factors.

Parameters
[in]xFactor for the x-component.
[in]yFactor for the y-component.
[in]zFactor for the z-component.
Returns
Pointer to created calibration object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Create() [2/2]

static FactorsCalibrator3DPtr Create ( Factors3D  factors)
inlinestatic

Creates a simple calibrator based on factors.

Parameters
[in]factorsTransformation factors to apply to each coordinate.
Returns
Pointer to created calibration object.
Exceptions
Anyexception derived from std::exception including CvbException.