MBSim

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

class to describe time dependent rotation parametrised by Cardan angles More...

#include <kinematics.h>

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

List of all members.

Public Member Functions

 TimeDependentCardanAngles ()
 constructor
 TimeDependentCardanAngles (Function1< fmatvec::Vec3, double > *angle_)
 constructor
virtual ~TimeDependentCardanAngles ()
 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< fmatvec::Vec3,
double > * 
getRotationalFunction ()
void setRotationalFunction (Function1< fmatvec::Vec3, double > *angle_)

Private Attributes

CardanAngles * rot
 rotational parametrisation
Function1< fmatvec::Vec3,
double > * 
angle
 time dependent rotation angle

Detailed Description

class to describe time dependent rotation parametrised by Cardan angles

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::TimeDependentCardanAngles::TimeDependentCardanAngles ( Function1< fmatvec::Vec3, double > *  angle_) [inline]

constructor

Parameters:
independentrotation angle function

Member Function Documentation

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

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Rotation.

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