Aim:
More...
#include <DGtal/geometry/surfaces/estimation/PlaneProbingParallelepipedEstimator.h>
template<typename TPredicate, ProbingMode mode>
class DGtal::PlaneProbingParallelepipedEstimator< TPredicate, mode >
Aim:
Description of template class 'PlaneProbingParallelepipedEstimator'
- Template Parameters
-
Definition at line 62 of file PlaneProbingParallelepipedEstimator.h.
◆ HexagonState
template<typename TPredicate , ProbingMode mode>
◆ Integer
template<typename TPredicate , ProbingMode mode>
◆ Point
template<typename TPredicate , ProbingMode mode>
◆ PointOnProbingRay
template<typename TPredicate , ProbingMode mode>
◆ Predicate
template<typename TPredicate , ProbingMode mode>
◆ Quantity
template<typename TPredicate , ProbingMode mode>
◆ Self
template<typename TPredicate , ProbingMode mode>
◆ TetrahedronEstimator
template<typename TPredicate , ProbingMode mode>
◆ Triangle
template<typename TPredicate , ProbingMode mode>
◆ UpdateOperation
template<typename TPredicate , ProbingMode mode>
◆ Vector
template<typename TPredicate , ProbingMode mode>
◆ PlaneProbingParallelepipedEstimator() [1/4]
template<typename TPredicate , ProbingMode mode>
◆ PlaneProbingParallelepipedEstimator() [2/4]
template<typename TPredicate , ProbingMode mode>
Constructs a plane probing parallelepiped estimator from an initial frame and a probing predicate.
- Parameters
-
aPoint | the base point of the initial frame. |
aM | the three vectors of the initial frame. |
aPredicate | the probing predicate. |
aBound | the bound used in the NotAbove predicate. |
◆ ~PlaneProbingParallelepipedEstimator()
template<typename TPredicate , ProbingMode mode>
◆ PlaneProbingParallelepipedEstimator() [3/4]
template<typename TPredicate , ProbingMode mode>
Copy constructor.
- Parameters
-
other | the object to clone. |
◆ PlaneProbingParallelepipedEstimator() [4/4]
template<typename TPredicate , ProbingMode mode>
Move constructor.
- Parameters
-
◆ advance() [1/2]
template<typename TPredicate , ProbingMode mode>
Do one step of the estimation.
- Returns
- false if the algorithm has terminated, true otherwise.
◆ advance() [2/2]
template<typename TPredicate , ProbingMode mode>
Do one step of the estimation, but considering only a subset of candidate rays. Particularly useful on digital surfaces when some directions must be discarded because of 'flat' zones.
- Parameters
-
aNeighbors | the list of candidates ray to consider. |
- Returns
- false if the algorithm has terminated, true otherwise.
Referenced by main().
◆ BOOST_CONCEPT_ASSERT()
template<typename TPredicate , ProbingMode mode>
◆ compute() [1/2]
template<typename TPredicate , ProbingMode mode>
Estimate the normal using a plane-probing approach, calls advance repeatedly.
- Returns
- the estimated normal.
◆ compute() [2/2]
template<typename TPredicate , ProbingMode mode>
Estimate the normal using a plane-probing approach, calls advance repeatedly.
- Parameters
-
aNeighbors | the list of candidates ray to consider. |
- Returns
- the estimated normal.
Referenced by TEST_CASE().
◆ geometricalDecomposition()
template<typename TPredicate , ProbingMode mode>
Decompose a non-elementary operations into an array of elementary ones.
- Returns
- a list of elementary operations.
◆ getBasis()
template<typename TPredicate , ProbingMode mode>
- Returns
- the two shortest edges of the triangle that is a basis of the lattice generated by the current estimated normal.
◆ getNormal()
template<typename TPredicate , ProbingMode mode>
- Returns
- the current estimated normal.
Referenced by main().
◆ getOrigin()
template<typename TPredicate , ProbingMode mode>
- Returns
- the point 'p' that is the base point of the parallelepiped.
◆ getState()
template<typename TPredicate , ProbingMode mode>
- Returns
- the current state of the parallelepiped i.e. the number of points of the parallelepiped that are inside the plane.
Referenced by main().
◆ hexagonState()
template<typename TPredicate , ProbingMode mode>
- Returns
- the current local configuration, see HexagonState.
Referenced by main().
◆ inPlane()
template<typename TPredicate , ProbingMode mode>
A shortcut to the inPlane function of 'myNotAbovePredicate'
- Parameters
-
- Returns
- true if the point is inside, false otherwise.
◆ isInReverseState()
template<typename TPredicate , ProbingMode mode>
- Returns
- whether we are in a reversed state or not (strictly less than 4 points of the parallelepiped satisfy the predicate).
Referenced by main().
◆ isReduced()
template<typename TPredicate , ProbingMode mode>
- Returns
- 'true' if the current basis is reduced or not, 'false' otherwise.
Referenced by TEST_CASE().
◆ isSeparating()
template<typename TPredicate , ProbingMode mode>
- Returns
- whether the current parallelepiped is separating or not (q and getOrigin are inside/outside or outside/inside the plane).
◆ isValid()
template<typename TPredicate , ProbingMode mode>
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ m()
template<typename TPredicate , ProbingMode mode>
- Parameters
-
aIndex | the index of the vector (between 0 and 2). |
- Returns
- the i-th height vector \( m_i \).
Referenced by main().
◆ operator=() [1/2]
template<typename TPredicate , ProbingMode mode>
Copy assignment operator.
- Parameters
-
- Returns
- a reference on 'this'.
◆ operator=() [2/2]
template<typename TPredicate , ProbingMode mode>
Move assignment operator.
- Parameters
-
- Returns
- a reference on 'this'.
◆ q()
template<typename TPredicate , ProbingMode mode>
- Returns
- the fixed point \( q \).
◆ selfDisplay()
template<typename TPredicate , ProbingMode mode>
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ translateIf()
template<typename TPredicate , ProbingMode mode>
Translates (reverses) the current parallelepiped if needed (depending on the state).
- Parameters
-
aOp | the operation to apply. |
- Returns
- 'true' if the parallelepiped is still separating, 'false' otherwise.
◆ myIsInReverseState
template<typename TPredicate , ProbingMode mode>
◆ myNotAbovePredicate
template<typename TPredicate , ProbingMode mode>
◆ myTetrahedronEstimator
template<typename TPredicate , ProbingMode mode>
The documentation for this class was generated from the following file: