|
| DimIM (const DIM_UNIT im_unit) |
|
std::unique_ptr< DimBase > | clone () const override |
| Copy derived objects to avoid slicing when dealing with pointers to DimBase. More...
|
|
ValueType | map (const Peak1D &) const override |
|
ValueType | map (const Peak2D &) const override |
|
ValueType | map (const ChromatogramPeak &) const override |
|
ValueTypes | map (const MSSpectrum &) const override |
|
ValueTypes | map (const MSChromatogram &) const override |
|
ValueType | map (const MSExperiment::ConstAreaIterator &it) const override |
|
ValueType | map (const MobilityPeak1D &p) const override |
|
ValueType | map (const MobilityPeak2D &p) const override |
|
ValueType | map (const MSSpectrum &spec, const Size) const override |
| obtain value from a certain point in a spectrum More...
|
|
ValueType | map (const MSChromatogram &, const Size) const override |
| obtain value from a certain point in a chromatogram More...
|
|
ValueType | map (const Mobilogram &mb, const Size index) const override |
| obtain value from a certain point in a mobilogram More...
|
|
ValueType | map (const BaseFeature &) const override |
|
ValueType | map (const PeptideIdentification &) const override |
|
RangeBase | map (const RangeAllType &rm) const override |
| Return the min/max (range) for a certain dimension. More...
|
|
RangeBase & | map (RangeAllType &rm) const override |
| Return the min/max (range) for a certain dimension (i.e. a reference to the base class of rm ) More...
|
|
void | setRange (const RangeBase &in, RangeAllType &out) const override |
| Set the min/max (range) in out for a certain dimension. More...
|
|
void | fromXY (const ValueType, Peak1D &) const override |
| set the IM of a Peak1D (throws) More...
|
|
void | fromXY (const ValueType, ChromatogramPeak &) const override |
| set the IM of a ChromatogramPeak (throws) More...
|
|
void | fromXY (const ValueType in, MobilityPeak1D &p) const override |
| set the IM of a MobilityPeak1D More...
|
|
void | fromXY (const ValueType in, MobilityPeak2D &p) const override |
| set the IM of a MobilityPeak2D More...
|
|
| DimBase ()=delete |
| No default c'tor. More...
|
|
| DimBase (DIM_UNIT unit) |
| Custom c'tor with unit. More...
|
|
DimBase & | operator= (const DimBase &rhs)=default |
| Assignment operator. More...
|
|
virtual | ~DimBase () noexcept=default |
| D'tor (needs to be virtual; we are holding pointers to base in DimMapper) More...
|
|
bool | operator== (const DimBase &rhs) const |
| Equality. More...
|
|
std::string_view | getDimName () const |
| Name of the dimension, e.g. 'RT [s]'. More...
|
|
std::string_view | getDimNameShort () const |
| Name of the dimension, e.g. 'RT'. More...
|
|
DIM_UNIT | getUnit () const |
| The unit of the dimension. More...
|
|
String | formattedValue (const ValueType value) const |
| Creates a short string representation with "UNIT: value", where value has a predefined precision (see valuePrecision()) More...
|
|
String | formattedValue (ValueType value, const String &prefix) const |
| like formattedValue() but with a custom unit prefix instead of the default one for the dim, e.g. "myText: 45.32" More...
|
|
int | valuePrecision () const |
| return the recommended precision for the current unit (2 digits for RT, 8 for m/z, etc) More...
|
|
Dimension implementation for ion mobility values.
This class implements the DimBase interface for the ion mobility dimension. It provides methods to access ion mobility values from various data structures and convert between ion mobility values and generic dimension values.
Ion mobility dimensions support different units such as FAIMS compensation voltage, linear ion mobility spectrometry, and trapped ion mobility spectrometry.
- See also
- DimBase