IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MeasureTypes.h
Go to the documentation of this file.
1 // MeasureTypes.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKBASESHAPEANALYSIS_MEASURETYPES_H__
16 #define __IPSDKBASESHAPEANALYSIS_MEASURETYPES_H__
17 
23 #include <boost/shared_ptr.hpp>
24 #include <boost/weak_ptr.hpp>
25 #include <map>
26 #include <string>
27 
28 namespace ipsdk {
29 namespace shape {
30 namespace analysis {
31 
32 class BaseMeasure;
33 class BaseIndivisibleMeasure;
34 class BaseGenericMeasure;
35 class BaseGeometry2dMeasure;
36 class BaseGeometry3dMeasure;
37 class BaseIntensityMeasure;
38 class MeasureSet;
39 class PlanIndexedMeasureSet;
40 
43 
47 
49  (eMPS_Started)
51 )
52 
53 
59 template <eMsrProcessingPolicy::domain msrProcessingPolicy>
61 
64 template <> struct MsrProcessingPolicyClass<eMsrProcessingPolicy::eMPP_Generic> {typedef BaseGenericMeasure Type;};
66 template <> struct MsrProcessingPolicyClass<eMsrProcessingPolicy::eMPP_Geometry3d> {typedef BaseGeometry3dMeasure Type;};
67 template <> struct MsrProcessingPolicyClass<eMsrProcessingPolicy::eMPP_Intensity> {typedef BaseIntensityMeasure Type;};
69 
72 
74 typedef boost::shared_ptr<BaseMeasure> MeasurePtr;
75 
77 typedef boost::shared_ptr<const BaseMeasure> MeasureConstPtr;
78 
80 typedef boost::weak_ptr<BaseMeasure> MeasureWeakPtr;
81 
83 typedef boost::weak_ptr<const BaseMeasure> MeasureConstWeakPtr;
84 
86 typedef std::map<std::string, MeasurePtr> MeasureColl;
87 
89 typedef std::map<std::string, MeasureWeakPtr> MeasureWeakPtrColl;
90 
92 typedef boost::shared_ptr<MeasureSet> MeasureSetPtr;
93 
95 typedef boost::shared_ptr<const MeasureSet> MeasureSetConstPtr;
96 
98 typedef boost::shared_ptr<PlanIndexedMeasureSet> PlanIndexedMeasureSetPtr;
99 
101 typedef boost::shared_ptr<const PlanIndexedMeasureSet> PlanIndexedMeasureSetConstPtr;
102 
105 
106 } // end of namespace analysis
107 } // end of namespace shape
108 } // end of namespace ipsdk
109 
110 #endif // __IPSDKBASESHAPEANALYSIS_MEASURETYPES_H__
generic measure using no input data for processing and requesting a single pass processing ...
Definition: MeasureInfoTypes.h:44
geometry measure using shape 3d data for processing
Definition: MeasureInfoTypes.h:50
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
measure has been processed
Definition: MeasureTypes.h:54
boost::shared_ptr< BaseMeasure > MeasurePtr
shared pointer to shape measure object
Definition: MeasureTypes.h:65
boost::weak_ptr< const BaseMeasure > MeasureConstWeakPtr
weak pointer to const shape measure object
Definition: MeasureTypes.h:88
boost::shared_ptr< const BaseMeasure > MeasureConstPtr
shared pointer to const shape measure object
Definition: MeasureTypes.h:82
boost::shared_ptr< const PlanIndexedMeasureSet > PlanIndexedMeasureSetConstPtr
shared pointer to const plan indexed collection of shape measure set
Definition: MeasureTypes.h:106
measure processing has been started
Definition: MeasureTypes.h:52
eMsrProcessingStatus
Enumerate describing measure processing status.
Definition: MeasureTypes.h:48
Predefined types for shape analysis measurement informations management.
eMsrProcessingPolicy
Enumerate describing measure processing policy.
Definition: MeasureInfoTypes.h:42
Predefined types for shape measurement operations global informations.
geometry measure using shape 2d data for processing
Definition: MeasureInfoTypes.h:48
boost::weak_ptr< BaseMeasure > MeasureWeakPtr
weak pointer to shape measure object
Definition: MeasureTypes.h:85
Base class for shape analysis geometry 2d measurement (geometry measure using shape 2d data for proce...
Definition: BaseGeometry2dMeasure.h:28
Predefined types for shape 2d management.
boost::shared_ptr< PlanIndexedMeasureSet > PlanIndexedMeasureSetPtr
shared pointer to plan indexed collection of shape measure set
Definition: MeasureTypes.h:103
generic measure using no input data for processing
Definition: MeasureInfoTypes.h:46
Base class for shape analysis indivisible measurement (generic measure using no input data for proces...
Definition: BaseIndivisibleMeasure.h:29
std::map< std::string, MeasureWeakPtr > MeasureWeakPtrColl
collection of weak pointer to shape measure object
Definition: MeasureTypes.h:94
structure allowing to retrieve base measure class given a processing measure policy ...
Definition: MeasureTypes.h:65
Predefined types for shape 3d management.
geometry measure using image data for processing
Definition: MeasureInfoTypes.h:52
std::map< std::string, MeasurePtr > MeasureColl
collection of shared pointer to shape measure object
Definition: MeasureTypes.h:91
boost::shared_ptr< const MeasureSet > MeasureSetConstPtr
shared pointer to const shape measure set
Definition: MeasureTypes.h:100
boost::shared_ptr< MeasureSet > MeasureSetPtr
shared pointer to shape measure set
Definition: MeasureTypes.h:97
Predefined macros for enumerates management.
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
measure processing has not been started
Definition: MeasureTypes.h:50