#include <parasolfilerecord.h>
Public Member Functions | |
ScalingFactorsRecord () | |
constructor : put the end-of-string characters | |
void * | get_entry (const int &entry_index, const vector< int > v_ival=vector< int >(0)) |
access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"] | |
Public Attributes | |
char | interleave_id [8+1] |
char | byte_order [16+1] |
char | nb_pix_param [4+1] |
char | nb_pix_bytes [8+1] |
char | nb_bytes [MAX_PARAM][2+1] |
char | slope [MAX_PARAM][17+1] |
char | offset [MAX_PARAM][17+1] |
Store the PARASOL ScalingFactors record values.
void * ScalingFactorsRecord::get_entry | ( | const int & | entry_index, | |
const vector< int > | v_ival = vector <int>(0) | |||
) | [virtual] |
access to each attribute for writing it For example, this used for reading the L1 technological parametres. If you want to access to the image "im" in the sequence "is", v_ival will be ["is","im"]
entry_index | the index of the entry in the record | |
v_ival | the indexes of the value to read, stored as a vector |
Implements PARASOLFileRecord.
References byte_order, interleave_id, nb_bytes, nb_pix_bytes, nb_pix_param, offset, PARASOLFileRecord::rec_len, PARASOLFileRecord::rec_nb, and slope.
char ScalingFactorsRecord::byte_order[16+1] |
Byte ordering standard
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::interleave_id[8+1] |
Interleaving indicator
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::nb_bytes[MAX_PARAM][2+1] |
the number of bytes of each parameter
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::nb_pix_bytes[8+1] |
Nb bytes per pixel
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::nb_pix_param[4+1] |
Nb parameters per pixel
Referenced by get_entry(), PARASOLLeader::get_entry_block(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::offset[MAX_PARAM][17+1] |
the scaling offset of each parameter
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().
char ScalingFactorsRecord::slope[MAX_PARAM][17+1] |
the scaling slope of each parameter
Referenced by get_entry(), and PARASOLLeader::print_scaling_factors().