Benutzer-Werkzeuge

Webseiten-Werkzeuge


guicomponents:3dview

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
guicomponents:3dview [2020/04/20 10:01] – [Frames] oliverguicomponents:3dview [2021/05/19 09:50] (aktuell) – [Frames] oliver
Zeile 91: Zeile 91:
 ^ yColor | green | RGB | color of the y-axis | No ^ ^ yColor | green | RGB | color of the y-axis | No ^
 ^ zColor | blue | RGB | color of the z-axis | No ^ ^ zColor | blue | RGB | color of the z-axis | No ^
-^ origin | | mm | Vector-3d position of the coordinate system | No |+^ origin | | [m,m,m] | Vector-3d position of the coordinate system | No |
 ^ visible | true | boolean | | No ^ ^ visible | true | boolean | | No ^
 ^ rotation | | | Quat4d or Matrix3d data | Yes ^ ^ rotation | | | Quat4d or Matrix3d data | Yes ^
-^ radius | 0.1 | mm | Radius of the sphere to visualize the origin of the coordinate syste | No ^ +^ radius | 0.1 | [m] | Radius of the sphere to visualize the origin of the coordinate syste | No ^ 
-^ length | 0.15 | mm | length of the axis (not yet implemented) | No ^ +^ length | 0.15 | [m] | length of the axis (not yet implemented) | No ^ 
-^ diameter | length/20.0 | mm | diamter of the coordinate system axes (not yet implemented) | No ^+^ diameter | length/20.0 | [m] | diamter of the coordinate system axes (not yet implemented) | No ^
  
 Each <Frame>-element must be contained in a named <FrameSet>-element container. Have a look at the following example: Each <Frame>-element must be contained in a named <FrameSet>-element container. Have a look at the following example:
Zeile 111: Zeile 111:
 </code> </code>
  
 +==== Global Frame ====
 +
 +The <GlobalFrame>-element visualized the global coordinate system, represented by three orthogonal vectors. The colors of these vectors are different to the colors used by Vicon Nexus:
 +
 +^ Axis ^ Color ^
 +| X | red^
 +| Y | green^
 +| Z | blue^
 +
 +<code xml>
 +    <GlobalFrame/>
 +</code>
 +==== Shapes ====
 +The <ShapeSet>-element defines a [[https://en.wikipedia.org/wiki/Wavefront_.obj_file|".obj"-file]] in the view-folder of the project, which includes one or more shapes. With the <Shape>-children elements these elements can be referenced and visualiszed at specified poses.
 +
 +Example:
 +
 +<code xml>
 +  <ShapeSet name="Golembones" filename="golembones.obj">
 +        <Shape name="head"
 +               origin="HeadPosition"
 +               rotation="HeadRotation"/>
 +  </ShapeSet>
 +</code>
 +
 +Attributes of the <Shape>-elements:
 +
 +^ Attribute ^ Default ^ Description ^ Required ^
 +^ name | default | Name of the element as defined in the ".obj"-file. | Yes |
 +^ origin |  | name of the timeserie, which defines the position, where to place the shape. | Yes |
 +^ rotation | | name of the timeserie which defines the orientation the shape is shown. | Yes |
 +^ scale | 0.2 | Scale applyed to the bone size | No |
 +
 +The loader of the obj-fileformat is not complete. Only a [[https://download.java.net/media/java3d/javadoc/1.4.0/com/sun/j3d/loaders/objectfile/ObjectFile.html | subset]] of the identifiers are currently supported.
 ==== Example ==== ==== Example ====
  
guicomponents/3dview.1587369702.txt.gz · Zuletzt geändert: 2020/04/20 10:01 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki