Robotics Library
0.7.0
|
#include <SplineQuaternion.h>
Public Types | |
typedef ::std::vector< Polynomial< Quaternion > >::const_iterator | ConstIterator |
typedef ::std::vector< Polynomial< Quaternion > >::const_reverse_iterator | ConstReverseIterator |
typedef ::std::vector< Polynomial< Quaternion > >::iterator | Iterator |
typedef ::std::vector< Polynomial< Quaternion > >::reverse_iterator | ReverseIterator |
Public Member Functions | |
Spline () | |
virtual | ~Spline () |
Polynomial< Quaternion > & | at (const ::std::size_t &i) |
const Polynomial< Quaternion > & | at (const ::std::size_t &i) const |
Polynomial< Quaternion > & | back () |
const Polynomial< Quaternion > & | back () const |
Iterator | begin () |
ConstIterator | begin () const |
void | clear () |
Spline< Quaternion > * | clone () const |
Real | duration () const |
bool | empty () |
Iterator | end () |
ConstIterator | end () const |
Polynomial< Quaternion > & | front () |
const Polynomial< Quaternion > & | front () const |
Real & | lower () |
const Real & | lower () const |
Quaternion | operator() (const Real &x, const ::std::size_t &derivative=0) const |
Evaluates the function or a derivative thereof for a given value x. More... | |
Polynomial< Quaternion > & | operator[] (const ::std::size_t &i) |
const Polynomial< Quaternion > & | operator[] (const ::std::size_t &i) const |
void | pop_back () |
void | push_back (Polynomial< Quaternion > &polynomial) |
::std::size_t | size () const |
ReverseIterator | rbegin () |
ConstReverseIterator | rbegin () const |
ReverseIterator | rend () |
ConstReverseIterator | rend () const |
Real & | upper () |
const Real & | upper () const |
Public Member Functions inherited from rl::math::Function< Quaternion > | |
Function () | |
virtual | ~Function () |
virtual Function * | clone () const=0 |
Real | duration () const |
Real & | lower () |
const Real & | lower () const |
Real & | upper () |
const Real & | upper () const |
Static Public Member Functions | |
static Spline< Quaternion > | CubicFirst (const ::std::vector< Real > &x, const ::std::vector< Quaternion > &y, const Vector3 &yd0, const Vector3 &yd1) |
Protected Attributes | |
::std::vector< Polynomial< Quaternion > > | polynomials |
Real | x0 |
Real | x1 |
Protected Attributes inherited from rl::math::Function< Quaternion > | |
Real | x0 |
Real | x1 |
Static Private Member Functions | |
static Vector3 | B (const Vector3 &e, const Real &dtheta, const Vector3 &x) |
static Vector3 | invB (const Vector3 &e, const Real &dtheta, const Vector3 &x) |
static Vector3 | R (const Vector3 &e, const Real &dtheta, const Vector3 &omega) |
typedef ::std::vector<Polynomial<Quaternion> >::const_iterator rl::math::Spline< Quaternion >::ConstIterator |
typedef ::std::vector<Polynomial<Quaternion> >::const_reverse_iterator rl::math::Spline< Quaternion >::ConstReverseIterator |
typedef ::std::vector<Polynomial<Quaternion> >::iterator rl::math::Spline< Quaternion >::Iterator |
typedef ::std::vector<Polynomial<Quaternion> >::reverse_iterator rl::math::Spline< Quaternion >::ReverseIterator |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inlinevirtual |
Evaluates the function or a derivative thereof for a given value x.
Some functions are only defined in the interval [lower(), upper()], and fail to evaluate outside of [lower() - FUNCTION_BOUNDARY, upper() + FUNCTION_BOUNDARY]. In Debug mode, this is signaled by failing asserts. In Release mode, the function is evaluated if algebraically possible, or will return an empty ArrayX otherwise. Some functions are not indefinitely often differentiable, and will return a NaN array for all higher orders.
[in] | x | Input value of the function or derivative |
[in] | derivative | Order of the derivative to be evaluated |
Implements rl::math::Function< Quaternion >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |