CVB++ 14.0
CalibrationConfiguration Class Referencefinal

Calibration configuration object. More...

#include <cvb/foundation/metric_aqs12.hpp>

Public Member Functions

AQS12Piece Aqs12Piece () const noexcept
 Gets the AQS12 piece. More...
 
void SetHomographyCalculated (bool flag) noexcept
 Sets the calculate homography flag. More...
 
bool IsHomographyCalculated () const noexcept
 Gets the calculate homography flag. More...
 
void SetCorrectionOfLaserPlaneInclinationCalculated (bool flag)
 
bool IsCorrectionOfLaserPlaneInclinationCalculated () const noexcept
 
void * Handle () const noexcept
 Returns C-API style handle to Node Object. More...
 

Static Public Member Functions

static std::unique_ptr< CalibrationConfigurationCreate (const AQS12Piece &aqs12)
 Creates a calibration configuration object. More...
 
static std::unique_ptr< CalibrationConfigurationFromHandle (HandleGuard< CalibrationConfiguration > &&guard)
 

Detailed Description

Calibration configuration object.

Member Function Documentation

◆ Aqs12Piece()

AQS12Piece Aqs12Piece ( ) const
inlinenoexcept

Gets the AQS12 piece.

Returns
AQS12 piece.

◆ Create()

static std::unique_ptr< CalibrationConfiguration > Create ( const AQS12Piece aqs12)
inlinestatic

Creates a calibration configuration object.

Parameters
[in]aqs12AQS12 piece.
Returns
The variable to receive the resulting calibration configuration object.
Examples
Foundation/CppMetricCalibration, and Foundation/CppMetricCalibrationInclinationLaserPlane.

◆ FromHandle()

static std::unique_ptr< CalibrationConfiguration > FromHandle ( HandleGuard< CalibrationConfiguration > &&  guard)
inlinestatic
Parameters
[in]guardLife time guard for C-API handle.
Returns
The calibration configuration created from the classic API handle.
Exceptions
Anyexception derived from std::exception including CvbException.

The calibration configuration object takes ownership of the handle, so you must share it before using this function.

◆ Handle()

void * Handle ( ) const
inlinenoexcept

Returns C-API style handle to Node Object.

Returns
C-API handle

◆ IsCorrectionOfLaserPlaneInclinationCalculated()

bool IsCorrectionOfLaserPlaneInclinationCalculated ( ) const
inlinenoexcept
Returns
Value of flag.

◆ IsHomographyCalculated()

bool IsHomographyCalculated ( ) const
inlinenoexcept

Gets the calculate homography flag.

Returns
Value of flag.

◆ SetCorrectionOfLaserPlaneInclinationCalculated()

void SetCorrectionOfLaserPlaneInclinationCalculated ( bool  flag)
inline
Parameters
[in]flagValue of flag to be set.

◆ SetHomographyCalculated()

void SetHomographyCalculated ( bool  flag)
inlinenoexcept

Sets the calculate homography flag.

Parameters
[in]flagValue of flag to be set.