Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
ForceSensor Class Reference

#include <ForceSensor.h>

Inheritance diagram for ForceSensor:
Inheritance graph
[legend]

List of all members.

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]
BulletPhysicsphysics
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

Detailed Description

Definition at line 62 of file ForceSensor.h.


Constructor & Destructor Documentation

ForceSensor::ForceSensor ( ForceSensor_Config cfg,
osg::ref_ptr< osg::Node >  target 
)

Definition at line 16 of file ForceSensor.cpp.


Member Function Documentation

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.

Definition at line 62 of file ForceSensor.cpp.

Definition at line 49 of file ForceSensor.cpp.


Member Data Documentation

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.

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.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07