de.lmu.ifi.mfchords.utils
Class RelativeMeasurement

java.lang.Object
  extended by de.lmu.ifi.mfchords.utils.RelativeMeasurement

public class RelativeMeasurement
extends java.lang.Object

This class contains all hand-centric relative measurements. In the following 'b1' and 'b2' stands for the two touches of the multi-finger chord basis (thumb-pinky and thumb-index) or in the case of the neighboring fingers family for the two outer touches. 'p' stands for the third remaining touch.


Constructor Summary
RelativeMeasurement()
           
RelativeMeasurement(java.lang.String identifier)
           
 
Method Summary
 java.lang.Double getD1()
           
 java.lang.Double getD2()
          Distance between identifying touch point p and basis touch point b2
 java.lang.Double getD3()
          Distance between basis touch points b1 and b2
 java.lang.String getEntry()
           
 java.lang.String getID()
           
 java.lang.Double getRA1()
          Relative angle between b1 and p
 java.lang.Double getRA2()
          Relative angle between p and b2
 java.lang.Double getRA3()
          Relative angle between b2 and b1
 java.lang.Double getRD1()
          Relative distance between b1 and p
 java.lang.Double getRD2()
          Relative distance between p and b2
 java.lang.Double getRD3()
           
 java.lang.Double getRP1()
          Relative projection: the relative position of b2 projected onto b1-p
 java.lang.Double getRP2()
          Relative projection: the relative position of b1 projected onto p-b2
 java.lang.Double getRP3()
          Relative projection: the relative position of p projected onto b1-b2
 java.lang.Double getRPD1()
          Relative projection distance: the relative distance of b2 projected onto b1-p to the distance of b1-p
 java.lang.Double getRPD2()
          Relative projection distance: the relative distance of b1 projected onto p-b2 to the distance of p-b2
 java.lang.Double getRPD3()
          Relative projection distance: the relative distance of p projected onto b1-b2 to the distance of b1-b2
 void setD1(java.lang.Double d1)
           
 void setD2(java.lang.Double d2)
           
 void setD3(java.lang.Double d3)
           
 void setEntry(java.lang.String entry)
           
 void setID(java.lang.String i)
           
 void setRA1(java.lang.Double rA1)
           
 void setRA2(java.lang.Double rA2)
           
 void setRA3(java.lang.Double rA3)
           
 void setRD1(java.lang.Double rD1)
           
 void setRD2(java.lang.Double rD2)
           
 void setRD3(java.lang.Double rD3)
           
 void setRP1(java.lang.Double rP1)
           
 void setRP2(java.lang.Double rP2)
           
 void setRP3(java.lang.Double rP3)
           
 void setRPD1(java.lang.Double rPD1)
           
 void setRPD2(java.lang.Double rPD2)
           
 void setRPD3(java.lang.Double rPD3)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelativeMeasurement

public RelativeMeasurement(java.lang.String identifier)

RelativeMeasurement

public RelativeMeasurement()
Method Detail

getID

public java.lang.String getID()

setID

public void setID(java.lang.String i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getD1

public java.lang.Double getD1()

setD1

public void setD1(java.lang.Double d1)

getD2

public java.lang.Double getD2()
Distance between identifying touch point p and basis touch point b2


setD2

public void setD2(java.lang.Double d2)

getD3

public java.lang.Double getD3()
Distance between basis touch points b1 and b2


setD3

public void setD3(java.lang.Double d3)

getRD1

public java.lang.Double getRD1()
Relative distance between b1 and p


setRD1

public void setRD1(java.lang.Double rD1)

getRD2

public java.lang.Double getRD2()
Relative distance between p and b2


setRD2

public void setRD2(java.lang.Double rD2)

getRD3

public java.lang.Double getRD3()

setRD3

public void setRD3(java.lang.Double rD3)

getRA1

public java.lang.Double getRA1()
Relative angle between b1 and p


setRA1

public void setRA1(java.lang.Double rA1)

getRA2

public java.lang.Double getRA2()
Relative angle between p and b2


setRA2

public void setRA2(java.lang.Double rA2)

getRA3

public java.lang.Double getRA3()
Relative angle between b2 and b1


setRA3

public void setRA3(java.lang.Double rA3)

getRPD1

public java.lang.Double getRPD1()
Relative projection distance: the relative distance of b2 projected onto b1-p to the distance of b1-p


setRPD1

public void setRPD1(java.lang.Double rPD1)

getRPD2

public java.lang.Double getRPD2()
Relative projection distance: the relative distance of b1 projected onto p-b2 to the distance of p-b2


setRPD2

public void setRPD2(java.lang.Double rPD2)

getRPD3

public java.lang.Double getRPD3()
Relative projection distance: the relative distance of p projected onto b1-b2 to the distance of b1-b2


setRPD3

public void setRPD3(java.lang.Double rPD3)

getRP1

public java.lang.Double getRP1()
Relative projection: the relative position of b2 projected onto b1-p


setRP1

public void setRP1(java.lang.Double rP1)

getRP2

public java.lang.Double getRP2()
Relative projection: the relative position of b1 projected onto p-b2


setRP2

public void setRP2(java.lang.Double rP2)

getRP3

public java.lang.Double getRP3()
Relative projection: the relative position of p projected onto b1-b2


setRP3

public void setRP3(java.lang.Double rP3)

getEntry

public java.lang.String getEntry()

setEntry

public void setEntry(java.lang.String entry)