<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Interactive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  <head>
    <meta content='r_thigh.x3d' name='title'/>
    <meta content='r_thigh includes r_femur' name='description'/>
    <meta content='Don Brutzman, Joe Williams' name='creator'/>
    <meta content='15 March 2026' name='created'/>
    <meta content='22 March 2026' name='modified'/>
    <meta content='https://en.wikipedia.org/wiki/Thigh' name='reference'/>
    <meta content='https://en.wikipedia.org/wiki/Human_leg' name='reference'/>
    <meta content='https://en.wikipedia.org/wiki/Human_leg#/media/File:Human_leg_bones_labeled.svg' name='reference'/>
    <meta content='usage examples https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical' name='reference'/>
    <meta content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html' name='generator'/>
    <meta content='https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_thigh.x3d' name='identifier'/>
    <meta content='../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='r_thigh.x3d'/>
    <!-- user hover lights bone and reveals description, user selection/deselection temporarily binds/unbinds close-up hidden viewpoint -->
    <TouchSensor DEF='UserTouchSensor' description='r_thigh is r_femur bone'/>
    <!-- vertical offset to max height of r_hip_bone -->
    <Transform DEF='r_thigh' translation='-0.0955 0.6988 -0.0384'>
      <ViewpointGroup DEF='ViewpointGroup_r_thigh' description='r_thigh model' retainUserOffsets='true'>
        <Viewpoint DEF='ViewFromFront' description='r_thigh front' nearDistance='0.001' position='0 0 0.8' retainUserOffsets='true'/>
        <Viewpoint DEF='ViewFromBehind' description='r_thigh from left side' nearDistance='0.001' orientation='0 1 0 1.5708' position='0.8 0 0' retainUserOffsets='true'/>
        <Viewpoint DEF='ViewFromLeft' description='r_thigh from behind' nearDistance='0.001' orientation='0 1 0 3.1416' position='0 0 -0.8' retainUserOffsets='true'/>
        <Viewpoint DEF='ViewFromRight' description='r_thigh from right side' nearDistance='0.001' orientation='0 1 0 -1.5708' position='-0.8 0 0' retainUserOffsets='true'/>
        <Viewpoint DEF='ViewFromAbove' description='r_thigh from above' nearDistance='0.001' orientation='1 0 0 -1.5708' position='0 0.8 0' retainUserOffsets='true'/>
        <Viewpoint DEF='ViewFromBelow' description='r_thigh from below' nearDistance='0.001' orientation='1 0 0 1.5708' position='0 -0.8 0' retainUserOffsets='true'/>
      </ViewpointGroup>
      <!-- nevertheless, TouchSensor interfaces from each of the Inline models are closer, taking priority and overriding this interface -->
      <Viewpoint DEF='HiddenViewpoint' nearDistance='0.001' position='0 0 0.8' retainUserOffsets='true'>
        <NavigationInfo containerField='navigationInfo' transitionType='"ANIMATE"' type='"EXAMINE"'/>
      </Viewpoint>
      <ROUTE fromField='isActive' fromNode='UserTouchSensor' toField='set_bind' toNode='HiddenViewpoint'/>
      <DirectionalLight DEF='HiddenLight' ambientIntensity='1' color='0.1 0.1 1' on='false'/>
      <ROUTE fromField='isOver' fromNode='UserTouchSensor' toField='on' toNode='HiddenLight'/>
    </Transform>
    <Inline DEF='r_femur' url='"r_femur.x3d" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_femur.x3d" "r_femur.wrl" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_femur.wrl"'/>
  </Scene>
</X3D>