Behavior class to extract the rotation component of the view
platform transform, and set the axis transform to the inverse of
that rotation. The axis should be added as a child of the platform
geometry. Note that this behavior must run after the view platform
behavior.
Constructor Summary
public
AxisBehavior(TransformGroup axisTG, TransformGroup viewPlatformTG) Constructs a new AxisBehavior from the specified view
platform transform group and axis transform group.
Method Summary
public void
initialize() Initialize local variables and set the initial wakeup
condition.
public void
processStimulus(Enumeration criteria) Extract the rotation from the view platform transform (if it has
changed) and update the target transform with its inverse.