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/16 17:09] – [Markers and Points] oliverguicomponents:3dview [2021/05/19 09:50] (aktuell) – [Frames] oliver
Zeile 36: Zeile 36:
  
 ^ Attribute ^ Default ^ Description ^ Required ^ ^ Attribute ^ Default ^ Description ^ Required ^
-| radius | 0.014 | float | No ^+| radius | 0.00475mm | float | No ^
 | color | gray | red, green, blue, grey | No ^ | color | gray | red, green, blue, grey | No ^
 | origin | | | No ^ | origin | | | No ^
Zeile 86: Zeile 86:
 The following attributes can be used to customize the frame visualization: The following attributes can be used to customize the frame visualization:
  
-^ Attribute ^ Default ^ Description ^ Required ^ +^ Attribute ^ Default ^ Unit ^ Description ^ Required ^ 
-name | | Name of the element | Yes ^ +name | | String | Name of the element | Yes ^ 
-| color | | | ^ +^ xColor | red | RGB | color of the x-axis No ^ 
-| origin | | Vector-3d position of the coordinate system +^ yColor green RGB | color of the y-axis | No 
-| visible | true | | No ^ +^ zColor blue | RGB | color of the z-axis | No ^ 
-rotation | | Quat4d or Matrix3d data | Yes ^ +origin | | [m,m,m] | Vector-3d position of the coordinate system | No | 
-radius | 0.1 | Radius of the sphere to visualize the origin of the coordinate syste | No ^ +visible | true | boolean | | No ^ 
-length | 0.| length of the axis (not yet implemented) | No ^ +rotation | | Quat4d or Matrix3d data | Yes ^ 
-diameter | length/20.0 | diamter of the coordinate system axes (not yet implemented) | No ^+radius | 0.1 | [m] | Radius of the sphere to visualize the origin of the coordinate syste | No ^ 
 +length | 0.15 | [m] | length of the axis (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 109: 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.1587049795.txt.gz · Zuletzt geändert: 2020/04/16 17:09 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki