29 #if defined(LAMBDAMST3D_RECURSES) 30 #error Recursive header files inclusion detected in LambdaMST3D.h 31 #else // defined(LAMBDAMST3D_RECURSES) 33 #define LAMBDAMST3D_RECURSES 35 #if !defined LAMBDAMST3D_h 43 #include <DGtal/base/Common.h> 44 #include <DGtal/helpers/StdDefs.h> 45 #include "DGtal/kernel/CSpace.h" 46 #include "DGtal/kernel/PointVector.h" 47 #include "DGtal/geometry/curves/estimation/FunctorsLambdaMST.h" 48 #include "DGtal/geometry/curves/CForwardSegmentComputer.h" 49 #include "DGtal/geometry/curves/estimation/CLMSTTangentFromDSS.h" 58 template <
typename TSpace,
typename TSegmentation,
typename Functor >
118 template <
typename OutputIterator>
120 OutputIterator result );
138 template <
typename OutputIterator>
172 template <
typename DSSSegmentationComputer,
typename LambdaFunction = functors::Lambda64Function>
175 TangentFromDSS3DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction> >
191 #include "DGtal/geometry/curves/estimation/LambdaMST3D.ih" 195 #endif // !defined LAMBDAMST3D_h 197 #undef LAMBDAMST3D_RECURSES 198 #endif // else defined(LAMBDAMST3D_RECURSES) TSpace::Point Point
Type of 3d real point.
MyDigitalSurface::ConstIterator ConstIterator
Aim: Simplify creation of Lambda MST tangent estimator.
TSpace::RealVector RealVector
Type of 3d real vector.
LambdaMST3DEstimator< Z3i::Space, DSSSegmentationComputer, TangentFromDSS3DFunctor< typename DSSSegmentationComputer::SegmentComputer, LambdaFunction > > Super
void init(const ConstIterator &itb, const ConstIterator &ite)
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
LambdaMST3DEstimator()
Default constructor.
RealVector eval(const ConstIterator &it)
TSegmentation Segmentation
Tangential cover algorithm.
Aim: Defines the concept describing a digital space, ie a cartesian product of integer lines...
BOOST_CONCEPT_ASSERT((concepts::CSpace< TSpace >))
Aim: Defines the concept describing a forward segment computer. Like any model of CIncrementalSegment...
DGtal is the top-level namespace which contains all DGtal functions and types.
TSegmentation::SegmentComputer SegmentComputer
Curve segmentation algorithm.
BOOST_STATIC_ASSERT((TSpace::dimension==3))
SegmentComputer::ConstIterator ConstIterator
Type of iterator, at least readable and forward.
TSegmentation * dssSegments
Functor::Value Value
Type returned by model of CLMSTTangentFrom2DSS.
void attach(Alias< TSegmentation > segmentComputer)
void accumulate(std::multimap< Point, Value > &outValues, const ConstIterator &itb, const ConstIterator &ite, OutputIterator &result)
Accumulate partial results obtained for each point. In 3D it can happen that DSSs' direction vectors ...
SpaceND< 3, Integer > Space
Aim: Defines the concept describing a functor which calculates a direction of the 2D DSS and an eccen...