Excavate a quadrant in a 3D volume by setting all voxels to 0.
Name | Type | Description | |
Input_Field | Mesh+Data | input field | |
Name | Type | Description | UI Control |
X | int | x-coordinate of the slice plane | Slider |
Y | int | y-coordinate of the slice plane | Slider |
Z | int | z-coordinate of the slice plane | Slider |
belowX | boolean | set the slice plane to positive or negative value along X axis. | Toggle |
belowY | boolean | set the slice plane to positive or negative value along Y axis. | Toggle |
belowZ | boolean | set the slice plane to positive or negative value along Z axis. | Toggle |
Name | Type | Description | |
out | Mesh+Data | output field of 3D volume. | |
Excavate_Brick is a technique for visualizing 3D field data. This module removes a retangular subvolume from a 3D field. The subvolume is defined by an X,Y and slice plane. The internal structure of a 3D field can be revealed using this module.
The macro includes a user interface. The X,Y,Z and belowX, belowY, belowZ can be controlled from the user interface panel to define the position of the subvolume.
Note: This module only works for 3D field data.
Input_field
Reference to the 3D input field.
X;Y;Z
the X, Y and Z position of the slice plane to define the location of 3D subvolume.
belowX; belowY; belowZ
set the slice plane to positive or negative value along X,Y and Z axis.
out
The output field of the Excavate_Brick macro is a new 3D field data with parts of the data set to zero.
The User Macro ExcavateBrick makes use of the Functional Macro ExcavateBrickFunc and the UI Macro ExcavateBrickUI.
An example application ExcavateBrickEg is provided, which uses the AVS/Express sample data file hydrogen.fld, to display a 3D volume.
iac_proj/exbrk/exb_mods.v contains the V definitions of the ExcavateBrickParams parameter block and the ExcavateBrick module.
iac_proj/exbrk/exb_macs.v contains the V definitions of the ExcavateBrickFunc Functional Macro, the ExcavateBrickUI User Interface Macro, and the Excavate_Brick User Macro.
iac_proj/exbrk/exb_apps.v contains the V definition of the example application ExcavateBrickEg.
Dave Goughnour Advanced Visual Systems, Inc.
MA YingLiang Manchester Visualization Centre
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL
excavate_brick3D