ALBA
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Alba_Release
Source
Interaction
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
20
#include "
albaDeviceButtonsPadTracker.h
"
21
22
//----------------------------------------------------------------------------
23
// forward declarations :
24
//----------------------------------------------------------------------------
25
class
albaMatrix
;
26
class
CP5DLL;
27
41
class
albaDeviceButtonsPadTrackerP5Glove
:
public
albaDeviceButtonsPadTracker
42
{
43
public
:
44
albaTypeMacro
(
albaDeviceButtonsPadTrackerP5Glove
,
albaDeviceButtonsPadTracker
);
45
47
int
GetIndexValue
() {
return
m_IndexValue
;}
49
int
GetMiddleValue
() {
return
m_MiddleValue
;}
51
int
GetRingValue
() {
return
m_RingValue
;}
53
int
GetPinkyValue
() {
return
m_PinkyValue
;}
55
int
GetThumbValue
() {
return
m_ThumbValue
;}
56
58
void
SetIndexSensitivity
(
int
value) {
m_IndexSensitivity
=value;}
60
void
SetMiddleSensitivity
(
int
value) {
m_MiddleSensitivity
=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
69
int
GetIndexSensitivity
(
int
value) {
m_IndexSensitivity
=value;}
71
int
GetMiddleSensitivity
(
int
value) {
m_MiddleSensitivity
=value;}
73
int
GetRingSensitivity
(
int
value) {
m_RingSensitivity
=value;}
75
int
GetPinkySensitivity
(
int
value) {
m_PinkySensitivity
=value;}
77
int
GetThumbSensitivity
(
int
value) {
m_ThumbSensitivity
=value;}
78
79
protected
:
80
albaDeviceButtonsPadTrackerP5Glove
();
81
virtual
~albaDeviceButtonsPadTrackerP5Glove
();
82
84
int
InternalUpdate
();
85
87
virtual
int
InternalInitialize
();
89
virtual
void
InternalShutdown
();
90
91
int
m_IndexValue
;
92
int
m_MiddleValue
;
93
int
m_RingValue
;
94
int
m_PinkyValue
;
95
int
m_ThumbValue
;
96
97
int
m_IndexSensitivity
;
98
int
m_MiddleSensitivity
;
99
int
m_RingSensitivity
;
100
int
m_PinkySensitivity
;
101
int
m_ThumbSensitivity
;
102
103
albaMatrix
*
m_TmpPose
;
104
static
CP5DLL *
m_P5
;
105
106
private
:
107
albaDeviceButtonsPadTrackerP5Glove
(
const
albaDeviceButtonsPadTrackerP5Glove
&);
// Not implemented.
108
void
operator=(
const
albaDeviceButtonsPadTrackerP5Glove
&);
// Not implemented.
109
};
110
111
#endif
albaDeviceButtonsPadTracker.h
albaDeviceButtonsPadTrackerP5Glove
class supporting device P5 glove from Essential Reality Inc.
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:42
albaDeviceButtonsPadTrackerP5Glove::GetPinkyValue
int GetPinkyValue()
Get the finger bend sensor current value, range [0,63].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:53
albaDeviceButtonsPadTrackerP5Glove::GetPinkySensitivity
int GetPinkySensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:75
albaDeviceButtonsPadTrackerP5Glove::GetRingSensitivity
int GetRingSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:73
albaDeviceButtonsPadTrackerP5Glove::GetThumbSensitivity
int GetThumbSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:77
albaDeviceButtonsPadTrackerP5Glove::m_ThumbValue
int m_ThumbValue
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:95
albaDeviceButtonsPadTrackerP5Glove::m_IndexValue
int m_IndexValue
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:91
albaDeviceButtonsPadTrackerP5Glove::m_TmpPose
albaMatrix * m_TmpPose
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:103
albaDeviceButtonsPadTrackerP5Glove::m_PinkyValue
int m_PinkyValue
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:94
albaDeviceButtonsPadTrackerP5Glove::SetIndexSensitivity
void SetIndexSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:58
albaDeviceButtonsPadTrackerP5Glove::m_IndexSensitivity
int m_IndexSensitivity
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:97
albaDeviceButtonsPadTrackerP5Glove::GetRingValue
int GetRingValue()
Get the finger bend sensor current value, range [0,63].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:51
albaDeviceButtonsPadTrackerP5Glove::m_ThumbSensitivity
int m_ThumbSensitivity
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:101
albaDeviceButtonsPadTrackerP5Glove::~albaDeviceButtonsPadTrackerP5Glove
virtual ~albaDeviceButtonsPadTrackerP5Glove()
albaDeviceButtonsPadTrackerP5Glove::m_RingValue
int m_RingValue
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:93
albaDeviceButtonsPadTrackerP5Glove::GetMiddleValue
int GetMiddleValue()
Get the finger bend sensor current value, range [0,63].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:49
albaDeviceButtonsPadTrackerP5Glove::m_PinkySensitivity
int m_PinkySensitivity
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:100
albaDeviceButtonsPadTrackerP5Glove::GetIndexSensitivity
int GetIndexSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:69
albaDeviceButtonsPadTrackerP5Glove::SetPinkySensitivity
void SetPinkySensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:64
albaDeviceButtonsPadTrackerP5Glove::GetMiddleSensitivity
int GetMiddleSensitivity(int value)
Get the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:71
albaDeviceButtonsPadTrackerP5Glove::albaDeviceButtonsPadTrackerP5Glove
albaDeviceButtonsPadTrackerP5Glove()
albaDeviceButtonsPadTrackerP5Glove::SetRingSensitivity
void SetRingSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:62
albaDeviceButtonsPadTrackerP5Glove::GetIndexValue
int GetIndexValue()
Get the finger bend sensor current value, range [0,63].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:47
albaDeviceButtonsPadTrackerP5Glove::InternalInitialize
virtual int InternalInitialize()
initialize P5DLL
albaDeviceButtonsPadTrackerP5Glove::m_MiddleSensitivity
int m_MiddleSensitivity
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:98
albaDeviceButtonsPadTrackerP5Glove::SetMiddleSensitivity
void SetMiddleSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:60
albaDeviceButtonsPadTrackerP5Glove::m_RingSensitivity
int m_RingSensitivity
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:99
albaDeviceButtonsPadTrackerP5Glove::m_P5
static CP5DLL * m_P5
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:104
albaDeviceButtonsPadTrackerP5Glove::GetThumbValue
int GetThumbValue()
Get the finger bend sensor current value, range [0,63].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:55
albaDeviceButtonsPadTrackerP5Glove::albaTypeMacro
albaTypeMacro(albaDeviceButtonsPadTrackerP5Glove, albaDeviceButtonsPadTracker)
albaDeviceButtonsPadTrackerP5Glove::m_MiddleValue
int m_MiddleValue
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:92
albaDeviceButtonsPadTrackerP5Glove::InternalUpdate
int InternalUpdate()
performs polling of P5 glove
albaDeviceButtonsPadTrackerP5Glove::SetThumbSensitivity
void SetThumbSensitivity(int value)
Set the finger bend sensor sensitivity, range [0,30].
Definition:
albaDeviceButtonsPadTrackerP5Glove.h:66
albaDeviceButtonsPadTrackerP5Glove::InternalShutdown
virtual void InternalShutdown()
close P5DLL
albaDeviceButtonsPadTracker
Generic spatial position tracking device.
Definition:
albaDeviceButtonsPadTracker.h:68
albaMatrix
albaMatrix - Time stamped 4x4 Matrix.
Definition:
albaMatrix.h:44
Generated by
1.9.5