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

Variable Index

 o XYZ
 o xyzArg
 o XZY
 o YXZ
 o YZX
 o ZXY
 o ZYX

Constructor Index

 o SFRotationChannel()
 o SFRotationChannel(float[])
 o SFRotationChannel(int)
 o SFRotationChannel(int, float[])
 o SFRotationChannel(String)
 o SFRotationChannel(String, float[])
 o SFRotationChannel(String, int)
 o SFRotationChannel(String, int, float[])

Method Index

 o addXYZObserver(Object)
 o finishFrame()
Called by the Actor at the end of each Animation frame.
 o getRotationOrder()
 o getValue()
 o getXYZ()
 o setRotationOrder(int)
Choose one of the six possible rotation orderings.
 o setRotationOrder(int, int, int)
Set the euler angles rotation order by index.
 o setRotationOrder(int[])
Set the euler angles rotation order.
 o setValue(float[])
 o setValue(float[], double)
 o startFrame()

Variables

 o XYZ
 public static final int XYZ
 o XZY
 public static final int XZY
 o YXZ
 public static final int YXZ
 o YZX
 public static final int YZX
 o ZXY
 public static final int ZXY
 o ZYX
 public static final int ZYX
 o xyzArg
 public Object xyzArg

Constructors

 o SFRotationChannel
 public SFRotationChannel()
 o SFRotationChannel
 public SFRotationChannel(String s)
 o SFRotationChannel
 public SFRotationChannel(String s,
                          int ro)
 o SFRotationChannel
 public SFRotationChannel(String s,
                          float f[])
 o SFRotationChannel
 public SFRotationChannel(String s,
                          int ro,
                          float f[])
 o SFRotationChannel
 public SFRotationChannel(int ro)
 o SFRotationChannel
 public SFRotationChannel(float f[])
 o SFRotationChannel
 public SFRotationChannel(int ro,
                          float f[])

Methods

 o startFrame
 public void startFrame()
Overrides:
startFrame in class Channel
 o finishFrame
 public void finishFrame()
Called by the Actor at the end of each Animation frame.

Overrides:
finishFrame in class Channel
 o addXYZObserver
 public void addXYZObserver(Object o)
 o setValue
 public void setValue(float val[],
                      double weight)
 o setValue
 public void setValue(float val[])
 o getValue
 public float[] getValue()
 o getXYZ
 public float[] getXYZ()
 o getRotationOrder
 public int getRotationOrder()
 o 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}
 o 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)
 o 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