IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseGenericMeasure.h
1 // BaseGenericMeasure.h:
3 // ---------------------
4 //
15 
16 #ifndef __IPSDKBASESHAPEANALYSIS_BASEGENERICMEASURE_H__
17 #define __IPSDKBASESHAPEANALYSIS_BASEGENERICMEASURE_H__
18 
19 #include <IPSDKBaseShapeAnalysis/Measure/BaseMeasure.h>
20 
21 namespace ipsdk {
22 namespace shape {
23 namespace analysis {
24 
27 
29 {
30  // declare serial class
32 
33  // friend class for protected members access
34  friend class MeasureSet;
35 
36 protected:
39 
40 public:
42  virtual ~BaseGenericMeasure() = 0;
43 
44 // methods
45 public:
49  bool isColorMsr() const;
50 
51 protected:
56  virtual BoolResult measureShapeDerived(const ipUInt64 cPlanIdx,
57  const ipUInt64 shapeIdx) = 0;
58 
59 private:
65  BoolResult measureShape(const ipUInt64 shapeIdx);
66 
74  void collectResults(const ipUInt64 resultStartIndex,
75  const BaseMeasure& subMeasure);
76 
77 // attributes
78 protected:
79 
80 };
81 
84 
85 } // end of namespace analysis
86 } // end of namespace shape
87 } // end of namespace ipsdk
88 
89 #endif // __IPSDKBASESHAPEANALYSIS_BASEGENERICMEASURE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
#define IPSDK_DECLARE_ABSTRACT_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on abstract class
Definition: SerializationHdrMacro.h:91
#define IPSDKBASESHAPEANALYSIS_API
Import/Export macro for library IPSDKBaseShapeAnalysis.
Definition: IPSDKBaseShapeAnalysisExports.h:25
Object allowing to agregate a collection of measure.
Definition: MeasureSet.h:38
Base class for shape analysis generic measurement (generic measure using no input data for processing...
Definition: BaseGenericMeasure.h:28
Base class for shape analysis measurement.
Definition: BaseMeasure.h:37