IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
DistanceToNearestNeighbor2dMsrInfo.h
1 // DistanceToNearestNeighbor2dMsrInfo.h:
3 // -------------------------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_DISTANCETONEARESTNEIGHBOR2DMSRINFO_H__
17 #define __IPSDKIPLSHAPEANALYSIS_DISTANCETONEARESTNEIGHBOR2DMSRINFO_H__
18 
20 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Basic/HolesBasicPolicyMsrParams.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace shape {
26 namespace analysis {
27 
30 
34 
37 
38 // declare a measure information
40  DistanceToNearestNeighbor2d,
42  ((eMVP_2d)(Shape2dRTree)(Shape2dRTree)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<HolesBasicPolicyMsrParams::ProcessHoles>())))
43  ((eMVP_2d)(NearestNeighbor2dCollector)(NearestNeighbor2dCollector)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<HolesBasicPolicyMsrParams::ProcessHoles>()))),
44  eMSR_RequireShapeBoundaryApprox,
45  eMUF_LengthUnit)
46 
47 // methods
48 public:
49 
50 protected:
51 
52 // attributs
53 protected:
54 
55 };
56 
59 
60 } // end of namespace analysis
61 } // end of namespace shape
62 } // end of namespace imaproc
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKIPLSHAPEANALYSIS_DISTANCETONEARESTNEIGHBOR2DMSRINFO_H__
ipsdk::imaproc::shape::analysis::HolesBasicPolicyMsrParams DistanceToNearestNeighbor2dMsrParams
parameters type associated to measure
Definition: DistanceToNearestNeighbor2dMsrInfo.h:33
Definition of import/export macro for library.
Parameter object for measures needing a basic hole processing policy.
Definition: HolesBasicPolicyMsrParams.h:41
IPSDKIPLSHAPEANALYSIS_API HolesBasicPolicyMsrParamsPtr createHolesBasicPolicyMsrParams(const ipBool bProcessHoles)
function allowing to create a new parameter object for measures needing a basic hole processing polic...
#define IPSDK_DECLARE_GEOMETRY2D_MEASURE_INFO_WITH_PARAMS(libraryName, msrName, msrResultType, msrDependSeq, msrShapeRequirements, msrUnitFormat)