GAMS  1.2.2
gams::pose::unit_traits< units::plane_angle >::mixin< Derived > Struct Template Reference

#include <Coordinate.h>

Inheritance diagram for gams::pose::unit_traits< units::plane_angle >::mixin< Derived >:
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 & rot_vec ()
 
const Eigen::Vector3d & rot_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
 
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 (const Other &other, double scale) -> typename std::decay< decltype(other.into_quat(), std::declval< Derived >())>::type
 
template<typename Other >
auto slerp_this (double scale, const Other &other) -> decltype(other.into_quat(), void())
 
template<typename Other >
auto slerp_this (const Other &other, double scale) -> decltype(other.into_quat(), void())
 

Detailed Description

template<>
template<typename Derived>
struct gams::pose::unit_traits< units::plane_angle >::mixin< Derived >

Definition at line 456 of file Coordinate.h.

Member Typedef Documentation

template<typename Derived >
using gams::pose::unit_traits< units::plane_angle >::mixin< Derived >::Base = basic_rotational_mixin<Derived>

Definition at line 457 of file Coordinate.h.

Member Function Documentation

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

Definition at line 350 of file Coordinate.h.

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

Definition at line 356 of file Coordinate.h.

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

Definition at line 397 of file Coordinate.h.

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 381 of file Coordinate.h.

template<typename Derived >
Eigen::Vector3d& gams::pose::unit_traits< units::plane_angle >::mixin< Derived >::rot_vec ( )
inline

Definition at line 460 of file Coordinate.h.

template<typename Derived >
const Eigen::Vector3d& gams::pose::unit_traits< units::plane_angle >::mixin< Derived >::rot_vec ( ) const
inline

Definition at line 461 of file Coordinate.h.

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

Definition at line 369 of file Coordinate.h.

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

Definition at line 373 of file Coordinate.h.

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

Definition at line 370 of file Coordinate.h.

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

Definition at line 374 of file Coordinate.h.

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

Definition at line 371 of file Coordinate.h.

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

Definition at line 375 of file Coordinate.h.

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

Definition at line 347 of file Coordinate.h.

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

Definition at line 348 of file Coordinate.h.

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 403 of file Coordinate.h.

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 411 of file Coordinate.h.

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 419 of file Coordinate.h.

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 426 of file Coordinate.h.


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