MBSim

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

class to describe time dependent translations More...

#include <kinematics.h>

Inheritance diagram for MBSim::TimeDependentTranslation:
MBSim::RotationIndependentTranslation MBSim::Translation MBSim::Function2< fmatvec::Vec3, fmatvec::Vec, double > MBSim::Function

List of all members.

Public Member Functions

 TimeDependentTranslation ()
 constructor
 TimeDependentTranslation (Function1< fmatvec::Vec3, double > *pos_)
 constructor
virtual ~TimeDependentTranslation ()
 destructor
virtual int getqTSize () const
virtual int getuTSize () const
virtual fmatvec::Vec3 operator() (const fmatvec::Vec &q, const double &t, const void *=NULL)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 initialize function with XML code
Function1< fmatvec::Vec3,
double > * 
getTranslationFunction ()
 set the translation function
void setTranslationFunction (Function1< fmatvec::Vec3, double > *pos_)

Private Attributes

Function1< fmatvec::Vec3,
double > * 
pos
 time dependent translation function

Detailed Description

class to describe time dependent translations

Author:
Markus Schneider
Date:
2009-12-21 some adaptations (Thorsten Schindler)
2010-05-23 update according to change in Translation (Martin Foerg)

Constructor & Destructor Documentation

MBSim::TimeDependentTranslation::TimeDependentTranslation ( Function1< fmatvec::Vec3, double > *  pos_) [inline]

constructor

Parameters:
independenttranslation function

Member Function Documentation

virtual void MBSim::TimeDependentTranslation::initializeUsingXML ( MBXMLUtils::TiXmlElement *  element) [virtual]

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Translation.

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

Implements MBSim::Translation.


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