Interface X3DViewpointNode
- All Superinterfaces:
X3DBindableNode,X3DChildNode,X3DNode
- All Known Subinterfaces:
GeoViewpoint,OrthoViewpoint,Viewpoint
- All Known Implementing Classes:
GeoViewpoint,OrthoViewpoint,Viewpoint
Node type X3DViewpointNode defines a specific location in the local coordinate system from which the user may view the scene, and also defines a viewpoint binding stack.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleProvide double value in seconds from outputOnly SFTime field named bindTime.Provide String value from inputOutput SFString field named description.floatProvide float value from inputOutput SFFloat field named farDistance.booleanProvide boolean value from outputOnly SFBool field named isBound.booleangetJump()Provide boolean value from inputOutput SFBool field named jump.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.Provide org.web3d.x3d.sai.Navigation.NavigationInfo instance (using a properly typed node) from inputOutput SFNode field navigationInfo.floatProvide float value from inputOutput SFFloat field named nearDistance.float[]Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named orientation.booleanProvide boolean value from inputOutput SFBool field named retainUserOffsets.booleanProvide boolean value from inputOutput SFBool field named viewAll.setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setFarDistance(float newValue) Accessor method to assign float value to inputOutput SFFloat field named farDistance.setJump(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named jump.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setNavigationInfo(NavigationInfo newValue) Accessor method to assign org.web3d.x3d.sai.Navigation.NavigationInfo instance (using a properly typed node) to inputOutput SFNode field navigationInfo.setNearDistance(float newValue) Accessor method to assign float value to inputOutput SFFloat field named nearDistance.setOrientation(float[] newValue) Accessor method to assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named orientation.setRetainUserOffsets(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named retainUserOffsets.setViewAll(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named viewAll.
-
Method Details
-
getBindTime
double getBindTime()Provide double value in seconds from outputOnly SFTime field named bindTime.- Specified by:
getBindTimein interfaceX3DBindableNode- Returns:
- value of bindTime field
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.- Parameters:
newValue- is new value for the description field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getFarDistance
float getFarDistance()Provide float value from inputOutput SFFloat field named farDistance.- Returns:
- value of farDistance field
-
setFarDistance
Accessor method to assign float value to inputOutput SFFloat field named farDistance.- Parameters:
newValue- is new value for the farDistance field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsBound
boolean getIsBound()Provide boolean value from outputOnly SFBool field named isBound.- Specified by:
getIsBoundin interfaceX3DBindableNode- Returns:
- value of isBound field
-
getJump
boolean getJump()Provide boolean value from inputOutput SFBool field named jump.- Returns:
- value of jump field
-
setJump
Accessor method to assign boolean value to inputOutput SFBool field named jump.- Parameters:
newValue- is new value for the jump field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DBindableNode- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DBindableNode- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getNearDistance
float getNearDistance()Provide float value from inputOutput SFFloat field named nearDistance.- Returns:
- value of nearDistance field
-
setNearDistance
Accessor method to assign float value to inputOutput SFFloat field named nearDistance.- Parameters:
newValue- is new value for the nearDistance field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getOrientation
float[] getOrientation()Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named orientation.- Returns:
- value of orientation field
-
setOrientation
Accessor method to assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named orientation.- Parameters:
newValue- is new value for the orientation field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getRetainUserOffsets
boolean getRetainUserOffsets()Provide boolean value from inputOutput SFBool field named retainUserOffsets.- Returns:
- value of retainUserOffsets field
-
setRetainUserOffsets
Accessor method to assign boolean value to inputOutput SFBool field named retainUserOffsets.- Parameters:
newValue- is new value for the retainUserOffsets field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getViewAll
boolean getViewAll()Provide boolean value from inputOutput SFBool field named viewAll.- Returns:
- value of viewAll field
-
setViewAll
Accessor method to assign boolean value to inputOutput SFBool field named viewAll.- Parameters:
newValue- is new value for the viewAll field.- Returns:
X3DViewpointNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-