|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.ding3d.SceneGraphObject
javax.media.ding3d.Node
javax.media.ding3d.Leaf
javax.media.ding3d.Behavior
javax.media.ding3d.utils.behaviors.vp.ViewPlatformBehavior
public abstract class ViewPlatformBehavior
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()).
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ViewPlatformBehavior()
|
|
| Method Summary | |
|---|---|
void |
getHomeTransform(Transform3D home)
Returns the behaviors "home" transform. |
ViewingPlatform |
getViewingPlatform()
Returns the ViewingPlatform for this behavior |
void |
goHome()
Positions and reorients the ViewingPlatform to its "home" transform. |
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. |
void |
setViewingPlatform(ViewingPlatform vp)
Sets the ViewingPlatform for this behavior. |
| Methods inherited from class javax.media.ding3d.Behavior |
|---|
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, initialize, postId, processStimulus, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences |
| Methods inherited from class javax.media.ding3d.Node |
|---|
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
| Methods inherited from class javax.media.ding3d.SceneGraphObject |
|---|
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ViewPlatformBehavior()
| Method Detail |
|---|
public void setViewingPlatform(ViewingPlatform vp)
NOTE: Applications should not call this method.
vp - the target ViewingPlatform for this behaviorpublic ViewingPlatform getViewingPlatform()
public void setHomeTransform(Transform3D home)
home - source transform to be copiedpublic void getHomeTransform(Transform3D home)
home - transform to be returnedpublic void goHome()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||