Package org.web3d.x3d.sai.Navigation
Interface X3DViewpointNode
- All Superinterfaces:
X3DBindableNode,X3DChildNode,X3DNode
- All Known Subinterfaces:
GeoViewpoint,OrthoViewpoint,Viewpoint
- All Known Implementing Classes:
GeoViewpointObject,OrthoViewpointObject,ViewpointObject
public interface X3DViewpointNode extends X3DBindableNode
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).
-
Method Summary
Modifier and Type Method Description doublegetBindTime()Provide double value in seconds from outputOnly SFTime field named bindTime.java.lang.StringgetDescription()Provide String value from inputOutput SFString field named description.booleangetIsBound()Provide boolean value from outputOnly SFBool field named isBound.booleangetJump()Provide boolean value from inputOutput SFBool field named jump.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float[]getOrientation()Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named orientation.booleangetRetainUserOffsets()Provide boolean value from inputOutput SFBool field named retainUserOffsets.X3DViewpointNodesetDescription(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named description.X3DViewpointNodesetJump(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named jump.X3DViewpointNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DViewpointNodesetOrientation(float[] newValue)Accessor method to assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named orientation.X3DViewpointNodesetRetainUserOffsets(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named retainUserOffsets.
-
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
java.lang.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).
-
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 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:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign 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:
- X3D Scene Authoring Hints: Metadata Nodes
-
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).
-