GAMS  1.4.0
gams::pose::unit_traits< units::absolute< units::plane_angle > >::mixin Struct Reference

#include <Coordinate.h>

Inheritance diagram for gams::pose::unit_traits< units::absolute< units::plane_angle > >::mixin:
gams::pose::basic_rotational_mixin< Derived > gams::pose::common_rotational_mixin< Derived >

Public Types

using Base = basic_rotational_mixin< Derived >
 

Public Member Functions

double angle_to (const Derived &target) const
 
template<typename U >
double angle_to (const Derived &target, U u) const
 
void from_quat (const Eigen::Quaterniond &quat)
 
Eigen::Quaterniond into_quat () const
 Represent this rotation as a quaternion. More...
 
Eigen::Vector3d & ori_vec ()
 
const Eigen::Vector3d & ori_vec () const
 
double rx () const
 
double rx (double v)
 
double ry () const
 
double ry (double v)
 
double rz () const
 
double rz (double v)
 
Derived & self ()
 
const Derived & self () const
 
const Derived & self () const
 
template<typename Other >
auto slerp (const Other &other, double scale) -> typename std::decay< decltype(other.into_quat(), std::declval< Derived >())>::type
 
template<typename Other >
auto slerp (double scale, const Other &other) -> typename std::decay< decltype(other.into_quat(), std::declval< Derived >())>::type
 
template<typename Other >
auto slerp_this (const Other &other, double scale) -> decltype(other.into_quat(), void())
 
template<typename Other >
auto slerp_this (double scale, const Other &other) -> decltype(other.into_quat(), void())
 

Detailed Description

Definition at line 443 of file Coordinate.h.

Member Typedef Documentation

◆ Base

Member Function Documentation

◆ angle_to() [1/2]

template<typename Derived >
double gams::pose::common_rotational_mixin< Derived >::angle_to ( const Derived &  target) const
inlineinherited

Definition at line 353 of file Coordinate.h.

◆ angle_to() [2/2]

template<typename Derived >
template<typename U >
double gams::pose::common_rotational_mixin< Derived >::angle_to ( const Derived &  target,
u 
) const
inlineinherited

Definition at line 359 of file Coordinate.h.

◆ from_quat()

template<typename Derived >
void gams::pose::basic_rotational_mixin< Derived >::from_quat ( const Eigen::Quaterniond &  quat)
inlineinherited

Definition at line 400 of file Coordinate.h.

◆ into_quat()

template<typename Derived >
Eigen::Quaterniond gams::pose::basic_rotational_mixin< Derived >::into_quat ( ) const
inlineinherited

Represent this rotation as a quaternion.

Returns
Quaternion representation.

Definition at line 384 of file Coordinate.h.

◆ ori_vec() [1/2]

Eigen::Vector3d& gams::pose::unit_traits< units::absolute< units::plane_angle > >::mixin::ori_vec ( )
inline

Definition at line 447 of file Coordinate.h.

◆ ori_vec() [2/2]

const Eigen::Vector3d& gams::pose::unit_traits< units::absolute< units::plane_angle > >::mixin::ori_vec ( ) const
inline

Definition at line 448 of file Coordinate.h.

◆ rx() [1/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::rx ( ) const
inlineinherited

Definition at line 372 of file Coordinate.h.

◆ rx() [2/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::rx ( double  v)
inlineinherited

Definition at line 376 of file Coordinate.h.

◆ ry() [1/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::ry ( ) const
inlineinherited

Definition at line 373 of file Coordinate.h.

◆ ry() [2/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::ry ( double  v)
inlineinherited

Definition at line 377 of file Coordinate.h.

◆ rz() [1/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::rz ( ) const
inlineinherited

Definition at line 374 of file Coordinate.h.

◆ rz() [2/2]

template<typename Derived >
double gams::pose::basic_rotational_mixin< Derived >::rz ( double  v)
inlineinherited

Definition at line 378 of file Coordinate.h.

◆ self() [1/3]

Derived& gams::pose::common_rotational_mixin< Derived >::self
inline

Definition at line 350 of file Coordinate.h.

◆ self() [2/3]

template<typename Derived >
const Derived& gams::pose::common_rotational_mixin< Derived >::self ( ) const
inlineinherited

Definition at line 351 of file Coordinate.h.

◆ self() [3/3]

const Derived& gams::pose::common_rotational_mixin< Derived >::self
inline

Definition at line 351 of file Coordinate.h.

◆ slerp() [1/2]

template<typename Derived >
template<typename Other >
auto gams::pose::basic_rotational_mixin< Derived >::slerp ( const Other &  other,
double  scale 
) -> typename std::decay<decltype(other.into_quat(), std::declval<Derived>())>::type
inlineinherited

Definition at line 414 of file Coordinate.h.

◆ slerp() [2/2]

template<typename Derived >
template<typename Other >
auto gams::pose::basic_rotational_mixin< Derived >::slerp ( double  scale,
const Other &  other 
) -> typename std::decay<decltype(other.into_quat(), std::declval<Derived>())>::type
inlineinherited

Definition at line 406 of file Coordinate.h.

◆ slerp_this() [1/2]

template<typename Derived >
template<typename Other >
auto gams::pose::basic_rotational_mixin< Derived >::slerp_this ( const Other &  other,
double  scale 
) -> decltype(other.into_quat(), void())
inlineinherited

Definition at line 429 of file Coordinate.h.

◆ slerp_this() [2/2]

template<typename Derived >
template<typename Other >
auto gams::pose::basic_rotational_mixin< Derived >::slerp_this ( double  scale,
const Other &  other 
) -> decltype(other.into_quat(), void())
inlineinherited

Definition at line 422 of file Coordinate.h.


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