#include <SIM_Motion.h>

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 () |
Definition at line 24 of file SIM_Motion.h.
| SIM_Motion::SIM_Motion | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual SIM_Motion::~SIM_Motion | ( | ) | [protected, virtual] |
| 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.
1.5.9