DGtal 1.4.0
|
#include <DGtal/geometry/surfaces/estimation/PlaneProbingParallelepipedEstimator.h>
Public Types | |
using | Point = typename Self::Point |
using | Integer = typename Self::Integer |
Public Member Functions | |
NotAbovePredicate (Predicate const &aPredicate, Integer const &aBound, Self *aParallelepipedEstimator) | |
NotAbovePredicate & | operator= (const NotAbovePredicate &other) |
bool | inPlane (Point const &aPoint) const |
bool | operator() (Point const &aPoint) const |
Private Member Functions | |
Point | q () const |
Private Attributes | |
const Predicate * | myPredicate = nullptr |
Integer | myBound |
Self * | myParallelpipedEstimator = nullptr |
Definition at line 81 of file PlaneProbingParallelepipedEstimator.h.
using DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::Integer = typename Self::Integer |
Definition at line 86 of file PlaneProbingParallelepipedEstimator.h.
using DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::Point = typename Self::Point |
Definition at line 85 of file PlaneProbingParallelepipedEstimator.h.
DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::NotAbovePredicate | ( | Predicate const & | aPredicate, |
Integer const & | aBound, | ||
Self * | aParallelepipedEstimator ) |
Constructs the NotAbove predicate.
aPredicate | the InPlane predicate. |
aBound | the bound used in the NotAbve predicate. |
aParallelepipedEstimator | a pointer on a plane-probing parallelepiped estimator (to access the fixed point 'q'). |
bool DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::inPlane | ( | Point const & | aPoint | ) | const |
A wrapper around the "is a point inside the plane?" predicate.
aPoint | any digital point. |
bool DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::operator() | ( | Point const & | aPoint | ) | const |
The NotAbove predicate, see [75].
aPoint | any digital point. |
NotAbovePredicate & DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >::NotAbovePredicate::operator= | ( | const NotAbovePredicate & | other | ) |
Copy assignment operator.
other | the object to copy. |
|
private |
Returns the fixed point 'q'.
|
private |
The bound.
Definition at line 122 of file PlaneProbingParallelepipedEstimator.h.
|
private |
A pointer to a plane-probing parallelepiped estimator.
Definition at line 123 of file PlaneProbingParallelepipedEstimator.h.
|
private |
A pointer to the InPlane predicate
Definition at line 121 of file PlaneProbingParallelepipedEstimator.h.