Handles the managment of a position and intensity range. More...
#include <OpenMS/KERNEL/RangeManager.h>
| Public Types | |
| enum | { DIMENSION = D } | 
| Dimension of the position range.  More... | |
| typedef DRange< D > | PositionRangeType | 
| Position range type.  More... | |
| typedef DPosition< D > | PositionType | 
| Position Type.  More... | |
| typedef DRange< 1 > | IntensityRangeType | 
| Intensity range type.  More... | |
| Public Member Functions | |
| RangeManager () | |
| Default constructor.  More... | |
| RangeManager (const RangeManager &rhs) | |
| Copy constructor.  More... | |
| virtual | ~RangeManager () | 
| Destructor.  More... | |
| RangeManager & | operator= (const RangeManager &rhs) | 
| Assignment operator.  More... | |
| bool | operator== (const RangeManager &rhs) const | 
| Equality operator.  More... | |
| bool | operator!= (const RangeManager &rhs) const | 
| Equality operator.  More... | |
| Range methods | |
| 
 | |
| const PositionType & | getMin () const | 
| Returns the minimum position.  More... | |
| const PositionType & | getMax () const | 
| Returns the maximum position.  More... | |
| DoubleReal | getMinInt () const | 
| Returns the minimum intensity.  More... | |
| DoubleReal | getMaxInt () const | 
| Returns the maximum intensity.  More... | |
| virtual void | updateRanges ()=0 | 
| Updates minimum and maximum position/intensity.  More... | |
| void | clearRanges () | 
| Resets the ranges.  More... | |
| Protected Member Functions | |
| template<class PeakIteratorType > | |
| void | updateRanges_ (const PeakIteratorType &begin, const PeakIteratorType &end) | 
| Updates the range using data points in the iterator range.  More... | |
| Protected Attributes | |
| IntensityRangeType | int_range_ | 
| Intensity range (1-dimensional)  More... | |
| PositionRangeType | pos_range_ | 
| Position range (D-dimensional)  More... | |
Handles the managment of a position and intensity range.
This is needed for all peak and feature container like Spectrum, MSExperiment and FeatureMap.
| typedef DRange<1> IntensityRangeType | 
Intensity range type.
| typedef DRange<D> PositionRangeType | 
Position range type.
| typedef DPosition<D> PositionType | 
Position Type.
| 
 | inline | 
Default constructor.
| 
 | inline | 
Copy constructor.
| 
 | inlinevirtual | 
Destructor.
| 
 | inline | 
Resets the ranges.
| 
 | inline | 
Returns the maximum position.
Referenced by FeatureFinderAlgorithmIsotopeWavelet< OpenMS::Peak2D, FeatureType >::run().
| 
 | inline | 
Returns the maximum intensity.
| 
 | inline | 
Returns the minimum position.
Referenced by FeatureFinderAlgorithmIsotopeWavelet< OpenMS::Peak2D, FeatureType >::run().
| 
 | inline | 
Returns the minimum intensity.
| 
 | inline | 
Equality operator.
| 
 | inline | 
Assignment operator.
Referenced by MSChromatogram< ChromatogramPeakType >::operator=(), and MSSpectrum< RichPeak1D >::operator=().
| 
 | inline | 
Equality operator.
Referenced by RangeManager< 2 >::operator!=(), MSChromatogram< ChromatogramPeakType >::operator==(), and MSSpectrum< RichPeak1D >::operator==().
| 
 | pure virtual | 
Updates minimum and maximum position/intensity.
This method is usually implemented by calling clearRanges() and updateRanges_().
Implemented in MSExperiment< PeakT, ChromatogramPeakT >, MSExperiment< OpenMS::Peak1D >, MSExperiment< Peak1D >, MSExperiment< SimPointType >, ConsensusMap, FeatureMap< FeatureT >, FeatureMap<>, FeatureMap< OpenMS::Feature >, MSSpectrum< PeakT >, MSSpectrum< PeakType >, MSSpectrum< Peak1D >, MSSpectrum< OpenMS::Peak2D >, MSSpectrum<>, MSSpectrum< RichPeak1D >, MSChromatogram< PeakT >, and MSChromatogram< ChromatogramPeakType >.
| 
 | inlineprotected | 
Updates the range using data points in the iterator range.
| 
 | protected | 
Intensity range (1-dimensional)
Referenced by RangeManager< 2 >::clearRanges(), RangeManager< 2 >::getMaxInt(), RangeManager< 2 >::getMinInt(), RangeManager< 2 >::operator=(), RangeManager< 2 >::operator==(), and RangeManager< 2 >::updateRanges_().
| 
 | protected | 
Position range (D-dimensional)
Referenced by RangeManager< 2 >::clearRanges(), RangeManager< 2 >::getMax(), RangeManager< 2 >::getMin(), RangeManager< 2 >::operator=(), RangeManager< 2 >::operator==(), and RangeManager< 2 >::updateRanges_().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5 |