OrbitBehaviorInterim provides the mouse navigation capabilities of "com.sun.j3d.utils.behaviors.vp.OrbitBehavior" for
a standard VirtualUniverse inclusive SimpleUniverse and for any AWT Component inclusive Canvas3D and JCanvas3D.
ConfiguredUniverse is not supported. This implementation might serve as an interim version until a Java 3D core utility is available.
Author: August Lammersdorf, www.InteractiveMesh.com/org
Version: 1.1
Date: June 26, 2007
Release notes.
Version 1.1 - 2007/06/26
Bugs
- flags in constructor 'OrbitBehaviorInterim(int flags)' have no effect
New Methods
- setRotationCenter(Point3d center, boolean lookAtRotCenter):
sets the current rotation center and if 'lookAtRotCenter' is true
the view will be moved to this rotation center, otherwise it remains unchanged
- lookAtRotationCenter():
view will be moved to current rotation center
- get-/setHomeRotationCenter(Point3d homeCenter):
besides the 'home' transform a 'home' rotation center is now available, too
- goHome(boolean aroundHomeCenter):
the 'home' transform is applied and if 'aroundHomeCenter' is true
the current roation center is set to 'home' rotation center
+ some minor improvements
Version 1.0 - 2007/05/28
- Based only on javax.media.j3d.* and javax.vecmath.*, no utilities are used
- Requires Java 3D 1.2.1+
- Single Component as source used to listen for MouseEvents
- Source Component and target TransformGroup (of ViewPlatform) are explicitly to set (by constructor or setAWTComponent / setViewingTransformGroup)
- Setting rotation center updates internal state
- Never used key listening is removed