DGtal
0.6.devel
|
#include <SegmentComputerEstimators.h>
Public Types | |
typedef TSegmentComputer | SegmentComputer |
typedef SegmentComputer::ConstIterator | ConstIterator |
typedef ReturnType | Quantity |
Public Member Functions | |
PosDepScaleDepSCEstimator () | |
PosDepScaleDepSCEstimator (const PosDepScaleDepSCEstimator &other) | |
PosDepScaleDepSCEstimator & | operator= (const PosDepScaleDepSCEstimator &other) |
~PosDepScaleDepSCEstimator () | |
bool | isValid () const |
void | init (const double h, const ConstIterator &itb, const ConstIterator &ite) |
void | attach (const SegmentComputer &aSC) |
Quantity | eval (const ConstIterator &it) const |
template<typename OutputIterator > | |
OutputIterator | eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result) const |
Data Fields | |
double | myH |
ConstIterator | myBegin |
ConstIterator | myEnd |
const SegmentComputer * | mySCPtr |
Functor | myFunctor |
Description of class 'PosDepScaleDepSCEstimator'
Aim: estimates a geometric quantity from a segment computer. The estimation is both position-dependent and scale-dependent (typically distance of a point to an underlying curve).
TSegmentComputer | a model of segment computer. |
The computation is delegated to a Functor.
Functor | a functor |
This class is a model of CSegmentComputerEstimator
Definition at line 524 of file SegmentComputerEstimators.h.
typedef SegmentComputer::ConstIterator DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::ConstIterator |
Definition at line 531 of file SegmentComputerEstimators.h.
typedef ReturnType DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::Quantity |
Definition at line 532 of file SegmentComputerEstimators.h.
typedef TSegmentComputer DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::SegmentComputer |
Definition at line 530 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
|
inline |
|
inline |
Attach the estimator to aSC
aSC | an instance of segment computer. |
Definition at line 630 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
Estimation for a subrange [itb , ite )
itb | subrange begin iterator |
ite | subrange end iterator |
result | output iterator on the estimated quantity |
Definition at line 657 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
Checks the validity/consistency of the object.
Definition at line 602 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::eval().
|
inline |
ConstIterator DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myBegin |
Begin iterator
Definition at line 543 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::init(), and DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::operator=().
ConstIterator DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myEnd |
End iterator
Definition at line 547 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::init(), and DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::operator=().
Functor DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myFunctor |
Functor used for the estimation
Definition at line 555 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::eval(), and DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::operator=().
double DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myH |
Grid step
Definition at line 539 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::eval(), DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::init(), DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::isValid(), and DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::operator=().
const SegmentComputer* DGtal::detail::PosDepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::mySCPtr |
Aliasing pointer on a constant segment computer
Definition at line 551 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::attach(), DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::eval(), DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::isValid(), and DGtal::detail::PosDepScaleDepSCEstimator< DCAComputer, detail::DistanceFromDCA >::operator=().