|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
   81       if (
this == &rhs) 
return *
this;
 
  156     template <
class PeakIteratorType>
 
  157     void updateRanges_(
const PeakIteratorType & begin, 
const PeakIteratorType & end)
 
  171       for (PeakIteratorType it = begin; it != end; ++it)
 
  174         for (
UInt i = 0; i < D; ++i)
 
  176           double tmp = it->getPosition()[i];
 
  188         double tmp = it->getIntensity();
 
  
const PositionType & getMax() const
Returns the maximum position.
Definition: RangeManager.h:117
RangeManager & operator=(const RangeManager &rhs)
Assignment operator.
Definition: RangeManager.h:79
A D-dimensional half-open interval.
Definition: DRange.h:60
Definition: RangeManager.h:51
PositionRangeType pos_range_
Position range (D-dimensional)
Definition: RangeManager.h:153
void setMaxX(CoordinateType const c)
Mutator for min_ coordinate of the larger point.
Definition: DIntervalBase.h:281
RangeManager(const RangeManager &rhs)
Copy constructor.
Definition: RangeManager.h:66
void updateRanges_(const PeakIteratorType &begin, const PeakIteratorType &end)
Updates the range using data points in the iterator range.
Definition: RangeManager.h:157
PositionType const  & maxPosition() const
Accessor to maximum position.
Definition: DIntervalBase.h:130
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Handles the management of a position and intensity range.
Definition: RangeManager.h:47
DPosition< D > PositionType
Position Type.
Definition: RangeManager.h:55
virtual void updateRanges()=0
Updates minimum and maximum position/intensity.
IntensityRangeType int_range_
Intensity range (1-dimensional)
Definition: RangeManager.h:151
double getMaxInt() const
Returns the maximum intensity.
Definition: RangeManager.h:129
RangeManager()
Default constructor.
Definition: RangeManager.h:60
void setMinX(CoordinateType const c)
Mutator for min_ coordinate of the smaller point.
Definition: DIntervalBase.h:267
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
DRange< 1 > IntensityRangeType
Intensity range type.
Definition: RangeManager.h:57
double getMinInt() const
Returns the minimum intensity.
Definition: RangeManager.h:123
PositionType const  & minPosition() const
Accessor to minimum position.
Definition: DIntervalBase.h:124
bool operator==(const RangeManager &rhs) const
Equality operator.
Definition: RangeManager.h:90
DRange< D > PositionRangeType
Position range type.
Definition: RangeManager.h:53
bool operator!=(const RangeManager &rhs) const
Equality operator.
Definition: RangeManager.h:97
void clearRanges()
Resets the ranges.
Definition: RangeManager.h:142
static const DIntervalBase empty
empty instance
Definition: DIntervalBase.h:233
const PositionType & getMin() const
Returns the minimum position.
Definition: RangeManager.h:111