|
Computational Embodied Neuroscience Simulator
1.1
3D simulation library
|
#include <cens_physics.h>


Public Member Functions | |
| CENSTouchSensor (btRigidBody &tgtBody, CENSNonCollidingTable &_table) | |
| bool | isTouched () |
| btScalar | getPressure () |
| virtual bool | needsCollision (btBroadphaseProxy *proxy) const |
| virtual btScalar | addSingleResult (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0, int partId0, int index0, const btCollisionObjectWrapper *colObj1, int partId1, int index1) |
| Called with each contact for your own processing. More... | |
Public Attributes | |
| btRigidBody & | body |
| The body the sensor is monitoring. More... | |
| CENSNonCollidingTable & | table |
| non-colliding table More... | |
| bool | touched |
| touched by another body More... | |
| std::vector< btVector3 > | position |
| touch positions in the body space More... | |
| std::vector< btScalar > | pressures |
| touch pressures More... | |
Information about touch linked on a btRigidBody
Definition at line 86 of file cens_physics.h.
|
inline |
Definition at line 90 of file cens_physics.h.
|
inlinevirtual |
Called with each contact for your own processing.
Definition at line 150 of file cens_physics.h.
|
inline |
Definition at line 108 of file cens_physics.h.
|
inline |
Definition at line 99 of file cens_physics.h.
|
inlinevirtual |
Definition at line 119 of file cens_physics.h.
| btRigidBody& cens::CENSTouchSensor::body |
The body the sensor is monitoring.
Definition at line 93 of file cens_physics.h.
Referenced by cens::CENSPhysics::cens_physics_step().
| std::vector<btVector3> cens::CENSTouchSensor::position |
touch positions in the body space
Definition at line 96 of file cens_physics.h.
| std::vector<btScalar> cens::CENSTouchSensor::pressures |
touch pressures
Definition at line 97 of file cens_physics.h.
| CENSNonCollidingTable& cens::CENSTouchSensor::table |
non-colliding table
Definition at line 94 of file cens_physics.h.
| bool cens::CENSTouchSensor::touched |
touched by another body
Definition at line 95 of file cens_physics.h.
1.8.8