MBSim

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

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

#include <kinematics.h>

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

List of all members.

Public Member Functions

 StateDependentRotationAboutFixedAxis ()
 constructor
 StateDependentRotationAboutFixedAxis (int qSize_, Function1< double, fmatvec::Vec > *angle_, const fmatvec::Vec3 &a_)
 constructor
virtual ~StateDependentRotationAboutFixedAxis ()
 destructor
virtual int getqSize () 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, fmatvec::Vec > * getRotationalFunction ()
void setRotationalFunction (Function1< double, fmatvec::Vec > *angle_)
const fmatvec::Vec3 & getAxisOfRotation () const
void setAxisOfRotation (const fmatvec::Vec3 &a_)

Private Attributes

int qSize
RotationAboutFixedAxis * rot
Function1< double, fmatvec::Vec > * angle

Detailed Description

class to describe state dependent rotation about fixed axis


Member Function Documentation

virtual int MBSim::StateDependentRotationAboutFixedAxis::getqSize ( ) const [inline, virtual]
Returns:
degree of freedom of rotation

Implements MBSim::Rotation.

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

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Rotation.

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