net.jbeans.j3d.universe
Class ViewingPlatform
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Group
javax.media.j3d.BranchGroup
com.sun.j3d.utils.universe.ViewingPlatform
net.jbeans.j3d.universe.ViewingPlatform
- public final class ViewingPlatform
- extends com.sun.j3d.utils.universe.ViewingPlatform
generally describe ViewingPlatform in here
- Version:
- $Revision: 1.3 $
- Author:
- Masahiro Takatsuka (masa@jbeans.net)
- See Also:
ViewingPlatform
Fields inherited from class com.sun.j3d.utils.universe.ViewingPlatform |
avatarRoot, behaviors, mtg, platformGeometry, platformGeometryRoot, universe, viewerList, viewPlatform |
Fields inherited from class javax.media.j3d.BranchGroup |
ALLOW_DETACH |
Fields inherited from class javax.media.j3d.Group |
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
Fields inherited from class javax.media.j3d.Node |
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Fields inherited from class javax.media.j3d.SceneGraphObject |
|
Constructor Summary |
(package private) |
ViewingPlatform()
constructs a new ViewingPlatform object. |
(package private) |
ViewingPlatform(int i)
constructs a new ViewingPlatform object. |
Method Summary |
javax.vecmath.Point3d |
getEyePosition()
Returns the location of the eye. |
javax.vecmath.Vector3d |
getUpPosition()
Returns the up direction. |
javax.vecmath.Vector3d |
getViewingDirection()
Returns the viewing direction. |
void |
removeViewer(com.sun.j3d.utils.universe.Viewer viewer)
|
void |
setNominalViewingTransform()
Sets a nominal viewing transformation. |
void |
setViewer(com.sun.j3d.utils.universe.Viewer viewer)
Sets a new Viewer object. |
void |
viewAll(javax.media.j3d.Node node)
Moves a viewer to see all objects in the scene described by
the specified Node object. |
Methods inherited from class com.sun.j3d.utils.universe.ViewingPlatform |
getMultiTransformGroup, getPlatformGeometry, getUniverse, getViewers, getViewPlatform, getViewPlatformBehavior, getViewPlatformTransform, setPlatformGeometry, setUniverse, setViewPlatform, setViewPlatformBehavior |
Methods inherited from class javax.media.j3d.BranchGroup |
cloneNode, compile, detach, pickAll, pickAllSorted, pickAny, pickClosest |
Methods inherited from class javax.media.j3d.Group |
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
Methods inherited from class javax.media.j3d.Node |
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewingPlatform
ViewingPlatform()
- constructs a new ViewingPlatform object.
ViewingPlatform
ViewingPlatform(int i)
- constructs a new ViewingPlatform object.
getEyePosition
public final javax.vecmath.Point3d getEyePosition()
- Returns the location of the eye.
getUpPosition
public final javax.vecmath.Vector3d getUpPosition()
- Returns the up direction.
getViewingDirection
public final javax.vecmath.Vector3d getViewingDirection()
- Returns the viewing direction.
setNominalViewingTransform
public final void setNominalViewingTransform()
- Sets a nominal viewing transformation.
removeViewer
public final void removeViewer(com.sun.j3d.utils.universe.Viewer viewer)
setViewer
public final void setViewer(com.sun.j3d.utils.universe.Viewer viewer)
- Sets a new Viewer object.
viewAll
public final void viewAll(javax.media.j3d.Node node)
- Moves a viewer to see all objects in the scene described by
the specified Node object.
Copyright © 1995-2004 net.jbeans. All Rights Reserved.