Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Joint< Real > Class Template Reference

#include <Joint.h>

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
 
Real & operator[] (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

Real * m_Joints
 
unsigned int m_NrJoints
 

Detailed Description

template<class Real>
class Joint< Real >

Definition at line 97 of file Joint.h.

Constructor & Destructor Documentation

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

Definition at line 235 of file Joint.h.

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

Definition at line 243 of file Joint.h.

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

Definition at line 254 of file Joint.h.

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

Definition at line 265 of file Joint.h.

template<class Real >
Joint< Real >::~Joint ( )
inlinevirtual

Definition at line 276 of file Joint.h.

Member Function Documentation

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

Definition at line 694 of file Joint.h.

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

Definition at line 722 of file Joint.h.

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

Definition at line 353 of file Joint.h.

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

Definition at line 371 of file Joint.h.

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

Definition at line 391 of file Joint.h.

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

Definition at line 420 of file Joint.h.

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

Definition at line 405 of file Joint.h.

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

Definition at line 442 of file Joint.h.

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

Definition at line 196 of file Joint.h.

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

Definition at line 465 of file Joint.h.

template<class Real>
Joint< Real > Joint< Real >::interpolate ( const Joint< Real > &  j1,
const Joint< Real > &  j2,
Real  f 
)
inlinestatic

Definition at line 482 of file Joint.h.

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

Definition at line 666 of file Joint.h.

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

Definition at line 655 of file Joint.h.

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

Definition at line 585 of file Joint.h.

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

Definition at line 636 of file Joint.h.

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

Definition at line 553 of file Joint.h.

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

Definition at line 608 of file Joint.h.

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

Definition at line 569 of file Joint.h.

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

Definition at line 622 of file Joint.h.

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

Definition at line 594 of file Joint.h.

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

Definition at line 643 of file Joint.h.

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

Definition at line 517 of file Joint.h.

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

Definition at line 530 of file Joint.h.

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

Definition at line 327 of file Joint.h.

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

Definition at line 364 of file Joint.h.

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

Definition at line 750 of file Joint.h.

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

Definition at line 317 of file Joint.h.

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

Definition at line 338 of file Joint.h.

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

Definition at line 284 of file Joint.h.

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

Definition at line 384 of file Joint.h.

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

Definition at line 506 of file Joint.h.

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

Definition at line 499 of file Joint.h.

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

Definition at line 674 of file Joint.h.

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

Definition at line 307 of file Joint.h.

Member Data Documentation

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

Definition at line 203 of file Joint.h.

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

Definition at line 202 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 Nov 25 2019 03:48:21