Contents

1 Introduction

The data of an OpenMBV visualization consist of two parts: a XML file (<filename>.ombvx) and a HDF5 file (<filename>.ombvh5). Alternatively, the content of the ombvx file can be embed in the ombvh5 file as a dataset of type string and dataspace dimension (1) at the path /openmbv_ombvxContent (a dataspace with dimension (1) instead of a scalar dataspce is used to allow compression, at least if the type is a fixed size string).

The root element of the XML file must be <Group>. The syntax, the attributes and the possible children for the XML elements is documented in the section Elements. A full valid example XML file (TS.ombvx) is given by:

<?xml version="1.0" encoding="UTF-8"?>
<Group name="TS" expand="1" enable="1" xmlns="http://www.mbsim-env.de/OpenMBV">
  <Group name="Hauptgruppe1" expand="1" enable="1">
    <Cuboid name="Box1" enable="1">
      <minimalColorValue>0</minimalColorValue>
      <maximalColorValue>1</maximalColorValue>
      <diffuseColor>[0.3;1;1]</diffuseColor>
      <initialTranslation>[0;0;0]</initialTranslation>
      <initialRotation>[0;0;0]</initialRotation>
      <scaleFactor>1</scaleFactor>
      <length>[0.5;0.5;0.5]</length>
    </Cuboid>
    <Frame name="P1" enable="1">
      <minimalColorValue>0</minimalColorValue>
      <maximalColorValue>1</maximalColorValue>
      <diffuseColor>[-1;1;1]</diffuseColor>
      <initialTranslation>[0;0;0]</initialTranslation>
      <initialRotation>[0;0;0]</initialRotation>
      <scaleFactor>1</scaleFactor>
      <size>0.5</size>
      <offset>1</offset>
    </Frame>
  </Group>
</Group>

The according HDF5 file (TS.ombvh5) must provide two datasets with the following path in the HDF5 file:

The content of the datasets is also documented in the section Elements.

The real-time clock is accessible as usual in IV files. If not other events trigger an update of the scene, then the real-time clock ticks at about 12fps.

The following named nodes are accessible as usual in IV files (using the USE statement):

"openmbv_mainwindow_time"
Provides the current OpenMBV time by the Float field "value"
"openmbv_mainwindow_frame"
Provides the current OpenMBV frame by the Int32 field "index"
"openmbv_mainwindow_screensize"
Provides the current OpenMBV screen-size by the Vec3f field "value" (index 0 and 1, 2 is not used)

2 Nomenclature

2.1 Legend

IconDescription
<element>A XML element of name 'element'
attrNameA XML attribute of name 'attrName'
namespaceA XML namespace of name 'namespace'
typeA XML element or attribute type of name 'type'
requiredA required XML attribute
0-2A occurance of XML elements or attributes

2.2 An element

<ElementName> 0-2 elementType
attrName1 required typeOfTheAttribute
attrName2 optional typeOfTheAttribute

Documentation of the element.

The upper nomenclature defines a XML element named ElementName with (if given) a minimal occurance of 0 and a maximal occurance of 2. The element is of type elementType.
A occurance of optional means 0-1.
The element has two attributes named attrName1 and attrName2 of type typeOfTheAttribute. A attribute can be optional or required.

2.3 A choice of element

The upper nomenclature defines a choice of elements. Only one element of the given ones can be used. The choice has, if given, a minimal occurance of 1 and a maximal maximal occurence of 2.
A occurance of optional means 0-1.

2.4 A sequence of elements

The upper nomenclature defines a sequence of elements. Each element must be given in that order. The sequence has, if given, a minimal occurance of 0 and a maximal maximal occurence of 3.
A occurance of optional means 0-1.

2.5 Nested sequences/choices

Sequences and choices can be nested like above.

2.6 Child Elements

A indent indicates child elements for a given element.

3 Elements

<Object>
Object properties
Abstract Element:true
Inherits:
Inherited by:<Body>, <Group>,
Attributes:name required pv:stringPartialEval
enable pv:booleanFullEval
boundingBox pv:booleanFullEval
environment pv:booleanFullEval
Object documentation
Child Elements

<Body>
Object properties
Abstract Element:true
Inherits: <Object>
Inherited by:<DynamicAttributes>, <DynamicColoredBody>, <DynamicIvBody>, <IvScreenAnnotation>, <Path>,
Attributes:outLine pv:booleanFullEval
shilouetteEdge pv:booleanFullEval
drawMethod pv:stringPartialEval
pointSize pv:floatFullEval
lineWidth pv:floatFullEval
Object documentation
Child Elements

<DynamicAttributes>
Object properties
Abstract Element:false
Inherits: <Body>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicColoredBody>
Object properties
Abstract Element:true
Inherits: <Body>
Inherited by:<Arrow>, <CoilSpring>, <DynamicNurbsCurve>, <DynamicNurbsSurface>, <FlexibleBody>, <NurbsDisk>, <RigidBody>, <SpineExtrusion>,
Attributes:
Object documentation
Child Elements

<Arrow>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:path pv:booleanFullEval
Object documentation
Child Elements

<CoilSpring>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicNurbsCurve>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicNurbsSurface>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<FlexibleBody>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:<DynamicIndexedFaceSet>, <DynamicIndexedLineSet>, <DynamicPointSet>,
Attributes:
Object documentation
Child Elements

<DynamicIndexedFaceSet>
Object properties
Abstract Element:false
Inherits: <FlexibleBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicIndexedLineSet>
Object properties
Abstract Element:false
Inherits: <FlexibleBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicPointSet>
Object properties
Abstract Element:false
Inherits: <FlexibleBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<NurbsDisk>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:localFrame pv:booleanFullEval
Object documentation
Child Elements

<RigidBody>
Object properties
Abstract Element:true
Inherits: <DynamicColoredBody>
Inherited by:<BevelGear>, <CompoundRigidBody>, <Cube>, <Cuboid>, <Cylinder>, <CylindricalGear>, <Extrusion>, <Frame>, <Frustum>, <Grid>, <IndexedFaceSet>, <IndexedLineSet>, <InvisibleBody>, <IvBody>, <NurbsCurve>, <NurbsSurface>, <PlanarGear>, <PointSet>, <Rack>, <RigidSpineExtrusion>, <Rotation>, <Sphere>,
Attributes:localFrame pv:booleanFullEval
referenceFrame pv:booleanFullEval
path pv:booleanFullEval
dragger pv:booleanFullEval
Object documentation
Child Elements

<BevelGear>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<CompoundRigidBody>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:expand pv:booleanFullEval
Object documentation
Child Elements

<Cube>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Cuboid>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Cylinder>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<CylindricalGear>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Extrusion>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Frame>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Frustum>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Grid>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<IndexedFaceSet>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<IndexedLineSet>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<InvisibleBody>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<IvBody>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<NurbsCurve>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<NurbsSurface>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<PlanarGear>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<PointSet>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Rack>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<RigidSpineExtrusion>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Rotation>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<Sphere>
Object properties
Abstract Element:false
Inherits: <RigidBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<SpineExtrusion>
Object properties
Abstract Element:false
Inherits: <DynamicColoredBody>
Inherited by:
Attributes:
Object documentation
Child Elements

<DynamicIvBody>
Object properties
Abstract Element:false
Inherits: <Body>
Inherited by:
Attributes:
Object documentation
Child Elements

<IvScreenAnnotation>
Object properties
Abstract Element:false
Inherits: <Body>
Inherited by:
Attributes:
Object documentation
Child Elements

<Path>
Object properties
Abstract Element:false
Inherits: <Body>
Inherited by:
Attributes:
Object documentation
Child Elements

<Group>
Object properties
Abstract Element:false
Inherits: <Object>
Inherited by:
Attributes:expand pv:booleanFullEval
Object documentation
Child Elements

4 Simple Types

objectReferenceType

Generated with MBXMLUtils on 2026-11-22T16:58:55Z