From: thorpe@doppler.ncsc.org (Steve Thorpe)
Subject: IAC module update
Keywords: AVS, modules, International AVS Center
Organization: North Carolina Supercomputing Center
Date: Mon, 31 Aug 1992 15:28:10 GMT

Hi AVSers,

Many thanks to everyone who has recently submitted new modules or
module updates to the International AVS Center!  I've just added a 
batch to the ftp site, and am including their descriptions below.  

These and other AVS modules are freely available from avs.ncsc.org
(128.109.178.23).  If you have written any AVS modules
but haven't submitted them to the IAC yet, please take the time to 
send them in to us.  A few minutes of clean up and documentation
of modules on your part may save another AVS user from hours 
of code development that could have been time spent on something
else.

To learn more about the International AVS Center, how to download and
submit modules, just check out the files AVS_README and AVS_CATALOG
using anonymous ftp to the above address.  Or send any mail message
to avsemail@ncsc.org to receive an automated reply containing these
files.

Thanks again to all submitters, and please keep them coming!

-Steve
----------------------------------------------------------------
   Steve Thorpe, Application Visualization System Specialist
International AVS Center, North Carolina Supercomputing Center
PO Box 12889   3021 Cornwallis Rd, RTP, NC 27709   avs@ncsc.org
----------------------------------------------------------------

Name        : Extrusion       Version      : 1.000     Mod Number : 1313
Author      : Feizal Mirza, University of Texas CHPC
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This module reads an ASCII file consisting of lists of x & y
              points and constructs a 3-D geometry object using the
              points in the file as vertices. It uses the value specified
              by the user in the depth dial for the depth of the object.

Name        : FITS_read       Version      : 1.000     Mod Number : 1306
Author      : D. LE CORRE, CONVEX S.A
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C&FORTRAN
Ported to   : Convex
Description : This DATA INPUT module reads a FITS (Flexible Image
              Transport System) file into a field, and optionally to a
              text window. For primary data or image extensions, the
              number of dimensions is derived from the NAXIS keyword. For
              Ascii and binary tables, the number of dimensions may be 1 or
              2, depending on a parameter. Random Groups do not seem to be
              supported (I did'nt see any example of them).

Name        : QUAL_field      Version      : 1.000     Mod Number : 1321
Author      : Marc Curry, North Carolina Supercomputing Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : The QUAL field module is used to selectively grab data
              elements from a large output plot file and map them to the
              geometry of an example river. The geometry can be changed
              (with some effort) to match that of any river. The codes that
              generate the output plot files used by this module are
              QUAL2E and QUAL2E-UNCAS which were developed by Linfield
              Brown (Dept. of Civil Eng, Tufts Univ.) and Thomas Barnwell
              (EPA, Athens GA.).

Name        : RdUcdAnim       Version      : 1.000     Mod Number : 1316
Author      : D. LE CORRE, CONVEX S.A
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This DATA input module animates a sequence of data applied
              to a UCD structure. The base format is exactly the same as the
              standard UCD, except that you can specify a 6-th value on the
              first line (if you use ASCII format) , giving the maximum
              number of time steps to consider. By default, allocation is
              provided for at most 256 time steps.

Name        : geometry_sphere Version      : 1.000     Mod Number : 1320
Author      : Marc Curry, North Carolina Supercomputing Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun Convex
Description : This geometry sphere module demonstrates how to convert a
              set of vertices into a geomtry format for viewing within
              AVS. Also, some simple widgets are provided to take care of
              (what were) program parameters. The sphere is actually a
              triangle mesh approximating a sphere by recursive
              subdivision into more and more triangles. The first
              approximation is an octahedron, with each level of
              refinement increasing the number of triangles by a factor
              of 4.

Name        : read_points     Version      : 1.000     Mod Number : 1311
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Read observation locations and variable values from an
              ASCII file. From these observations build a 1D irregular
              (scatter) field with one element for each observation.

Name        : read_ucd_points Version      : 1.000     Mod Number : 1310
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Read observation locations and variable values from an
              ASCII file. From these observations build a ucd structure
              field with one node for each observation. The cells of the
              structure are of type UCD_POINT.

Name        : read_uniform    Version      : 2.000     Mod Number : 1075
Author      : Wes Bethel, Lawrence Berkeley Laboratory
Submitted   : 10/10/91        Last Updated : 08/30/92  Language   : C
Ported to   : Sun Convex HP
Description : This module reads data in ascii format into a "uniform
              field" data structure. The disk file is structured to
              contain information about the field at the beginning of the
              file, followed by the data.

Name        : grey_scales     Version      : 1.000     Mod Number : 1315
Author      : Rob Kuyper, Univeristy of Technology Delft, The
              Netherlands
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : The module takes an image as input an produces a black and
              white version of the same image as output. The number of grey
              scales is adjustable by a dial. The grey level is produced in
              the same way as with the command xpr to print windows on a
              laserjet. The advantage of adjusting the number of grey
              levels is the fact that the produced image shows the edges
              between different colors better. The output can be printed
              on a laserjet which results in a much better picture then
              without this module. In order to have white as one of the grey
              levels, the roundoff works like a 'floor'.

Name        : scatter_to_sparsVersion      : 1.000     Mod Number : 1309
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Convert a 1D field containing scattered data points into a
              (potentially) sparsely filled uniform field. The output
              field has as many dimensions as the input field did
              coordinate dimensions. For example, if the input is a 1D
              3-space field, the output will be a 3D 3-space field. Each
              dimension of the output field will extend from the minimum
              value to the maximum value for that coordinate in the input
              field. Coordinates in the input field are truncated to
              integers. Accordingly, if a dimension of the input field
              extends from 15.3 to 19.0, the output field will have 5
              elements in that dimension.

Name        : strip_cfd       Version      : 1.000     Mod Number : 1319
Author      : Rob Kuyper, Univeristy of Technology Delft, The
              Netherlands
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : strip cfd is a filter module which changes a cfd dataset in
              order to remove the staggering of velocity components (in
              finite volume methods) or to remove virtual points from the
              dataset.

Name        : Colored_bounds  Version      : 2.000     Mod Number : 1200
Author      : D. LE CORRE, CONVEX S.A
Submitted   : 05/08/92        Last Updated : 08/30/92  Language   : C
Ported to   : DEC Kubota Convex HP IBM
Description : This mapper module generates a geometry consisting of 6
              orthogonal slices (2 in each dimension) from a 3D scalar
              field. By default, the 6 ortho slices are placed at the hull
              of the input field. The faces of this geometry are colored
              from the scalar field value.

Name        : Field_grid      Version      : 1.000     Mod Number : 1307
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Generates a labelled grid and/or axes for field data. The
              extents of the grid or axes are the extents of the data (or
              slightly larger).

Name        : UCD_grid        Version      : 1.000     Mod Number : 1308
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Generates a labelled grid and/or axes for ucd data. The
              extents of the grid or axes are the extents of the data (or
              slightly larger).

Name        : new_bubbleviz   Version      : 1.000     Mod Number : 1318
Author      : Wes Bethel, Lawrence Berkeley Laboratory
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC HP
Description : The bubbleviz module generates spheres of various radii
              and colors at the element locations of a 1D, 2D or 3D field.
              This is a "cuberille" style of volume visualization,
              except that it uses spheres rather than cubes. This module
              can be used for non-uniform input fields.

Name        : ucd_to_prim     Version      : 1.000     Mod Number : 1312
Author      : Penny Rheingans, US EPA Scientific Visualization Center
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This module takes an input ucd structure and generates a
              geometric primitive (sphere or prism) for each node of the
              structure. Primitives are colored according to a selected
              value at the node and an optional input colormap. If no
              colormap is provided, primitives will be mapped with a grey
              scale.

Name        : WrUcdAnim       Version      : 1.000     Mod Number : 1317
Author      : D. LE CORRE, CONVEX S.A
Submitted   : 08/30/92        Last Updated : 08/30/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This DATA output module generates a sequence of UCD data
              time steps onto a (set of) file(s), which may then be read by
              the twin module, RdUcdAnim. For each time step, it can store
              node positions, node data, cell data, model data or a subset
              of these. It is fully compatible with the standard read ucd
              format, so the first time step may be read by read ucd.

Name        : BP_Coroutine    Version      : 1.000     Mod Number : 1325
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This module is a source example of how to write a
              free-running asynchronous coroutine that provides data
              to AVS on the output port when data is ready. In its present
              form, it free-runs, that is continually sends data to AVS as
              fast as it can be processed. The project specific version of
              this had external calls to obtain data from a data
              acquisition instrument.

Name        : Edit_String     Version      : 1.000     Mod Number : 1328
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : DEC
Description : The Edit String module puts up a LONG dialog box, allows
              typing of any string, then with either "OK" or "CANCEL"
              controls, will output this string to the output port of the
              module. The next time the "Edit" button is pushed, the
              dialog box reappears, with the old string, which can be
              edited. This module is for long expressions, lists of ints,
              etc, where the normal string type_in widget is too small.
              The dialog box comes up with nicer colours than the default
              grey.

Name        : Read_Hologram   Version      : 1.000     Mod Number : 1322
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : FORTRAN
Ported to   : Convex HP
Description : A well-commented Reader for 2D field data, in FORTRAN, that
              combines ASCII file inport in fixed FORTRAN FORMAT, and
              does numeric computation on the data before sending it to
              the output port. It allows multiplication of a coefficient
              on one particular row, defined by a channel dial. This is
              intended as a working example of a FORTRAN read module, to be
              modified by others.

Name        : Tick_Marks      Version      : 1.000     Mod Number : 1338
Author      : Jeffrey A Thingvold, National Center for Supercomputing
              Applications
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : The tick mark module creates sheets with major and minor
              line grids along the three primary axes. It makes
              polytriangle objects, not lines, so they can have variable
              thickness. It also has label annotation on the 3D object.

Name        : animated_track  Version      : 1.000     Mod Number : 1329
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Animated Track uses the "track" widget to control
              transformations by producing a 4x4 transformation
              matrix, or using direct geometry object transformation
              control. The track control is in "immediate" mode, so that
              transformations are send dynamically in a stream to the
              rest of the network. The module has both Field and Geom
              output ports, so that either one or both may be used. The
              module is a coroutine, so that animation sequences could be
              added by inserting matrix modification code to the inner
              loop.

Name        : endif           Version      : 1.000     Mod Number : 1336
Author      : John Tee, AVS Inc. Consultant
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : FORTRAN
Ported to   : DEC Convex HP
Description : Two modules, "if" and "endif" can be used to make a logical
              branch in a flow network. The "if" module copies the input to
              one of two output ports, based on a boolean flag, while
              "endif" copies one of two input ports data to the output
              port, closing the condition. Different processing
              modules can then be placed along the two logical branches of
              the network. Both modules are in Fortran, and dynamically
              allocate new space for the output fields.

Name        : if_2            Version      : 1.000     Mod Number : 1337
Author      : John Tee, AVS Inc. Consultant
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : FORTRAN
Ported to   : Convex HP
Description : Two modules, "if" and "endif" can be used to make a logical
              branch in a flow network. The "if" module copies the input to
              one of two output ports, based on a boolean flag, while
              "endif" copies one of two input ports data to the output
              port, closing the condition. Different processing
              modules can then be placed along the two logical branches of
              the network. Both modules are in Fortran, and dynamically
              allocate new space for the output fields.

Name        : read_blokjes    Version      : 1.000     Mod Number : 1332
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Read Blokjes is a module that imports blocks, or bricks, and
              creates geometric objects appropriate for the Geometry
              Viewer. The format is from a CFD package called FLOWTHERM
              from Flowmerics Ltd., Kingston, Surrey, England, KT2 5AA.
              This module is only one part of a more extensive interface
              system. As each block is separate, the property on each one
              can be edited, changing colour, transparency, rendering
              mode, etc. Each block has a name, type, and start and end
              corner points.

Name        : read_semper     Version      : 1.000     Mod Number : 1339
Author      : Michel DROZ
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Read Semper accesses an image file format from the SEMPER
              image processing system. The entire file is read into
              memory, and sent to the Image output port for further
              processing by other AVS modules. The Y scan line order is
              reversed compared to other AVS images, so the image will
              appear upside down unless reversed with "mirror". The
              images are generally in "xxx.pic" named file.

Name        : Geom_Duplicate  Version      : 1.000     Mod Number : 1335
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Merge up to 4 seperate geometries into one, with the
              multiple geom input ports, then replicate the combined
              object N times with a positional offset between them. Each
              copy is a unique object in the Geometry Viewer, so may be
              transformed or have properties edited independently.

Name        : Nvect_to_2d     Version      : 1.000     Mod Number : 1323
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : FORTRAN
Ported to   : Convex HP
Description : Converts "field 1D uniform real N-vector" to "field 2D
              uniform real scalar" by making the vector-length into the
              second dimension

Name        : image_tile      Version      : 1.000     Mod Number : 1330
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : Creates a replicated (tiled) version of the input image. It
              uses a simple horizontal pixel duplication, to make a small
              postage stamp image fill a box. The input image height and
              width is reported. This module was used in a demo to a design
              studio that manufactures ceramic tiles for kitchens and
              bathrooms. Maybe you know someone in wallpaper or fabric?
              It is also used to synthesize a Y dimension, to create an
              image from 1D data.

Name        : color_legend    Version      : 2.000     Mod Number : 1019
Author      : Wes Bethel, Lawrence Berkeley Laboratory
Submitted   : 10/10/91        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Kubota Convex HP IBM
Description : This module takes an input colormap and generates a "color
              legend," consisting of a number of geometry objects which
              may be subsequently rendered using the geometry viewer
              module. The range of colors in the color scale is controlled
              by the input colormap. All colors in the colormap are
              represented in the output color scale. In addition to the
              smoothly shaded "color bar", the user may control various
              parameters relating to labeling characterisitics, and
              legend orientation. Version 2 fixes (by Dr. John Tee, AVS
              Inc consultant) make the code more portable by using
              standard AVS routine calls.

Name        : scatter_arrows  Version      : 1.000     Mod Number : 1326
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC HP
Description : This module draws vectors with arrow heads from scatter
              input showing vector data at the specified positions. The
              module will draw both 2D and 3D vectors, as required. The
              Scale dial is simply a length multiplier.

Name        : scatter_bounds  Version      : 1.000     Mod Number : 1334
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This module draws a white bounding box from scatter input
              (1D irregular fields, or random collections of points)
              showing data min/max positions. It can be used with
              "scatter dots".

Name        : scatter_cubes   Version      : 1.000     Mod Number : 1333
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : Sun DEC Convex HP
Description : This module draws variable size coloured cubes from
              scatter input showing scalar data at the specified
              positions. It can be used in place of "scatter dots". The
              Scale dial is simply a size multiplier. The size of each cube
              is taken by the first vector if "Variable", otherwise it is
              set to "Scale" size in "Uniform" mode. The colour of each
              cube is independently controled from the remaining three
              vector quantities. If the input vector length is 1
              (scalar), the colour will default to white.

Name        : print_iv_pick   Version      : 1.000     Mod Number : 1324
Author      : Ian Curington, Advanced Visual Systems
Submitted   : 08/31/92        Last Updated : 08/31/92  Language   : C
Ported to   : DEC HP
Description : Print the contents of the "iv_pick" output port of the AVS4
              image viewer module. This shows the results from picking on
              images with the left mouse button. It is a basic module
              showing the possibilities, and used for debugging of other
              image pick application modules. This module relies on
              features in AVS4, and will not function with earlier
              releases. This module will be useful for those building
              interactive image processing systems.





Newsgroups: comp.graphics.avs