Namespace: Rx::LFR – Class: CCalibration – Header: Rx.LFR/Calibration.h

CCalibration Class

C++
#include "Rx.LFR/Calibration.h"
class CCalibration : public CParametersPimpl<CCalibration_Impl, ECalibrationParam, ECalibrationInterface>

Defines a single camera or ray image calibration, including a possible gray image.

Constructors

CCalibration()

Default constructor. Creates an uninitialized calibration. Call SetToDefault to initialize it.

CCalibration(xCalibration)

Move constructor.

Destructor

~CCalibration()

Destructor. Frees all used memory including the gray image.

Methods

SetToDefault(iHeightPX, iWidthPX)

Sets this calibration to default. All applied parameters are reset. The gray image is not affected.

SetCameraFormat(calibration)

Sets the camera format from the given calibration.

SetCameraFormat(pvData)

Sets the camera format by pointer. Only for internal purposes.

GetCameraFormat()

Gets the pointer to the internal camera format. Only for internal purposes.

HasGrayImage()

Queries if this calibration has a gray image.

GetGrayImage()

Gets the gray image. The gray image is invalid if this calibration has no gray image.

GetGrayImage()

Gets the gray image. The gray image is invalid if this calibration has no gray image.

SetGrayImage(xImg)

Sets the given image as the gray image. This copies the given image into this calibration.

SetGrayImage(xImg)

Sets the given image as the gray image. This moves the given image into this calibration.

HasDepthCorrectionVolume()

Query if this object has a depth correction volume.

GetDepthCorrectionVolume()

Gets the depth correction volume.

GetDepthCorrectionVolume()

Gets the depth correction volume.

SetDepthCorrectionVolume(xMapping)

Sets the depth correction volume. This moves the given mapping into this calibration.

SetDepthCorrectionVolume(xMapping)

Sets the depth correction volume. This copies the given mapping into this calibration.

HasMetricCalibrationSettings()

Query if this object has metric calibration settings.

GetMetricCalibrationSettings()

Gets the metric calibration settings.

GetMetricCalibrationSettings()

Gets the metric calibration settings.

SetMetricCalibrationSettings(settings)

Sets the metric calibration settings. This copies the given settings into this calibration.

GetGridData(adLensData2D)

Gets the grid data of this calibration.

SaveAsXmlFile(sxFilename)

Saves some details of this calibration as a XML file.

SaveAsXmlString(sxXml)

Saves some details of this calibration as a XML string.

GetParams()

Returns the parameters class that can be used to work with parameters of this class.

(Inherited from CParametersPimpl)
GetParams()

Returns the constant parameters class that can be used to work with parameters of this class.

(Inherited from CParametersPimpl)
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)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(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)

Operators

operator=(xCalibration)

Move assignment operator.

Typedefs

EnumType

The type of the parameter enum. Is used by managed wrapper classes.

(Inherited from CParametersPimpl)
EnumInterfaceType

The type of the interface enum. Is used by managed wrapper classes.

(Inherited from CParametersPimpl)