|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--kinetic.Behavior
|
+--kinetic.SymmetricCurve
creates an S curvature with control, like twisting the middle of an S when the ends are fixed (absolute length of path changes).
| Field Summary | |
kinetic.KineticProperty |
amount
offset amount |
kinetic.KineticProperty |
curvature
curvature property |
kinetic.KineticProperty |
duration
duration of movement |
| Fields inherited from class kinetic.Behavior |
current_time, isDone, owner, properties, timeFilters |
| Constructor Summary | |
SymmetricCurve()
creates a new instance of a Symmetric Curve |
|
SymmetricCurve(double new_curvature,
double new_amount)
creates a new instance of symmetric curve with paramters |
|
SymmetricCurve(double delay_val,
double dur_val,
double new_curvature,
double new_amount)
create a new instance of Symmetric curve with paramaters |
|
| Method Summary | |
void |
Process()
calculates new parent property value |
void |
setamount(double new_amount)
set offset amount |
void |
setcurvature(double new_curvature)
set curavture |
| Methods inherited from class kinetic.Behavior |
addTimeFilter, apply, clear, getDuration, getPropertyList, getTimeFilterList, isDone, PrepareVariables, reset, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public kinetic.KineticProperty curvature
public kinetic.KineticProperty amount
public kinetic.KineticProperty duration
| Constructor Detail |
public SymmetricCurve()
public SymmetricCurve(double new_curvature,
double new_amount)
new_curvature - curvaturenew_amount - offset amount
public SymmetricCurve(double delay_val,
double dur_val,
double new_curvature,
double new_amount)
delay_val - time until start - msdur_val - duration of motionnew_curvature - new curvaturenew_amount - offsetamount| Method Detail |
public void setcurvature(double new_curvature)
new_curvature - new curvaturepublic void setamount(double new_amount)
new_amount - offset amountpublic void Process()
Process in class Behavior
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||