#include <ForceSensor.h>
Public Member Functions | |
ForceSensor (ForceSensor_Config *cfg, osg::ref_ptr< osg::Node > target) | |
void | getForceTorque (double force[3], double torque[3]) |
void | physicsInternalPostProcessCallback (btScalar timeStep) |
void | physicsInternalPreProcessCallback (btScalar timeStep) |
Public Attributes | |
btRigidBody * | btTarget |
btRigidBody * | copy |
osg::Matrixd | offset |
double | offsetp [3] |
BulletPhysics * | physics |
osg::ref_ptr< osg::Node > | target |
Private Member Functions | |
void | applyPhysics (BulletPhysics *bulletPhysics) |
Private Attributes | |
btVector3 | angFinal |
btVector3 | angInitial |
double | lastTimeStep |
btVector3 | linFinal |
btVector3 | linInitial |
Definition at line 62 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 35 of file ForceSensor.cpp.
void ForceSensor::getForceTorque | ( | double | force[3], |
double | torque[3] | ||
) |
Definition at line 69 of file ForceSensor.cpp.
void ForceSensor::physicsInternalPostProcessCallback | ( | btScalar | timeStep | ) |
Definition at line 62 of file ForceSensor.cpp.
void ForceSensor::physicsInternalPreProcessCallback | ( | btScalar | timeStep | ) |
Definition at line 49 of file ForceSensor.cpp.
btVector3 ForceSensor::angFinal [private] |
Definition at line 66 of file ForceSensor.h.
btVector3 ForceSensor::angInitial [private] |
Definition at line 66 of file ForceSensor.h.
btRigidBody * ForceSensor::btTarget |
Definition at line 70 of file ForceSensor.h.
btRigidBody* ForceSensor::copy |
Definition at line 70 of file ForceSensor.h.
double ForceSensor::lastTimeStep [private] |
Definition at line 67 of file ForceSensor.h.
btVector3 ForceSensor::linFinal [private] |
Definition at line 65 of file ForceSensor.h.
btVector3 ForceSensor::linInitial [private] |
Definition at line 65 of file ForceSensor.h.
osg::Matrixd ForceSensor::offset |
Definition at line 73 of file ForceSensor.h.
double ForceSensor::offsetp[3] |
Definition at line 72 of file ForceSensor.h.
Definition at line 69 of file ForceSensor.h.
osg::ref_ptr<osg::Node> ForceSensor::target |
Definition at line 71 of file ForceSensor.h.