Crate openconfiguration

Source

Modules§

cns
ig
support

Macros§

impl_visitable_noop

Structs§

AttachPoint
An attachment point for planning support and placement of children. All attributes are mandatory, except for Tags.
Camera
A simple camera definition. Up vector is per default in positive y direction. FOV / Dollying depends on viewer.
CatalogEntry
Color
Basic color value. Linear RGB (Not sRGB). Values in the range 0.0 to 1.0
Commercial
Component
A 3D component that is used to model products. A product corresponds to a tree of Objects. Inside the tree, transforms are always inherited from parent to child and concatenated. Material Categories are inherited from parent to child, as long as the child does not have one.
Geometry
An abstract representation of a 3D Geometry.
GeometryMapping
A Transformation of the UV Set of a Geometry
Ordering S///T///R///V This order minimizes shearing and improves the posibility to fix tiling.
MasterData
Basic master data, used OC master-data scenarios.
Material
An abstract representation of a Material.
Package
Information about data packages used in this scene.
Product
An initial or incremental product representation.
ProductState
State information of a product.
Property
Quaternion
Description of a three-dimensional rotation. All attributes are mandatory.
Scene
The Scene is the central part of an OC data set. Each OC data set contains exactly one.
Script
Information of a client-side JavaScript script (ECMA 5.1). All attributes, except Path, are mandatory.
Status
Should be handled as additional information for e.g. debugging. Contains information if an object is valid. If not, a status code and maybe an additional message inform about what is wrong.
TopView
Top-view representation of a Product. Implemented by an image that is put into a rectangular region. The origin of the region is aligned with the origin of the Product but may be moved by an offset.
Transform
Spatial transformation of an object, relative to it’s parent object. All attributes are optional. But, if an attribute exists, all it’s attributes must exist, too. The application ordering follows industry standard (X3D, ThreeJS) so first scales then rotates and then positions. This basically allows to scale and rotate an object undisturbed and then move it to its position. Think of a cube. Ordering as Matrices is therefore T///R///S///V
Value
Value of properties
Vector3
Description of either Positions or Scalings. All attributes are mandatory. For positions, 1.0 means 1.0 m.

Enums§

AttachPointRepresentation
AttachPointType
The type of the point “Origin” - the origin of a product, matches to “Child” “Child” - a (virtual) child can be placed, matches to “Origin” “Left” - L-R neighborship, matches to “Right” “Right” - L-R neighborship, matches to “Left” “Top” - vertical neighborship, matches to “Bottom” “Bottom” - vertical neighborship, matches to “Top” “Front” - front/back neighborship, matches to “Back” “Back” - front/back neighborship, matches to “Front” “Alignment” - auxiliary point to support alignments “Maximum” - marks the maximum of the bbox “Minimum” - marks the minimum of the bbox
CatalogEntryType
ComponentSelectable
ImageFormat
ProductKind
Representation
ScriptMode
StatusCode
Defines status codes on product and scene level. 200 is default. All other codes than 200 are errors. Codes <= 1000 are reserved except the predefined ones. Codes > 1000 are user defined error codes.