SIM_Motion Class Reference

This is the default implementation for standard motion data. More...

#include <SIM_Motion.h>

Inheritance diagram for SIM_Motion:

SIM_PositionSimple SIM_Position SIM_OptionsUser SIM_Data RBD_State SIM_PointPosition

List of all members.

Public Member Functions

 GETSET_DATA_FUNCS_V3 (SIM_NAME_VELOCITY, Velocity)
 Control the linear velocity attribute of this data.
 GETSET_DATA_FUNCS_V3 (SIM_NAME_ANGVELOCITY, AngularVelocityDegrees)
void setAngularVelocity (const UT_Vector3 &value)
const UT_Vector3 getAngularVelocity () const
const UT_Vector3 getVelocityAtPosition (const UT_Vector3 &pos, fpreal integrateovertime=0.0) const
 Gets the motion of a point that is offset from our centre of motion.
const UT_Vector3 getMaximumVelocity (fpreal radius) const

Protected Member Functions

 SIM_Motion (const SIM_DataFactory *factory)
virtual ~SIM_Motion ()


Detailed Description

This is the default implementation for standard motion data.

Definition at line 24 of file SIM_Motion.h.


Constructor & Destructor Documentation

SIM_Motion::SIM_Motion ( const SIM_DataFactory factory  )  [explicit, protected]

virtual SIM_Motion::~SIM_Motion (  )  [protected, virtual]


Member Function Documentation

const UT_Vector3 SIM_Motion::getAngularVelocity (  )  const [inline]

Definition at line 44 of file SIM_Motion.h.

const UT_Vector3 SIM_Motion::getMaximumVelocity ( fpreal  radius  )  const

Determines the maximum velocity inside a sphere of the given radius.

SIM_Motion::GETSET_DATA_FUNCS_V3 ( SIM_NAME_ANGVELOCITY  ,
AngularVelocityDegrees   
)

Control the angular velocity attribute of this data. This is specified in degrees per second.

SIM_Motion::GETSET_DATA_FUNCS_V3 ( SIM_NAME_VELOCITY  ,
Velocity   
)

Control the linear velocity attribute of this data.

const UT_Vector3 SIM_Motion::getVelocityAtPosition ( const UT_Vector3 pos,
fpreal  integrateovertime = 0.0 
) const

Gets the motion of a point that is offset from our centre of motion.

void SIM_Motion::setAngularVelocity ( const UT_Vector3 value  )  [inline]

These are the access functions that transform our values in radians that we use internally everywhere into the actual data values that are stored in degrees.

Definition at line 36 of file SIM_Motion.h.


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

Generated on Fri May 25 00:10:40 2012 for HDK by  doxygen 1.5.9