iMSTK
Interactive Medical Simulation Toolkit
|
Serves as a handle to the body. More...
#include <imstkRbdConstraint.h>
Public Member Functions | |
const Vec3d & | getPosition () const |
const Quatd & | getOrientation () const |
const Vec3d & | getVelocity () const |
const Vec3d & | getAngularVelocity () const |
const Vec3d & | getForce () const |
const Vec3d & | getTorque () const |
const double | getMass () const |
void | setMass (const double mass) |
const Mat3d & | getIntertiaTensor () const |
void | setInertiaTensor (const Mat3d &inertiaTensor) |
const Vec3d & | getInitPos () const |
void | setInitPos (const Vec3d &pos) |
const Quatd & | getInitOrientation () const |
void | setInitOrientation (const Quatd &orientation) |
const Vec3d & | getInitVelocity () const |
void | setInitVelocity (const Vec3d &velocity) |
const Vec3d & | getInitAngularVelocity () const |
void | setInitAngularVelocity (const Vec3d &angularVelocity) |
const Vec3d & | getInitForce () const |
void | setInitForce (const Vec3d &force) |
const Vec3d & | getInitTorque () const |
void | setInitTorque (const Vec3d &torque) |
void | setInertiaFromPointSet (std::shared_ptr< PointSet > pointset, const double scale=1.0, const bool useBoundingBoxOrigin=true) |
Convience function to set the inertia tensor based off provided geometry assuming uniform mass at each point. | |
Serves as a handle to the body.
Definition at line 20 of file imstkRbdConstraint.h.