Benutzer-Werkzeuge

Webseiten-Werkzeuge


guicomponents:4dview

Overview

This component visualizes 3d objects in space and time. It is used to show a 3d-stick-figure for marker based motion analysis. But it is also possible to show arbitrary 3d objects like planes, spheres or bones. The scene can move with the time correspondig to the global time position defined by the Time Synchronization component. Different views of the same scene at time are possible and a lot of specific 3d objects e.g. to visualizate the ground, force plates, bottom of support areas, segments centre of mass points, … are available.

Configuration

Markers and Points

<Marker>- and <Point>-elements visualize spherical objects. Many markerbased motion analysis measurement systems use retroreflective spherical markers, with different diameters, which can visualized with the <Marker>-element. All other points are visualized with the <Point>-element. <Marker>- and <Point>-element differs in the diameter and the default colors.

Each marker is defined as an child to the <MarkerSet>-element:

<MarkerSet name="Markers">
    <Marker name="ABC" origin="ABC"/>
</MarkerSet>

And each <Point>-element is defined as an child of the <PointSet>-element:

<PointSet name="Point">
       <Point name="D" origin="D"/>
</PointSet>

The <MarkerSet>- and the <PointSet>-element must have an attribute „name“, which can be used by the graphical user interface to visualize and edit the visualization description.

Connection sets

A <Connection>-element visualizes the connection between two markers or points by a stick. Each connection is defined as a child of the <ConnectionSet>-element. The <ConnectionSet>-element is defined as an child of the <MarkerSet>-element.

<MarkerSet name="ABC">
   <ConnectionSet name="">
      <Connection name="AB" start="A" end="B"
   </ConnectionSet>
</MarkerSet>

Example

<?xml version="1.0" encoding="UTF-8"?>
<?DOCTYPE View4d PUBLIC "-//Nimue//DTD View4d Def 1.0//EN" 
 "http://www.orat.de/Nimue/dtds/view4d_1.0.dtd"?>
 
<View4d name="Full Body">
 
 <MarkerSet name="Markers">
 
 <!-- thorax -->
 <Marker name="CLAV" origin="CLAV"/>
 <Marker name="STRN" origin="STRN"/>
 <Marker name="C7" origin="C7"/>
 <Marker name="RSHO" origin="RSHO"/> 
 <Marker name="LSHO" origin="LSHO"/> 
 <Marker name="T10" origin="T10"/> 
 
 <!-- pelvis -->
 <Marker name="SACR" origin="SACR"/>
 <Marker name="RASI" origin="RASI"/>
 <Marker name="LASI" origin="LASI"/>
 
 <!-- left leg -->
 <Marker name="LTHI" origin="LTHI"/>
 <Marker name="LKNE" origin="LKNE"/>
 <Marker name="LTIB" origin="LTIB"/>
 <Marker name="LANK" origin="LANK"/>
 <Marker name="LHEE" origin="LHEE"/>
 <Marker name="LTOE" origin="LTOE"/>
 
 <!-- right leg -->
 <Marker name="RTHI" origin="RTHI"/>
 <Marker name="RKNE" origin="RKNE"/>
 <Marker name="RTIB" origin="RTIB"/>
 <Marker name="RHEE" origin="RHEE"/>
 <Marker name="RTOE" origin="RTOE"/>
 <Marker name="RANK" origin="RANK"/>
 
 <!-- KAD -->
 <Marker name="LKD2" origin="LKD2"/>
 <Marker name="RKD2" origin="RKD2"/>
 <Marker name="RKAX" origin="RKAX"/>
 <Marker name="LKD1" origin="LKD1"/>
 <Marker name="RKD1" origin="RKD1"/>
 <Marker name="LKAX" origin="LKAX"/>
 <!--Marker name="PELF" origin="PELF"/--> 
 
 <!-- right arm -->
 <Marker name="RRAD" origin="RRAD"/>
 <Marker name="RULN" origin="RULN"/> 
 <Marker name="RELB" origin="RELB"/>
 <Marker name="RELBW" origin="RELBW"/> 
 <Marker name="RHUMS" origin="RHUMS"/>
 
 <!-- left arm -->
 <Marker name="LRAD" origin="LRAD"/>
 <Marker name="LULN" origin="LULN"/>
 <Marker name="LELB" origin="LELB"/>
 <Marker name="LELBW" origin="LELBW"/>
 <Marker name="LHUMS" origin="LHUMS"/>
 
 <!-- head -->
 <Marker name="RMAS" origin="RMAS"/>
 <Marker name="LMAS" origin="LMAS"/>
 <Marker name="HEAD" origin="HEAD"/>
 
 <ConnectionSet name="Connections">
 
 <!-- shoulder -->
 <Connection name="1" start="C7" end="RSHO"/>
 <Connection name="2" start="RSHO" end="CLAV"/> 
 <Connection name="3" start="CLAV" end="LSHO"/> 
 <Connection name="4" start="LSHO" end="C7"/>
 
 <!-- thorax -->
 <Connection name="5" start="CLAV" end="STRN"/> 
 <Connection name="6" start="C7" end="T10"/> 
 <Connection name="7" start="T10" end="SACR"/> 
 
 <!-- pelvis -->
 <Connection name="8" start="SACR" end="RASI"/> 
 <Connection name="9" start="RASI" end="LASI"/> 
 <Connection name="10" start="LASI" end="SACR"/> 
 
 <!-- right leg -->
 <Connection name="11" start="RASI" end="RTHI"/> 
 <Connection name="12" start="RTHI" end="RKNE"/> 
 <Connection name="13" start="RKNE" end="RTIB"/> 
 <Connection name="14" start="RTIB" end="RANK"/> 
 
 ...
 
 </MarkerSet> 
 
 <!--ConjunctRotationField name="RVectorField"
 origin="ThoraxUncalibratedPosition"
 rotation="ThoraxUncalibrated"/>
 
 <NavigationFrame name="Navigation"
 origin="RSHO"
 rotation="ThoraxUncalibrated"/-->
</View4d>
guicomponents/4dview.txt · Zuletzt geändert: 2014/12/18 10:58 von oliver