|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kinetic.Behavior | +--kinetic.SymmetricCurveSecondary
implements the derviative function for the SymmetricCurve behavior. If parameters are match, this motion with be correctly synchronized.
Field Summary | |
kinetic.KineticProperty |
amount
offset amount |
kinetic.KineticProperty |
curvature
curvature property |
Fields inherited from class kinetic.Behavior |
current_time, duration, isDone, owner, properties, timeFilters |
Constructor Summary | |
SymmetricCurveSecondary()
creates a new instance of a Symmetric Curve Secondary |
|
SymmetricCurveSecondary(double new_curvature,
double new_amount)
creates a new instance of symmetric curve secondary with paramters |
|
SymmetricCurveSecondary(double delay_val,
double dur_val,
double new_curvature,
double new_amount)
create a new instance of Symmetric curve secondary 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
Constructor Detail |
public SymmetricCurveSecondary()
public SymmetricCurveSecondary(double new_curvature, double new_amount)
new_curvature
- curvaturenew_amount
- offset amountpublic SymmetricCurveSecondary(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
- offsetamountMethod 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 |