IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Roughness2dMsrParams.h
1 // Roughness2dMsrParams.h:
3 // -----------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_ROUGHNESS2DMSRPARAMS_H__
17 #define __IPSDKIPLSHAPEANALYSIS_ROUGHNESS2DMSRPARAMS_H__
18 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace shape {
26 namespace analysis {
27 
30 
31 IPSDK_DECLARE_NODE_DATA(IPSDKIPLShapeAnalysis, Roughness2dMsrParams,
32  ((LEAF)(ProcessHoles)(ipsdk::ipBool)(false))
33  ((LEAF)(PolygApproxMaxDist)(ipsdk::ipReal64)(0.))
35  ((LEAF)(NbMinPointForPolygApprox)(ipsdk::ipUInt32)(10)))
36 };
37 
40 
42 typedef boost::shared_ptr<Roughness2dMsrParams> Roughness2dMsrParamsPtr;
43 
45 typedef boost::shared_ptr<const Roughness2dMsrParams> Roughness2dMsrParamsConstPtr;
46 
49 
53 
56 createRoughness2dMsrParams(const ipsdk::ipBool bProcessHoles, const ipReal64 distMaxApprox);
57 
60 createRoughness2dMsrParams(const ipsdk::ipBool bProcessHoles,
61  const ipsdk::ipReal64 polygApproxMaxDist,
62  const ipsdk::eNeighborhood2dType& neighborhood2dType,
63  const ipsdk::ipUInt32 nbMinPointForPolygApprox);
64 
67 
68 } // end of namespace analysis
69 } // end of namespace shape
70 } // end of namespace imaproc
71 } // end of namespace ipsdk
72 
73 #endif // __IPSDKIPLSHAPEANALYSIS_ROUGHNESS2DMSRPARAMS_H__
boost::shared_ptr< const Roughness2dMsrParams > Roughness2dMsrParamsConstPtr
shared pointer to const Roughness2dMsrParams
Definition: Roughness2dMsrParams.h:157
IPSDKIPLSHAPEANALYSIS_API Roughness2dMsrParamsPtr createRoughness2dMsrParams(const ipsdk::ipBool bProcessHoles, const ipReal64 distMaxApprox)
function allowing to create a new parameter object for Roughness2d measure
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
double ipReal64
IPSDKIPLSHAPEANALYSIS_API Roughness2dMsrParamsPtr createDefaultRoughness2dMsrParams()
function allowing to create a new parameter object for Roughness2d measure
Definition of import/export macro for library.
eN2T_8Connexity
bool ipBool
boost::shared_ptr< Roughness2dMsrParams > Roughness2dMsrParamsPtr
shared pointer to Roughness2dMsrParams
Definition: Roughness2dMsrParams.h:154
#define IPSDKIPLSHAPEANALYSIS_API
Import/Export macro for library IPSDKIPLShapeAnalysis.
Definition: IPSDKIPLShapeAnalysisExports.h:25
eNeighborhood2dType
uint32_t ipUInt32