Joint< Real > Class Template Reference

#include <Joint.h>

List of all members.

Public Member Functions

void fromString (const char *str)
void fromString (unsigned int nrjoints, const char *str)
void get (unsigned int NrJoints, Real *d) const
Real get (unsigned int i) const
Real getMax () const
unsigned int getMaxInd () const
Real getMin () const
unsigned int getMinInd () const
unsigned int getNrJoints () const
Joint interpolate (const Joint &j2, Real f) const
 Joint (unsigned int NrJoints, const Real d[])
 Joint (const Joint &joints)
 Joint (unsigned int NrJoints, bool zero=false)
 Joint ()
Real length () const
Real lengthSqr () const
Joint operator* (Real s) const
void operator*= (Real s)
Joint operator+ (const Joint &rhs) const
void operator+= (const Joint &rhs)
Joint operator- (const Joint &rhs) const
void operator-= (const Joint &rhs)
Joint operator/ (Real s) const
void operator/= (Real s)
Jointoperator= (const Joint &joint)
bool operator== (const Joint &rhs) const
Real operator[] (unsigned int i) const
Real & operator[] (unsigned int i)
void print ()
void set (unsigned int NrJoints, Real *d)
void set (unsigned int i, Real d)
void setNrJoints (unsigned int NrJoints)
unsigned int size () const
void toDeg ()
void toRad ()
std::string toString (bool convert=false) const
void zero ()
virtual ~Joint ()

Static Public Member Functions

static Joint interpolate (const Joint &j1, const Joint &j2, Real f)

Private Attributes

Real * m_Joints
unsigned int m_NrJoints

Detailed Description

template<class Real>
class Joint< Real >

Definition at line 128 of file Joint.h.


Constructor & Destructor Documentation

template<class Real >
Joint< Real >::Joint (  )  [inline]

Definition at line 269 of file Joint.h.

template<class Real >
Joint< Real >::Joint ( unsigned int  NrJoints,
bool  zero = false 
) [inline]

Definition at line 277 of file Joint.h.

template<class Real >
Joint< Real >::Joint ( const Joint< Real > &  joints  )  [inline]

Definition at line 288 of file Joint.h.

template<class Real>
Joint< Real >::Joint ( unsigned int  NrJoints,
const Real  d[] 
) [inline]

Definition at line 299 of file Joint.h.

template<class Real >
Joint< Real >::~Joint (  )  [inline, virtual]

Definition at line 310 of file Joint.h.


Member Function Documentation

template<class Real >
void Joint< Real >::fromString ( const char *  str  )  [inline]

Definition at line 760 of file Joint.h.

template<class Real >
void Joint< Real >::fromString ( unsigned int  nrjoints,
const char *  str 
) [inline]

Definition at line 733 of file Joint.h.

template<class Real>
void Joint< Real >::get ( unsigned int  NrJoints,
Real *  d 
) const [inline]

Definition at line 409 of file Joint.h.

template<class Real >
Real Joint< Real >::get ( unsigned int  i  )  const [inline]

Definition at line 390 of file Joint.h.

template<class Real >
Real Joint< Real >::getMax (  )  const [inline]

Definition at line 429 of file Joint.h.

template<class Real >
unsigned int Joint< Real >::getMaxInd (  )  const [inline]

Definition at line 460 of file Joint.h.

template<class Real >
Real Joint< Real >::getMin (  )  const [inline]

Definition at line 443 of file Joint.h.

template<class Real >
unsigned int Joint< Real >::getMinInd (  )  const [inline]

Definition at line 482 of file Joint.h.

template<class Real>
unsigned int Joint< Real >::getNrJoints (  )  const [inline]

Definition at line 229 of file Joint.h.

template<class Real>
Joint< Real > Joint< Real >::interpolate ( const Joint< Real > &  j1,
const Joint< Real > &  j2,
Real  f 
) [inline, static]

Definition at line 522 of file Joint.h.

template<class Real>
Joint< Real > Joint< Real >::interpolate ( const Joint< Real > &  j2,
Real  f 
) const [inline]

Definition at line 505 of file Joint.h.

template<class Real >
Real Joint< Real >::length (  )  const [inline]

Definition at line 706 of file Joint.h.

template<class Real >
Real Joint< Real >::lengthSqr (  )  const [inline]

Definition at line 696 of file Joint.h.

template<class Real>
Joint< Real > Joint< Real >::operator* ( Real  s  )  const [inline]

Definition at line 624 of file Joint.h.

template<class Real>
void Joint< Real >::operator*= ( Real  s  )  [inline]

Definition at line 675 of file Joint.h.

template<class Real >
Joint< Real > Joint< Real >::operator+ ( const Joint< Real > &  rhs  )  const [inline]

Definition at line 593 of file Joint.h.

template<class Real >
void Joint< Real >::operator+= ( const Joint< Real > &  rhs  )  [inline]

Definition at line 649 of file Joint.h.

template<class Real >
Joint< Real > Joint< Real >::operator- ( const Joint< Real > &  rhs  )  const [inline]

Definition at line 609 of file Joint.h.

template<class Real >
void Joint< Real >::operator-= ( const Joint< Real > &  rhs  )  [inline]

Definition at line 662 of file Joint.h.

template<class Real>
Joint< Real > Joint< Real >::operator/ ( Real  s  )  const [inline]

Definition at line 633 of file Joint.h.

template<class Real>
void Joint< Real >::operator/= ( Real  s  )  [inline]

Definition at line 682 of file Joint.h.

template<class Real >
Joint< Real > & Joint< Real >::operator= ( const Joint< Real > &  joint  )  [inline]

Definition at line 558 of file Joint.h.

template<class Real >
bool Joint< Real >::operator== ( const Joint< Real > &  rhs  )  const [inline]

Definition at line 571 of file Joint.h.

template<class Real >
Real Joint< Real >::operator[] ( unsigned int  i  )  const [inline]

Definition at line 401 of file Joint.h.

template<class Real >
Real & Joint< Real >::operator[] ( unsigned int  i  )  [inline]

Definition at line 363 of file Joint.h.

template<class Real >
void Joint< Real >::print (  )  [inline]

Definition at line 787 of file Joint.h.

template<class Real>
void Joint< Real >::set ( unsigned int  NrJoints,
Real *  d 
) [inline]

Definition at line 374 of file Joint.h.

template<class Real>
void Joint< Real >::set ( unsigned int  i,
Real  d 
) [inline]

Definition at line 353 of file Joint.h.

template<class Real >
void Joint< Real >::setNrJoints ( unsigned int  NrJoints  )  [inline]

Definition at line 318 of file Joint.h.

template<class Real >
unsigned int Joint< Real >::size (  )  const [inline]

Definition at line 422 of file Joint.h.

template<class Real >
void Joint< Real >::toDeg (  )  [inline]

Definition at line 546 of file Joint.h.

template<class Real >
void Joint< Real >::toRad (  )  [inline]

Definition at line 539 of file Joint.h.

template<class Real >
std::string Joint< Real >::toString ( bool  convert = false  )  const [inline]

Definition at line 714 of file Joint.h.

template<class Real >
void Joint< Real >::zero (  )  [inline]

Definition at line 341 of file Joint.h.


Member Data Documentation

template<class Real>
Real* Joint< Real >::m_Joints [private]

Definition at line 234 of file Joint.h.

template<class Real>
unsigned int Joint< Real >::m_NrJoints [private]

Definition at line 233 of file Joint.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


cob_powercube_chain
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:14:23 2013