|
DGtal
0.6.devel
|
#include <SegmentComputerEstimators.h>


Public Types | |
| typedef TSegmentComputer | SegmentComputer |
| typedef SegmentComputer::ConstIterator | ConstIterator |
| typedef ReturnType | Quantity |
Public Member Functions | |
| PosIndepScaleDepSCEstimator () | |
| PosIndepScaleDepSCEstimator (const PosIndepScaleDepSCEstimator &other) | |
| PosIndepScaleDepSCEstimator & | operator= (const PosIndepScaleDepSCEstimator &other) |
| ~PosIndepScaleDepSCEstimator () | |
| bool | isValid () const |
| void | init (const double h, const ConstIterator &itb, const ConstIterator &ite) |
| void | attach (const SegmentComputer &aSC) |
| Quantity | eval (const ConstIterator &) 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 'PosIndepScaleDepSCEstimator'
Aim: estimates a geometric quantity from a segment computer. The estimation is not position-dependent, but is scale-dependent (e.g. curvature or radius estimation from 'circular' primitives).
| TSegmentComputer | a model of segment computer. |
The computation is delegated to a functor.
| Functor | a binary functor |
This class is a model of CSegmentComputerEstimator
Definition at line 218 of file SegmentComputerEstimators.h.
| typedef SegmentComputer::ConstIterator DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::ConstIterator |
Definition at line 225 of file SegmentComputerEstimators.h.
| typedef ReturnType DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::Quantity |
Definition at line 226 of file SegmentComputerEstimators.h.
| typedef TSegmentComputer DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::SegmentComputer |
Definition at line 224 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
|
inline |
|
inline |
Attach the estimator to aSC
| aSC | an instance of segment computer. |
Definition at line 324 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 351 of file SegmentComputerEstimators.h.
|
inline |
|
inline |
Checks the validity/consistency of the object.
Definition at line 296 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::eval().
|
inline |
| ConstIterator DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myBegin |
Begin iterator
Definition at line 237 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::init(), and DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::operator=().
| ConstIterator DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myEnd |
End iterator
Definition at line 241 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::init(), and DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::operator=().
| Functor DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myFunctor |
Functor used for the estimation
Definition at line 249 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::eval(), and DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::operator=().
| double DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::myH |
Grid step
Definition at line 233 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::eval(), DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::init(), DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::isValid(), and DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::operator=().
| const SegmentComputer* DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >::mySCPtr |
Aliasing pointer on a constant segment computer
Definition at line 245 of file SegmentComputerEstimators.h.
Referenced by DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::attach(), DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::eval(), DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::isValid(), and DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >::operator=().
1.8.1.1