Interhaptics SDK for Unity 1.6
Loading...
Searching...
No Matches
Interhaptics.HapticBodyMapping Namespace Reference

Classes

struct  CommandData
 Structure for command data in haptic systems. More...
 

Enumerations

enum  Perception {
  None = -1 , Stiffness = 0 , Texture = Stiffness + 1 , Vibration = Texture + 1 ,
  AllPerception = Vibration + 1
}
 Enumeration for different types of haptic perceptions. More...
 
enum  BufferDataType { Amplitude = 0 , PCM = 0 , Frequency = 1 , Transient = 2 }
 Enumeration for types of haptic buffer data. More...
 
enum  BodyPartID {
  Bp_None = -1 , Bp_Chest = 340 , Bp_Waist = 325 , Bp_Crane = 359 ,
  Bp_Neck = 358 , Bp_Left_upper_arm = 212 , Bp_Left_lower_arm = 214 , Bp_Right_upper_arm = 112 ,
  Bp_Right_lower_arm = 114 , Bp_Left_upper_leg = 226 , Bp_Left_lower_leg = 228 , Bp_Right_upper_leg = 126 ,
  Bp_Right_lower_leg = 128 , Bp_Left_palm = 216 , Bp_Right_palm = 116 , Bp_Left_sole = 200 ,
  Bp_Right_sole = 100 , Bp_Left_hallux = 233 , Bp_Left_index_toe = 234 , Bp_Left_middle_toe = 235 ,
  Bp_Left_ring_toe = 236 , Bp_Left_pinky_toe = 237 , Bp_Right_hallux = 133 , Bp_Right_index_toe = 134 ,
  Bp_Right_middle_toe = 135 , Bp_Right_ring_toe = 136 , Bp_Right_pinky_toe = 137 , Bp_Left_thumb_first = 244 ,
  Bp_Left_thumb_second = 245 , Bp_Left_thumb_third = 246 , Bp_Left_index_first = 247 , Bp_Left_index_second = 248 ,
  Bp_Left_index_third = 249 , Bp_Left_middle_first = 250 , Bp_Left_middle_second = 251 , Bp_Left_middle_third = 252 ,
  Bp_Left_ring_first = 253 , Bp_Left_ring_second = 254 , Bp_Left_ring_third = 255 , Bp_Left_pinky_first = 256 ,
  Bp_Left_pinky_second = 257 , Bp_Left_pinky_third = 258 , Bp_Right_thumb_first = 144 , Bp_Right_thumb_second = 145 ,
  Bp_Right_thumb_third = 146 , Bp_Right_index_first = 147 , Bp_Right_index_second = 148 , Bp_Right_index_third = 149 ,
  Bp_Right_middle_first = 150 , Bp_Right_middle_second = 151 , Bp_Right_middle_third = 152 , Bp_Right_ring_first = 153 ,
  Bp_Right_ring_second = 154 , Bp_Right_ring_third = 155 , Bp_Right_pinky_first = 156 , Bp_Right_pinky_second = 157 ,
  Bp_Right_pinky_third = 158
}
 Enumeration for identifying different body parts for haptic effects. More...
 
enum  Operator { Minus = -1 , Neutral = 0 , Plus = 1 }
 Enumeration for operator signs in haptic command data. More...
 
enum  LateralFlag {
  Unknown_position = -1 , Global = 0 , Right = 1 , Left = 2 ,
  Center = 3
}
 Enumeration for lateral flag in haptic command data. More...
 
enum  GroupID {
  Unknown = -1 , All = 0 , Top = 100 , Down = 101 ,
  Arm = 200 , Head = 201 , Chest = 202 , Waist = 203 ,
  Leg = 204 , Upper_arm = 300 , Lower_arm = 301 , Hand = 302 ,
  Crane = 303 , Neck = 304 , Upper_leg = 305 , Lower_leg = 306 ,
  Foot = 307 , Palm = 400 , Finguer = 401 , Sole = 402 ,
  Toe = 403 , Thumb = 500 , Index = 501 , Middle = 502 ,
  Ring = 503 , Pinky = 504 , Hallux = 505 , Index_toe = 506 ,
  Middle_toe = 507 , Ring_toe = 508 , Pinky_toe = 509 , First = 600 ,
  Second = 601 , Third = 602
}
 Enumeration for group identification in haptic command data. More...
 

Enumeration Type Documentation

◆ BodyPartID

Enumeration for identifying different body parts for haptic effects.

Enumerator
Bp_None 
Bp_Chest 
Bp_Waist 
Bp_Crane 
Bp_Neck 
Bp_Left_upper_arm 
Bp_Left_lower_arm 
Bp_Right_upper_arm 
Bp_Right_lower_arm 
Bp_Left_upper_leg 
Bp_Left_lower_leg 
Bp_Right_upper_leg 
Bp_Right_lower_leg 
Bp_Left_palm 
Bp_Right_palm 
Bp_Left_sole 
Bp_Right_sole 
Bp_Left_hallux 
Bp_Left_index_toe 
Bp_Left_middle_toe 
Bp_Left_ring_toe 
Bp_Left_pinky_toe 
Bp_Right_hallux 
Bp_Right_index_toe 
Bp_Right_middle_toe 
Bp_Right_ring_toe 
Bp_Right_pinky_toe 
Bp_Left_thumb_first 
Bp_Left_thumb_second 
Bp_Left_thumb_third 
Bp_Left_index_first 
Bp_Left_index_second 
Bp_Left_index_third 
Bp_Left_middle_first 
Bp_Left_middle_second 
Bp_Left_middle_third 
Bp_Left_ring_first 
Bp_Left_ring_second 
Bp_Left_ring_third 
Bp_Left_pinky_first 
Bp_Left_pinky_second 
Bp_Left_pinky_third 
Bp_Right_thumb_first 
Bp_Right_thumb_second 
Bp_Right_thumb_third 
Bp_Right_index_first 
Bp_Right_index_second 
Bp_Right_index_third 
Bp_Right_middle_first 
Bp_Right_middle_second 
Bp_Right_middle_third 
Bp_Right_ring_first 
Bp_Right_ring_second 
Bp_Right_ring_third 
Bp_Right_pinky_first 
Bp_Right_pinky_second 
Bp_Right_pinky_third 

Definition at line 34 of file BodyMapping.cs.

35 {
36 // List of all body parts with specific identifiers - 56 bodyparts
37 Bp_None = -1,
38
39 Bp_Chest = 340,
40 Bp_Waist = 325,
41 Bp_Crane = 359,
42 Bp_Neck = 358,
43
46
49
52
55
56 Bp_Left_palm = 216,
57 Bp_Right_palm = 116,
58
59 Bp_Left_sole = 200,
60 Bp_Right_sole = 100,
61
62 Bp_Left_hallux = 233,
65 Bp_Left_ring_toe = 236,
67
68 Bp_Right_hallux = 133,
73
77
81
85
89
93
97
101
105
109
112 Bp_Right_pinky_third = 158, //56 bodyparts
113 };

◆ BufferDataType

Enumeration for types of haptic buffer data.

Enumerator
Amplitude 

Data type for amplitude.

PCM 

PCM data type, same as amplitude.

Frequency 

Data type for frequency.

Transient 

Data type for transient.

Definition at line 23 of file BodyMapping.cs.

24 {
25 Amplitude = 0,
26 PCM = 0,
27 Frequency = 1,
28 Transient = 2
29 };
@ PCM
PCM data type, same as amplitude.

◆ GroupID

Enumeration for group identification in haptic command data.

Enumerator
Unknown 
All 
Top 
Down 
Arm 
Head 
Chest 
Waist 
Leg 
Upper_arm 
Lower_arm 
Hand 
Crane 
Neck 
Upper_leg 
Lower_leg 
Foot 
Palm 
Finguer 
Sole 
Toe 
Thumb 
Index 
Middle 
Ring 
Pinky 
Hallux 
Index_toe 
Middle_toe 
Ring_toe 
Pinky_toe 
First 
Second 
Third 

Definition at line 140 of file BodyMapping.cs.

141 {
142 Unknown = -1,
143
144 All = 0,
145
146 Top = 100,
147 Down = 101,
148
149 Arm = 200,
150 Head = 201,
151 Chest = 202,
152 Waist = 203,
153 Leg = 204,
154
155 Upper_arm = 300,
156 Lower_arm = 301,
157 Hand = 302,
158 Crane = 303,
159 Neck = 304,
160 Upper_leg = 305,
161 Lower_leg = 306,
162 Foot = 307,
163
164 Palm = 400,
165 Finguer = 401,
166 Sole = 402,
167 Toe = 403,
168
169 Thumb = 500,
170 Index = 501,
171 Middle = 502,
172 Ring = 503,
173 Pinky = 504,
174 Hallux = 505,
175 Index_toe = 506,
176 Middle_toe = 507,
177 Ring_toe = 508,
178 Pinky_toe = 509,
179
180 First = 600,
181 Second = 601,
182 Third = 602,
183 };

◆ LateralFlag

Enumeration for lateral flag in haptic command data.

Enumerator
Unknown_position 
Global 
Right 
Left 
Center 

Definition at line 128 of file BodyMapping.cs.

◆ Operator

Enumeration for operator signs in haptic command data.

Enumerator
Minus 
Neutral 
Plus 

Definition at line 118 of file BodyMapping.cs.

◆ Perception

Enumeration for different types of haptic perceptions.

Enumerator
None 

No perception.

Stiffness 

Stiffness perception.

Texture 

Texture perception.

Vibration 

Vibration perception.

AllPerception 

All types of perceptions.

Definition at line 11 of file BodyMapping.cs.

12 {
13 None = -1,
14 Stiffness = 0,
15 Texture = Stiffness + 1,
16 Vibration = Texture + 1,
18 };
@ AllPerception
All types of perceptions.