cartobase
5.0.5
|
Low level rescaler info used for rescaling. More...
#include <cartobase/type/converter.h>
Public Member Functions | |
RescalerInfo () | |
Construct object requesting default rescaling. More... | |
bool | explicitRescale () const |
Test if any explicit rescaling parameters has been specified. More... | |
Public Attributes | |
bool | usevtypelimits |
Use limits of the input type instead of effective input min-max. More... | |
double | vmin |
double | vmax |
double | omin |
double | omax |
Low level rescaler info used for rescaling.
Request linear rescaling from the input range [vmin, vmax] to the output range [omin, omax]. These ranges are initialized with Not-a-Number (NaN) values, which correspond to the following defaults:
true
, in which case the whole range values of accommodated by the input type is used.Definition at line 57 of file converter.h.
carto::RescalerInfo::RescalerInfo | ( | ) |
Construct object requesting default rescaling.
bool carto::RescalerInfo::explicitRescale | ( | ) | const |
Test if any explicit rescaling parameters has been specified.
double carto::RescalerInfo::omax |
Definition at line 74 of file converter.h.
Referenced by carto::DefaultedRescalerInfo< INP, OUTP >::DefaultedRescalerInfo().
double carto::RescalerInfo::omin |
Definition at line 73 of file converter.h.
Referenced by carto::DefaultedRescalerInfo< INP, OUTP >::DefaultedRescalerInfo().
bool carto::RescalerInfo::usevtypelimits |
Use limits of the input type instead of effective input min-max.
Has no effect if vmin and vmax are explicitly specified.
Definition at line 69 of file converter.h.
double carto::RescalerInfo::vmax |
Definition at line 72 of file converter.h.
Referenced by carto::DefaultedRescalerInfo< INP, OUTP >::DefaultedRescalerInfo().
double carto::RescalerInfo::vmin |
Definition at line 71 of file converter.h.
Referenced by carto::DefaultedRescalerInfo< INP, OUTP >::DefaultedRescalerInfo().