BoundsLite
Synopsis
This module computes a cuboidal bounding box of a 3D nonuniform field from its
minimal and maximal x, y and z coordinates.
Input Ports
| Name |
Type |
Description |
|
| in field |
Mesh |
input field for which the bounding box is computed. |
|
Parameters
| Name |
Type |
Description |
Name |
|
| hull |
int |
Hull Flag. This flag indicates if the bounding box is visible or not. |
Toggle |
|
Output Ports
| Name |
Type |
Description |
|
| out field |
Mesh |
bounding box of the 3D data volume |
| out obj |
DefaultObject |
Directly renderable object of the 3D output |
|
Description
The BoundsLite module computes a cuboidal bounding box of a 3D nonuniform field from its
minimal and maximal x, y and z coordinates.
It is the lite version of the module bounds which computes a bounding box for a
uniform field which can have more complex shapes.
The following figures show the different bounding boxes of the field "bluntfin.fld"
computed by the module bounds and by the module BoundsLite.
Bounding box of the bluntfin file generated by the AVS/Express bounds module
Bounding box of the bluntfin file generated by the BoundsLite module
Parameters
Inputs
in field
Mesh that contains the 3D mesh for which the bounding box is computed
Parameters
hull
This toggle indicates wether the bounding box is visible or not
out field
This Mesh contains the 3D bounding box.
out obj
This DataObject is a directly renderable object of the 3D bounding box.
Example
The example applications shows the usage of BoundsLite. The example uses 1 BoundsLite module to create the bounding box of a field read by a Read Field module.
Files
iac_proj/boundslt/boundslt.v Creates the IAC_PROJ.BoundsLite library.
iac_proj/boundslt/bltmac.v Creates the BoundsLiteMacs library containing the high-level macros BoundsLiteFunc, ProjectNodeDataUI, BoundsLite and the parameter group BoundsLiteParams.
iac_proj/boundslt/bltapp.v Creates the BoundsLiteApps library containing the examle applications BoundsLite2DEg and BoundsLiteEg.
Authors
Tobias Schiebeck
Manchester Visualization Centre
Simone Herrmann
Manchester Visualization Centre
Contact
International AVS Centre
Manchester Visualization Centre
Kilburn Building
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
|