|
| RangeIntensity ()=default |
|
| RangeIntensity (const double min, const double max) |
|
void | extendIntensity (const double value) |
| extend the range such that it includes the given value More...
|
|
bool | containsIntensity (const double value) const |
| is value within [min, max]? More...
|
|
bool | containsIntensity (const RangeBase &inner_range) const |
| is the range inner_range within [min, max] of this range? More...
|
|
|
We use accessors, to keep range consistent (i.e. ensure that min <= max)
|
void | setMinIntensity (const double min) |
| sets the minimum (and the maximum, if uninitialized) More...
|
|
void | setMaxIntensity (const double max) |
| sets the maximum (and the minimum, if uninitialized) More...
|
|
double | getMinIntensity () const |
| only useful if isEmpty() returns false More...
|
|
double | getMaxIntensity () const |
| only useful if isEmpty() returns false More...
|
|
| RangeBase ()=default |
| Ctor: initialize with empty range. More...
|
|
| RangeBase (const double min, const double max) |
|
void | clear () |
| make the range empty, i.e. isEmpty() will be true More...
|
|
bool | isEmpty () const |
| is the range empty (i.e. default constructed or cleared using clear())? More...
|
|
bool | contains (const double value) const |
| is value within [min, max]? More...
|
|
bool | contains (const RangeBase &inner_range) const |
| is the range inner_range within [min, max]? More...
|
|
void | extend (const RangeBase &other) |
| ensure the range includes the range of other More...
|
|
void | extend (const double value) |
| extend the range such that it includes the given value More...
|
|
void | scaleBy (const double factor) |
| Scale the range of the dimension by a factor . A factor > 1 increases the range; factor < 1 decreases it. More...
|
|
void | assign (const RangeBase &rhs) |
|
bool | operator== (const RangeBase &rhs) const |
|
void | setMin (const double min) |
| sets the minimum (and the maximum, if uninitialized) More...
|
|
void | setMax (const double max) |
| sets the maximum (and the minimum, if uninitialized) More...
|
|
double | getMin () const |
| only useful if isEmpty() returns false More...
|
|
double | getMax () const |
| only useful if isEmpty() returns false More...
|
|