LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FrictionTransform Class Reference

#include <frictiontransform.h>

Inheritance diagram for FrictionTransform:
[legend]
Collaboration diagram for FrictionTransform:
[legend]

Public Slots

virtual void slotTimetic (const qreal absTime=0)
 
- Public Slots inherited from LinearMotionTransform
virtual void slotTimetic (const qreal absTime=0)
 

Public Member Functions

 FrictionTransform ()
 
virtual ~FrictionTransform ()
 
virtual void restart (const qreal newStartTime=0.0)
 
qreal setInitialForce (const qreal force)
 
qreal setInitialAcceleration (const qreal accel)
 
qreal setObjectMass (const qreal mass)
 
qreal setInitialMomentTime (const qreal time)
 
qreal setCoeffKineticFriction (const qreal coeffKinFriction)
 
qreal coeffKineticFriction () const
 
qreal initialForce () const
 
qreal initialAcceleration () const
 
qreal objectMass () const
 
qreal initialMomentTime () const
 
virtual qreal displacement (const qreal time)
 
virtual qreal velocity (const qreal time)
 
virtual qreal acceleration (const qreal time)
 
virtual void vec (const qreal time, qreal &d, qreal &v, qreal &a)
 
virtual QVector< qreal > vec (const qreal time)
 
virtual qreal haltTime () const
 
virtual void setReverse ()
 
virtual void setForward ()
 
- Public Member Functions inherited from LinearMotionTransform
virtual qreal setStartTime (const qreal time)
 
virtual qreal startTime ()
 
virtual void activate ()
 
virtual void deactivate ()
 
virtual bool isActive () const
 
virtual qreal setAutocount (const qreal incTime)
 
virtual void disableAutocount ()
 
virtual qreal setInitialDisplacement (const qreal di)
 
virtual qreal setInitialVelocity (const qreal vi)
 
virtual qreal initialDisplacement () const
 
virtual qreal initialVelocity () const
 
virtual void setTrigger (quint32 component, LinearMotionTransformTriggers::Type type, const qreal val, QObject *receiver, const char *slot, LinearMotionTransformTriggers::Freq freq=LinearMotionTransformTriggers::SINGLE)
 
virtual void clearTrigger (quint32 component)
 
virtual void positiveOnly (bool v=true)
 
virtual void negativeOnly (bool v=true)
 

Protected Member Functions

virtual void parametersChanged ()
 
- Protected Member Functions inherited from LinearMotionTransform
 LinearMotionTransform (const qreal startTime=0.0)
 
virtual ~LinearMotionTransform ()
 
virtual void update (const qreal t, const qreal d, const qreal v, const qreal a)
 

Protected Attributes

qreal m_initialAcceleration
 
qreal m_objectMass
 
qreal m_forceMomentTime
 
qreal m_reverse
 
qreal m_coeffFrictionKinetic
 
qreal m_coeffFrictionStatic
 
qreal m_gravityAccel
 
qreal m_computedInitialVelocity
 
qreal m_computedAccelStaticFriction
 
qreal m_computedAccelKineticFriction
 
qreal m_computedGrindToHaltTime
 
qreal m_computedFinalDisplacement
 
- Protected Attributes inherited from LinearMotionTransform
bool m_active
 
bool m_anyTrigger
 
bool m_posOnly
 
bool m_negOnly
 
qreal m_startTime
 
bool m_useAutocount
 
qreal m_autocountIncrement
 
qreal m_autocountAccumulator
 
qreal m_initialDisplacement
 
qreal m_initialVelocity
 
qreal m_initialAcceleration
 
bool m_validLast
 
qreal m_lastComputedTime
 
qreal m_lastComputedAcceleration
 
qreal m_lastComputedVelocity
 
qreal m_lastComputedDisplacement
 
LinearMotionTransformTriggers::Type m_aTrigger
 
LinearMotionTransformTriggers::Freq m_aTriggerFreq
 
qreal m_aTriggerValue
 
bool m_aTriggerSR
 
LinearMotionTransformTriggers::Type m_vTrigger
 
LinearMotionTransformTriggers::Freq m_vTriggerFreq
 
qreal m_vTriggerValue
 
bool m_vTriggerSR
 
LinearMotionTransformTriggers::Type m_dTrigger
 
LinearMotionTransformTriggers::Freq m_dTriggerFreq
 
qreal m_dTriggerValue
 
bool m_dTriggerSR
 

Additional Inherited Members

- Signals inherited from LinearMotionTransform
void signalDisplacementTrigger (qreal t, qreal d, qreal last_t, qreal last_d, LinearMotionTransformTriggers::Type reason)
 
void signalVelocityTrigger (qreal t, qreal v, qreal last_t, qreal last_v, LinearMotionTransformTriggers::Type reason)
 
void signalAccelerationTrigger (qreal t, qreal a, qreal last_t, qreal last_a, LinearMotionTransformTriggers::Type reason)
 
void signalRecomputed (qreal t, qreal d, qreal v, qreal a)
 

Constructor & Destructor Documentation

FrictionTransform::FrictionTransform ( )
FrictionTransform::~FrictionTransform ( )
virtual

Member Function Documentation

qreal FrictionTransform::acceleration ( const qreal  time)
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::coeffKineticFriction ( ) const
qreal FrictionTransform::displacement ( const qreal  time)
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::haltTime ( ) const
virtual
qreal FrictionTransform::initialAcceleration ( ) const
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::initialForce ( ) const
qreal FrictionTransform::initialMomentTime ( ) const
qreal FrictionTransform::objectMass ( ) const
void FrictionTransform::parametersChanged ( )
protectedvirtual

Reimplemented from LinearMotionTransform.

void FrictionTransform::restart ( const qreal  newStartTime = 0.0)
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::setCoeffKineticFriction ( const qreal  coeffKinFriction)
void FrictionTransform::setForward ( )
virtual
qreal FrictionTransform::setInitialAcceleration ( const qreal  accel)
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::setInitialForce ( const qreal  force)
qreal FrictionTransform::setInitialMomentTime ( const qreal  time)
qreal FrictionTransform::setObjectMass ( const qreal  mass)
void FrictionTransform::setReverse ( )
virtual
void FrictionTransform::slotTimetic ( const qreal  absTime = 0)
virtualslot
void FrictionTransform::vec ( const qreal  time,
qreal &  d,
qreal &  v,
qreal &  a 
)
virtual

Reimplemented from LinearMotionTransform.

QVector< qreal > FrictionTransform::vec ( const qreal  time)
virtual

Reimplemented from LinearMotionTransform.

qreal FrictionTransform::velocity ( const qreal  time)
virtual

Reimplemented from LinearMotionTransform.

Member Data Documentation

qreal FrictionTransform::m_coeffFrictionKinetic
protected
qreal FrictionTransform::m_coeffFrictionStatic
protected
qreal FrictionTransform::m_computedAccelKineticFriction
protected
qreal FrictionTransform::m_computedAccelStaticFriction
protected
qreal FrictionTransform::m_computedFinalDisplacement
protected
qreal FrictionTransform::m_computedGrindToHaltTime
protected
qreal FrictionTransform::m_computedInitialVelocity
protected
qreal FrictionTransform::m_forceMomentTime
protected
qreal FrictionTransform::m_gravityAccel
protected
qreal FrictionTransform::m_initialAcceleration
protected
qreal FrictionTransform::m_objectMass
protected
qreal FrictionTransform::m_reverse
protected

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