CycloPos Header version 1.0.0
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
cyMath.h File Reference
#include "cyBase.h"
#include "gzMathMatrix.h"

Go to the source code of this file.

Functions

gzMatrixf getRobustProjectionMatrix (const gzMatrixf &F, const gzMatrixf &K0, const gzMatrixf &K1, const gzVectorf &matchPointA_1, const gzVectorf &matchPointB_1, const gzVectorf &matchPointA_2, const gzVectorf &matchPointB_2, const gzVectorf &matchPointA_3, const gzVectorf &matchPointB_3, gzVectorf *point_1=NULL, gzVectorf *point_2=NULL, gzVectorf *point_3=NULL)
gzBool updateKanataniProjection (const gzMatrixf &F, gzVectorf &x, gzVectorf &xp)
gzBool decomposeProjectionMatrix (const gzMatrixf &matrix, gzVectorf &translation, gzFloat &H, gzFloat &P, gzFloat &R)
gzBool decomposeRotationMatrix (const gzMatrixf &matrix, gzFloat &H, gzFloat &P, gzFloat &R)
gzMatrixf composeProjectionMatrix (const gzVectorf &translation, const gzFloat &H, const gzFloat &P, const gzFloat &R)
gzMatrixf composeProjectionMatrix (const gzVectorf &target, const gzVectorf &pos, const gzFloat &R)
gzMatrixf composeRotationMatrix (const gzFloat &H, const gzFloat &P, const gzFloat &R)
gzMatrixf composeKMatrix (const gzFloat &fx, const gzFloat &fy, const gzFloat &x0=0.0f, const gzFloat &y0=0.0f, const gzFloat &s=0.0f)
gzMatrixf composeFMatrix (const gzMatrixf &K0, const gzMatrixf &K1, const gzMatrixf &R, const gzVectorf &t)
const gzMatrixf & getDeterminantFlip4 ()
const gzMatrixf & getZFlip4 ()
const gzMatrixf & getDeterminantFlip3 ()
gzFloat angle (const gzFloat &X, const gzFloat &Y)
gzFloat samson_distance_mag (gzVectorf &x, gzVectorf &xp, gzMatrixf &F)
gzFloat projected_distance_mag (gzVectorf &x, gzVectorf &xp, gzMatrixf &F)

Function Documentation

◆ angle()

gzFloat angle ( const gzFloat & X,
const gzFloat & Y )
inline

Definition at line 44 of file cyMath.h.

References angle().

Referenced by angle().

◆ composeFMatrix()

gzMatrixf composeFMatrix ( const gzMatrixf & K0,
const gzMatrixf & K1,
const gzMatrixf & R,
const gzVectorf & t )

References composeFMatrix(), and CY_EXPORT.

Referenced by composeFMatrix().

◆ composeKMatrix()

gzMatrixf composeKMatrix ( const gzFloat & fx,
const gzFloat & fy,
const gzFloat & x0 = 0.0f,
const gzFloat & y0 = 0.0f,
const gzFloat & s = 0.0f )

References composeKMatrix(), and CY_EXPORT.

Referenced by composeKMatrix().

◆ composeProjectionMatrix() [1/2]

gzMatrixf composeProjectionMatrix ( const gzVectorf & target,
const gzVectorf & pos,
const gzFloat & R )

◆ composeProjectionMatrix() [2/2]

gzMatrixf composeProjectionMatrix ( const gzVectorf & translation,
const gzFloat & H,
const gzFloat & P,
const gzFloat & R )

◆ composeRotationMatrix()

gzMatrixf composeRotationMatrix ( const gzFloat & H,
const gzFloat & P,
const gzFloat & R )

◆ decomposeProjectionMatrix()

gzBool decomposeProjectionMatrix ( const gzMatrixf & matrix,
gzVectorf & translation,
gzFloat & H,
gzFloat & P,
gzFloat & R )

◆ decomposeRotationMatrix()

gzBool decomposeRotationMatrix ( const gzMatrixf & matrix,
gzFloat & H,
gzFloat & P,
gzFloat & R )

◆ getDeterminantFlip3()

const gzMatrixf & getDeterminantFlip3 ( )

References CY_EXPORT, and getDeterminantFlip3().

Referenced by getDeterminantFlip3().

◆ getDeterminantFlip4()

const gzMatrixf & getDeterminantFlip4 ( )

References CY_EXPORT, and getDeterminantFlip4().

Referenced by getDeterminantFlip4().

◆ getRobustProjectionMatrix()

gzMatrixf getRobustProjectionMatrix ( const gzMatrixf & F,
const gzMatrixf & K0,
const gzMatrixf & K1,
const gzVectorf & matchPointA_1,
const gzVectorf & matchPointB_1,
const gzVectorf & matchPointA_2,
const gzVectorf & matchPointB_2,
const gzVectorf & matchPointA_3,
const gzVectorf & matchPointB_3,
gzVectorf * point_1 = NULL,
gzVectorf * point_2 = NULL,
gzVectorf * point_3 = NULL )

◆ getZFlip4()

const gzMatrixf & getZFlip4 ( )

References CY_EXPORT, and getZFlip4().

Referenced by getZFlip4().

◆ projected_distance_mag()

gzFloat projected_distance_mag ( gzVectorf & x,
gzVectorf & xp,
gzMatrixf & F )
inline

Definition at line 78 of file cyMath.h.

References projected_distance_mag().

Referenced by projected_distance_mag().

◆ samson_distance_mag()

gzFloat samson_distance_mag ( gzVectorf & x,
gzVectorf & xp,
gzMatrixf & F )
inline

Definition at line 62 of file cyMath.h.

References samson_distance_mag().

Referenced by samson_distance_mag().

◆ updateKanataniProjection()

gzBool updateKanataniProjection ( const gzMatrixf & F,
gzVectorf & x,
gzVectorf & xp )