DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW > Class Template Reference

#include <DGtal/geometry/curves/estimation/SegmentComputerEstimators.h>

Inheritance diagram for DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >:
[legend]

Public Member Functions

 CurvatureFromDCAEstimator ()
 
 CurvatureFromDCAEstimator (const CurvatureFromDCAEstimator &other)
 
- Public Member Functions inherited from DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< true > >
 PosIndepScaleDepSCEstimator ()
 
 PosIndepScaleDepSCEstimator (const PosIndepScaleDepSCEstimator &other)
 
PosIndepScaleDepSCEstimatoroperator= (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
 
OutputIterator eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result) const
 

Private Types

typedef detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > > Super
 

Additional Inherited Members

- Public Types inherited from DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< true > >
typedef DCAComputer SegmentComputer
 
typedef SegmentComputer::ConstIterator ConstIterator
 
typedef typename detail::CurvatureFromDCA< true >::Value Quantity
 
- Data Fields inherited from DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< true > >
double myH
 
ConstIterator myBegin
 
ConstIterator myEnd
 
const SegmentComputermySCPtr
 
detail::CurvatureFromDCA< true > myFunctor
 

Detailed Description

template<typename DCAComputer, bool isCCW = true>
class DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >

Description of class 'CurvatureFromDCAEstimator'

Aim: estimates the curvature from a DCA recognized by a segment computer, basically geometricDCA.

Template Parameters
DCAComputera model of segment computer devoted the DCA recognition
isCCWboolean equal to 'true' (default) for a scanning in a counter-clockwise (CCW) orientation, 'false' otherwise, i.e in a clockwise (CW) orientation. For instance, the estimated curvature of a digital circle, scanned in a CCW (resp. CW) orientation, is positive (resp. negative).
Examples
geometry/curves/estimation/exampleCurvature.cpp.

Definition at line 1106 of file SegmentComputerEstimators.h.

Member Typedef Documentation

◆ Super

template<typename DCAComputer , bool isCCW = true>
typedef detail::PosIndepScaleDepSCEstimator<DCAComputer, detail::CurvatureFromDCA<isCCW> > DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >::Super
private

Definition at line 1112 of file SegmentComputerEstimators.h.

Constructor & Destructor Documentation

◆ CurvatureFromDCAEstimator() [1/2]

template<typename DCAComputer , bool isCCW = true>
DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >::CurvatureFromDCAEstimator ( )
inline

Default Constructor.

Definition at line 1118 of file SegmentComputerEstimators.h.

1118: Super() {};
detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > > Super

◆ CurvatureFromDCAEstimator() [2/2]

template<typename DCAComputer , bool isCCW = true>
DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >::CurvatureFromDCAEstimator ( const CurvatureFromDCAEstimator< DCAComputer, isCCW > & other)
inline

Copy constructor.

Parameters
otherthe object to clone.

Definition at line 1123 of file SegmentComputerEstimators.h.

1123: Super(other) {};

The documentation for this class was generated from the following file: