DGtal 1.3.0
Loading...
Searching...
No Matches
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 >:
DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >

Public Member Functions

 CurvatureFromDCAEstimator ()
 
 CurvatureFromDCAEstimator (const CurvatureFromDCAEstimator &other)
 
- Public Member Functions inherited from DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >
 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
 
template<typename OutputIterator >
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< TSegmentComputer, Functor, ReturnType >
typedef TSegmentComputer SegmentComputer
 
typedef SegmentComputer::ConstIterator ConstIterator
 
typedef ReturnType Quantity
 
- Data Fields inherited from DGtal::detail::PosIndepScaleDepSCEstimator< TSegmentComputer, Functor, ReturnType >
double myH
 
ConstIterator myBegin
 
ConstIterator myEnd
 
const SegmentComputermySCPtr
 
Functor 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: