All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.ViewPlatform
java.lang.Object
|
+----java.media.j3d.SceneGraphObject
|
+----java.media.j3d.Node
|
+----java.media.j3d.Leaf
|
+----java.media.j3d.ViewPlatform
- public class ViewPlatform
- extends Leaf
The ViewPlatform leaf node object controls the position, orientation
and scale of the viewer. It is the node in the scene graph that a
View object connects to.
-
ALLOW_POLICY_READ
- Specifies that the ViewPlatform allows read access to its view
attach policy information at runtime.
-
ALLOW_POLICY_WRITE
- Specifies that the ViewPlatform allows write access to its view
attach policy information at runtime.
-
ViewPlatform()
-
-
getActivationRadius()
-
Get the ViewPlatform's activation radius.
-
getViewAttachPolicy()
- Returns the current coexistence center in virtual-world policy.
-
setActivationRadius(float)
-
Set the ViewPlatform's activation radius which defines an activation
volume around the view platform.
-
setViewAttachPolicy(int)
- Sets the coexistence center in virtual world policy.
ALLOW_POLICY_READ
public static final int ALLOW_POLICY_READ
- Specifies that the ViewPlatform allows read access to its view
attach policy information at runtime.
ALLOW_POLICY_WRITE
public static final int ALLOW_POLICY_WRITE
- Specifies that the ViewPlatform allows write access to its view
attach policy information at runtime.
ViewPlatform
public ViewPlatform()
setViewAttachPolicy
public final void setViewAttachPolicy(int policy)
- Sets the coexistence center in virtual world policy.
This setting determines how Java 3D places the
user's eye point as a function of head position. The variable can
contain one of NOMINAL_SCREEN, NOMINAL_HEAD, or NOMINAL_FEET.
- Parameters:
- policy - the new policy, one of NOMINAL_SCREEN, NOMINAL_HEAD,
or NOMINAL_FEET
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
getViewAttachPolicy
public final int getViewAttachPolicy()
- Returns the current coexistence center in virtual-world policy.
- Returns:
- one of: NOMINAL_SCREEN, NOMINAL_HEAD, or NOMINAL_FEET
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
setActivationRadius
public final void setActivationRadius(float activationRadius)
- Set the ViewPlatform's activation radius which defines an activation
volume around the view platform.
- Parameters:
- activationRadius - the new activation radius
getActivationRadius
public final float getActivationRadius()
- Get the ViewPlatform's activation radius.
- Returns:
- the ViewPlatform activation radius
All Packages Class Hierarchy This Package Previous Next Index