X3D Model Documentation: HAnimPoseExternProtoDeclare.x3d go to online X3D Example Archives model page

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
  3  <X3D profile='Full' version='4.0'  xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  4       <head>
  5            <meta name='title' content=' HAnimPoseExternProtoDeclare.x3d '/>
  6            <meta name='description' content='Define ExternProtoDeclare for an experimental new node to simply capture a single pose for an HAnimHumanoid model. Expected usage is to allow HAnimHumanoid to contain multiple Pose nodes which can be activated and composed.'/>
  7            <meta name='created' content='1 November 2025'/>
  8            <meta name='modified' content='24 February 2026'/>
  9            <meta name='creator' content='Don Brutzman'/>
 10            <meta name='creator' content='Joe Williams'/>
 11            <meta name='contributor' content='Holger Seelig for X_ITE, Sunrize on Windows, scripting guidance, and Inline IMPORT functionality as node-reference equivalent to USE'/>
 12            <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 6 Object interfaces, section 6.4 Pose'/>
 13            <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/ObjectInterfaces.html#Pose'/>
 14            <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 4 Concepts, section 4.8.2 Modelling of human-like HAnim figures'/>
 15            <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#ModellingHumanLikeHAnimFigures'/>
 16            <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 4 Concepts, section 4.8.3 Poses'/>
 17            <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#Poses'/>
 18            <meta name='reference' content='Direct scene manipulations with Javascript, https://doc.instantreality.org/tutorial/direct-scene-manipulations-with-javascript'/>
 19            <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 20            <meta name='generator' content='Sunrize X3D Editor V1.11.1, https://create3000.github.io/sunrize'/>
 21            <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclare.x3d '/>
 22            <meta name='license' content=' https://www.web3d.org/x3d/content/examples/license.html '/>
 23       </head>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: DisplayHeader1, DisplayHeader2, HeaderFont, ModelInfo, PoseTextAppearance, TransparentAppearance

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: HAnimPose

-->
 24       <Scene>
 25            <WorldInfo DEF='ModelInfo' info='"Design to illustrate a potential HAnimPose node"' title='HAnimPoseExternProtoDeclare'/>
 26            <Background skyColor='0.6 0.6 0.8'/>
 27            <NavigationInfo/>
 28  go to online X3D Example Archives model page           <ExternProtoDeclare name='HAnimPose' appinfo='Experimental node to assign joint values to a humanoid and assume a pose. Assumes that baseline HAnimHumanoid configuration must be I pose, which can be achieved by resetting every HAnimJoint to default values.'   url=' "Filename.x3d#HAnimPose" "https://some.address.org/Filename.x3d#HAnimPose"'>
 29                 <field name='parentHAnimHumanoid' type='SFNode' accessType='inputOutput' appinfo='HAnimHumanoid for this Pose to act upon'/>
 30                 <field name='name' type='SFString' accessType='inputOutput' appinfo='name of this pose'/>
 31                 <field name='children' type='MFNode' accessType='inputOutput' appinfo='joint values to apply to HAnimHumanoid'>
 32                      <!-- initializating Joint nodes (if any) go here -->
 33                 </field>
 34                 <field name='description' type='SFString' accessType='inputOutput' appinfo='explanation of purpose'/>
 35                 <field name='enabled' type='SFBool' accessType='inputOutput' appinfo='default value true'/>
 36                 <field name='loa' type='SFInt32' accessType='initializeOnly' appinfo='default is no loa'/>
 37                 <field name='transitionDuration' type='SFTime' accessType='inputOutput' appinfo='how many seconds to achieve the pose'/>
 38                 <field name='metadata' type='SFNode' accessType='inputOutput' appinfo='single Metadata* node'/>
 39                 <field name='isActive' type='SFBool' accessType='outputOnly' appinfo='event indicating when pose transition is active'/>
 40                 <field name='commencePose' type='SFBool' accessType='inputOnly' appinfo='this event tells the HAnimPose node to fully transition, equivalent to set_fraction=1'/>
 41                 <field name='resetAllJoints' type='SFBool' accessType='inputOnly' appinfo='reset the skeleton to I pose with all joints zeroed'/>
 42                 <field name='set_fraction' type='SFFloat' accessType='inputOnly' appinfo='allows transition to proceed incrementally from fraction [0..10'/>
 43                 <field name='set_startTime' type='SFTime' accessType='inputOnly' appinfo='starts the animation clock'/>
 44                 <field name='isLoaded' type='SFBool' accessType='inputOnly' appinfo='possible notification from LoadSensor if using HAnimHumanoid Inline/IMPORT AS/USE'/>
 45                 <field name='traceEnabled' type='SFBool' accessType='inputOutput' appinfo='debug trace to Browser output console this is a local prototype field'/>
 46            </ExternProtoDeclare>
 47            <Viewpoint description='HAnimPoseExternProtoDeclare description' position='0 1 4'/>
 48            <Transform DEF='DisplayHeader1' translation='0 1.5 0'>
 49                 <Anchor description='go to HAnimPoseExternProtoDeclareIndex page' parameter='"target=_blank"'   url=' "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclareIndex.html"'>
 50                      <Shape>
 51                           <Text string='"Utility scene" "HAnimPoseExternProtoDeclare.x3d"'>
 52 
                              <!-- FontStyle HeaderFont is a DEF node that has 1 USE node: USE_1 -->
                              <FontStyle DEF='HeaderFont' family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='0.15' style='BOLD'/>
 53                           </Text>
 54 
                         <!-- Appearance PoseTextAppearance is a DEF node that has 1 USE node: USE_1 -->
                         <Appearance DEF='PoseTextAppearance'>
 55                                <Material diffuseColor='0.1 0.3 0.5'/>
 56                           </Appearance>
 57                      </Shape>
 58                      <Shape>
 59                           <Box size='3.5 0.5 0.001'/>
 60 
                         <!-- Appearance TransparentAppearance is a DEF node that has 1 USE node: USE_1 -->
                         <Appearance DEF='TransparentAppearance'>
 61                                <Material transparency='1'/>
 62                           </Appearance>
 63                      </Shape>
 64                 </Anchor>
 65            </Transform>
 66            <Transform DEF='DisplayHeader2' translation='0 0.5 0'>
 67                 <Anchor description='go to HAnimPosePrototypeIndex page' parameter='"target=_blank"'   url=' "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPosePrototypeIndex.html"'>
 68                      <Shape>
 69                           <Text string='"This model supports" "HAnimPosePrototype.x3d"'>
 70                                <FontStyle USE='HeaderFont'/>
 71                           </Text>
 72                           <Appearance USE='PoseTextAppearance'/>
 73                      </Shape>
 74                 </Anchor>
 75                 <Shape>
 76                      <Box size='2.6 0.5 0.001'/>
 77                      <Appearance USE='TransparentAppearance'/>
 78                 </Shape>
 79            </Transform>
 80       </Scene>
 81  </X3D>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: DisplayHeader1, DisplayHeader2, HeaderFont, ModelInfo, PoseTextAppearance, TransparentAppearance

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: HAnimPose

-->

X3D Tooltips element index: to top Anchor, Appearance, Background, Box, ExternProtoDeclare, field, FontStyle, head, Material, meta, NavigationInfo, Scene, Shape, Text, Transform, Viewpoint, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

🔖   Event Graph ROUTE Table with 0 ROUTE connections2 Anchor hover hints, showing X3D event-model relationships for this scene.

Each row with a ROUTE statement shows an event cascade that may occur during a single timestamp interval between frame renderings, performed as part of the X3D execution model.

line 49
Anchor
description='go to HAnimPoseExternProtoDeclareIndex page' 
No direct ROUTE connection found for events to/from this node. 

line 67
Anchor
description='go to HAnimPosePrototypeIndex page' 
No direct ROUTE connection found for events to/from this node. 

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets.
Have fun with X3D! 😀

-->
go to online X3D Example Archives model page <!-- Online at
https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclareIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclare.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoDeclare name='ProtoName'> <field name='fieldName'/> </ProtoDeclare> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->