Public Member Functions | Static Public Member Functions | Private Attributes
Joint< Real > Class Template Reference

#include <Joint.h>

List of all members.

Public Member Functions

void fromString (unsigned int nrjoints, const char *str)
void fromString (const char *str)
Real get (unsigned int i) const
void get (unsigned int NrJoints, Real *d) 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 ()
 Joint (unsigned int NrJoints, bool zero=false)
 Joint (const Joint &joints)
 Joint (unsigned int NrJoints, const Real d[])
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
Realoperator[] (unsigned int i)
Real operator[] (unsigned int i) const
void print ()
void set (unsigned int i, Real d)
void set (unsigned int NrJoints, 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

Realm_Joints
unsigned int m_NrJoints

Detailed Description

template<class Real>
class Joint< Real >

Definition at line 131 of file Joint.h.


Constructor & Destructor Documentation

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

Definition at line 272 of file Joint.h.

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

Definition at line 280 of file Joint.h.

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

Definition at line 302 of file Joint.h.

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

Definition at line 313 of file Joint.h.


Member Function Documentation

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

Definition at line 736 of file Joint.h.

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

Definition at line 763 of file Joint.h.

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

Definition at line 393 of file Joint.h.

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

Definition at line 412 of file Joint.h.

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

Definition at line 432 of file Joint.h.

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

Definition at line 463 of file Joint.h.

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

Definition at line 446 of file Joint.h.

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

Definition at line 485 of file Joint.h.

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

Definition at line 232 of file Joint.h.

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

Definition at line 508 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 525 of file Joint.h.

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

Definition at line 709 of file Joint.h.

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

Definition at line 699 of file Joint.h.

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

Definition at line 627 of file Joint.h.

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

Definition at line 678 of file Joint.h.

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

Definition at line 596 of file Joint.h.

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

Definition at line 652 of file Joint.h.

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

Definition at line 612 of file Joint.h.

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

Definition at line 665 of file Joint.h.

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

Definition at line 636 of file Joint.h.

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

Definition at line 685 of file Joint.h.

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

Definition at line 561 of file Joint.h.

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

Definition at line 574 of file Joint.h.

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

Definition at line 366 of file Joint.h.

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

Definition at line 404 of file Joint.h.

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

Definition at line 790 of file Joint.h.

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

Definition at line 356 of file Joint.h.

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

Definition at line 377 of file Joint.h.

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

Definition at line 321 of file Joint.h.

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

Definition at line 425 of file Joint.h.

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

Definition at line 549 of file Joint.h.

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

Definition at line 542 of file Joint.h.

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

Definition at line 717 of file Joint.h.

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

Definition at line 344 of file Joint.h.


Member Data Documentation

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

Definition at line 237 of file Joint.h.

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

Definition at line 236 of file Joint.h.


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


schunk_powercube_chain
Author(s): Florian Weisshardt
autogenerated on Mon Oct 6 2014 07:31:10