Research Article

Immersive Gesture Interfaces for Navigation of 3D Maps in HMD-Based Mobile Virtual Environments

Algorithm 2

Rotation interface.
R: right
L: left
H: hand
Rot: rotation
c: current
Ho: horizontal line
Ver: vertical line
(1) if (LH == Fist and | LH.y–LSh.y | < 0.1f)
(2)  RH.vector = RH.(x, y, 0);
(3)  if Rotation
(4)   add.Rot = RH.vector–cRH.vector;
(5)   RotHV (add.Rot.x ∗ 100, add.Rot.y ∗ 100);
(6)  else Rotation = true;
(7)  cRH = RH;
(8) else Rotation = false;
(9)  RotHV (Ho, Ver)
(10)   cRotH += Ho;
(11)   cRotV += Ver;
(12)   Rot.(cRotV, 0, 0);
(13)   Rot.(0, −cRotH, 0);