MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes
mds::base::CCut< T > Class Template Reference

Functor remains unchanged a specified interval of values. More...

#include <mdsFunctional.h>

List of all members.

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

m_Max
m_Min
 Range and new value.
m_NewValue

Detailed Description

template<typename T>
class mds::base::CCut< T >

Functor remains unchanged a specified interval of values.

All other values are cleared.


Constructor & Destructor Documentation

template<typename T >
mds::base::CCut< T >::CCut ( const T &  Min,
const T &  Max,
const T &  NewValue = T() 
)

Default constructor.


Member Function Documentation

template<typename T >
void mds::base::CCut< T >::operator() ( T &  Value)

Function cuts out a predefined range of values.


Member Data Documentation

template<typename T >
T mds::base::CCut< T >::m_Max [protected]
template<typename T >
T mds::base::CCut< T >::m_Min [protected]

Range and new value.

template<typename T >
T mds::base::CCut< T >::m_NewValue [protected]

The documentation for this class was generated from the following file: