Interface HAnimPose
- All Superinterfaces:
X3DChildNode, X3DNode
- All Known Implementing Classes:
HAnimPose
An HAnimPose node supports setting HAnimJoint values in a corresponding HAnimHumanoid skeleton.
HAnimPose node tooltip: (X3D version 4.1 draft) [X3DChildNode] An HAnimPose node supports setting HAnimJoint values in a corresponding HAnimHumanoid skeleton.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
HAnimPose node tooltip: (X3D version 4.1 draft) [X3DChildNode] An HAnimPose node supports setting HAnimJoint values in a corresponding HAnimHumanoid skeleton.
- Hint: HAnim Architecture draft version 2.1, clause 4.10.3 Poses https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#Poses
- Hint: HAnim Architecture draft version 2.1, 6.5 Pose, https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/ObjectInterfaces.html#Pose
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 TypeMethodDescriptionProvide String value from inputOutput SFString field named description.booleanProvide boolean value from inputOutput SFBool field named enabled.booleanProvide boolean value from outputOnly SFBool field named isActive.intgetLoa()Provide int value within allowed range of [-1,4] from inputOutput SFInt32 field named loa.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.getName()Provide String value from inputOutput SFString field named name.doubleProvide double value in seconds within allowed range of [0.0,infinity) from inputOutput SFTime field named transitionDuration.setCommencePose(boolean newValue) Accessor method to assign boolean value to inputOnly SFBool field named commencePose.setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setEnabled(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named enabled.setLoa(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named loa.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.Accessor method to assign String value to inputOutput SFString field named name.setResetAllJoints(boolean newValue) Accessor method to assign boolean value to inputOnly SFBool field named resetAllJoints.setTransitionDuration(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named transitionDuration.
-
Method Details
-
setCommencePose
Accessor method to assign boolean value to inputOnly SFBool field named commencePose.
Tooltip: commencePose is an input boolean event that triggers the animation of Joint values to achieve the pose.- Warning: it is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
- Parameters:
newValue- is new value for the commencePose field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of this node.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of this node.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Parameters:
newValue- is new value for the description field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getEnabled
boolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.
Tooltip: Enables/disables node operation. *- Returns:
- value of enabled field
-
setEnabled
Accessor method to assign boolean value to inputOutput SFBool field named enabled.
Tooltip: Enables/disables node operation. *- Parameters:
newValue- is new value for the enabled field.- Returns:
HAnimPose- 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.
Tooltip: isActive true/false events are sent when pose animation starts/stops.- Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
- Returns:
- value of isActive field
-
getLoa
int getLoa()Provide int value within allowed range of [-1,4] from inputOutput SFInt32 field named loa.
Tooltip: [-1,4] Level Of Articulation 0..4 indicates complexity and detail of joints for given humanoid skeletal hierarchy.- Hint: loa value of -1 indicates that no LOA conformance is provided.
- Hint: Humanoid Animation (HAnim) Specification, Part 1 Architecture, 4.8.4 Levels of articulation, https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#LevelsOfArticulation
- Returns:
- value of loa field
-
setLoa
Accessor method to assign int value to inputOutput SFInt32 field named loa.
Tooltip: [-1,4] Level Of Articulation 0..4 indicates complexity and detail of joints for given humanoid skeletal hierarchy.- Hint: loa value of -1 indicates that no LOA conformance is provided.
- Hint: Humanoid Animation (HAnim) Specification, Part 1 Architecture, 4.8.4 Levels of articulation, https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/concepts.html#LevelsOfArticulation
- Parameters:
newValue- is new value for the loa field.- Returns:
HAnimPose- 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.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/core.html#Metadata
- 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.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/core.html#Metadata
- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getName
String getName()Provide String value from inputOutput SFString field named name.
Tooltip: Unique name attribute must be defined so that HAnimPose node can be identified at run time for animation purposes. *- Returns:
- value of name field
-
setName
Accessor method to assign String value to inputOutput SFString field named name.
Tooltip: Unique name attribute must be defined so that HAnimPose node can be identified at run time for animation purposes. *
@see X3D Scene Authoring Hints: Naming Conventions- Parameters:
newValue- is new value for the name field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
setResetAllJoints
Accessor method to assign boolean value to inputOnly SFBool field named resetAllJoints.
Tooltip: resetAllJoints is an input boolean event that zeroes all Joint objects in the skeleton field to their default values, matching the default binding pose (i.e. the I pose).- Warning: it is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
- Parameters:
newValue- is new value for the resetAllJoints field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTransitionDuration
double getTransitionDuration()Provide double value in seconds within allowed range of [0.0,infinity) from inputOutput SFTime field named transitionDuration.
Tooltip: Duration in seconds for a pose transition. *- Returns:
- value of transitionDuration field
-
setTransitionDuration
Accessor method to assign double value in seconds to inputOutput SFTime field named transitionDuration.
Tooltip: Duration in seconds for a pose transition. *- Parameters:
newValue- is new value for the transitionDuration field.- Returns:
HAnimPose- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-