chai3d::cInteractionEvent Struct Reference

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

cGenericObjectm_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...
 

Detailed Description

This structure stores information associated with the interaction of a haptic tool with a shape primitive.

Member Function Documentation

void chai3d::cInteractionEvent::clear ( )
inline

Member Data Documentation

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

The documentation for this struct was generated from the following file: