IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ContourExtractionSettings.h
1 // ContourExtractionSettings.h:
3 // ----------------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_CONTOUREXTRACTIONSETTINGS_H__
17 #define __IPSDKIPLATTRIBUTES_CONTOUREXTRACTIONSETTINGS_H__
18 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, ContourExtractionSettings,
34  ((LEAF)(EnablePolygApprox)(ipsdk::ipBool)(true))
36  ((LEAF)(PolygApproxMaxDist)(ipsdk::ipReal64)(0.5))
37  ((LEAF)(NbMinPointForPolygApprox)(ipsdk::ipUInt32)(10)))
38 };
39 
42 
45 typedef boost::shared_ptr<ipsdk::imaproc::attr::ContourExtractionSettings> ContourExtractionSettingsPtr;
46 
49 typedef boost::shared_ptr<const ipsdk::imaproc::attr::ContourExtractionSettings> ContourExtractionSettingsConstPtr;
50 
53 
58 
63  const ipReal64 polygApproxMaxDist,
64  const ipUInt32 nbMinPointForPolygApprox);
65 
71 
74 
75 } // end of namespace attr
76 } // end of namespace imaproc
77 } // end of namespace ipsdk
78 
79 #endif // __IPSDKIPLATTRIBUTES_CONTOUREXTRACTIONSETTINGS_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< ipsdk::imaproc::attr::ContourExtractionSettings > ContourExtractionSettingsPtr
shared pointer to ipsdk::imaproc::attr::ContourExtractionSettings
Definition: ContourExtractionSettings.h:169
double ipReal64
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::ContourExtractionSettingsPtr createDisabledContourExtractionSettings()
function allowing to create a ContourExtractionSettings data item which disable polygon extraction ...
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::ContourExtractionSettingsPtr createDefaultContourExtractionSettings()
function allowing to create a default ContourExtractionSettings data item
boost::shared_ptr< const ipsdk::imaproc::attr::ContourExtractionSettings > ContourExtractionSettingsConstPtr
shared pointer to const ipsdk::imaproc::attr::ContourExtractionSettings
Definition: ContourExtractionSettings.h:173
eN2T_8Connexity
Definition of import/export macro for library.
bool ipBool
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
eNeighborhood2dType
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::ContourExtractionSettingsPtr createContourExtractionSettings(const ipsdk::eNeighborhood2dType &neighborhood2dType, const ipReal64 polygApproxMaxDist, const ipUInt32 nbMinPointForPolygApprox)
function allowing to create a ContourExtractionSettings data item
uint32_t ipUInt32