7.2 Using Writers

This section describes the use of SCIRun's writer modules to write text-based data.

Control dialogs for all writer modules are similar. They contain a file type popup menu that selects the type (e.g. text or binary) of file (or possibly files for text output) to write as output. The dialog's file browser is used to specify an output file. Figure 7.3 shows the control dialog for module FieldWriter.

Figure 7.3: FieldWriter's dialog
 
FieldWriter dialog

When writing unstructured field data to text files, module FieldWriter writes data to a node coordinate file and a separate node connectivity file. However only one of the files is specified in the dialog. FieldWriter assumes the other file's name differs only in its extension.

When writing to text files, module FieldWriter can write only field geometry (node coordinate and node connectivity) data. Module FieldWriter is used to write field data values. Module ManageFieldData is used to split field geometry data from field data values, sending field geometry data to module FieldWriter and field node data to module FieldWriter. Figure 7.4 shows the arrangement of these three modules.

Figure 7.4: Network that writes text-based field data
 
Network that reads a text-based field

Ted Dustman 2005-06-22