All Packages Class Hierarchy This Package Previous Next Index
Class improv.util.Curve
java.lang.Object
|
+----improv.util.Curve
- public abstract class Curve
- extends Object
This is the base class for all Improv curve objects
-
ADD
-
-
DIV
-
-
IGNORE
-
-
MAX
-
-
MIN
-
-
MULT
-
-
POW
-
-
SUB
-
-
Curve()
-
-
animate(double)
- This is called by the various filter types to determine the current value of the filter.
-
animate(double, double)
-
-
eval(double)
- This is called from the animate method and is overridden by the individual curve classes.
-
getCompositeMode()
-
-
getOffset()
-
-
getOverlay()
-
-
setCompositeMode(int)
- used to set the composite mode of a curve
-
setOffset(double)
- Used to set a temporal offset for the curve
-
setOverlay(Curve)
- Used to set an overlay curve with the default composite method of "ADD"
-
setOverlay(Curve, String)
- Used to set an overlay curve and a composite method
IGNORE
public static final int IGNORE
ADD
public static final int ADD
SUB
public static final int SUB
MULT
public static final int MULT
DIV
public static final int DIV
MAX
public static final int MAX
MIN
public static final int MIN
POW
public static final int POW
Curve
public Curve()
animate
public abstract double animate(double time)
- This is called by the various filter types to determine the current value of the filter. This is overriden by
the EditableCurve and ParameterizedCurve classes.
animate
public abstract double animate(double time,
double weight)
eval
public abstract double eval(double x)
- This is called from the animate method and is overridden by the individual curve classes.
setOffset
public void setOffset(double d)
- Used to set a temporal offset for the curve
setOverlay
public void setOverlay(Curve curve)
- Used to set an overlay curve with the default composite method of "ADD"
setOverlay
public void setOverlay(Curve curve,
String composite)
- Used to set an overlay curve and a composite method
setCompositeMode
public void setCompositeMode(int i)
- used to set the composite mode of a curve
getOverlay
public Curve getOverlay()
- Returns:
- the overlay curve
getCompositeMode
public int getCompositeMode()
- Returns:
- the composite mode
getOffset
public double getOffset()
- Returns:
- the temposral offset of the curve
All Packages Class Hierarchy This Package Previous Next Index