Defines | Functions
quat_slerp.cpp File Reference
#include <iostream>
#include <Eigen/Geometry>
#include <bench/BenchTimer.h>
Include dependency graph for quat_slerp.cpp:

Go to the source code of this file.

Defines

#define BENCH(FUNC)

Functions

int main ()
template<typename Q >
EIGEN_DONT_INLINE Q nlerp (const Q &a, const Q &b, typename Q::Scalar t)
template<typename T >
T sin_over_x (T x)
template<typename Q >
EIGEN_DONT_INLINE Q slerp_eigen (const Q &a, const Q &b, typename Q::Scalar t)
template<typename Q >
EIGEN_DONT_INLINE Q slerp_gael (const Q &a, const Q &b, typename Q::Scalar t)
template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy (const Q &a, const Q &b, typename Q::Scalar t)
template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy_nlerp (const Q &a, const Q &b, typename Q::Scalar t)
template<typename Q >
EIGEN_DONT_INLINE Q slerp_rw (const Q &a, const Q &b, typename Q::Scalar t)

Define Documentation

#define BENCH (   FUNC)
Value:
{\
    BenchTimer t; \
    for(int k=0; k<2; ++k) {\
      t.start(); \
      for(int i=0; i<1000000; ++i) \
        FUNC(a,b,s); \
      t.stop(); \
    } \
    cout << "  " << #FUNC << " => \t " << t.value() << "s\n"; \
  }

Function Documentation

int main ( void  )

Definition at line 144 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q nlerp ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 11 of file quat_slerp.cpp.

template<typename T >
T sin_over_x ( T  x) [inline]

Definition at line 76 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_eigen ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 17 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_gael ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 109 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 23 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_legacy_nlerp ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 45 of file quat_slerp.cpp.

template<typename Q >
EIGEN_DONT_INLINE Q slerp_rw ( const Q a,
const Q b,
typename Q::Scalar  t 
)

Definition at line 85 of file quat_slerp.cpp.



libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:06