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

cdf_display_data_writer(netcdf)VISAGE I/O"cdf_display_data_writer(netcdf)

NAME

cdf_display_data_writer - write display data to netCDF file.

DESCRIPTION

The cdf_display_data_writer takes as input a display_data object or filter, and writes the data out to a netCDF file. If the data is time variant, the data between the start time and end time will be written.

SUPERCLASS

data_writer

INSTANCE VARIABLES

data_in then name of a display_filter or display_data object. Provides the display_data to write out.

filename the name of the netCDF file to write. By default, filename="display_data.cdf".

points boolean to control whether points are written. By default, points=1.0 and points are written.

lines boolean to control whether lines are written. By default, lines=1.0 and lines are written.

polygons boolean to control whether polygons are written. By default, polygons=1.0 and polygons are written.

triangle_strips boolean to control whether triangle strips are written. By default, triangle_strips=1.0 and triangle strips are written.

scalars boolean to control whether scalars are written. By default, scalars=1.0 and scalars are written.

vectors boolean to control whether vectors are written. By default, vectors=1.0 and vectors are written.

normals boolean to control whether normals are written. By default, normals=1.0 and normals are written.

texture_coords boolean to control whether texture coordinates are written. By default, texture_coords=1.0 and texture coordinates are written.

clobber boolean to control whether netCDF file can be overwritten or not. By default clobber=1 and the netCDF file is overwritten.

MESSAGES

data_in= object_name Set the name of the data_in object.

data_in? Get the name of the data_in object.

filename= cdf_file Set the name of the output netCDF file.

filename? Get the name of the output netCDF file.

write! Write the display data out to the netCDF file.

write_data: cdf_file Set the netCDF filename and then write out the display data.

points_on!,points_off! Turn on/off the writing of points.

points? Get the value of the points boolean.

points= value Set the value of the points boolean.

lines_on!,lines_off! Turn on/off the writing of lines.

lines? Get the value of the lines boolean.

lines= value Set the value of the lines boolean.

polygons_on!,polygons_off! Turn on/off the writing of polygons.

polygons? Get the value of the polygons boolean.

polygons= value Set the value of the polygons boolean.

triangle_strips_on!,triangle_strips_off! Turn on/off the writing of triangle strips.

triangle_strips? Get the value of the triangle_strips boolean.

triangle_strips= value Set the value of the triangle_strips boolean.

scalars_on!,scalars_off! Turn on/off the writing of scalars.

scalars? Get the value of the scalars boolean.

scalars= value Set the value of the scalars boolean.

vectors_on!,vectors_off! Turn on/off the writing of vectors.

vectors? Get the value of the vectors boolean.

vectors= value Set the value of the vectors boolean.

normals_on!,normals_off! Turn on/off the writing of normals.

normals? Get the value of the normals boolean.

normals= value Set the value of the normals boolean.

texture_coords_on!,texture_coords_off! Turn on/off the writing of texture coordinates.

texture_coords? Get the value of the texture_coords boolean.

texture_coords= value Set the value of the texture_coords boolean.

vectors_on!,vectors_off! Turn on/off the writing of vectors.

vectors? Get the value of the vectors boolean.

vectors= value Set the value of the vectors boolean.

EXAMPLE

/* * Create a display_data and write it out.

*/ plane_modeller new: p resolution=5 ;

cdf_display_data_writer new: w data_in= p texture_coords_off! write: `p.cdf' ;

SEE ALSO

cdf_reader, byu_writer, cdf_display_data_reader, display_data, display_filter


Please send comments and suggestions to
consult@rpi.edu