#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) |
Joint & | operator= (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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |