- Source AVS_WXDR (C++ interface)
-
- Type Render / Output
-
- QUIRT name WRITE_XDR & WRITE_RAW
-
- Inputs Input field = field
-
- Outputs none
-
- Parameters Name Type Default Min Max
- File name string
- Header info string (WRITE_XDR only!)
- Header file string (WRITE_XDR only!)
- File Offset integer (WRITE_RAW only!)
- NKI compression integer (WRITE_XDR only!)
- Coords in header boolean (WRITE_XDR only!)
- Append boolean (WRITE_XDR only!)
-
-DESCRIPTION
- WRITE_RAW: No header, no coordinates.
- Data only are written (high byte first); optionally into an
- existing file (if you specify an offset)
-
- WRITE_RAW_LE: No header, no coordinates.
- Data only are written (low byte first);
- optionally into an existing file (if you specify an offset)
-
- WRITE_XDR: Successively is written to file:
- - The string '#AVS wants ...'.
- - The optional Header info
- - The contents of the optional Header file
- - An ascii description of the Input field
- - Optionally the coordinates (coord%axis%[%pixel%]=%coord%)
- (%axis% is 1 based, %pixel% 0 based, %coord% is float)
- - Two bytes containing ascii character 0x0c
- - The Data in binary (high byte first).
- Or, if NKI_Compression is greater than zero, compressed data.
- - The Coordinates in binary IEEE float (high byte first)
-
-INPUTS
- Input field (Required; field)
- Describe input here....
-
-PARAMETERS
- File name
- A string described here....
-
- Header info
- A string described here....
-
- Header file
- A string described here....
-
- File offset
- An integer (default -1). If set, WRITE_RAW writes the data
- into an existing file.
-
- NKI compression
- An integer described here....
-
- Write coordinates in header
- A boolean described here....
-
- Append to file
- A boolean described here....
-
-OUTPUTS
- none
-
-PORTABILITY
- QUIRT, C++
-
-LIBRARIES
- (optional): in which AVS libraries available
-
-TYPE
- Render / Output
- (optional): further specify type of Render / Output module
-
-FILE FORMATS
- (optional): which type of files are read|written
-
-EXAMPLE
- The following network shows how .....
-
- READ IMA
- |
- |
- XDR WRITER
- | |
- | |
-
-LIMITATIONS
- (optional): describe limitations here
-
-RELATED MODULES
- Modules that can provide input:
- .....
- Modules that could be used in place of XDR writer:
- .....
- Modules that can take output:
- .....
-
-RELATED FILES
- (optional): The following files
- {are needed for|are output from|give examples of|further document}
- XDR writer:
- .....
-
-
-QUIRT MANUAL
- WRITE_XDR AVS module XDR writer
- numerical_expression Input field = field
- string_expression name of xdr file to create
- string_expression extra header info (default "")
- string_expression text file with more header info (default none)
- numerical_expression NKI compression (default 0)
- numerical_expression Coordinates in header (boolean, default 0)
- numerical_expression Append to file (boolean, default 0)
-
- WRITE_RAW AVS module Raw writer
- numerical_expression Input field = field
- string_expression name of file to write
- numerical_expression Offset; if not -1 (default) writes into file at offset
-
- WRITE_RAW_LE AVS module Raw writer little endian
- numerical_expression Input field = field
- string_expression name of file to write
- numerical_expression Offset; if not -1 (default) writes into file at offset
-
- WRITE_MEM_XDR
- numerical_expression Input field = field
- numerical_expression point to buffer to write xdr data into (use QUERY_MEM_XDR to find length)
- string_expression extra header info (default "")
- string_expression text file with more header info (default none)
- numerical_expression NKI compression (default 0)
- numerical_expression Coordinates in header (boolean, default 0)
-
- QUERY_MEM_XDR
- numerical_expression Input field = field
- name recieves required length for data
- string_expression extra header info (default "")
- string_expression text file with more header info (default none)
- numerical_expression NKI compression (default 0)
- numerical_expression Coordinates in header (boolean, default 0)
-
-Release 1.0 19980212 Lambert Zijp XDR writer & RAW writer
-*/