SOFA plugin: LeapMotion  master
Open source framework for multi-physics simuation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
sofa::component::controller Namespace Reference

Classes

class  Controller
 
class  MechanicalStateController
 
class  LeapMotionDriver
 

Enumerations

enum  finger_name {
  THUMB = 0 , FOREFINGER , MIDDLE_FINGER , RING_FINGER ,
  LITTLE_FINGER , ALL_FINGERS
}
 
enum  gestureTypeEnum {
  TYPE_SWIPE = 0 , TYPE_CIRCLE , TYPE_SCREEN_TAP , TYPE_KEY_TAP ,
  TYPE_PINCH , TYPE_V_SIGN_AND_2ND_HAND , TYPES_COUNT , GRASP_AND_RELEASE
}
 

Functions

void registerMechanicalStateController (sofa::core::ObjectFactory *factory)
 
SOFA_EXPORT_DYNAMIC_LIBRARY void initExternalModule ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const char * getModuleName ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY const char * getModuleVersion ()
 
SOFA_EXPORT_DYNAMIC_LIBRARY void registerObjects (sofa::core::ObjectFactory *factory)
 
void init ()
 

Variables

template class SOFA_COMPONENT_CONTROLLER_API MechanicalStateController< Vec1Types >
 
template class SOFA_COMPONENT_CONTROLLER_API MechanicalStateController< Rigid3Types >
 
int32_t fingersIdsArray [5] = {-1,-1,-1,-1,-1}
 
int LeapMotionDriverClass
 

Enumeration Type Documentation

◆ finger_name

Enumerator
THUMB 
FOREFINGER 
MIDDLE_FINGER 
RING_FINGER 
LITTLE_FINGER 
ALL_FINGERS 

◆ gestureTypeEnum

Enumerator
TYPE_SWIPE 
TYPE_CIRCLE 
TYPE_SCREEN_TAP 
TYPE_KEY_TAP 
TYPE_PINCH 
TYPE_V_SIGN_AND_2ND_HAND 
TYPES_COUNT 
GRASP_AND_RELEASE 

Variable Documentation

◆ fingersIdsArray

int32_t sofa::component::controller::fingersIdsArray[5] = {-1,-1,-1,-1,-1}

◆ LeapMotionDriverClass

int sofa::component::controller::LeapMotionDriverClass
Initial value:
= core::RegisterObject("LeapMotion device driver")
.add< LeapMotionDriver >()