abstractpublic class ViewPlatformBehavior extends Behavior(Code)
Abstract class for ViewPlatformBehaviors. A ViewPlatformBehavior must
be added to the ViewingPlatform with the
ViewingPlatform.addViewPlatformBehavior() method. The ViewPlatformBehavior
will operate on the ViewPlatform transform (the TransformGroup return by
ViewingPlatform.getViewPlatformTransform()).
since: Java 3D 1.2.1
goHome() Positions and reorients the ViewingPlatform to its "home" transform.
public void
setHomeTransform(Transform3D home) Copies the given Transform3D into the "home" transform, used to
position and reorient the ViewingPlatform to a known point of interest.
The "home" transform for this behavior. This is a transform used to
position and orient the ViewingPlatform to a known point of interest.
since: Java 3D 1.3
Copies the given Transform3D into the "home" transform, used to
position and reorient the ViewingPlatform to a known point of interest.
Parameters: home - source transform to be copied since: Java 3D 1.3
Sets the ViewingPlatform for this behavior. This method is called by
the ViewingPlatform. If a sub-calls overrides this method, it must
call super.setViewingPlatform(vp).
NOTE: Applications should not call this method.
Parameters: vp - the target ViewingPlatform for this behavior