DGtal
0.6.devel
|
#include <BasicPointPredicates.h>
Public Types | |
typedef TPointFunctor | PointFunctor |
typedef TPredicate | Predicate |
typedef PointFunctor::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CPointFunctor< TPointFunctor >)) | |
BOOST_CONCEPT_ASSERT ((CUnaryFunctor< TPredicate, typename TPointFunctor::Value, bool >)) | |
PointFunctorPredicate (const PointFunctor &aFun, const Predicate &aPred) | |
PointFunctorPredicate (const PointFunctorPredicate &other) | |
PointFunctorPredicate & | operator= (const PointFunctorPredicate &other) |
~PointFunctorPredicate () | |
bool | operator() (const Point &p) const |
Data Fields | |
const PointFunctor * | myFun |
const Predicate * | myPred |
Aim: The predicate returns true when the predicate returns true for the value assigned to a given point in the point functor.
Description of template class 'PointFunctorPredicate'
TPointFunctor | a model of CPointFunctor. |
TPredicate | a type of predicate on values |
Definition at line 335 of file BasicPointPredicates.h.
typedef PointFunctor::Point DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::Point |
Definition at line 342 of file BasicPointPredicates.h.
typedef TPointFunctor DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::PointFunctor |
Definition at line 340 of file BasicPointPredicates.h.
typedef TPredicate DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::Predicate |
Definition at line 341 of file BasicPointPredicates.h.
|
inline |
Constructor from an PointFunctor and a predicate
aFun | an point functor. |
aPred | a predicate. |
Definition at line 187 of file BasicPointPredicates.ih.
|
inline |
Copy constructor.
other | the object to copy |
Definition at line 196 of file BasicPointPredicates.ih.
|
inline |
DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::BOOST_CONCEPT_ASSERT | ( | (CPointFunctor< TPointFunctor >) | ) |
DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::BOOST_CONCEPT_ASSERT | ( | (CUnaryFunctor< TPredicate, typename TPointFunctor::Value, bool >) | ) |
|
inline |
p | any point. |
Definition at line 226 of file BasicPointPredicates.ih.
|
inline |
Assignement
other | the object to copy |
Definition at line 205 of file BasicPointPredicates.ih.
References DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::myFun, and DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::myPred.
const PointFunctor* DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::myFun |
aliasing pointer to the PointFunctor.
Definition at line 377 of file BasicPointPredicates.h.
Referenced by DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::operator=().
const Predicate* DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::myPred |
aliasing pointer to the predicate.
Definition at line 379 of file BasicPointPredicates.h.
Referenced by DGtal::PointFunctorPredicate< TPointFunctor, TPredicate >::operator=().