MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::RotationAboutFixedAxis Class Reference

class to describe rotation about fixed axis More...

#include <kinematics.h>

Inheritance diagram for MBSim::RotationAboutFixedAxis:
MBSim::TranslationIndependentRotation MBSim::Rotation MBSim::Function2< fmatvec::SqrMat3, fmatvec::Vec, double > MBSim::Function

List of all members.

Public Member Functions

 RotationAboutFixedAxis ()
 constructor
 RotationAboutFixedAxis (const fmatvec::Vec3 &a_)
 constructor
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
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *parent)
const fmatvec::Vec3 & getAxisOfRotation () const
void setAxisOfRotation (const fmatvec::Vec3 &a_)

Protected Attributes

fmatvec::Vec3 a
 axis of rotation

Detailed Description

class to describe rotation about fixed axis

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

Constructor & Destructor Documentation

MBSim::RotationAboutFixedAxis::RotationAboutFixedAxis ( const fmatvec::Vec3 &  a_) [inline]

constructor

Parameters:
axisof rotation

Member Function Documentation

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

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Rotation.

virtual fmatvec::SqrMat3 MBSim::RotationAboutFixedAxis::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: