|
| MinMax () |
| Empty constructor.
|
|
| MinMax (const ValueType &min, const ValueType &max) |
| Constructor.
|
|
| MinMax (const MinMax &other)=default |
| Default copy constructor.
|
|
void | add (const ValueType &val, const Less &less=Less()) |
| Add a single sample.
|
|
const ValueType & | min () const |
| Return the minimum value.
|
|
const ValueType & | max () const |
| Return the maximum value.
|
|
void | add (const MinMax &other, const Less &less=Less()) |
| Add the samples from the other Stats instance.
|
|
void | print (const std::string &name="", std::ostream &strm=std::cout, int precision=3) const |
| Print MinMax to the specified output stream.
|
|
template<typename ValueType, typename Less = std::less<ValueType>>
class openvdb::v10_0::math::MinMax< ValueType, Less >
Templated class to compute the minimum and maximum values.