DGtal
0.6.devel
|
#include <BasicFunctors.h>
Public Types | |
typedef T | Input |
typedef Thresholder< T, false, true > | Tlow |
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 478 of file BasicFunctors.h.
typedef PredicateCombiner<Tlow,Tup,AndBoolFct2 > DGtal::IntervalThresholder< T >::CombinedPredicate |
Definition at line 490 of file BasicFunctors.h.
typedef T DGtal::IntervalThresholder< T >::Input |
input type
Definition at line 485 of file BasicFunctors.h.
typedef Thresholder<T,false,true> DGtal::IntervalThresholder< T >::Tlow |
predicates type
Definition at line 488 of file BasicFunctors.h.
typedef Thresholder<T,true,true> DGtal::IntervalThresholder< T >::Tup |
Definition at line 489 of file BasicFunctors.h.
|
inline |
DGtal::IntervalThresholder< T >::BOOST_CONCEPT_ASSERT | ( | (boost::EqualityComparable< T >) | ) |
DGtal::IntervalThresholder< T >::BOOST_CONCEPT_ASSERT | ( | (boost::LessThanComparable< T >) | ) |
|
inline |
Compares aI to @ myT.
aI | any input value |
Definition at line 506 of file BasicFunctors.h.
References DGtal::IntervalThresholder< T >::myPred.
|
private |
Combined predicate
Definition at line 522 of file BasicFunctors.h.
Referenced by DGtal::IntervalThresholder< T >::operator()().
|
private |
First thresholder
Definition at line 514 of file BasicFunctors.h.
|
private |
Second thresholder
Definition at line 518 of file BasicFunctors.h.