htransform.c
Go to the documentation of this file.
const THTransform matrix_zero A global constant that defines the zero matrix. Definition: htransform.c:38 void HTransformApply(double *p_in, double *p_out, THTransform *t) Multiply a homogeneous transform and a vector. Definition: htransform.c:782 void HTransformTxyz(double tx, double ty, double tz, THTransform *t) Constructor. Definition: htransform.c:146 void HTransformPrettyPrint(FILE *f, THTransform *t) Prints a homogenoeus transform compactly. Definition: htransform.c:863 CBLAS_INLINE void HTransformAcumRot2(THTransform *t_in, unsigned int type, double s, double c, THTransform *t) Computes the result of multiplying a homogeneous transform by a rotation matrix. Definition: htransform.c:770 void HTransformTranspose(THTransform *t, THTransform *tt) Transpose of a homogeneous transform. Definition: htransform.c:672 A homgeneous transform in R^3. CBLAS_INLINE void HTransformAcumTrans2(THTransform *t_in, double tx, double ty, double tz, THTransform *t) Computes the result of multiplying a homogeneous transform by a translation matrix with parameters tx... Definition: htransform.c:710 void HTransformApplyRot(double *p_in, double *p_out, THTransform *t) Multiply the rotation part of the homogeneous transform and a vector. Definition: htransform.c:801 CBLAS_INLINE void HTransformSubstract(THTransform *t1, THTransform *t2, THTransform *t3) Substraction of two homogeneous transforms. Definition: htransform.c:472 CBLAS_INLINE void HTransformAcumTrans(double tx, double ty, double tz, THTransform *t) Computes the result of multiplying a homogeneous transform by a translation matrix with parameters tx... Definition: htransform.c:695 CBLAS_INLINE void HTransform2GLMatrix(double *m, THTransform *t) Defines a GL column-major matrix from a homogeneous transform. Definition: htransform.c:357 void HTransformYawPitchRoll(double a, double b, double c, THTransform *t) Defines a rotation matrix from the yaw, pitch, and roll parameters. Definition: htransform.c:625 #define MATRIX_INT_COPY(td, to) A fast way to copy one matrix (to) into another matrix(td) Definition: htransform.c:62 CBLAS_INLINE void HTransformProduct(THTransform *t1, THTransform *t2, THTransform *t3) Product of two homogeneous transforms. Definition: htransform.c:410 #define ZERO Floating point operations giving a value below this constant (in absolute value) are considered 0... Definition: defines.h:37 void HTransformX2Vect(double sy, double sz, double *p1, double *p2, THTransform *t) Transform a unitary vector along the X axis to a generic vector. Definition: htransform.c:574 boolean HTransformIsTranslation(THTransform *t) Identify the translation matrices. Definition: htransform.c:102 Error and warning functions. double HTransformGetElement(unsigned int i, unsigned int j, THTransform *t) Gets an element in a homogeneous transform. Definition: htransform.c:329 void HTransformFromVectors(double *x, double *y, double *z, double *h, THTransform *t) Defines a homogeneous transform from 4 vectors. Definition: htransform.c:341 double Distance(unsigned int s, double *v1, double *v2) Computes the distance of two points. Definition: basic_algebra.c:438 void HTransformInverse(THTransform *t, THTransform *ti) Inverse of a homogeneous transform. Definition: htransform.c:503 void GetYawPitchRoll(double *a, double *b, double *c, THTransform *t) Recovers the Euler angles from a rotation matrix. Definition: htransform.c:634 CBLAS_INLINE void HTransformAdd(THTransform *t1, THTransform *t2, THTransform *t3) Addition of two homogeneous transforms. Definition: htransform.c:443 Definition of the THTransform type and the associated functions. CBLAS_INLINE void HTransformFromGLMatrix(double *m, THTransform *t) Defines homogeneous transform from a GL matrix. Definition: htransform.c:379 CBLAS_INLINE void HTransformAcumRot(unsigned int type, double s, double c, THTransform *t) Computes the result of multiplying a homogeneous transform by a rotation matrix. Definition: htransform.c:727 const THTransform matrix_identity A global constant that defines the identity matrix. Definition: htransform.c:28 void HTransformSetElement(unsigned int i, unsigned int j, double v, THTransform *t) Sets an element in a homogeneous transform. Definition: htransform.c:312 void HTransformCopy(THTransform *t_dst, THTransform *t_src) Copy constructor. Definition: htransform.c:83 void HTransformPrintT(FILE *f, THTransform *t) Prints the transpose of a homogeneous transform to a file. Definition: htransform.c:848 void HTransformCreate(unsigned int dof_r3, double v, THTransform *t) Constructor. Definition: htransform.c:278 void HTransformPrint(FILE *f, THTransform *t) Prints the a homogeneous transform to a file. Definition: htransform.c:822 void HTransformOrthonormalize(THTransform *t, THTransform *ta) Orthonormalizes the rotation part of a homogenouos transform. Definition: htransform.c:529 boolean HTransformIsIdentity(THTransform *t) Identify the identity matrix. Definition: htransform.c:91 |
Follow us!