Package org.web3d.x3d.sai.Followers
Interface X3DChaserNode
- All Superinterfaces:
X3DChildNode
,X3DFollowerNode
,X3DNode
- All Known Subinterfaces:
ColorChaser
,CoordinateChaser
,OrientationChaser
,PositionChaser
,PositionChaser2D
,ScalarChaser
,TexCoordChaser2D
- All Known Implementing Classes:
ColorChaser
,CoordinateChaser
,OrientationChaser
,PositionChaser
,PositionChaser2D
,ScalarChaser
,TexCoordChaser2D
The X3DChaserNode abstract node type calculates the output on value_changed as a finite impulse response (FIR) based on the events received on set_destination field.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
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 TypeMethodDescriptiondouble
Provide double value in seconds within allowed range of [0,infinity) from initializeOnly SFTime field named duration.boolean
Provide boolean value from outputOnly SFBool field named isActive.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.setDuration
(double newValue) Accessor method to assign double value in seconds to initializeOnly SFTime field named duration.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getDuration
double getDuration()Provide double value in seconds within allowed range of [0,infinity) from initializeOnly SFTime field named duration.- Returns:
- value of duration field
-
setDuration
Accessor method to assign double value in seconds to initializeOnly SFTime field named duration.- Parameters:
newValue
- is new value for the duration field.- Returns:
X3DChaserNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsActive
boolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.- Specified by:
getIsActive
in interfaceX3DFollowerNode
- Returns:
- value of isActive field
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DChildNode
- Specified by:
getMetadata
in interfaceX3DFollowerNode
- Specified by:
getMetadata
in 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:
setMetadata
in interfaceX3DChildNode
- Specified by:
setMetadata
in interfaceX3DFollowerNode
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DChaserNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-