Typedefs | Functions
GLM_GTX_dual_quaternion

Defines a templated dual-quaternion type and several dual-quaternion operations. More...

Collaboration diagram for GLM_GTX_dual_quaternion:

Typedefs

typedef highp_ddualquat glm::ddualquat
 
typedef highp_fdualquat glm::dualquat
 
typedef highp_fdualquat glm::fdualquat
 
typedef detail::tdualquat< double, highpglm::highp_ddualquat
 
typedef detail::tdualquat< float, highpglm::highp_dualquat
 
typedef detail::tdualquat< float, highpglm::highp_fdualquat
 
typedef detail::tdualquat< double, lowpglm::lowp_ddualquat
 
typedef detail::tdualquat< float, lowpglm::lowp_dualquat
 
typedef detail::tdualquat< float, lowpglm::lowp_fdualquat
 
typedef detail::tdualquat< double, mediumpglm::mediump_ddualquat
 
typedef detail::tdualquat< float, mediumpglm::mediump_dualquat
 
typedef detail::tdualquat< float, mediumpglm::mediump_fdualquat
 

Functions

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat< T, Pglm::dualquat_cast (detail::tmat2x4< T, P > const &x)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat< T, Pglm::dualquat_cast (detail::tmat3x4< T, P > const &x)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat< T, Pglm::inverse (detail::tdualquat< T, P > const &q)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat< T, Pglm::lerp (detail::tdualquat< T, P > const &x, detail::tdualquat< T, P > const &y, T const &a)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tmat2x4< T, Pglm::mat2x4_cast (detail::tdualquat< T, P > const &x)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tmat3x4< T, Pglm::mat3x4_cast (detail::tdualquat< T, P > const &x)
 
template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat< T, Pglm::normalize (detail::tdualquat< T, P > const &q)
 

Detailed Description

Defines a templated dual-quaternion type and several dual-quaternion operations.

<glm/gtx/dual_quaternion.hpp> need to be included to use these functionalities.

Typedef Documentation

◆ ddualquat

Dual-quaternion of default double-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 278 of file dual_quaternion.hpp.

◆ dualquat

Dual-quaternion of floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 254 of file dual_quaternion.hpp.

◆ fdualquat

Dual-quaternion of single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 259 of file dual_quaternion.hpp.

◆ highp_ddualquat

Dual-quaternion of high double-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 247 of file dual_quaternion.hpp.

◆ highp_dualquat

Dual-quaternion of high single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 215 of file dual_quaternion.hpp.

◆ highp_fdualquat

Dual-quaternion of high single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 231 of file dual_quaternion.hpp.

◆ lowp_ddualquat

Dual-quaternion of low double-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 237 of file dual_quaternion.hpp.

◆ lowp_dualquat

Dual-quaternion of low single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 205 of file dual_quaternion.hpp.

◆ lowp_fdualquat

Dual-quaternion of low single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 221 of file dual_quaternion.hpp.

◆ mediump_ddualquat

Dual-quaternion of medium double-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 242 of file dual_quaternion.hpp.

◆ mediump_dualquat

Dual-quaternion of medium single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 210 of file dual_quaternion.hpp.

◆ mediump_fdualquat

Dual-quaternion of medium single-precision floating-point numbers.

See also
GLM_GTX_dual_quaternion

Definition at line 226 of file dual_quaternion.hpp.

Function Documentation

◆ dualquat_cast() [1/2]

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat<T, P> glm::dualquat_cast ( detail::tmat2x4< T, P > const &  x)

Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion.

See also
GLM_GTX_dual_quaternion

◆ dualquat_cast() [2/2]

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat<T, P> glm::dualquat_cast ( detail::tmat3x4< T, P > const &  x)

Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.

See also
GLM_GTX_dual_quaternion

◆ inverse()

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat<T, P> glm::inverse ( detail::tdualquat< T, P > const &  q)

Returns the q inverse.

See also
GLM_GTX_dual_quaternion

◆ lerp()

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat<T, P> glm::lerp ( detail::tdualquat< T, P > const &  x,
detail::tdualquat< T, P > const &  y,
T const &  a 
)

Returns the linear interpolation of two dual quaternion.

See also
GLM_GTX_dual_quaternion

◆ mat2x4_cast()

template<typename T , precision P>
GLM_FUNC_DECL detail::tmat2x4<T, P> glm::mat2x4_cast ( detail::tdualquat< T, P > const &  x)

Converts a quaternion to a 2 * 4 matrix.

See also
GLM_GTX_dual_quaternion

◆ mat3x4_cast()

template<typename T , precision P>
GLM_FUNC_DECL detail::tmat3x4<T, P> glm::mat3x4_cast ( detail::tdualquat< T, P > const &  x)

Converts a quaternion to a 3 * 4 matrix.

See also
GLM_GTX_dual_quaternion

◆ normalize()

template<typename T , precision P>
GLM_FUNC_DECL detail::tdualquat<T, P> glm::normalize ( detail::tdualquat< T, P > const &  q)

Returns the normalized quaternion.

See also
GLM_GTX_dual_quaternion


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26