1      Definition

A Data Type representing a rectangle (2D Bounding Box) or parallelepiped (3D Bounding Box) containing a 2D or 3D Visual Object, respectively.

2      Functional Requirements

The rectangle or parallelepiped is defined, respectively, by

  1. Rectangle: 3 vertices.
  2. Parallelepiped: 3 vertices not in the same plane.

The Visual Object must fit exactly in the rectangle/parallelepiped.

Content may be absent.

3      Syntax

https://schemas.mpai.community/OSD/V1.1/data/BoundingBox.json

4      Semantics

Label Size Description
Header N1 Bytes BoundingBox Header
– Standard-BoundingBox 9 Bytes The characters “OSD-BBX-V”
– Version N2 Bytes Major version – 1 or 2 characters
– Dot-separator 1 Byte The character “.”
– Subversion N3 Bytes Minor version – 1 or 2 characters
MInstanceID N4 Bytes Identifier of M-Instance
BoundingBoxID N5 Bytes Identifier of M-Instance.
Dimensions 2 Bytes One of 2D, 3D
BoundingBoxData
N6 Bytes Data about Time
– CartPosition 12/24 Bytes The Position of the selected vertex of the parallelepiped
– CartLength 12/24 Bytes The lengths of the three sides of the parallelepiped
– BBXContent N7 Bytes One Content types of Visual2DStaticFormats of

Visual3DStaticFormats depending on the value of Dimensions.
DescrMetadata N6 Bytes Descriptive Metadata