Aurelon Open API 8.1.1
|
Base class for functions. More...
Public Member Functions | |
int | GetInputSize () const |
int | GetOutputSize () const |
void | Transform (double *in, double *out) const |
bool | GetInfo (uint32_t &nrBounds, double *bounds) |
Base class for functions.
Definition at line 10 of file AOI_Function.h.
bool AOI_Function::GetInfo | ( | uint32_t & | nrBounds, |
double * | bounds ) |
Returns the number of bounds and if bounds not is NULL the values of the bounds. If the number of bounds is unknown first call this function with bounds set to NULL. It will supply the number of bounds, after which it can be called with a bounds array large enough to hold the bounds.
nrBounds | Recieves the number of bounds. |
bounds | Receives the bounds if supplied. |
Definition at line 110 of file AOI_Function.cpp.
int AOI_Function::GetInputSize | ( | ) | const |
Returns the number of input values needed.
Definition at line 55 of file AOI_Function.cpp.
int AOI_Function::GetOutputSize | ( | ) | const |
Returns the number of output values.
Definition at line 66 of file AOI_Function.cpp.
void AOI_Function::Transform | ( | double * | in, |
double * | out ) const |
Takes the values in the 'in' array to fill the 'out' array.
'in' should be filled with GetInputSize() values, 'out' will be filled with GetOutputSize() values.
in | The values to convert. |
out | The resulting values after the function has been applied to the values in 'in'. |
Definition at line 81 of file AOI_Function.cpp.