Monado OpenXR Runtime
xrt::tracking::hand::mercury::lm::Quat< Scalar > Struct Template Reference
Collaboration diagram for xrt::tracking::hand::mercury::lm::Quat< Scalar >:

Public Member Functions

constexpr Quat ()
 Default constructor - DOES NOT INITIALIZE VALUES. More...
 
constexpr Quat (Quat const &) noexcept(std::is_nothrow_copy_constructible_v< Scalar >)=default
 Copy constructor. More...
 
 Quat (Quat &&) noexcept(std::is_nothrow_move_constructible_v< Scalar >)=default
 Move constructor. More...
 
Quatoperator= (Quat const &)=default
 Copy assignment. More...
 
Quatoperator= (Quat &&) noexcept=default
 Move assignment. More...
 
template<typename Other >
constexpr Quat (Other x, Other y, Other z, Other w) noexcept
 Construct from x, y, z, w scalars. More...
 
template<typename Other >
 Quat (Quat< Other > const &other)
 So that we can copy a regular Vec2 into the real part of a Jet Vec2. More...
 

Static Public Member Functions

static Quat Identity ()
 

Data Fields

Scalar x = {}
 
Scalar y = {}
 
Scalar z = {}
 
Scalar w = {}
 

Constructor & Destructor Documentation

◆ Quat() [1/5]

template<typename Scalar >
constexpr xrt::tracking::hand::mercury::lm::Quat< Scalar >::Quat ( )
inlineconstexpr

Default constructor - DOES NOT INITIALIZE VALUES.

◆ Quat() [2/5]

template<typename Scalar >
constexpr xrt::tracking::hand::mercury::lm::Quat< Scalar >::Quat ( Quat< Scalar > const &  ) const
constexprdefaultnoexcept

Copy constructor.

◆ Quat() [3/5]

template<typename Scalar >
xrt::tracking::hand::mercury::lm::Quat< Scalar >::Quat ( Quat< Scalar > &&  ) const
defaultnoexcept

Move constructor.

◆ Quat() [4/5]

template<typename Scalar >
template<typename Other >
constexpr xrt::tracking::hand::mercury::lm::Quat< Scalar >::Quat ( Other  x,
Other  y,
Other  z,
Other  w 
)
inlineconstexprnoexcept

Construct from x, y, z, w scalars.

◆ Quat() [5/5]

template<typename Scalar >
template<typename Other >
xrt::tracking::hand::mercury::lm::Quat< Scalar >::Quat ( Quat< Other > const &  other)
inline

So that we can copy a regular Vec2 into the real part of a Jet Vec2.

Member Function Documentation

◆ operator=() [1/2]

template<typename Scalar >
Quat & xrt::tracking::hand::mercury::lm::Quat< Scalar >::operator= ( Quat< Scalar > &&  )
defaultnoexcept

Move assignment.

◆ operator=() [2/2]

template<typename Scalar >
Quat & xrt::tracking::hand::mercury::lm::Quat< Scalar >::operator= ( Quat< Scalar > const &  )
default

Copy assignment.


The documentation for this struct was generated from the following file: