IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleShapeMeasureSetProcessingPolicy.h
1 // RuleShapeMeasureSetProcessingPolicy.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGPOLICY_H__
16 #define __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGPOLICY_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::imaproc::RuleShapeMeasureSetProcessingPolicy::_msrProcessingPolicy' : class 'ipsdk::shape::analysis::eMsrProcessingPolicy' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::RuleShapeMeasureSetProcessingPolicy'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKImageProcessing/Rule/ShapeMeasureSet/BaseShapeMeasureSetRule.h>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 
30 
32 {
33 public:
39 
40 // methods
41 public:
43  eSMSRuleType getSMSRuleType() const;
44 
48  void init(const ShapeMeasureSetAttributeConstWeakPtr& pAttribute,
49  const shape::analysis::eMsrProcessingPolicy& msrProcessingPolicy);
50 
53  const shape::analysis::eMsrProcessingPolicy& getMsrProcessingPolicy() const;
54 
55 protected:
57  bool testRule() const;
58 
60  std::string createRuleFormalString() const;
61 
63  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
64 
65 // attributes
66 protected:
69 };
70 
73 
74 inline eSMSRuleType
76 {
78 }
79 
82 
83 } // end of namespace imaproc
84 } // end of namespace ipsdk
85 
86 #pragma warning (pop)
87 
88 #endif // __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGPOLICY_H__
check that measure set is associated to measures with an homogeneous processing policy ...
Definition: ShapeMeasureSetRuleTypes.h:39
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
shape::analysis::eMsrProcessingPolicy _msrProcessingPolicy
expected shape measure processing policy for attribute
Definition: RuleShapeMeasureSetProcessingPolicy.h:68
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
eMsrProcessingPolicy
Enumerate describing measure processing policy.
Definition: MeasureInfoTypes.h:42
Base class for rules allowing to check shape measure set properties.
Definition: BaseShapeMeasureSetRule.h:28
eSMSRuleType getSMSRuleType() const
get shape measure set rule type
Definition: RuleShapeMeasureSetProcessingPolicy.h:75
Rule allowing to check shape measure set processing policy property.
Definition: RuleShapeMeasureSetProcessingPolicy.h:31
boost::weak_ptr< const BaseShapeMeasureSetAttribute > ShapeMeasureSetAttributeConstWeakPtr
Definition: ShapeMeasureSetAttributeTypes.h:40
eSMSRuleType
enumerate describing shape measure set rule operation type
Definition: ShapeMeasureSetRuleTypes.h:33
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53