MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor limits an observed value to a specified range. More...
#include <mdsFunctional.h>
Public Member Functions | |
CLimit (const T &Min, const T &Max) | |
Default constructor. | |
void | operator() (T &Value) |
Limits value of a given parameter. | |
Protected Attributes | |
T | m_Max |
T | m_Min |
Original and new value. |
Functor limits an observed value to a specified range.
mds::base::CLimit< T >::CLimit | ( | const T & | Min, |
const T & | Max | ||
) |
Default constructor.
void mds::base::CLimit< T >::operator() | ( | T & | Value | ) |
Limits value of a given parameter.
T mds::base::CLimit< T >::m_Max [protected] |
T mds::base::CLimit< T >::m_Min [protected] |
Original and new value.