MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::LinearTranslation Class Reference

class to describe translations along a line More...

#include <kinematics.h>

Inheritance diagram for MBSim::LinearTranslation:
MBSim::Translation MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >

List of all members.

Public Member Functions

 LinearTranslation ()
 constructor
 LinearTranslation (const fmatvec::Mat &PJT_)
 constructor
virtual int getqSize () const
virtual fmatvec::Vec operator() (const fmatvec::Vec &q, const double &t, const void *=NULL)
virtual void initializeUsingXML (TiXmlElement *element)
 initialize function with XML code
const fmatvec::Mat & getTranslationVectors () const
void setTranslationVectors (const fmatvec::Mat &PJT_)
 Set the possible translations vectors.
- Public Member Functions inherited from MBSim::Translation
 Translation ()
 constructor
virtual ~Translation ()
 destructor
- Public Member Functions inherited from MBSim::Function2< fmatvec::Vec, fmatvec::Vec, double >
virtual ~Function2 ()
 destructor

Private Attributes

fmatvec::Mat PJT
 independent direction matrix of translation

Detailed Description

class to describe translations along a line

Author:
Martin Foerg
Date:
2009-04-08 some comments (Thorsten Schindler)
2010-05-23 update according to change in Translation (Martin Foerg)

Constructor & Destructor Documentation

MBSim::LinearTranslation::LinearTranslation ( const fmatvec::Mat &  PJT_)
inline

constructor

Parameters:
independentdirection matrix of translation

Member Function Documentation

virtual int MBSim::LinearTranslation::getqSize ( ) const
inlinevirtual
Returns:
degree of freedom of translation

Implements MBSim::Translation.

virtual void MBSim::LinearTranslation::initializeUsingXML ( TiXmlElement *  element)
virtual

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Translation.

virtual fmatvec::Vec MBSim::LinearTranslation::operator() ( const fmatvec::Vec &  q,
const double &  t,
const void *  = NULL 
)
inlinevirtual
Parameters:
generalizedposition
time
Returns:
translational vector as a function of generalized position and time, r=r(q,t)

Implements MBSim::Translation.

void MBSim::LinearTranslation::setTranslationVectors ( const fmatvec::Mat &  PJT_)
inline

Set the possible translations vectors.

Each column of the matrix is a possible translation vector.


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