IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleMatchImageVolumeType.h
1 // RuleMatchImageVolumeType.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_RULEMATCHIMAGEVOLUMETYPE_H__
16 #define __IPSDKIMAGEPROCESSING_RULEMATCHIMAGEVOLUMETYPE_H__
17 
18 // suppression of warnings
19 // warning C4251: 'ipsdk::imaproc::RuleMatchImageVolumeType::_volumeGeometryType' : class 'ipsdk::image::eVolumeGeometryType' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::RuleMatchImageVolumeType'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
23 #include <IPSDKImageProcessing/Rule/Image/ImageProperty/BaseImagePropertyRule.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 
31 
33 {
34 // predefined public type
35 public:
37  static const eImagePropertyRuleType::domain g_imagePropertyRuleType = eImagePropertyRuleType::eIPRT_MatchImageVolumeType;
38 
39 public:
45 
46 // methods
47 public:
49  eImagePropertyRuleType getImagePropertyRuleType() const;
50 
56  void init(const ImageAttributeConstWeakPtr& pAttribute,
57  const image::eVolumeGeometryType& volumeGeometryType);
58 
61  const image::eVolumeGeometryType& getVolumeGeometry() const;
62 
63 protected:
65  bool testRule() const;
66 
68  std::string createRuleFormalString() const;
69 
71  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
72 
73 // attributes
74 protected:
77 };
78 
81 
84 {
86 }
87 
90 
91 } // end of namespace imaproc
92 } // end of namespace ipsdk
93 
94 #pragma warning (pop)
95 
96 #endif // __IPSDKIMAGEPROCESSING_RULEMATCHIMAGEVOLUMETYPE_H__
Predefined types for geometry component management.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
image::eVolumeGeometryType _volumeGeometryType
volume geometry used for check
Definition: RuleMatchImageVolumeType.h:76
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
Rule allowing to check image volume geometry.
Definition: RuleMatchImageVolumeType.h:32
check image volume type
Definition: ImagePropertyRuleTypes.h:36
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
eImagePropertyRuleType getImagePropertyRuleType() const
get image property rule type
Definition: RuleMatchImageVolumeType.h:83
eVolumeGeometryType
Volume geometry type.
Definition: GeometryComponentTypes.h:32
static const eImagePropertyRuleType::domain g_imagePropertyRuleType
image processing rule type associated to rule
Definition: RuleMatchImageVolumeType.h:37
Base class for rules allowing to check property of an image attribute.
Definition: BaseImagePropertyRule.h:27
eImagePropertyRuleType
enumerate describing image property rule operation type
Definition: ImagePropertyRuleTypes.h:34
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53