My Project
Loading...
Searching...
No Matches
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.
 

Public Attributes

cGenericObject * m_object
 Pointer to the object.
 
bool m_isInside
 If true then the interaction event occurred inside the object.
 
cVector3d m_localPos
 Position of the interaction point in reference to the object's coordinate frame (local coordinates).
 
cVector3d m_localNormal
 Surface normal at the interaction point in reference to the object's coordinate frame (local coordinates).
 
cVector3d m_localForce
 Interaction force in object's local coordinate frame.
 
cVector3d m_localSurfacePos
 Nearest point to the object's surface in local coordinates.
 

Detailed Description

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

Member Function Documentation

◆ clear()

void chai3d::cInteractionEvent::clear ( )
inline

Member Data Documentation

◆ m_object

cGenericObject* chai3d::cInteractionEvent::m_object

◆ m_isInside

bool chai3d::cInteractionEvent::m_isInside

◆ m_localPos

cVector3d chai3d::cInteractionEvent::m_localPos

◆ m_localNormal

cVector3d chai3d::cInteractionEvent::m_localNormal

◆ m_localForce

cVector3d chai3d::cInteractionEvent::m_localForce

◆ m_localSurfacePos

cVector3d chai3d::cInteractionEvent::m_localSurfacePos

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