Namespace: Rx::LFR – Class: CCalibrationManager – Header: Rx.LFR/CalibrationManager.h

CCalibrationManager Class

C++
#include "Rx.LFR/CalibrationManager.h"
class CCalibrationManager : public CPimpl<CCalibrationManager_Impl, ECalibrationManagerInterface>

Provides methods for managing camera calibrations. This includes creating, loading and saving.

Methods

GetImpl()

Gets the non constant implementation.

(Inherited from CPimpl)
GetImpl()

Gets the constant implementation.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
HasInterface(eInterface)

Queries if this object has the given interface.

(Inherited from CPimpl)

Static Methods

Initialize()

Initializes this calibration manager and reads all calibrations from disk.

Initialize(sxFolder)

Initializes this calibration manager and reads all calibrations from disk.

HasDatabase(xCamera)

Queries if the there is a calibration database for the given camera.

HasDatabase(hardwareID)

Queries if the there is a calibration database for the given camera.

CreateDatabase(xCamera, bForce)

Creates a calibration database for the given camera.

CreateDatabase(sxCamType, sxCamSerial, bForce)

Creates a calibration database for the given camera (defined by type and serial).

CreateDatabase(sxCamHardwareID, bForce)

Creates a calibration database for the given camera (defined by hardware ID).

CreateCalibration(xCamera)

Creates a new calibration and assigns it to the given camera.

CreateCalibration(calibration, camera)

Creates a new calibration and assigns it to the given camera.

CreateCalibration(sxCamType, sxCamSerial)

Creates a new calibration and assigns it to the given camera (defined by type and serial).

CreateCalibration(sxCamHardwareID)

Creates a new calibration and assigns it to the given camera (defined by hardware ID).

DeleteCalibration(sxGUID)

Deletes the calibration with the given GUID.

LoadCalibration(xCalib, sxGUID, bLoadGrayImg)

Loads the calibration with the given GUID.

LoadDefaultCalibration(xCalib, xCamera, bLoadGrayImg)

Loads the default calibration of the given camera.

LoadDefaultCalibration(xCalib, sCameraSerial, sDriverName, bLoadGrayImg)

Loads the default calibration of the given camera defined by the camera serial and the driver name.

LoadMasterCalibration(xCalib, xCamera)

Loads master calibration.

LoadMasterCalibration(xCalib, sCameraSerial, sDriverName)

Loads master calibration.

LoadMasterCalibration(xCalib, shardwareID)

Loads master calibration.

SaveCalibration(xCalib, sxGUID, bSaveGrayImg)

Saves the given calibration to disk.

PatchCalibration(sxGUID)

Patch the calibration given by its GUID, by overwriting required values to valid ones.

GetCalibrationGUIDs(asxGUIDs)

Gets an array with GUIDs of all calibrations.

GetCalibrationGUIDs(asxGUIDs, xCamera)

Gets an array with GUIDs of all calibrations of the given camera.

GetCalibrationGUIDs(asxGUIDs, sxSerial, sxDriver)

Gets an array with GUIDs of all calibrations of the given camera.

GetCalibrationGUIDs(asxGUIDs, sxHardwareId)

Gets calibration graphical user interface ds.

GetCalibrationGUIDs(asxGUIDs, xCamera, xMainLens)

Gets calibration graphical user interface ds.

GetMasterCalibrationGUIDs(asxGUIDs)

Gets an array with GUIDs of all master calibrations. Each camera has a single master calibration.

GetMasterCalibrationGUID(xCamera)

Gets the GUID of the master calibration of the given camera.

GetMasterCalibrationGUID(sxSerial, sxDriver)

Gets the GUID of the master calibration of the given camera defined by the camera serial and the driver name.

GetDefaultCalibrationGUID(xCamera)

Gets the GUID of the default calibration of the given camera.

GetDefaultCalibrationGUID(sxSerial, sxDriver)

Gets the GUID of the default calibration of the given camera defined by the camera serial and the driver name.

GetMetaData(xData, sxGUID)

Gets the calibration meta data of the given calibration.

SetMetaData(xData, sxGUID)

Sets the calibration meta data of the given calibration. Trying to set the meta data of the master calibration will throw an exception, as the master calibration cannot be set.

SetCameraName(xCamera, sxName)

Sets the Raytrix name of the given camera. Requires Rx::ERuntimeFeature::Internal.

SetCameraSerial(xCamera, sxSerial)

Sets the Raytrix serial of the given camera. Requires Rx::ERuntimeFeature::Internal.

GetCameraName(xCamera)

Gets the Raytrix name of the given camera.

GetCameraSerial(xCamera)

Gets the Raytrix serial of the given camera.

CalibrationExists(guidString)

Queries if a given calibration exists.

GetInterface(eData)

Gets the interface defined by ECalibrationManagerInterface.

AddCalibrationPatchedCallback(pxCallback, pvContext)

Adds the given callback function with the given context to the list of calibration patched callbacks.

RemoveCalibrationPatchedCallback(pxCallback)

Removes the given callback function from the list of calibration patched callbacks. Does nothing if it's not in the list.