![]() |
OpendTect
6.3
|
Unit of Measure. More...
Public Member Functions | |
| UnitOfMeasure () | |
| UnitOfMeasure (const char *n, const char *s, double f, PropertyRef::StdType t=PropertyRef::Other) | |
| UnitOfMeasure (const UnitOfMeasure &uom) | |
| UnitOfMeasure & | operator= (const UnitOfMeasure &) |
| const char * | symbol () const |
| PropertyRef::StdType | propType () const |
| const LinScaler & | scaler () const |
| void | setSymbol (const char *s) |
| void | setScaler (const LinScaler &s) |
| void | setPropType (PropertyRef::StdType t) |
| bool | isImperial () const |
| template<class T > | |
| T | getSIValue (T inp) const |
| template<class T > | |
| T | getUserValueFromSI (T inp) const |
| template<class T > | |
| T | internalValue (T inp) const |
| template<class T > | |
| T | userValue (T inp) const |
| Repos::Source | source () const |
| void | setSource (Repos::Source s) |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=0) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *nm) |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static const UnitOfMeasure * | getGuessed (const char *) |
| static const UnitOfMeasure * | surveyDefZUnit () |
| Default unit in displays (ms,m,ft) More... | |
| static const UnitOfMeasure * | surveyDefZStorageUnit () |
| Default unit in storage (s,m,ft) More... | |
| static const UnitOfMeasure * | surveyDefTimeUnit () |
| Default time unit in displays (ms) More... | |
| static const UnitOfMeasure * | surveyDefDepthUnit () |
| Default depth unit in displays (m,ft) More... | |
| static const UnitOfMeasure * | surveyDefDepthStorageUnit () |
| Default depth unit in storage (m,ft) More... | |
| static const UnitOfMeasure * | surveyDefVelUnit () |
| Default velocity unit in displays (m/s,ft/s) More... | |
| static uiString | surveyDefZUnitAnnot (bool symbol, bool withparens) |
| static uiString | surveyDefTimeUnitAnnot (bool symbol, bool withparens) |
| static uiString | surveyDefDepthUnitAnnot (bool symbol, bool withparens) |
| static uiString | surveyDefVelUnitAnnot (bool symbol, bool withparens) |
| static uiString | zUnitAnnot (bool time, bool symbol, bool withparens) |
| static IOPar & | currentDefaults () |
| static void | saveCurrentDefaults () |
Protected Attributes | |
| BufferString | symbol_ |
| LinScaler | scaler_ |
| PropertyRef::StdType | proptype_ |
| Repos::Source | source_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Private Member Functions | |
| mODTextTranslationClass (UnitOfMeasure) | |
Unit of Measure.
Only linear transformations to SI units supported.
All units of measure in OpendTect are available through the UoMR() instance accessor of the singleton UnitOfMeasureRepository instance.
|
inline |
|
inline |
|
inline |
|
static |
just a list of key -> unit of measure key can be property name or whatever seems good
|
static |
|
inline |
|
inline |
|
inline |
| bool UnitOfMeasure::isImperial | ( | ) | const |
|
private |
| UnitOfMeasure& UnitOfMeasure::operator= | ( | const UnitOfMeasure & | ) |
|
inline |
|
static |
store as a user setting on Survey level this will be done automatically at survey changes
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Default depth unit in storage (m,ft)
|
static |
Default depth unit in displays (m,ft)
|
static |
|
static |
Default time unit in displays (ms)
|
static |
|
static |
Default velocity unit in displays (m/s,ft/s)
|
static |
|
static |
Default unit in storage (s,m,ft)
|
static |
Default unit in displays (ms,m,ft)
|
static |
|
inline |
|
inline |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017