DGtal 1.3.0
|
Create a point functor from a point predicate and a domain. More...
#include <DGtal/kernel/BasicPointFunctors.h>
Public Types | |
typedef TPointPredicate | PointPredicate |
typedef TDomain | Domain |
typedef TValue | Value |
typedef Domain::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CPointPredicate< PointPredicate >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CDomain< Domain >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CQuantity< Value >)) | |
PointFunctorFromPointPredicateAndDomain (ConstAlias< PointPredicate > aPtrPredicate, ConstAlias< Domain > aDomain, const Value aTrueValue, const Value aFalseValue) | |
Constructor. More... | |
PointFunctorFromPointPredicateAndDomain (const PointFunctorFromPointPredicateAndDomain &other) | |
Value | operator() (const Point &aPoint) const |
operator () More... | |
PointFunctorFromPointPredicateAndDomain & | operator= (const PointFunctorFromPointPredicateAndDomain &other) |
Private Attributes | |
const PointPredicate * | myPtrPredicate |
const Domain * | myDomain |
Value | myTrueValue |
Value | myFalseValue |
Create a point functor from a point predicate and a domain.
Definition at line 570 of file BasicPointFunctors.h.
typedef TDomain DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::Domain |
Definition at line 573 of file BasicPointFunctors.h.
typedef Domain::Point DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::Point |
Definition at line 575 of file BasicPointFunctors.h.
typedef TPointPredicate DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::PointPredicate |
Definition at line 572 of file BasicPointFunctors.h.
typedef TValue DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::Value |
Definition at line 574 of file BasicPointFunctors.h.
DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::PointFunctorFromPointPredicateAndDomain | ( | ConstAlias< PointPredicate > | aPtrPredicate, |
ConstAlias< Domain > | aDomain, | ||
const Value | aTrueValue, | ||
const Value | aFalseValue | ||
) |
Constructor.
[in] | aPtrPredicate | a predicate on digital point |
[in] | aDomain | a domain on digital point |
[in] | aTrueValue | the returned value when a given point is inside the domain and when the predicate return true |
[in] | aFalseValue | the returned value when a given point is outside the domain or when the predicate return false |
DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::PointFunctorFromPointPredicateAndDomain | ( | const PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue > & | other | ) |
DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDomain< Domain >) | ) |
DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::BOOST_CONCEPT_ASSERT | ( | (concepts::CPointPredicate< PointPredicate >) | ) |
DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::BOOST_CONCEPT_ASSERT | ( | (concepts::CQuantity< Value >) | ) |
Value DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::operator() | ( | const Point & | aPoint | ) | const |
operator ()
[in] | aPoint | evaluated digital point. |
PointFunctorFromPointPredicateAndDomain & DGtal::functors::PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue >::operator= | ( | const PointFunctorFromPointPredicateAndDomain< TPointPredicate, TDomain, TValue > & | other | ) |
Assignment.
other | the object to copy. |
|
private |
Definition at line 610 of file BasicPointFunctors.h.
|
private |
Definition at line 612 of file BasicPointFunctors.h.
|
private |
Definition at line 609 of file BasicPointFunctors.h.
|
private |
Definition at line 611 of file BasicPointFunctors.h.