Class SAINavigationInfo
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAINavigationInfo(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAvatarSize(float[] val) Return the avatarSize value in the argument float[]doubleReturn the bindTime double value.booleanReturn the headlight boolean value.booleanReturn the isBound boolean value.intReturn the number of MFFloat items in the avatarSize field.intReturn the number of MFFloat items in the transitionTime field.intReturn the number of MFString items in the transitionType field.intReturn the number of MFString items in the type field.floatgetSpeed()Return the speed float value.voidgetTransitionTime(float[] val) Return the transitionTime value in the argument float[]voidgetTransitionType(String[] val) Return the transitionType value in the argument String[]voidReturn the type value in the argument String[]floatReturn the visibilityLimit float value.voidsetAvatarSize(float[] val) Set the avatarSize field.voidsetBind(boolean val) Set the set_bind field.voidsetHeadlight(boolean val) Set the headlight field.voidsetSpeed(float val) Set the speed field.voidsetTransitionTime(float[] val) Set the transitionTime field.voidsetTransitionType(String[] val) Set the transitionType field.voidSet the type field.voidsetVisibilityLimit(float val) Set the visibilityLimit field.Methods inherited from class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAINavigationInfo
public SAINavigationInfo(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
setBind
public void setBind(boolean val) Set the set_bind field.- Specified by:
setBindin interfaceX3DBindableNode- Parameters:
val- The boolean to set.
-
getBindTime
public double getBindTime()Return the bindTime double value.- Specified by:
getBindTimein interfaceX3DBindableNode- Returns:
- The bindTime double value.
-
getIsBound
public boolean getIsBound()Return the isBound boolean value.- Specified by:
getIsBoundin interfaceX3DBindableNode- Returns:
- The isBound boolean value.
-
getNumAvatarSize
public int getNumAvatarSize()Return the number of MFFloat items in the avatarSize field.- Specified by:
getNumAvatarSizein 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:
getAvatarSizein interfaceNavigationInfo- Parameters:
val- The float[] to initialize.
-
setAvatarSize
public void setAvatarSize(float[] val) Set the avatarSize field.- Specified by:
setAvatarSizein interfaceNavigationInfo- Parameters:
val- The float[] to set.
-
getHeadlight
public boolean getHeadlight()Return the headlight boolean value.- Specified by:
getHeadlightin interfaceNavigationInfo- Returns:
- The headlight boolean value.
-
setHeadlight
public void setHeadlight(boolean val) Set the headlight field.- Specified by:
setHeadlightin interfaceNavigationInfo- Parameters:
val- The boolean to set.
-
getSpeed
public float getSpeed()Return the speed float value.- Specified by:
getSpeedin interfaceNavigationInfo- Returns:
- The speed float value.
-
setSpeed
public void setSpeed(float val) Set the speed field.- Specified by:
setSpeedin interfaceNavigationInfo- Parameters:
val- The float to set.
-
getNumType
public int getNumType()Return the number of MFString items in the type field.- Specified by:
getNumTypein interfaceNavigationInfo- Returns:
- the number of MFString items in the type field.
-
getType
Return the type value in the argument String[]- Specified by:
getTypein interfaceNavigationInfo- Parameters:
val- The String[] to initialize.
-
setType
Set the type field.- Specified by:
setTypein interfaceNavigationInfo- Parameters:
val- The String[] to set.
-
getVisibilityLimit
public float getVisibilityLimit()Return the visibilityLimit float value.- Specified by:
getVisibilityLimitin interfaceNavigationInfo- Returns:
- The visibilityLimit float value.
-
setVisibilityLimit
public void setVisibilityLimit(float val) Set the visibilityLimit field.- Specified by:
setVisibilityLimitin interfaceNavigationInfo- Parameters:
val- The float to set.
-
getNumTransitionType
public int getNumTransitionType()Return the number of MFString items in the transitionType field.- Specified by:
getNumTransitionTypein interfaceNavigationInfo- Returns:
- the number of MFString items in the transitionType field.
-
getTransitionType
Return the transitionType value in the argument String[]- Specified by:
getTransitionTypein interfaceNavigationInfo- Parameters:
val- The String[] to initialize.
-
setTransitionType
Set the transitionType field.- Specified by:
setTransitionTypein interfaceNavigationInfo- Parameters:
val- The String[] to set.
-
getNumTransitionTime
public int getNumTransitionTime()Return the number of MFFloat items in the transitionTime field.- Specified by:
getNumTransitionTimein 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:
getTransitionTimein interfaceNavigationInfo- Parameters:
val- The float[] to initialize.
-
setTransitionTime
public void setTransitionTime(float[] val) Set the transitionTime field.- Specified by:
setTransitionTimein interfaceNavigationInfo- Parameters:
val- The float[] to set.
-