Class SAINavigationInfo
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.navigation.SAINavigationInfo
- All Implemented Interfaces:
NavigationInfo
,X3DBindableNode
,X3DChildNode
,X3DNode
A concrete implementation of the NavigationInfo node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAINavigationInfo
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
getAvatarSize
(float[] val) Return the avatarSize value in the argument float[]double
Return the bindTime double value.boolean
Return the headlight boolean value.boolean
Return the isBound boolean value.int
Return the number of MFFloat items in the avatarSize field.int
Return the number of MFFloat items in the transitionTime field.int
Return the number of MFString items in the transitionType field.int
Return the number of MFString items in the type field.float
getSpeed()
Return the speed float value.void
getTransitionTime
(float[] val) Return the transitionTime value in the argument float[]void
getTransitionType
(String[] val) Return the transitionType value in the argument String[]void
Return the type value in the argument String[]float
Return the visibilityLimit float value.void
setAvatarSize
(float[] val) Set the avatarSize field.void
setBind
(boolean val) Set the set_bind field.void
setHeadlight
(boolean val) Set the headlight field.void
setSpeed
(float val) Set the speed field.void
setTransitionTime
(float[] val) Set the transitionTime field.void
setTransitionType
(String[] val) Set the transitionType field.void
Set the type field.void
setVisibilityLimit
(float val) Set the visibilityLimit field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAINavigationInfo
public SAINavigationInfo(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBind
in interfaceX3DBindableNode
- Parameters:
val
- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTime
in interfaceX3DBindableNode
- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBound
in interfaceX3DBindableNode
- Returns:
- The isBound boolean value.
-
getNumAvatarSize
public int getNumAvatarSize()Return the number of MFFloat items in the avatarSize field.- Specified by:
getNumAvatarSize
in interfaceNavigationInfo
- Returns:
- the number of MFFloat items in the avatarSize field.
-
getAvatarSize
public void getAvatarSize(float[] val) Return the avatarSize value in the argument float[]- Specified by:
getAvatarSize
in interfaceNavigationInfo
- Parameters:
val
- The float[] to initialize.
-
setAvatarSize
public void setAvatarSize(float[] val) Set the avatarSize field.- Specified by:
setAvatarSize
in interfaceNavigationInfo
- Parameters:
val
- The float[] to set.
-
getHeadlight
public boolean getHeadlight()Return the headlight boolean value.- Specified by:
getHeadlight
in interfaceNavigationInfo
- Returns:
- The headlight boolean value.
-
setHeadlight
public void setHeadlight(boolean val) Set the headlight field.- Specified by:
setHeadlight
in interfaceNavigationInfo
- Parameters:
val
- The boolean to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeed
in interfaceNavigationInfo
- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeed
in interfaceNavigationInfo
- Parameters:
val
- The float to set.
-
getNumType
public int getNumType()Return the number of MFString items in the type field.- Specified by:
getNumType
in interfaceNavigationInfo
- Returns:
- the number of MFString items in the type field.
-
getType
Return the type value in the argument String[]- Specified by:
getType
in interfaceNavigationInfo
- Parameters:
val
- The String[] to initialize.
-
setType
Set the type field.- Specified by:
setType
in interfaceNavigationInfo
- Parameters:
val
- The String[] to set.
-
getVisibilityLimit
public float getVisibilityLimit()Return the visibilityLimit float value.- Specified by:
getVisibilityLimit
in interfaceNavigationInfo
- Returns:
- The visibilityLimit float value.
-
setVisibilityLimit
public void setVisibilityLimit(float val) Set the visibilityLimit field.- Specified by:
setVisibilityLimit
in interfaceNavigationInfo
- Parameters:
val
- The float to set.
-
getNumTransitionType
public int getNumTransitionType()Return the number of MFString items in the transitionType field.- Specified by:
getNumTransitionType
in interfaceNavigationInfo
- Returns:
- the number of MFString items in the transitionType field.
-
getTransitionType
Return the transitionType value in the argument String[]- Specified by:
getTransitionType
in interfaceNavigationInfo
- Parameters:
val
- The String[] to initialize.
-
setTransitionType
Set the transitionType field.- Specified by:
setTransitionType
in interfaceNavigationInfo
- Parameters:
val
- The String[] to set.
-
getNumTransitionTime
public int getNumTransitionTime()Return the number of MFFloat items in the transitionTime field.- Specified by:
getNumTransitionTime
in interfaceNavigationInfo
- Returns:
- the number of MFFloat items in the transitionTime field.
-
getTransitionTime
public void getTransitionTime(float[] val) Return the transitionTime value in the argument float[]- Specified by:
getTransitionTime
in interfaceNavigationInfo
- Parameters:
val
- The float[] to initialize.
-
setTransitionTime
public void setTransitionTime(float[] val) Set the transitionTime field.- Specified by:
setTransitionTime
in interfaceNavigationInfo
- Parameters:
val
- The float[] to set.
-