Raytrix Light Field SDK
5.0
|
Provides methods to perform the wavefront calibration. In general a calibration would comprise:
Public Types | |
typedef Interfaces::EWavefrontCalibration::ID | EnumInterfaceType |
typedef Params::EWavefrontCalibration::ID | EnumType |
The type of the parameter enum. Is used by managed wrapper classes. More... | |
Public Member Functions | |
CWavefrontCalibration () | |
Default constructor. More... | |
CWavefrontCalibration (CWavefrontCalibration &&xWavefrontCalibration) | |
Move constructor. More... | |
~CWavefrontCalibration () | |
Destructor. More... | |
void | AbortCalibration () |
This will stop the calibration at the first possible position, which will lead to the best calibration result until then. More... | |
void | AddImage (const CRxImage &xSrcImg, const CRxString &sComputeSettings) |
Adds an image. If more than one image is added to the calibration, they should all be the same regarding their orientation. Each image is added with their computation settings, which contains a possible ROI. More... | |
void | AddStatusMessageCallback (TFuncStatusMsg pxCallback, void *pvContext) |
Adds the given status message callback function to the internal list of callbacks. More... | |
bool | Calibrate (CCalibration &xCalib) |
Calibrates the Wavefront Parameters, the Aperture Dependent Matching Parameters and the MLA Residual Error Parameters. More... | |
void | Free () |
Frees this object. More... | |
double | GetCalibrationResult (bool bVD) |
Gets calibration result. More... | |
CWavefrontCalibration_Impl & | GetImpl () |
Gets the non constant implementation. More... | |
const CWavefrontCalibration_Impl & | GetImpl () const |
Gets the constant implementation. More... | |
void * | GetInterface (Interfaces::EWavefrontCalibration::ID eInterface) |
Gets the interface defined by the given interface ID. More... | |
TInterface * | GetInterface (Interfaces::EWavefrontCalibration::ID eInterface) |
Gets the interface defined by the given interface ID. More... | |
const void * | GetInterface (Interfaces::EWavefrontCalibration::ID eInterface) const |
Gets the interface defined by the given interface ID. More... | |
const TInterface * | GetInterface (Interfaces::EWavefrontCalibration::ID eInterface) const |
Gets the interface defined by the given interface ID. More... | |
CParameters< Params::EWavefrontCalibration::ID > & | GetParams () |
const CParameters< Params::EWavefrontCalibration::ID > & | GetParams () const |
bool | HasInterface (Interfaces::EWavefrontCalibration::ID eInterface) |
Queries if this object has the given interface. More... | |
void | Init () |
Initializes this object. More... | |
void | RemoveStatusMessageCallback (TFuncStatusMsg pxCallback) |
Removes the given status message callback function. More... | |
|
inherited |
|
inherited |
The type of the parameter enum. Is used by managed wrapper classes.
Rx::LFR::CWavefrontCalibration::CWavefrontCalibration | ( | ) |
Default constructor.
Rx::LFR::CWavefrontCalibration::CWavefrontCalibration | ( | CWavefrontCalibration && | xWavefrontCalibration | ) |
Move constructor.
xWavefrontCalibration | [in,out] The wavefront calibration. |
Rx::LFR::CWavefrontCalibration::~CWavefrontCalibration | ( | ) |
Destructor.
void Rx::LFR::CWavefrontCalibration::AbortCalibration | ( | ) |
This will stop the calibration at the first possible position, which will lead to the best calibration result until then.
void Rx::LFR::CWavefrontCalibration::AddImage | ( | const CRxImage & | xSrcImg, |
const CRxString & | sComputeSettings | ||
) |
Adds an image. If more than one image is added to the calibration, they should all be the same regarding their orientation. Each image is added with their computation settings, which contains a possible ROI.
xSrcImg | Source image. |
sComputeSettings | The compute settings. |
void Rx::LFR::CWavefrontCalibration::AddStatusMessageCallback | ( | TFuncStatusMsg | pxCallback, |
void * | pvContext | ||
) |
Adds the given status message callback function to the internal list of callbacks.
Adding the same function pointer twice will only update the given context pointer. This prevents multiple adds of the same callback function.
pxCallback | The callback function. |
pvContext | [in] The callback context. Can be any pointer that is passed to the callback function. |
bool Rx::LFR::CWavefrontCalibration::Calibrate | ( | CCalibration & | xCalib | ) |
Calibrates the Wavefront Parameters, the Aperture Dependent Matching Parameters and the MLA Residual Error Parameters.
xCalib | [in,out] The calibration. |
void Rx::LFR::CWavefrontCalibration::Free | ( | ) |
Frees this object.
double Rx::LFR::CWavefrontCalibration::GetCalibrationResult | ( | bool | bVD | ) |
Gets calibration result.
bVD | True to get the VD error else the normalized residual will be returned. |
|
inlineinherited |
Gets the non constant implementation.
|
inlineinherited |
Gets the constant implementation.
|
inherited |
Gets the interface defined by the given interface ID.
eInterface | [in] The interface ID. |
|
inlineinherited |
Gets the interface defined by the given interface ID.
TInterface | [in] The interface type. |
eInterface | [in] The interface. |
|
inherited |
Gets the interface defined by the given interface ID.
eInterface | [in] The interface ID. |
|
inlineinherited |
Gets the interface defined by the given interface ID.
TInterface | [in] The interface type. |
eInterface | [in] The interface ID. |
|
inherited |
|
inherited |
|
inlineinherited |
Queries if this object has the given interface.
eInterface | [in] The interface to query. |
void Rx::LFR::CWavefrontCalibration::Init | ( | ) |
Initializes this object.
void Rx::LFR::CWavefrontCalibration::RemoveStatusMessageCallback | ( | TFuncStatusMsg | pxCallback | ) |
Removes the given status message callback function.
Does nothing if the given function pointer has not been added to the list of callbacks.
pxCallback | The callback function to remove. |