26.05.07 Reconstruction Logic by Layout Mode
For the layout modes defined in the Layout Mode module, as in 26.05-Layout-Mode-Module, a general reconstruction logic of the scene can be described by the following steps. Given an input Form object, perform the following steps on its layout. The resulting layout of each step is the input layout for the next step.
- Read the layout mode and determine the reconstruction logic from the
Formobject. - If cell-placement is to be imposed, i.e., the layout mode is discrete, perform the cell-placement snapping, as specified in 26.05.04-Cell-Placement.
- If block-placement is to be imposed, i.e., the layout mode is block, perform the block-placement snapping, as specified in 26.05.05-Block-Placement.
- If slot-placement is to be imposed, i.e., the layout mode is slot, perform the slot placement, as specified in 26.05.06-Slot-Placement.
- If stacking logic is to be imposed, i.e., the layout mode is discrete or continuous, perform the stacking logic, as specified in 26.05.03-Stacking-Logic. If flat layout mode is used, zero MUST be used for
spaceHeightfor this step. - If flat layout mode is used, set the coordinate of all artifacts to zero if
spaceHeightis not provided, or set the coordinate of all artifacts tospaceHeightifspaceHeightis provided as a finite number. - If the Boundary module or the Tile module, or both, are in use, remove elements in
layoutthat lie outside of the boundary, as specified in 26.04-Boundary-Module-and-Tile-Module.
The resulting layout is the output of the reconstruction logic.
26.05.07.01 Flat Layout Mode
Layout modes in two dimensions can be referred to as flat layout modes. They use only the ground plane in the scene, and artifacts' rotated volume in the direction is ignored, or equivalently, taken as zero. When working with the Local Scene module, if the Form object is not specified in a local scene, it uses the ground plane.