48 #if defined(C_ENABLE_LEAP_DEVICE_SUPPORT)   100     static cLeapDevicePtr 
create(
unsigned int a_deviceNumber = 0) { 
return (std::make_shared<cLeapDevice>(a_deviceNumber)); }
   113     virtual bool close();
   116     virtual bool calibrate(
bool a_forceCalibration = 
false);
   179 #endif //_DISABLE_LEAP_DEVICE_SUPPORT This class implements a 3D vector. 
Definition: CVector3d.h:88
 
cLeapDevice(unsigned int a_deviceNumber=0)
Constructor of cLeapDevice. 
Definition: CLeapDevices.cpp:264
 
static bool closeLibraries()
This method closes the libraries for this class of devices. 
Definition: CLeapDevices.cpp:192
 
virtual bool getPosition(cVector3d &a_position)
This method returns the position of the device. 
Definition: CLeapDevices.cpp:425
 
virtual bool calibrate(bool a_forceCalibration=false)
This method calibrates the device. 
Definition: CLeapDevices.cpp:403
 
static cLeapDevicePtr create(unsigned int a_deviceNumber=0)
Shared cPhantomDevice allocator. 
Definition: CLeapDevices.h:100
 
virtual ~cLeapDevice()
Destructor of cLeapDevice. 
Definition: CLeapDevices.cpp:323
 
Implements a base class for haptic devices. 
 
bool updateData()
Update data from controllers. 
Definition: CLeapDevices.cpp:569
 
static bool openLibraries()
This method opens the libraries for this class of devices. 
Definition: CLeapDevices.cpp:106
 
This class implements a 3D matrix. 
Definition: CMatrix3d.h:97
 
This class implements a base class for haptic devices. 
Definition: CGenericHapticDevice.h:280
 
This class implements an interface to the Leap Motion tracker interface. 
Definition: CLeapDevices.h:85
 
virtual bool getGripperAngleRad(double &a_angle)
This method returns the gripper angle in radian [rad]. 
Definition: CLeapDevices.cpp:496
 
virtual bool getRotation(cMatrix3d &a_rotation)
This method returns the orientation frame of the device end-effector. 
Definition: CLeapDevices.cpp:459
 
Definition: CAudioBuffer.cpp:56
 
virtual bool open()
This method opens a connection to the device. 
Definition: CLeapDevices.cpp:340
 
virtual bool getUserSwitches(unsigned int &a_userSwitches)
This method returns the status of all user switches [true = ON / false = OFF]. 
Definition: CLeapDevices.cpp:537
 
static unsigned int s_libraryCounter
Number of instances for this class of devices currently using the libraries. 
Definition: CLeapDevices.h:161
 
static unsigned int getNumDevices()
This method returns the number of haptic devices available for this class of devices. 
Definition: CLeapDevices.cpp:240
 
std::shared_ptr< cLeapDevice > cLeapDevicePtr
Definition: CLeapDevices.h:67
 
virtual bool close()
This method closes the connection to the device. 
Definition: CLeapDevices.cpp:375