#include <ForceSensor.h>
Public Member Functions | |
ForceSensor (ForceSensor_Config *cfg, osg::ref_ptr< osg::Node > target) | |
void | getForceTorque (double force[3], double torque[3]) |
Public Attributes | |
btRigidBody * | btTarget |
btRigidBody * | copy |
osg::Matrixd | offset |
double | offsetp [3] |
BulletPhysics * | physics |
int | physicsApplied |
osg::ref_ptr< osg::Node > | target |
Private Member Functions | |
void | applyPhysics (BulletPhysics *bulletPhysics) |
Private Attributes | |
int | CBreference |
double | lastTimeStep |
Definition at line 59 of file ForceSensor.h.
ForceSensor::ForceSensor | ( | ForceSensor_Config * | cfg, |
osg::ref_ptr< osg::Node > | target | ||
) |
Definition at line 16 of file ForceSensor.cpp.
void ForceSensor::applyPhysics | ( | BulletPhysics * | bulletPhysics | ) | [private, virtual] |
Reimplemented from uwsim::SimulatedDevice.
Definition at line 26 of file ForceSensor.cpp.
void ForceSensor::getForceTorque | ( | double | force[3], |
double | torque[3] | ||
) |
Definition at line 46 of file ForceSensor.cpp.
btRigidBody * ForceSensor::btTarget |
Definition at line 66 of file ForceSensor.h.
int ForceSensor::CBreference [private] |
Definition at line 63 of file ForceSensor.h.
btRigidBody* ForceSensor::copy |
Definition at line 66 of file ForceSensor.h.
double ForceSensor::lastTimeStep [private] |
Definition at line 62 of file ForceSensor.h.
osg::Matrixd ForceSensor::offset |
Definition at line 69 of file ForceSensor.h.
double ForceSensor::offsetp[3] |
Definition at line 68 of file ForceSensor.h.
Definition at line 65 of file ForceSensor.h.
Definition at line 70 of file ForceSensor.h.
osg::ref_ptr<osg::Node> ForceSensor::target |
Definition at line 67 of file ForceSensor.h.