All Packages Class Hierarchy This Package Previous Next Index
Class improv.actor.behavior.SFRotationChannel
java.lang.Object
|
+----improv.event.ImprovObservable
|
+----improv.actor.behavior.Channel
|
+----improv.actor.behavior.SFRotationChannel
- public final class SFRotationChannel
- extends Channel
-
XYZ
-
-
xyzArg
-
-
XZY
-
-
YXZ
-
-
YZX
-
-
ZXY
-
-
ZYX
-
-
SFRotationChannel()
-
-
SFRotationChannel(float[])
-
-
SFRotationChannel(int)
-
-
SFRotationChannel(int, float[])
-
-
SFRotationChannel(String)
-
-
SFRotationChannel(String, float[])
-
-
SFRotationChannel(String, int)
-
-
SFRotationChannel(String, int, float[])
-
-
addXYZObserver(Object)
-
-
finishFrame()
- Called by the Actor at the end of each Animation frame.
-
getRotationOrder()
-
-
getValue()
-
-
getXYZ()
-
-
setRotationOrder(int)
- Choose one of the six possible rotation orderings.
-
setRotationOrder(int, int, int)
- Set the euler angles rotation order by index.
-
setRotationOrder(int[])
- Set the euler angles rotation order.
-
setValue(float[])
-
-
setValue(float[], double)
-
-
startFrame()
-
XYZ
public static final int XYZ
XZY
public static final int XZY
YXZ
public static final int YXZ
YZX
public static final int YZX
ZXY
public static final int ZXY
ZYX
public static final int ZYX
xyzArg
public Object xyzArg
SFRotationChannel
public SFRotationChannel()
SFRotationChannel
public SFRotationChannel(String s)
SFRotationChannel
public SFRotationChannel(String s,
int ro)
SFRotationChannel
public SFRotationChannel(String s,
float f[])
SFRotationChannel
public SFRotationChannel(String s,
int ro,
float f[])
SFRotationChannel
public SFRotationChannel(int ro)
SFRotationChannel
public SFRotationChannel(float f[])
SFRotationChannel
public SFRotationChannel(int ro,
float f[])
startFrame
public void startFrame()
- Overrides:
- startFrame in class Channel
finishFrame
public void finishFrame()
- Called by the Actor at the end of each Animation frame.
- Overrides:
- finishFrame in class Channel
addXYZObserver
public void addXYZObserver(Object o)
setValue
public void setValue(float val[],
double weight)
setValue
public void setValue(float val[])
getValue
public float[] getValue()
getXYZ
public float[] getXYZ()
getRotationOrder
public int getRotationOrder()
setRotationOrder
public void setRotationOrder(int order[])
- Set the euler angles rotation order.
The three elements of order[] must form a permutation of {0,1,2}.
- Parameters:
- order - an array containing a permutation of {0,1,2}
setRotationOrder
public void setRotationOrder(int a,
int b,
int c)
- Set the euler angles rotation order by index.
a,b,c must form a permutation of {0,1,2}.
- Parameters:
- a - the axis to rotate about first (X=0,Y=1,Z=2)
- b - the axis to rotate about second (X=0,Y=1,Z=2)
- c - the axis to rotate about last (X=0,Y=1,Z=2)
setRotationOrder
public void setRotationOrder(int order)
- Choose one of the six possible rotation orderings.
The six possible orderings are as follows: XYZ XZY YXZ YZX ZXY ZYX.
For example, YXZ denotes first rotate about Y, then about X, then about Z.
- Parameters:
- order - one of six possible orderings for the xyz euler angles.
All Packages Class Hierarchy This Package Previous Next Index