This structure stores information associated with the interaction of a haptic tool with a shape primitive. More...
#include <CInteractionBasics.h>
Public Member Functions | |
| void | clear () |
| This method initialize all data contained in current event. More... | |
Public Attributes | |
| cGenericObject * | m_object |
| Pointer to the object. More... | |
| bool | m_isInside |
| If true then the interaction event occurred inside the object. More... | |
| cVector3d | m_localPos |
| Position of the interaction point in reference to the object's coordinate frame (local coordinates). More... | |
| cVector3d | m_localNormal |
| Surface normal at the interaction point in reference to the object's coordinate frame (local coordinates). More... | |
| cVector3d | m_localForce |
| Interaction force in object's local coordinate frame. More... | |
| cVector3d | m_localSurfacePos |
| Nearest point to the object's surface in local coordinates. More... | |
This structure stores information associated with the interaction of a haptic tool with a shape primitive.
|
inline |
| cGenericObject* chai3d::cInteractionEvent::m_object |
| bool chai3d::cInteractionEvent::m_isInside |
| cVector3d chai3d::cInteractionEvent::m_localPos |
| cVector3d chai3d::cInteractionEvent::m_localNormal |
| cVector3d chai3d::cInteractionEvent::m_localForce |
| cVector3d chai3d::cInteractionEvent::m_localSurfacePos |