hmi.neurophysics
Class FittsLaw

java.lang.Object
  extended by hmi.neurophysics.FittsLaw

public final class FittsLaw
extends Object

Author:
welberge Fitts' Law
Fitts' law predicts the time required to move from a certain start point to a target area. It is used to model rapid, aimed pointing actions.

Constructor Summary
private FittsLaw()
           
 
Method Summary
static double getTime(double a, double b, double D, double W, double H)
          Get the time needed for a 3d pointing action, using a variation on Fitts' Law:
ID=log2(D/min(W,H)+1)
T=a+b*ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FittsLaw

private FittsLaw()
Method Detail

getTime

public static double getTime(double a,
                             double b,
                             double D,
                             double W,
                             double H)
Get the time needed for a 3d pointing action, using a variation on Fitts' Law:
ID=log2(D/min(W,H)+1)
T=a+b*ID

Parameters:
a - emperically determined constant
b - emperically determined constant
D - pointing distance
W - width of the area to point to
H - height of the area to point to
Returns:
the time needed to point