DGtal  0.9.4beta
Public Member Functions | Private Types
DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW > Class Template Reference

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

Inheritance diagram for DGtal::CurvatureFromDCAEstimator< DCAComputer, isCCW >:
[legend]
Collaboration 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< isCCW > >
 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< isCCW > >
typedef DCAComputer SegmentComputer
 
typedef SegmentComputer::ConstIterator ConstIterator
 
typedef typename detail::CurvatureFromDCA< isCCW >::Value Quantity
 
- Data Fields inherited from DGtal::detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > >
double myH
 
ConstIterator myBegin
 
ConstIterator myEnd
 
const SegmentComputermySCPtr
 
detail::CurvatureFromDCA< isCCW > 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 1107 of file SegmentComputerEstimators.h.

Member Typedef Documentation

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

Definition at line 1113 of file SegmentComputerEstimators.h.

Constructor & Destructor Documentation

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

Default Constructor.

Definition at line 1119 of file SegmentComputerEstimators.h.

1119 : Super() {};
detail::PosIndepScaleDepSCEstimator< DCAComputer, detail::CurvatureFromDCA< isCCW > > Super
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 1124 of file SegmentComputerEstimators.h.

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

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