Imports and scales data from a GOCAD file along the x, y and z axes.
none |
x | float | x axis, scaling value |
y | float | y axis, scaling value |
z | float | z axis, scaling value |
scale | boolean | scaling on/off |
file_name | string | GOCAD file name |
out_mesh | Xform+Cells+Grid | Scaled data from GOCAD file |
out_obj | DefaultObject | output for 2D or 3D Uviewer |
gocad is a data import reader module for the GOCAD (ASCII) file format. The GOCAD application models, edits, and describes 3D geologic structures, containing horizon surfaces, faults, and wells. The GOCAD application is authored by a group in Nancy, France. Gocad reads the contents of one GOCAD file, which can then be sent to a Uviewer for interactive viewing via a UI Macro.
none
x, y and z
Members of the GocadParams parameter block group, these float values are used to scale the image.
scale
A member of the GocadParams parameter block group, this boolean value is used to switch scaling on or off.
file_name
A member of the GocadParams parameter block group, this string contains the input file name. GOCAD files have the extension ".tsurf".
out_mesh
Scaled (if enabled) data from GOCAD file, in the form of Xform+Cells+Grid.
out_obj
Output suitable for use with 2D and 3D Uviewer. This DataObject is generated from the data present in the out_mesh output.
The User Macro read_gocad combines the macro Gocad (which uses the low-level ReadGocad module) with the UI Macro GocadUI via the common parameter block GocadUI.
An example application ReadGocadEg is provided, which uses the file worldmap.tsurf, to display a picture of the world.
iac_proj/rdgocad/goc_macs.v contains the Functional Macro Gocad, the User Macro read_gocad, the UI Macro GocadUI and the Example Application ReadGocadEg.
The GocadMacs library inherits its process. As this library contains no procedural code, the process is not important. The low-level ReadGOCAD module, executes under the process specified in its library, not the process defined in the high-level library.
AVS5 version Ian Curington, AVS/UNIRAS Ltd. Ported to Express by Justin Greenhalgh Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester UK M13 9PL
GocadParams, ReadGOCAD, Gocad and GocadUI.