edu.berkeley.guir.lib.gesture.features
Class InitAngleCosine
java.lang.Object
|
+--java.util.Observable
|
+--edu.berkeley.guir.lib.gesture.Feature
|
+--edu.berkeley.guir.lib.gesture.features.InitAngleCosine
- All Implemented Interfaces:
- Observer, Serializable
- public class InitAngleCosine
- extends Feature
Cosine of the initial angle
- See Also:
- Serialized Form
Method Summary |
protected void |
computeValue()
Non-incremental computation. |
double |
getMaxValue()
Return minimum value this feature can have |
double |
getMinValue()
Return maximum value this feature can have |
String |
getName()
Return a name that will be meaningful to the user |
void |
scale(double factor)
This is not necessarily the ideal way to scale the cosine,
but it's a start. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
minValue
public double minValue
maxValue
public double maxValue
InitAngleCosine
public InitAngleCosine()
InitAngleCosine
public InitAngleCosine(Gesture g)
computeValue
protected void computeValue()
- Description copied from class:
Feature
- Non-incremental computation. Should set @value to new value and
- Overrides:
computeValue
in class Feature
getMinValue
public double getMinValue()
- Description copied from class:
Feature
- Return maximum value this feature can have
- Overrides:
getMinValue
in class Feature
getMaxValue
public double getMaxValue()
- Description copied from class:
Feature
- Return minimum value this feature can have
- Overrides:
getMaxValue
in class Feature
getName
public String getName()
- Description copied from class:
Feature
- Return a name that will be meaningful to the user
- Overrides:
getName
in class Feature
scale
public void scale(double factor)
- This is not necessarily the ideal way to scale the cosine,
but it's a start.
- Overrides:
scale
in class Feature