Excavate_Brick
Synopsis
Excavate a quadrant in a 3D volume by setting all voxels to 0.
Input Ports
| Name |
Type |
Description |
|
| Input_Field |
Mesh+Data |
input field |
|
Parameters
| 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 |
|
Output Ports
| Name |
Type |
Description |
|
| out |
Mesh+Data |
output field of 3D volume. |
|
Description
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.
Inputs
Input_field
Reference to the 3D input field.
Parameters
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.
Outputs
out
The output field of the Excavate_Brick macro is a new 3D field data with parts of the data set to zero.
Utility Modules
The User Macro ExcavateBrick makes use of the Functional Macro ExcavateBrickFunc and the UI Macro ExcavateBrickUI.
Example
An example application ExcavateBrickEg is provided, which uses the AVS/Express sample data file hydrogen.fld, to display a 3D volume.
Files
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.
Author
Dave Goughnour
Advanced Visual Systems, Inc.
Modifications
MA YingLiang
Manchester Visualization Centre
Contact
International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
See Also
excavate_brick3D
|