15 #ifndef __IPSDKBASESHAPEANALYSIS_MEASUREINFOSET_H__ 16 #define __IPSDKBASESHAPEANALYSIS_MEASUREINFOSET_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 25 #include <IPSDKSerialization/Engine/BaseSerializationObject.h> 26 #include <IPSDKUtil/Tools/ProcessingResult.h> 28 #include <boost/enable_shared_from_this.hpp> 29 #include <boost/smart_ptr/make_shared_object.hpp> 39 public boost::enable_shared_from_this<MeasureInfoSet>
46 #if !defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) 47 template<
class T,
class... Args >
48 friend typename boost::detail::sp_if_not_array< T >::type boost::make_shared(Args && ...);
77 bool is2dMeasureSet()
const;
81 bool is3dMeasureSet()
const;
104 const AliasMap& getAliasMap()
const;
107 bool existsMeasureInfo(
const std::string& measureName,
111 bool existsMeasureInfo(
const std::string& measureDefaultName,
122 const std::string& measureDefaultName,
125 const std::string& measureDefaultName,
148 const MeasureInfoPtr& getMeasureInfo(
const std::string& measureName);
153 void getMeasureInfoColl(
const std::string& defaultMeasureName,
196 #pragma warning (pop) 198 #endif // __IPSDKBASESHAPEANALYSIS_MEASUREINFOSET_H__ Predefined types for geometric calibration management.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
std::set< eMsrInputShapeCollId > ShapeCollIdSet
set of input shape collection id required by measures
Definition: MeasureConfigTypes.h:98
boost::shared_ptr< const MeasureConfig > MeasureConfigConstPtr
shared pointer to const MeasureConfig object
Definition: MeasureConfigTypes.h:89
boost::shared_ptr< const BaseMeasureInfo > MeasureInfoConstPtr
shared pointer to const shape measure information object
Definition: MeasureInfoTypes.h:142
boost::shared_ptr< const BaseDataItem > DataItemConstPtr
shared pointer to const DataItem
Definition: DataItemTypes.h:149
boost::shared_ptr< const ipsdk::GeometricCalibration > GeometricCalibrationConstPtr
shared pointer to const ipsdk::GeometricCalibration
Definition: GeometricCalibrationTypes.h:31
AliasMap _aliasMap
collection of alias for measure names
Definition: MeasureInfoSet.h:168
Definition of import/export macro for library.
#define IPSDKBASESHAPEANALYSIS_API
Import/Export macro for library IPSDKBaseShapeAnalysis.
Definition: IPSDKBaseShapeAnalysisExports.h:25
bool _b2dMeasureSet
flag indicating whether measure set is 2d or 3d
Definition: MeasureInfoSet.h:162
bool is2dMeasureSet() const
Definition: MeasureInfoSet.h:178
std::map< std::string, MeasureInfoPtr > MeasureInfoColl
collection of shared pointer to shape measure information object
Definition: MeasureInfoTypes.h:151
eMsrInputShapeCollId
Enumerate allowing to identify shape collection used for processing.
Definition: MeasureConfigTypes.h:38
Object allowing to agregate a collection of measure informations.
Definition: MeasureInfoSet.h:38
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
std::map< std::string, std::string > AliasMap
map associating a string to an other (an alias map)
Definition: MeasureInfoTypes.h:166
MeasureInfoColl _measureInfoColl
collection of measure information associated to object
Definition: MeasureInfoSet.h:165
IPSDKBASESHAPEANALYSIS_API void createMeasureInfo(const MeasureInfoSetPtr &pMeasureInfoSet, const std::string &measureName, const std::string &measureDefaultName, const MeasureConfigConstPtr &pMeasureConfig=MeasureConfigConstPtr(), const DataItemConstPtr &pMeasureParams=DataItemConstPtr())
functions allowing to create a new measure information and to insert it into a measure information se...
Predefined types for measures management.
bool is3dMeasureSet() const
Definition: MeasureInfoSet.h:184
boost::shared_ptr< MeasureInfoSet > MeasureInfoSetPtr
shared pointer to shape measure information set
Definition: MeasureInfoTypes.h:157
GeometricCalibrationConstPtr _pGlobalGeometricCalibration
global calibration associated object
Definition: MeasureInfoSet.h:171
measure name attributed by user
Definition: MeasureInfoTypes.h:76
Base class for serializable class.
Definition: BaseSerializationObject.h:33
eMsrNameType
Enumerate describing measure name type.
Definition: MeasureInfoTypes.h:74
std::set< eMsrInputImageId > ImageIdSet
set of input image id required by measures
Definition: MeasureConfigTypes.h:101
boost::shared_ptr< BaseMeasureInfo > MeasureInfoPtr
shared pointer to shape measure information object
Definition: MeasureInfoTypes.h:125