IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OrientedExtentMsrInfo.h
1 // OrientedExtentMsrInfo.h:
3 // ------------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_ORIENTEDEXTENTMSRINFO_H__
17 #define __IPSDKIPLSHAPEANALYSIS_ORIENTEDEXTENTMSRINFO_H__
18 
20 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/FormFactor/OrientedExtent/OrientedExtentMsrParams.h>
21 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Basic/HolesBasicPolicyMsrParams.h>
22 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/OrientedBoundingBox/OrientedBoundingBox2d/OrientedBoundingBox2dMsrParams.h>
23 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/OrientedBoundingBox/OrientedBoundingBox3d/OrientedBoundingBox3dMsrParams.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace shape {
29 namespace analysis {
30 
33 
34 // declare a measure information
36  OrientedExtent,
38  ((eMVP_2d)(Volume)(PolygonArea2d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::ProcessHoles>())))
39  ((eMVP_3d)(Volume)(MeshVolume3d)(createHolesBasicPolicyMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::ProcessHoles>())))
40  ((eMVP_2d)(OrientedBoundingBox)(OrientedBoundingBox2d)(createOrientedBoundingBox2dMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::NbOrientations>())))
41  ((eMVP_3d)(OrientedBoundingBox)(OrientedBoundingBox3d)(createOrientedBoundingBox3dMsrParams(_pMsrParams->getValue<OrientedExtentMsrParams::NbOrientations>()))),
42  eMUF_NoUnit)
43 
44 // methods
45 public:
46 
47 protected:
48 
49 // attributs
50 protected:
51 
52 };
53 
56 
57 } // end of namespace analysis
58 } // end of namespace shape
59 } // end of namespace imaproc
60 } // end of namespace ipsdk
61 
62 #endif // __IPSDKIPLSHAPEANALYSIS_ORIENTEDEXTENTMSRINFO_H__
#define IPSDK_DECLARE_GENERIC_MEASURE_INFO_WITH_PARAMS(libraryName, msrName, msrResultType, msrDependSeq, msrUnitFormat)
Definition of import/export macro for library.
IPSDKIPLSHAPEANALYSIS_API OrientedBoundingBox3dMsrParamsPtr createOrientedBoundingBox3dMsrParams(ipUInt32 nbOrientations)
function allowing to create a new parameter object for OrientedBoundingBox3d measure ...
IPSDKIPLSHAPEANALYSIS_API HolesBasicPolicyMsrParamsPtr createHolesBasicPolicyMsrParams(const ipBool bProcessHoles)
function allowing to create a new parameter object for measures needing a basic hole processing polic...
IPSDKIPLSHAPEANALYSIS_API OrientedBoundingBox2dMsrParamsPtr createOrientedBoundingBox2dMsrParams(ipUInt32 nbOrientations)
function allowing to create a new parameter object for OrientedBoundingBox2d measure ...