CVCKindOfTransform transformation. More...
Typedefs | |
typedef void * | CVTRANSFORM |
CVB transformation handle. More... | |
Enumerations | |
enum | CVCKindOfTransform { CVCTK_Matrix2x2 , CVCTK_AffineMatrix3x2 , CVCTK_Matrix3x3 , CVCTK_AffineMatrix4x3 , CVCTK_Matrix4x4 , CVCTK_PerspectiveWarp } |
Specifies the meaning of the coefficients. More... | |
Functions | |
cvbbool_t | CVCIsTransformation (CVTRANSFORM hTransformation) |
Tests whether this is a CVB transformation object. More... | |
cvbres_t | CVCTGetCoefficientCount (CVTRANSFORM hTransformation, cvbdim_t &Count) |
Gets the number of coefficients needed for the transformation. More... | |
cvbres_t | CVCTGetCoefficients (CVTRANSFORM hTransformation, double *Coefficients) |
Writes the coefficients stored in the given hTransformation into the Coefficient buffer. More... | |
cvbres_t | CVCTGetKind (CVTRANSFORM hTransformation, CVCKindOfTransform &Kind) |
Gets the kind of transformation the hTransformation represents. More... | |
cvbres_t | CVCTSetCoefficients (CVTRANSFORM hTransformation, const double *Coefficients) |
Writes the given Coefficients buffer to the given hTransformation object. More... | |
CVCKindOfTransform transformation.
Stores a fixed size of Count **Coefficient**s. The meaning of these **Coefficient**s is specified by their Kind (see CVCKindOfTransform).
CVB transformation handle.
The CVTRANSFORM is a reference counted OBJ handle. CVTRANSFORM objects at least implement the ITransformation interface.
enum CVCKindOfTransform |
Specifies the meaning of the coefficients.
cvbbool_t CVCIsTransformation | ( | CVTRANSFORM | hTransformation | ) |
Tests whether this is a CVB transformation object.
[in] | hTransformation | Transformation handle to test. |
cvbres_t CVCTGetCoefficientCount | ( | CVTRANSFORM | hTransformation, |
cvbdim_t & | Count | ||
) |
Gets the number of coefficients needed for the transformation.
[in] | hTransformation | Transformation handle to query. |
[out] | Count | Variable to receive the number of coefficient elements. |
cvbres_t CVCTGetCoefficients | ( | CVTRANSFORM | hTransformation, |
double * | Coefficients | ||
) |
Writes the coefficients stored in the given hTransformation into the Coefficient buffer.
[in] | hTransformation | Transformation handle to query. |
[in] | Coefficients | Buffer to write coefficients to. |
cvbres_t CVCTGetKind | ( | CVTRANSFORM | hTransformation, |
CVCKindOfTransform & | Kind | ||
) |
Gets the kind of transformation the hTransformation represents.
[in] | hTransformation | Transformation handle to query. |
[out] | Kind | Variable to receive the kind of transformation. |
cvbres_t CVCTSetCoefficients | ( | CVTRANSFORM | hTransformation, |
const double * | Coefficients | ||
) |
Writes the given Coefficients buffer to the given hTransformation object.
[in] | hTransformation | Transformation to access. |
[in] | Coefficients | Buffer to read coefficients from. |