Fovia's C++ Client/Server API
Public Attributes | List of all members
RAW_FILE_DATA_DESCRIPTION Struct Reference

Public Attributes

signed int BigEndian
 
ENUM_FILE_DATA_TYPE DataType
 
char * FileName
 
signed int LinePitch
 
double MaxValue
 
double MinValue
 
unsigned short NumBits
 
unsigned long long NumSlices
 
unsigned long long Offset
 
signed int Signed
 
signed long long SlicePitch
 

Detailed Description

Specifies a single RAW file as part of a RAW_DATASET_DESCRIPTION.

Member Data Documentation

signed int RAW_FILE_DATA_DESCRIPTION::BigEndian

H_TRUE if the most significant bytes come last in each data sample. H_FALSE otherwise.

ENUM_FILE_DATA_TYPE RAW_FILE_DATA_DESCRIPTION::DataType

FDT_INTEGER or FDT_FLOAT.

char* RAW_FILE_DATA_DESCRIPTION::FileName

The path and file name of the file to be loaded.

signed int RAW_FILE_DATA_DESCRIPTION::LinePitch

The number of bytes between lines. Negative numbers are acceptable here.

double RAW_FILE_DATA_DESCRIPTION::MaxValue

This is the maximum value to be taken from the file. This value will be mapped to 32768 in the loaded data. Note that 32767 is the maximum stored value, so if you want this value to actually be present in the data, you might want to add an extra 1/32767th of your original data range here.

double RAW_FILE_DATA_DESCRIPTION::MinValue

This is the minimum value to be taken from the file. This value will be mapped to 0 in the loaded data.

unsigned short RAW_FILE_DATA_DESCRIPTION::NumBits

For integers, this may be 8, 16 or 32. For floating point values, this may be 32 or 64.

unsigned long long RAW_FILE_DATA_DESCRIPTION::NumSlices

The number of slices included in this file.

unsigned long long RAW_FILE_DATA_DESCRIPTION::Offset

The number of bytes from the beginning of the file to the beginning of the first slice.

signed int RAW_FILE_DATA_DESCRIPTION::Signed

Only used for integer data

signed long long RAW_FILE_DATA_DESCRIPTION::SlicePitch

The number of bytes between slices. Negative numbers are acceptable here.