ALBA
albaDeviceButtonsPadTrackerP5Glove.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaDeviceButtonsPadTrackerP5Glove
5 Authors: Marco Petrone
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaDeviceButtonsPadTrackerP5Glove_h
18#define __albaDeviceButtonsPadTrackerP5Glove_h
19
21
22//----------------------------------------------------------------------------
23// forward declarations :
24//----------------------------------------------------------------------------
25class albaMatrix;
26class CP5DLL;
27
42{
43public:
45
51 int GetRingValue() {return m_RingValue;}
56
58 void SetIndexSensitivity(int value) {m_IndexSensitivity=value;}
62 void SetRingSensitivity(int value) {m_RingSensitivity=value;}
64 void SetPinkySensitivity(int value) {m_PinkySensitivity=value;}
66 void SetThumbSensitivity(int value) {m_ThumbSensitivity=value;}
67
73 int GetRingSensitivity(int value) {m_RingSensitivity=value;}
78
79protected:
82
85
87 virtual int InternalInitialize();
89 virtual void InternalShutdown();
90
96
102
104 static CP5DLL *m_P5;
105
106private:
108 void operator=(const albaDeviceButtonsPadTrackerP5Glove&); // Not implemented.
109};
110
111#endif
class supporting device P5 glove from Essential Reality Inc.
int GetPinkyValue()
Get the finger bend sensor current value, range [0,63].
int GetPinkySensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
int GetRingSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
int GetThumbSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
void SetIndexSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
int GetRingValue()
Get the finger bend sensor current value, range [0,63].
int GetMiddleValue()
Get the finger bend sensor current value, range [0,63].
int GetIndexSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
void SetPinkySensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
int GetMiddleSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
void SetRingSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
int GetIndexValue()
Get the finger bend sensor current value, range [0,63].
virtual int InternalInitialize()
initialize P5DLL
void SetMiddleSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
int GetThumbValue()
Get the finger bend sensor current value, range [0,63].
albaTypeMacro(albaDeviceButtonsPadTrackerP5Glove, albaDeviceButtonsPadTracker)
int InternalUpdate()
performs polling of P5 glove
void SetThumbSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
virtual void InternalShutdown()
close P5DLL
Generic spatial position tracking device.
albaMatrix - Time stamped 4x4 Matrix.
Definition: albaMatrix.h:44