Return to home pageGo to previous document on same levelGo to next document on same levelMove up one levelGo to sitemapmailto:dpwolfer@swissonline.ch

Wintrack surface document file (.WSF) format

Representation of data...

The proprietary Wintrack surface documents file format (extension .WSF) closely matches the memory representation of the essential surface document data and preserves full formatting and precision. For each tile in the graph, Wintrack stores the original value of the surface variable from which the surface plot was derived. The tile colors themselves are not stored in the file, because they depend on the color scheme and scale settings. Instead, the file contains the 11 scale colors and the variable values associated with them. When the file is opened, Wintrack uses this information to recalculate the individual tile colors by means of linear interpolation between the scale colors.

File structure...

char[3] file identification tag "WSF"
double double precision floating point variable, identifies the version of Wintrack from which the file was written.
int 32bit integer variable, specifies number of tiles in horizontal direction.
int 32bit integer variable, specifies number of tiles in vertical direction.
double precision floating point variable, identifies the value associated with the lower end of the color scale.
double double precision floating point variable, identifies the value associated with the upper end of the color scale.
double

double double precision floating point variable, identifies the value associated with the middle of the color scale.

double* array of double precision floating point variables, specifies the surface variable value associated with each cell. The number of elements in the array equals the number of tiles. The representation of tiles starts with the upper left tile and ends with the bottom right one, scanning tiles column by column.
double* array of 11 double precision floating point variables, specifies the variable values associated with the 11 scale colors.
COLORREF* array of 11 Win32 COLORREF structures, specifies the 11 24bit RGB scale colors.

Additional information...


Go to previous document on same levelGo to next document on same levelMove up one levelGo to sitemap