<<<<<<<<<<<<<<<<<

avs_field_reader(oscar) VISAGE avs_field_reader(oscar)

NAME

avs_field_reader

DESCRIPTION

This object reads files in the AVS field format. AVS is the Application Visualization System produced by Stardent Computer Inc.

AVS field files are a combination of ASCII and binary information. The files contain data in one of three grid formats: uniform, rectilinear, and irregular. See the AVS Developer's Guide for details on the file formats.

The avs_field_reader object creates instances of other objects during a read. For example, it will create visage_data_group, visage_data_set, structured_grid_set, and generic_data objects. If the name of the AVS field file is "filename.fld", then instances of the following classes will be made with the indicated names:

visage_data_group : filename

visage_data_set : filename_gridset

structured_grid_set : filename_gridset_grid

generic_data : filename_gendata

SUPERCLASS

visage_reader

INSTANCE VARIABLES

none but see superclass instance variables

MESSAGES

read! reads the file

EXAMPLE

avs_field_reader new: "areader" file_prefix="/home/kreskin/u0/volpe/oscar/data/curvilinear" read!;

collection new: "set_data" members=([visage_data instances?]); set_data compute_properties!;

visage_geometry new: p1 extent=(1,1,1,32,1,32);

data_operator new: curvilinear_scalardata; curvilinear_scalardata data_source= "curvilinear_gendata" selection=(1);

curvilinear_gridset

displays=(visage_geometry) scalar_data=curvilinear_scalardata;

actor new: a color=(1,1,1) modeller=curvilinear;

/* insert whatever code needed to display an actor. E.g., lights, cameras,

renderers */

SEE ALSO

generic_data, data_operator


Please send comments and suggestions to
consult@rpi.edu