<?xml version="1.0" encoding="utf-8"?>
<KinoveaPostureTool>
  <FormatVersion>1.1</FormatVersion>
  <Id>5723BACC-91B0-4172-8EA0-0BF2A5A27EDA</Id>
  <Name>HumanModel</Name>
  <DisplayName>DrawingName_HumanModel</DisplayName>
  <Icon>running_16</Icon>

  <!-- Data -->
  <Points>
    <Point name="Vertex" value="185;80" color="#dc322f" />
    <Point name="Chin" value="185;140" color="#dc322f" />
    <Point name="Left shoulder" value="225;170" color="#cb4b16" />
    <Point name="Left elbow" value="230;250" color="#cb4b16" />
    <Point name="Left wrist" value="240;310" color="#cb4b16" />
    <Point name="Left hand" value="255;315" color="#cb4b16" />
    <Point name="Left hip" value="210;300" color="#6c71c4" />
    <Point name="Left knee" value="210;415" color="#6c71c4" />
    <Point name="Left ankle" value="210;515" color="#6c71c4" />
    <Point name="Left foot" value="240;535" color="#6c71c4" />
    <Point name="Left heel" value="205;530" color="#6c71c4" />
    <Point name="Right soulder" value="145;170" color="#b58900" />
    <Point name="Right elbow" value="140;250" color="#b58900" />
    <Point name="Right wrist" value="130;310" color="#b58900" />
    <Point name="Right hand" value="115;315" color="#b58900" />
    <Point name="Right hip" value="160;300" color="#d33682" />
    <Point name="Right knee" value="160;415" color="#d33682" />
    <Point name="Right ankle" value="160;515" color="#d33682" />
    <Point name="Right foot" value="130;535" color="#d33682" />
    <Point name="Right heel" value="165;530" color="#d33682" />
  </Points>
  <Segments>
    <Segment name="Head" point1="0" point2="1" style="Solid" width="2" color="#dc322f"/>
    <Segment name="Left arm" point1="2" point2="3" style="Solid" width="2" color="#cb4b16"/>
    <Segment name="Left forearm" point1="3" point2="4" style="Solid" width="2" color="#cb4b16"/>
    <Segment name="Left hand" point1="4" point2="5" style="Solid" width="2" color="#cb4b16"/>
    <Segment name="Left trunk" point1="2" point2="6" style="Solid" width="2" color="#268bd2"/>
    <Segment name="Left thight" point1="6" point2="7" style="Solid" width="2" color="#6c71c4"/>
    <Segment name="Left leg" point1="7" point2="8" style="Solid" width="2" color="#6c71c4"/>
    <Segment name="Left foot1" point1="8" point2="9" style="Solid" width="2" color="#6c71c4"/>
    <Segment name="Left foot2" point1="9" point2="10" style="Solid" width="2" color="#6c71c4"/>
    <Segment name="Left foot3" point1="10" point2="8" style="Solid" width="4" color="#6c71c4"/>
    <Segment name="Top trunk" point1="2" point2="11" style="Solid" width="2" color="#268bd2"/>
    <Segment name="Right arm" point1="11" point2="12" style="Solid" width="2" color="#b58900"/>
    <Segment name="Right forearm" point1="12" point2="13" style="Solid" width="2" color="#b58900"/>
    <Segment name="Right hand" point1="13" point2="14" style="Solid" width="2" color="#b58900"/>
    <Segment name="Right trunk" point1="11" point2="15" style="Solid" width="2" color="#268bd2"/>
    <Segment name="Right thight" point1="15" point2="16" style="Solid" width="2" color="#d33682"/>
    <Segment name="Right leg" point1="16" point2="17" style="Solid" width="2" color="#d33682"/>
    <Segment name="Right foot1" point1="17" point2="18" style="Solid" width="2" color="#d33682"/>
    <Segment name="Right foot2" point1="18" point2="19" style="Solid" width="2" color="#d33682"/>
    <Segment name="Right foot3" point1="19" point2="17" style="Solid" width="4" color="#d33682"/>
    <Segment name="Bottom trunk" point1="15" point2="6" style="Solid" width="2" color="#268bd2"/>
  </Segments>

  <!-- Interaction -->
  <Handles>
    <Handle type="Point" reference="0" color="#dc322f" trackable="true"/>
    <Handle type="Point" reference="1" color="#dc322f" trackable="true"/>
    <Handle type="Point" reference="2" color="#cb4b16" trackable="true"/>
    <Handle type="Point" reference="3" color="#cb4b16" trackable="true">
      <Impacts>
        <KeepAngle origin="3" leg1="2" leg2="4"/>
        <KeepAngle origin="4" leg1="3" leg2="5"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="4" color="#cb4b16" trackable="true">
      <Impacts>
        <KeepAngle origin="4" leg1="3" leg2="5"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="5" color="#cb4b16" trackable="true"/>
    <Handle type="Point" reference="6" color="#6c71c4" trackable="true"/>
    <Handle type="Point" reference="7" name="Left knee" color="#6c71c4" trackable="true">
      <Impacts>
        <KeepAngle origin="7" leg1="6" leg2="8"/>
        <KeepAngle origin="8" leg1="7" leg2="9"/>
        <KeepAngle origin="8" leg1="7" leg2="10"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="8" name="Ankle" color="#6c71c4" trackable="true">
      <Impacts>
        <KeepAngle origin="8" leg1="7" leg2="9"/>
        <KeepAngle origin="8" leg1="7" leg2="10"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="9" name="Foot" color="#6c71c4" trackable="true"/>
    <Handle type="Point" reference="10" name="Heel" color="#6c71c4" trackable="true"/>
    <Handle type="Point" reference="11" color="#b58900" trackable="true"/>
    <Handle type="Point" reference="12" color="#b58900" trackable="true">
      <Impacts>
        <KeepAngle origin="12" leg1="11" leg2="13"/>
        <KeepAngle origin="13" leg1="12" leg2="14"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="13" color="#b58900" trackable="true">
      <Impacts>
        <KeepAngle origin="13" leg1="12" leg2="14"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="14" color="#b58900" trackable="true"/>
    <Handle type="Point" reference="15" color="#d33682" trackable="true"/>
    <Handle type="Point" reference="16" color="#d33682" trackable="true">
      <Impacts>
        <KeepAngle origin="16" leg1="15" leg2="17"/>
        <KeepAngle origin="17" leg1="16" leg2="18"/>
        <KeepAngle origin="17" leg1="16" leg2="19"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="17" color="#d33682" trackable="true">
      <Impacts>
        <KeepAngle origin="17" leg1="16" leg2="18"/>
        <KeepAngle origin="17" leg1="16" leg2="19"/>
      </Impacts>
    </Handle>
    <Handle type="Point" reference="18" color="#d33682" trackable="true"/>
    <Handle type="Point" reference="19" color="#d33682" trackable="true"/>
  </Handles>
  <HitZone>
    <Polygon points="2;11;15;6"/> <!-- Dragging from inside the trunk moves the whole drawing. -->
  </HitZone>

  <Capabilities flipHorizontal="true" flipVertical="true" />

  <!-- Variables -->
  <Positions>
    <Position point="$0" color="#000000" symbol="G" optionGroup="Display coordinates of center of mass"/>
  </Positions>

  <ComputedPoints>
    <ComputedPoint name="Center of mass" color="#2aa198">
      <ComputedPoint name="Head" weight="0.073">
        <ReferencePoint ref="0" weight="0.536" />
        <ReferencePoint ref="1" weight="0.464" />
      </ComputedPoint>
      <ComputedPoint name="Trunk" weight="0.507">
        <ComputedPoint name="Supraesternal" weight="0.38">
          <ReferencePoint ref="2" weight="0.5" />
          <ReferencePoint ref="11" weight="0.5" />
        </ComputedPoint>
        <ComputedPoint name="Angonal" weight="0.62">
          <ReferencePoint ref="6" weight="0.5" />
          <ReferencePoint ref="15" weight="0.5" />
        </ComputedPoint>
      </ComputedPoint>
      <ComputedPoint name="Right arm" weight="0.026">
        <ReferencePoint ref="12" weight="0.513" />
        <ReferencePoint ref="11" weight="0.487" />
      </ComputedPoint>
      <ComputedPoint name="Right forearm" weight="0.016">
        <ReferencePoint ref="13" weight="0.390" />
        <ReferencePoint ref="12" weight="0.610" />
      </ComputedPoint>
      <ComputedPoint name="Right hand" weight="0.007">
        <ReferencePoint ref="14" weight="0.82" />
        <ReferencePoint ref="13" weight="0.18" />
      </ComputedPoint>
      <ComputedPoint name="Left arm" weight="0.026">
        <ReferencePoint ref="3" weight="0.513" />
        <ReferencePoint ref="2" weight="0.487" />
      </ComputedPoint>
      <ComputedPoint name="Left forearm" weight="0.016">
        <ReferencePoint ref="4" weight="0.390" />
        <ReferencePoint ref="3" weight="0.610" />
      </ComputedPoint>
      <ComputedPoint name="Left hand" weight="0.007">
        <ReferencePoint ref="5" weight="0.82" />
        <ReferencePoint ref="4" weight="0.18" />
      </ComputedPoint>
      <ComputedPoint name="Right thigh" weight="0.103">
        <ReferencePoint ref="16" weight="0.372" />
        <ReferencePoint ref="15" weight="0.628" />
      </ComputedPoint>
      <ComputedPoint name="Right leg" weight="0.043">
        <ReferencePoint ref="17" weight="0.371" />
        <ReferencePoint ref="16" weight="0.629" />
      </ComputedPoint>
      <ComputedPoint name="Right foot" weight="0.015">
        <ReferencePoint ref="18" weight="0.449" />
        <ReferencePoint ref="19" weight="0.551" />
      </ComputedPoint>
      <ComputedPoint name="Left thigh" weight="0.103">
        <ReferencePoint ref="7" weight="0.372" />
        <ReferencePoint ref="6" weight="0.628" />
      </ComputedPoint>
      <ComputedPoint name="Left leg" weight="0.043">
        <ReferencePoint ref="8" weight="0.371" />
        <ReferencePoint ref="7" weight="0.629" />
      </ComputedPoint>
      <ComputedPoint name="Left foot" weight="0.015">
        <ReferencePoint ref="9" weight="0.449" />
        <ReferencePoint ref="10" />
      </ComputedPoint>
    </ComputedPoint>
  </ComputedPoints>

</KinoveaPostureTool>