IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Sphericity3dMsrInfo.h
1 // Sphericity3dMsrInfo.h:
3 // ----------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_SPHERICITY3DMSRINFO_H__
17 #define __IPSDKIPLSHAPEANALYSIS_SPHERICITY3DMSRINFO_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  Sphericity3d,
42  ((eMVP_3d)(Area3d)(Area3d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Sphericity3dMsrParams::ProcessHoles>())))
43  ((eMVP_3d)(Volume3d)(Volume3d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<Sphericity3dMsrParams::ProcessHoles>()))),
44  eMUF_NoUnit)
45 // methods
46 public:
47 
48 protected:
49 
50 // attributs
51 protected:
52 
53 };
54 
57 
58 } // end of namespace analysis
59 } // end of namespace shape
60 } // end of namespace imaproc
61 } // end of namespace ipsdk
62 
63 #endif // __IPSDKIPLSHAPEANALYSIS_SPHERICITY3DMSRINFO_H__
#define IPSDK_DECLARE_GENERIC_MEASURE_INFO_WITH_PARAMS(libraryName, msrName, msrResultType, msrDependSeq, msrUnitFormat)
Definition of import/export macro for library.
Parameter object for measures needing a basic hole processing policy.
Definition: HolesBasicPolicyMsrParams.h:41
HolesBasicPolicyMsrParams Sphericity3dMsrParams
parameter type associated to class
Definition: Sphericity3dMsrInfo.h:33
IPSDKIPLSHAPEANALYSIS_API HolesBasicPolicyMsrParamsPtr createHolesBasicPolicyMsrParams(const ipBool bProcessHoles)
function allowing to create a new parameter object for measures needing a basic hole processing polic...