MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor remains unchanged a specified interval of values. More...
#include <mdsFunctional.h>
Public Member Functions | |
CCut (const T &Min, const T &Max, const T &NewValue=T()) | |
Default constructor. | |
void | operator() (T &Value) |
Function cuts out a predefined range of values. | |
Protected Attributes | |
T | m_Max |
T | m_Min |
Range and new value. | |
T | m_NewValue |
Functor remains unchanged a specified interval of values.
All other values are cleared.
mds::base::CCut< T >::CCut | ( | const T & | Min, |
const T & | Max, | ||
const T & | NewValue = T() |
||
) |
Default constructor.
void mds::base::CCut< T >::operator() | ( | T & | Value | ) |
Function cuts out a predefined range of values.
T mds::base::CCut< T >::m_Max [protected] |
T mds::base::CCut< T >::m_Min [protected] |
Range and new value.
T mds::base::CCut< T >::m_NewValue [protected] |