DGtal 1.4.2
|
Aim: A small functor with an operator () that compares one value to an interval. More...
#include <DGtal/base/BasicFunctors.h>
Public Types | |
typedef T | Input |
input type | |
typedef Thresholder< T, false, true > | Tlow |
predicates type | |
typedef Thresholder< T, true, true > | Tup |
typedef PredicateCombiner< Tlow, Tup, AndBoolFct2 > | CombinedPredicate |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((boost::EqualityComparable< T >)) | |
BOOST_CONCEPT_ASSERT ((boost::LessThanComparable< T >)) | |
IntervalThresholder (const Input &low, const Input &up) | |
bool | operator() (const Input &aI) const |
Private Attributes | |
Tlow | myTlow |
Tup | myTup |
CombinedPredicate | myPred |
Aim: A small functor with an operator () that compares one value to an interval.
template class IntervalThresholder
T | type for a value that must be equality and less-than comparable |
Definition at line 700 of file BasicFunctors.h.
PredicateCombiner<Tlow,Tup,AndBoolFct2 > DGtal::functors::IntervalThresholder< T >::CombinedPredicate |
Definition at line 712 of file BasicFunctors.h.
T DGtal::functors::IntervalThresholder< T >::Input |
input type
Definition at line 707 of file BasicFunctors.h.
Thresholder<T,false,true> DGtal::functors::IntervalThresholder< T >::Tlow |
predicates type
Definition at line 710 of file BasicFunctors.h.
Thresholder<T,true,true> DGtal::functors::IntervalThresholder< T >::Tup |
Definition at line 711 of file BasicFunctors.h.
|
inline |
Constructor.
low | lower threshold. |
up | upper threshold. |
Definition at line 719 of file BasicFunctors.h.
DGtal::functors::IntervalThresholder< T >::BOOST_CONCEPT_ASSERT | ( | (boost::EqualityComparable< T >) | ) |
DGtal::functors::IntervalThresholder< T >::BOOST_CONCEPT_ASSERT | ( | (boost::LessThanComparable< T >) | ) |
|
inline |
Compares aI to @ myT.
aI | any input value |
Definition at line 728 of file BasicFunctors.h.
References DGtal::functors::IntervalThresholder< T >::myPred.
|
private |
Combined predicate
Definition at line 744 of file BasicFunctors.h.
Referenced by DGtal::functors::IntervalThresholder< T >::operator()().
|
private |
First thresholder
Definition at line 736 of file BasicFunctors.h.
|
private |
Second thresholder
Definition at line 740 of file BasicFunctors.h.