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::TranslationIndependentRotation MBSim::Rotation MBSim::Function2< fmatvec::SqrMat3, fmatvec::Vec, double > MBSim::Function

List of all members.

Public Member Functions

 TimeDependentRotationAboutFixedAxis ()
 constructor
 TimeDependentRotationAboutFixedAxis (Function1< double, double > *angle_, const fmatvec::Vec3 &a_)
 constructor
virtual ~TimeDependentRotationAboutFixedAxis ()
 destructor
virtual int getqRSize () const
virtual int getuRSize () const
virtual fmatvec::SqrMat3 operator() (const fmatvec::Vec &q, const double &t, const void *=NULL)
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)
 initialize function with XML code
Function1< double, double > * getRotationalFunction ()
void setRotationalFunction (Function1< double, double > *angle_)
const fmatvec::Vec3 & getAxisOfRotation () const
void setAxisOfRotation (const fmatvec::Vec3 &a_)

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::Vec3 &  a_ 
) [inline]

constructor

Parameters:
independentrotation angle function
axisof rotation

Member Function Documentation

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

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Rotation.

virtual fmatvec::SqrMat3 MBSim::TimeDependentRotationAboutFixedAxis::operator() ( const fmatvec::Vec &  q,
const double &  t,
const void *  = NULL 
) [inline, 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: