MBSim

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

class to describe time dependent rotation about fixed axis More...

#include <kinematics.h>

Inheritance diagram for MBSim::TimeDependentRotationAboutFixedAxis:
MBSim::Rotation MBSim::Function2< fmatvec::SqrMat, fmatvec::Vec, double >

List of all members.

Public Member Functions

 TimeDependentRotationAboutFixedAxis ()
 constructor
 TimeDependentRotationAboutFixedAxis (Function1< double, double > *angle_, const fmatvec::Vec &a_)
 constructor
virtual ~TimeDependentRotationAboutFixedAxis ()
 destructor
virtual int getqSize () const
virtual fmatvec::SqrMat operator() (const fmatvec::Vec &q, const double &t, const void *=NULL)
virtual void initializeUsingXML (TiXmlElement *element)
 initialize function with XML code
void setRotationalFunction (Function1< double, double > *angle_)
const fmatvec::Vec & getAxisOfRotation () const
void setAxisOfRotation (const fmatvec::Vec &a_)
- Public Member Functions inherited from MBSim::Rotation
 Rotation ()
 constructor
virtual ~Rotation ()
 destructor
- Public Member Functions inherited from MBSim::Function2< fmatvec::SqrMat, fmatvec::Vec, double >
virtual ~Function2 ()
 destructor

Private Attributes

RotationAboutFixedAxis * rot
 rotational parametrisation
Function1< double, double > * angle
 time dependent rotation angle

Detailed Description

class to describe time dependent rotation about fixed axis

Author:
Thorsten Schindler
Date:
2009-12-21 initial commit (Thorsten Schindler)
2009-12-22 should be a rotation because otherwise it has some dof (Thorsten Schindler)
2010-05-23 update according to change in Rotation (Martin Foerg)

Constructor & Destructor Documentation

MBSim::TimeDependentRotationAboutFixedAxis::TimeDependentRotationAboutFixedAxis ( Function1< double, double > *  angle_,
const fmatvec::Vec &  a_ 
)
inline

constructor

Parameters:
independentrotation angle function
axisof rotation

Member Function Documentation

virtual int MBSim::TimeDependentRotationAboutFixedAxis::getqSize ( ) const
inlinevirtual
Returns:
degree of freedom of rotation

Implements MBSim::Rotation.

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

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Rotation.

virtual fmatvec::SqrMat MBSim::TimeDependentRotationAboutFixedAxis::operator() ( const fmatvec::Vec &  q,
const double &  t,
const void *  = NULL 
)
virtual
Parameters:
generalizedposition
time
Returns:
rotational matrix as a function of generalized position and time, A=A(q,t)

Implements MBSim::Rotation.


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