Blender V2.61 - r43446

KDL::Rall1d< T, V, S > Class Template Reference

#include <rall1d.h>

List of all members.

Public Types

typedef T valuetype
typedef V gradienttype
typedef S scalartype

Public Member Functions

INLINE Rall1d ()
value () const
V deriv () const
INLINE Rall1d (typename TI< T >::Arg c)
INLINE Rall1d (typename TI< T >::Arg tn, typename TI< V >::Arg afg)
INLINE Rall1d (const Rall1d< T, V, S > &r)
INLINE T & Value ()
INLINE VGradient ()
INLINE Rall1d< T, V, S > & operator= (S c)
INLINE Rall1d< T, V, S > & operator= (const Rall1d< T, V, S > &r)
INLINE Rall1d< T, V, S > & operator/= (const Rall1d< T, V, S > &rhs)
INLINE Rall1d< T, V, S > & operator*= (const Rall1d< T, V, S > &rhs)
INLINE Rall1d< T, V, S > & operator+= (const Rall1d< T, V, S > &rhs)
INLINE Rall1d< T, V, S > & operator-= (const Rall1d< T, V, S > &rhs)
INLINE Rall1d< T, V, S > & operator/= (S rhs)
INLINE Rall1d< T, V, S > & operator*= (S rhs)
INLINE Rall1d< T, V, S > & operator+= (S rhs)
INLINE Rall1d< T, V, S > & operator-= (S rhs)

Static Public Member Functions

static INLINE Rall1d< T, V, S > Zero ()
static INLINE Rall1d< T, V, S > Identity ()

Public Attributes

t
 value
V grad
 gradient

Detailed Description

template<typename T, typename V = T, typename S = T>
class KDL::Rall1d< T, V, S >

Rall1d contains a value, and its gradient, and defines an algebraic structure on this pair. This template class has 3 template parameters :

  • T contains the type of the value.
  • V contains the type of the gradient (can be a vector-like type).
  • S defines a scalar type that can operate on Rall1d. This is the type that is used to give back values of Norm() etc.

S is usefull when you recurse a Rall1d object into itself to create a 2nd, 3th, 4th,.. derivatives. (e.g. Rall1d< Rall1d<double>, Rall1d<double>, double> ).

S is always passed by value.

Class Type
Concrete implementation

Definition at line 48 of file rall1d.h.


Member Typedef Documentation

template<typename T, typename V = T, typename S = T>
typedef V KDL::Rall1d< T, V, S >::gradienttype

Definition at line 52 of file rall1d.h.

template<typename T, typename V = T, typename S = T>
typedef S KDL::Rall1d< T, V, S >::scalartype

Definition at line 53 of file rall1d.h.

template<typename T, typename V = T, typename S = T>
typedef T KDL::Rall1d< T, V, S >::valuetype

Definition at line 51 of file rall1d.h.


Constructor & Destructor Documentation

template<typename T, typename V = T, typename S = T>
INLINE KDL::Rall1d< T, V, S >::Rall1d ( ) [inline]

Definition at line 58 of file rall1d.h.

template<typename T, typename V = T, typename S = T>
INLINE KDL::Rall1d< T, V, S >::Rall1d ( typename TI< T >::Arg  c) [inline, explicit]

Definition at line 67 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, KDL::SetToZero(), T, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE KDL::Rall1d< T, V, S >::Rall1d ( typename TI< T >::Arg  tn,
typename TI< V >::Arg  afg 
) [inline]

Definition at line 70 of file rall1d.h.

template<typename T, typename V = T, typename S = T>
INLINE KDL::Rall1d< T, V, S >::Rall1d ( const Rall1d< T, V, S > &  r) [inline]

Definition at line 72 of file rall1d.h.


Member Function Documentation

template<typename T, typename V = T, typename S = T>
V KDL::Rall1d< T, V, S >::deriv ( ) const [inline]

Definition at line 63 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad.

template<typename T, typename V = T, typename S = T>
INLINE V& KDL::Rall1d< T, V, S >::Gradient ( ) [inline]

Definition at line 81 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad.

template<typename T, typename V = T, typename S = T>
static INLINE Rall1d<T,V,S> KDL::Rall1d< T, V, S >::Identity ( ) [inline, static]

Definition at line 90 of file rall1d.h.

References KDL::SetToIdentity().

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator*= ( const Rall1d< T, V, S > &  rhs) [inline]
template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator*= ( rhs) [inline]

Definition at line 137 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator+= ( const Rall1d< T, V, S > &  rhs) [inline]

Definition at line 116 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator+= ( rhs) [inline]

Definition at line 144 of file rall1d.h.

References KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator-= ( rhs) [inline]

Definition at line 150 of file rall1d.h.

References KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator-= ( const Rall1d< T, V, S > &  rhs) [inline]

Definition at line 123 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator/= ( const Rall1d< T, V, S > &  rhs) [inline]

Definition at line 102 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, KDL::LinComb(), and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator/= ( rhs) [inline]

Definition at line 130 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator= ( const Rall1d< T, V, S > &  r) [inline]

Definition at line 99 of file rall1d.h.

References KDL::Rall1d< T, V, S >::grad, and KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
INLINE Rall1d<T,V,S>& KDL::Rall1d< T, V, S >::operator= ( c) [inline]
template<typename T, typename V = T, typename S = T>
INLINE T& KDL::Rall1d< T, V, S >::Value ( ) [inline]

Definition at line 77 of file rall1d.h.

References KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
T KDL::Rall1d< T, V, S >::value ( ) const [inline]

Definition at line 60 of file rall1d.h.

References KDL::Rall1d< T, V, S >::t.

template<typename T, typename V = T, typename S = T>
static INLINE Rall1d<T,V,S> KDL::Rall1d< T, V, S >::Zero ( ) [inline, static]

Definition at line 85 of file rall1d.h.

References KDL::SetToZero().


Member Data Documentation


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