IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PolygonArea2dMsr.h
1 // PolygonArea2dMsr.h:
3 // -------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_POLYGONAREA2DMSR_H__
17 #define __IPSDKIPLSHAPEANALYSIS_POLYGONAREA2DMSR_H__
18 
19 // suppression warnings
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
25 #include <IPSDKIPL/IPSDKIPLShapeAnalysis/Measure/Geometry/Basic/PolygonArea2d/PolygonArea2dMsrInfo.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace shape {
30 namespace analysis {
31 
34 
35 // declare a measure object
36 IPSDK_DECLARE_GEOMETRY2D_MEASURE(IPSDKIPLShapeAnalysis, PolygonArea2d)
37 
38 // methods
39 public:
43  ipReal64 getMinArea2d() const;
44 
48  ipReal64 getMaxArea2d() const;
49 
50 protected:
52  void endProcessingDerived();
53 
56  void copyAdditionalResults(const BaseMeasure& subMeasure);
57 
58  // attributes
59 protected:
61  ipReal64 _minArea2d;
62 
64  ipReal64 _maxArea2d;
65 
66 };
67 
70 
71 } // end of namespace analysis
72 } // end of namespace shape
73 } // end of namespace imaproc
74 } // end of namespace ipsdk
75 
76 #pragma warning (pop)
77 
78 #endif // __IPSDKIPLSHAPEANALYSIS_POLYGONAREA2DMSR_H__
double ipReal64
#define IPSDK_DECLARE_GEOMETRY2D_MEASURE(libraryName, msrName)
Definition of import/export macro for library.