Functions to get/set API parameters. More...
Functions | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, unsigned &uValue) |
Get a parameter of type unsigned integer . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, double &dValue) |
Get a parameter of type double . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, Rx::CRxString &sValue) |
Get a parameter of type Rx::CRxString . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, Rx::CRxArrayUInt &aValue) |
Get Parameter of type CRxArrayUInt . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, Rx::CRxArrayDouble &aValue) |
Get Parameter of type CRxArrayDouble . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, Rx::CRxArrayString &aValue) |
Get Parameter of type CRxArrayString . More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, const unsigned uIndex, unsigned &uValue) |
Get Parameter of type unsigned int.This function is related to the overloaded function RxGetPar (EPar::ID ePar, Rx::CRxArrayUInt aValue) and will return the Value of the parameter array on given index. More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, const unsigned uIndex, double &dValue) |
Get Parameter of type unsigned int. This function is related to the overloaded function RxGetPar (EPar::ID ePar, Rx::CRxArrayDouble aValue) and will return the Value of the parameter array on given index. More... | |
RXLF_API void | Rx::ApiLF::RxGetPar (EPar::ID ePar, const unsigned uIndex, Rx::CRxString &sValue) |
Get Parameter of type unsigned int. This function is related to the overloaded function RxGetPar (EPar::ID ePar, Rx::CRxArrayString aValue) and will return the Value of the parameter array on given index. More... | |
RXLF_API void | Rx::ApiLF::RxGetParName (EPar::ID ePar, Rx::CRxString &sValue) |
Get the string representation of a parameter. More... | |
RXLF_API void | Rx::ApiLF::RxGetParProperties (EPar::ID ePar, Rx::CRxString &sValue, bool &bReadAccess, bool &bWriteAccess, EParameterDataType::ID &eParameterType) |
Get the Properties of a parameter. More... | |
RXLF_API void | Rx::ApiLF::RxGetParRange (EPar::ID ePar, unsigned &uMin, unsigned &uMax) |
Get the range of a parameter. More... | |
RXLF_API void | Rx::ApiLF::RxGetParRange (EPar::ID ePar, double &dMin, double &dMax) |
Get the range of a parameter. More... | |
RXLF_API void | Rx::ApiLF::RxGetParRange (EPar::ID ePar, size_t &iArrayLenMin, size_t &iArrayLenMax, unsigned &uMin, unsigned &uMax) |
Get the range of a parameter. Some array-based parameter have a dynamic array size. The parameter iArrayLenMin and iArrayLenMax returns the allowed length of the array on a zero based index. More... | |
RXLF_API void | Rx::ApiLF::RxGetParRange (EPar::ID ePar, size_t &iArrayLenMin, size_t &iArrayLenMax, double &uMin, double &uMax) |
Get the range of a parameter. Some array-based parameter have a dynamic array size. The parameter iArrayLenMin and iArrayLenMax returns the allowed length of the array on a zero based index. More... | |
RXLF_API void | Rx::ApiLF::RxLoadParameter (const Rx::CRxString &sxFilename) |
Loads all writable API parameter from file. Its mandatory to bind a light field image before. More... | |
RXLF_API void | Rx::ApiLF::RxSaveParameter (const Rx::CRxString &sxFilename) |
Saves all writable API parameter to file. Its mandatory to bind a light field image before. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const unsigned &uValue) |
Set a parameter of type unsigned integer . More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const double &dValue) |
Set a parameter of type double . More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const Rx::CRxString &sValue) |
Set a parameter of type Rx::CRxString. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const Rx::CRxArrayUInt &aValue) |
Set a parameter of typeRx::CRxArrayUInt . More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const Rx::CRxArrayDouble &aValue) |
Set a parameter of type Rx::CRxArrayDouble. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const Rx::CRxArrayString &aValue) |
Set a parameter of type Rx::CRxArrayString. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const unsigned uIndex, const unsigned &uValue) |
Set a Parameter of type unsiged . This function is related to void Rx::ApiLF::RxSetPar(Rx::ApiLF::EPar::ID ePar,const Rx::CRxArrayUInt aValue) and sets the Value of the array on the given index. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const unsigned uIndex, const double &dValue) |
Set a Parameter of type unsiged . This function is related to void Rx::ApiLF::RxSetPar(EPar::ID ePar, const Rx::CRxArrayDouble& aValue) and sets the Value of the array on the given index. More... | |
RXLF_API void | Rx::ApiLF::RxSetPar (EPar::ID ePar, const unsigned uIndex, const Rx::CRxString &sValue) |
Set a Parameter of type unsiged . This function is related to void Rx::ApiLF::RxSetPar(EPar::ID ePar, const Rx::CRxArrayString& aValue) and sets the Value of the array on the given index. More... | |
Functions to get/set API parameters.
With these functions parameters of the API can be read and set. The parameter IDs are defined in Rx::ApiLF::EPar
. Note that the parameters starting with Rx::ApiLF::EPar::Cam_
and Rx::ApiLF::EPar::CamCal_
have to be read and set with Rx::ApiLF::RxCamGetPar and Rx::ApiLF::RxCamSetPar, with the exeception of Rx::ApiLF::EPar::Cam_Count
. The parameters are grouped in the following categories:
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
unsigned & | uValue | ||
) |
Get a parameter of type unsigned
integer
.
unsigned
parameter an Rx::ApiLF::CRxApiException is thrown.RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
double & | dValue | ||
) |
Get a parameter of type double
.
double
parameter an Rx::ApiLF::CRxApiException is thrown.RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
Rx::CRxString & | sValue | ||
) |
Get a parameter of type Rx::CRxString
.
string
parameter an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[out] | sValue | On return contains the parameter value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
Rx::CRxArrayUInt & | aValue | ||
) |
Get Parameter of type CRxArrayUInt
.
Rx::CRxArrayUInt
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[out] | aValue | The array containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
Rx::CRxArrayDouble & | aValue | ||
) |
Get Parameter of type CRxArrayDouble
.
Rx::CRxArrayDouble
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[out] | aValue | The array containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
Rx::CRxArrayString & | aValue | ||
) |
Get Parameter of type CRxArrayString
.
Rx::CRxArrayString
parameter, then an Rx::ApiLF::CRxApiException is thrown.[in] | ePar | The parameter ID. |
[out] | aValue | The array containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
unsigned & | uValue | ||
) |
Get Parameter of type unsigned int.This function is related to the overloaded function RxGetPar
(EPar::ID ePar, Rx::CRxArrayUInt aValue) and will return the Value of the parameter array on given index.
Rx::CRxArrayUInt
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[in] | uIndex | The array index. |
[out] | uValue | The variable containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
double & | dValue | ||
) |
Get Parameter of type unsigned int. This function is related to the overloaded function RxGetPar
(EPar::ID ePar, Rx::CRxArrayDouble aValue) and will return the Value of the parameter array on given index.
Rx::CRxArrayDouble
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[in] | uIndex | The array index. |
[out] | dValue | The variable containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
Rx::CRxString & | sValue | ||
) |
Get Parameter of type unsigned int. This function is related to the overloaded function RxGetPar
(EPar::ID ePar, Rx::CRxArrayString aValue) and will return the Value of the parameter array on given index.
Rx::CRxArrayString
parameter, then an Rx::ApiLF::CRxApiException is thrown.[in] | ePar | The parameter ID. |
[in] | uIndex | The array index. |
[out] | sValue | The variable containing the parameter Value. |
RXLF_API void Rx::ApiLF::RxGetParName | ( | EPar::ID | ePar, |
Rx::CRxString & | sValue | ||
) |
Get the string representation of a parameter.
ePar | The parameter ID. Allowed enums are in Rx::ApiLF::EPar. | |
[out] | sValue | On return contains the parameter string representation. |
RXLF_API void Rx::ApiLF::RxGetParProperties | ( | EPar::ID | ePar, |
Rx::CRxString & | sValue, | ||
bool & | bReadAccess, | ||
bool & | bWriteAccess, | ||
EParameterDataType::ID & | eParameterType | ||
) |
Get the Properties of a parameter.
ePar | The parameter ID. Allowed enums are in Rx::ApiLF::EPar. | |
[out] | sValue | On return contains the parameter string representation. |
[out] | bReadAccess | On return contains the parameter ReadAccess flag. |
[out] | bWriteAccess | On return contains the parameter WriteAccess flag. |
[out] | eParameterType | On return contains the paramater DataType. |
RXLF_API void Rx::ApiLF::RxGetParRange | ( | EPar::ID | ePar, |
unsigned & | uMin, | ||
unsigned & | uMax | ||
) |
Get the range of a parameter.
unsigned
parameter, then an Rx::ApiLF::CRxApiException is thrown.RXLF_API void Rx::ApiLF::RxGetParRange | ( | EPar::ID | ePar, |
double & | dMin, | ||
double & | dMax | ||
) |
Get the range of a parameter.
double
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
| |
[out] | dMin | The minimal value. |
[out] | dMax | The maximal value. |
RXLF_API void Rx::ApiLF::RxGetParRange | ( | EPar::ID | ePar, |
size_t & | iArrayLenMin, | ||
size_t & | iArrayLenMax, | ||
unsigned & | uMin, | ||
unsigned & | uMax | ||
) |
Get the range of a parameter. Some array-based parameter have a dynamic array size. The parameter iArrayLenMin and iArrayLenMax returns the allowed length of the array on a zero based index.
ePar | The parameter ID. Allowed enum values are:
| |
[out] | iArrayLenMin | Zero-based index of the array length minimum. |
[out] | iArrayLenMax | Zero-based index of the array length maximum. |
[out] | uMin | The minimum. |
[out] | uMax | The maximum. |
RXLF_API void Rx::ApiLF::RxGetParRange | ( | EPar::ID | ePar, |
size_t & | iArrayLenMin, | ||
size_t & | iArrayLenMax, | ||
double & | uMin, | ||
double & | uMax | ||
) |
Get the range of a parameter. Some array-based parameter have a dynamic array size. The parameter iArrayLenMin and iArrayLenMax returns the allowed length of the array on a zero based index.
ePar | The parameter ID. Allowed enum values are:
| |
[out] | iArrayLenMin | Zero-based index of the array length minimum. |
[out] | iArrayLenMax | Zero-based index of the array length maximum. |
[out] | uMin | The minimum. |
[out] | uMax | The maximum. |
RXLF_API void Rx::ApiLF::RxLoadParameter | ( | const Rx::CRxString & | sxFilename | ) |
Loads all writable API parameter from file. Its mandatory to bind a light field image before.
sxFilename | The filename. |
RXLF_API void Rx::ApiLF::RxSaveParameter | ( | const Rx::CRxString & | sxFilename | ) |
Saves all writable API parameter to file. Its mandatory to bind a light field image before.
This save routine will not store API parameter related to a specific device(e.g.camera or cuda device).
The following parameter groups are excluded from saving:
in addition to the excluded groups, the following parameter are also excluded:
sxFilename | The filename. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const unsigned & | uValue | ||
) |
Set a parameter of type unsigned
integer
.
unsigned
integer
parameter, then an Rx::ApiLF::CRxApiException is thrown.RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const double & | dValue | ||
) |
Set a parameter of type double
.
double
parameter, then an Rx::ApiLF::CRxApiException is thrown.RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const Rx::CRxString & | sValue | ||
) |
Set a parameter of type Rx::CRxString.
double
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
|
sValue | The parameter value. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const Rx::CRxArrayUInt & | aValue | ||
) |
Set a parameter of typeRx::CRxArrayUInt
.
Rx::CRxArrayUInt
parameter, then a Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
|
aValue | The value. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const Rx::CRxArrayDouble & | aValue | ||
) |
Set a parameter of type Rx::CRxArrayDouble.
Rx::CRxArrayDouble
parameter, then a Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
|
aValue | The value. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const Rx::CRxArrayString & | aValue | ||
) |
Set a parameter of type Rx::CRxArrayString.
Rx::CRxArrayString
parameter, then a Rx::ApiLF::CRxApiException is thrown.ePar | The parameter. |
aValue | The parameter's value. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
const unsigned & | uValue | ||
) |
Set a Parameter of type unsiged
. This function is related to void Rx::ApiLF::RxSetPar(Rx::ApiLF::EPar::ID ePar,const Rx::CRxArrayUInt aValue) and sets the Value of the array on the given index.
Rx::CRxArrayUInt
parameter, then a Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
|
uIndex | The index of the array. |
uValue | The value to set. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
const double & | dValue | ||
) |
Set a Parameter of type unsiged
. This function is related to void Rx::ApiLF::RxSetPar(EPar::ID ePar, const Rx::CRxArrayDouble& aValue) and sets the Value of the array on the given index.
Rx::CRxArrayDouble
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. Allowed enum values are:
|
uIndex | The index of the array. |
dValue | The value to set. |
RXLF_API void Rx::ApiLF::RxSetPar | ( | EPar::ID | ePar, |
const unsigned | uIndex, | ||
const Rx::CRxString & | sValue | ||
) |
Set a Parameter of type unsiged
. This function is related to void Rx::ApiLF::RxSetPar(EPar::ID ePar, const Rx::CRxArrayString& aValue) and sets the Value of the array on the given index.
Rx::CRxArrayString
parameter, then an Rx::ApiLF::CRxApiException is thrown.ePar | The parameter ID. |
uIndex | The index of the array. |
sValue | The value to set. |