Wiggle

Synopsis

This module uses the data values on each line in a bitmap to generate seismic wave functions.

Parameters

Name Type Description UI Control

direction int Direction in which wiggle occurs. Radio Box
scale float Scaling factor for the wiggles. Slider
mode int The type of area fill required. Option Menu
component int The data component to use to create the wiggles. Radio Box
offset float A factor which can be used to move the base line of the wiggle. Text Field

Output Ports

Name Type Description

out_line Line Mesh Geometry data read from file.
out_tri Triangle Mesh Geometry data read from file.
out_obj DataObject Directly Renderable Output Object.

Description

This project contains a definition of a module which creates `wiggle' displays in seismic (or other) data. It requires a 2D structured mesh as input. It computes coordinates and connectivity lists for a polyline and polytriangle strip. These are the input to the polyline_mesh and polytri_mesh field mappers. Data can be added to the output fields through the use of the interp_data module.

Parameters

direction

Boolean parameter which specifies whether the direction of the wiggle is along the x axis (0) or along the y axis (1). This parameter is controlled by the `Wiggle Direction' radio box options.

scale

Floating point parameter that specifies by how much the seismic data should be scaled. This parameter can be modified by the use of the `Wiggle Scale' slider.

mode

Integer list parameter which allows you to choose the type of area fill: 0: no fill, 1: fill above base line, 2: fill below base line, 3: fill above and below base line. This parameter can be modified by the use of the `Wiggle Mode' option menu.

component

Boolean parameter which allows you to specify which data component to use. This parameter can be modified by the use of the `Wiggle Component' radio box.

offset

Floating point parameter which can be used to move the base line of the wiggle. This parameter can be modified by the use of the `Wiggle Offset' field.

Outputs

out_line

Mesh data output that contains the geometry data read from the field file. The output consists of the nodal coordinates and a single triangle cell-set that describes the connectivity of the data. No node data or cell data is output.

out_mesh

Mesh data output that contains the geometry data read from the field file. The output consists of the nodal coordinates and a single triangle cell-set that describes the connectivity of the data. No node data or cell data is output.

out_obj

The directly renderable output of the wiggle macro. This output contains the geometry data read from the field, in a form that can be rendered by the standard data viewers.

Utility Macros

The WiggleFunc functional macro uses the WiggleCore low-level module. The wiggle user macro uses this functional macro and the WiggleUI user interface macro. All of these macros use the WiggleParams parameter block to communicate parameters between themselves.

Example

One example application is provided with the Wiggle project. The WiggleEg example application uses read_field to read one of the AVS datasets. The dataset is preprocessed using the orthoslice and downsize modules before it is passed into the wiggle module.

Files

iac_proj/wiggle/wigmods.v contains the V definitions of the WiggleCore module and the WiggleParams parameter block.

iac_proj/wiggle/wigmacs.v contains the V definitions of the WiggleUI UI macro, the WiggleFunc functional macro and the wiggle user macro.

iac_proj/wiggle/wigapps.v contains the V definitions of the WiggleEg example application.

Author

David Knight,
Advanced Visual Systems, Inc.

Modification

Mary McDerby,
Manchester Visualization Centre

Tobias Schiebeck,
International AVS Centre

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL