![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Object allowing to agregate a collection of measure. More...
#include <MeasureSet.h>
Public Member Functions | |
| ~MeasureSet () | |
| destructor | |
| ipUInt64 | getNbMeasure () const |
| retrieve number of measures in set | |
| ipUInt64 | getNbEntities () const |
| retrieve number of entities associated to measure set | |
| ipUInt64 | getNbColorPlans () const |
| retrieve number of color plans associated to measure set | |
| const MeasureInfoSet & | getMeasureInfoSet () const |
| retrieve measure information set associated to measure set | |
| const MeasureColl & | getMeasureColl () const |
| retrieve collection of measure objects | |
| const GeometricCalibrationConstPtr & | getGlobalGeometricCalibration () const |
| retrieve global geometric calibration attached to object More... | |
| bool | is2dMeasureSet () const |
| bool | is3dMeasureSet () const |
| bool | isMsrProcessingPolicy (const eMsrProcessingPolicy &msrProcessingPolicy) const |
| bool | isProcessingStatus (const eMsrProcessingStatus &msrProcessingStatus) const |
| bool | isReadyToProcess () const |
| BoolResult | startProcessing (const ipUInt64 nbColorPlans, const ipUInt64 nbEntities) |
| initialize measure processing for all measures into set More... | |
| void | setMsrGlobalInfo (const eMsrInputImageId &msrInputImageId, const MsrGlobalInfoConstPtr &pMsrGlobalInfo) |
| update of global measure informations for a given input image id More... | |
| bool | hasMsrGlobalInfo (const eMsrInputImageId &msrInputImageId) const |
| check whether object is associated to global information for a given input image id | |
| const MeasureGlobalInfo & | getMsrGlobalInfo (const eMsrInputImageId &msrInputImageId) const |
| retrieve global measure informations for a given input image id More... | |
| bool | extractNextReadyMeasureSet (MeasureSetPtr &pSubMeasureSet, eMsrProcessingPolicy &msrProcessingPolicy, eMsrShapeRequirements &msrShapeRequirements, MeasureConfigConstPtr &pMeasureConfig) |
| retrieve next ready to process measure set More... | |
| bool | isStillNeeded (const eMsrInputShapeCollId &shapeCollId, const GeometricCalibration &calibration) const |
| bool | isStillNeeded (const eMsrInputImageId &imageId, const BaseIntensityPreProcessorConfig &intensityPreProcessorConfig) const |
| check whether a given preprocessed image is still needed for processing | |
| BoolResult | indivisibleMeasure () |
| process all measures associated to all shapes More... | |
| BoolResult | genericMeasure (const ipUInt64 shapeIdx) |
| process all measures associated to a given shape More... | |
| void | genericCollectResults (const ipUInt64 resultStartIndex, const MeasureSet &subMeasureSet) |
| collect results of a sub measure set from a result start index More... | |
| BoolResult | geometry2dMeasure (const ipUInt64 shapeIdx, const geom::Shape2d &shape2d) |
| process all measures associated to a given shape More... | |
| void | geometry2dCollectResults (const ipUInt64 resultStartIndex, const MeasureSet &subMeasureSet) |
| collect results of a sub measure set from a result start index More... | |
| BoolResult | geometry3dMeasure (const ipUInt64 shapeIdx, const geom::Shape3d &shape3d) |
| process all measures associated to a given shape More... | |
| void | geometry3dCollectResults (const ipUInt64 resultStartIndex, const MeasureSet &subMeasureSet) |
| collect results of a sub measure set from a result start index More... | |
| BoolResult | intensityStartShapeMeasures (const ipUInt64 shapeIdx) |
| start an intensity measure processing for a given shape More... | |
| BoolResult | intensityMeasure (const ipUInt64 cPlanIdx, const ipUInt64 shapeIdx, const geom::RowSegments &rowSegments, const image::eImageBufferType &imageBufferType, const ipUInt64 rowIdx, const ipUInt64 zPlanIdx, const void *pBuf) |
| process all measures associated to a given shape and a row index More... | |
| BoolResult | intensityEndShapeMeasures (const ipUInt64 shapeIdx) |
| end an intensity measure processing for a given shape More... | |
| BoolResult | intensityCollectResults (const UInt64Vector &resultIndexColl, const MeasureSet &subMeasureSet) |
| collect results of a sub measure set from a result index collection More... | |
| void | endProcessing (const geom::Shape2dConstVector &shape2dColl) |
| end 2d measure processing More... | |
| void | endProcessing (const geom::Shape3dConstVector &shape3dColl) |
| end 3d measure processing More... | |
| void | clearProcessing () |
| method allowing to clear processing data for all measures into set | |
| MeasureConstPtr | getMeasure (const std::string &measureName) const |
| retrieve a given measure More... | |
| const MeasurePtr & | getMeasure (const std::string &measureName) |
| retrieve a given measure More... | |
| MeasureSetPtr | extractSubMeasureSet (const ipUInt64 subDataStartOffset, const ipUInt64 nbSubData) const |
| duplicate a sub measure set with a given number of data to process | |
| MeasureSetPtr | extractSubMeasureSet (const UInt64Vector &subDataIdxColl) const |
| duplicate a sub measure set with a given number of data to process | |
Public Member Functions inherited from ipsdk::BaseObjectWithSkeleton | |
| const eSklSrzMode & | getSerializationMode () const |
| retrieve serialization flag for object More... | |
| void | setSerializationMode (const eSklSrzMode &sklSrzMode) const |
| set serialization flag for object | |
| BaseObjectWithSkeleton () | |
| ~BaseObjectWithSkeleton () | |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Static Public Member Functions | |
| static MeasureSetPtr | createMeasureSet (const MeasureInfoSetConstPtr &pMeasureInfoSet) |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Protected Member Functions | |
| MeasureSet () | |
| constructor | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
Protected Attributes | |
| MeasureInfoSetConstPtr | _pMeasureInfoSet |
| shared pointer to associated measure information set | |
| MeasureColl | _measureColl |
| collection of measure associated to object | |
| ipUInt64 | _nbEntities |
| number of entities associated to measure set | |
Protected Attributes inherited from ipsdk::BaseObjectWithSkeleton | |
| eSklSrzMode | _sklSrzMode |
| serialization flag for object More... | |
Friends | |
| MeasureSetPtr | boost::make_shared () |
Object allowing to agregate a collection of measure.
|
static |
methode allowing to create a new measure set object
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if pMeasureInfoSet.get() == 0 |
| const GeometricCalibrationConstPtr& ipsdk::shape::analysis::MeasureSet::getGlobalGeometricCalibration | ( | ) | const |
retrieve global geometric calibration attached to object
| bool ipsdk::shape::analysis::MeasureSet::is2dMeasureSet | ( | ) | const |
check whether all measure associated to measure set can be used in 2d case
| bool ipsdk::shape::analysis::MeasureSet::is3dMeasureSet | ( | ) | const |
check whether all measure associated to measure set can be used in 3d case
| bool ipsdk::shape::analysis::MeasureSet::isMsrProcessingPolicy | ( | const eMsrProcessingPolicy & | msrProcessingPolicy | ) | const |
check whether all measure associated to measure set are associated to a given processing policy
| bool ipsdk::shape::analysis::MeasureSet::isProcessingStatus | ( | const eMsrProcessingStatus & | msrProcessingStatus | ) | const |
check whether all measures associated to measure set are associated to a given processing status
| bool ipsdk::shape::analysis::MeasureSet::isReadyToProcess | ( | ) | const |
check whether all measures associated to measure set are ready to be processed
| MeasureConstPtr ipsdk::shape::analysis::MeasureSet::getMeasure | ( | const std::string & | measureName | ) | const |
retrieve a given measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if _pMeasureInfoSet->existsMeasureInfo(measureName) == false |
| const MeasurePtr& ipsdk::shape::analysis::MeasureSet::getMeasure | ( | const std::string & | measureName | ) |
retrieve a given measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if _pMeasureInfoSet->existsMeasureInfo(measureName) == false |
| BoolResult ipsdk::shape::analysis::MeasureSet::startProcessing | ( | const ipUInt64 | nbColorPlans, |
| const ipUInt64 | nbEntities | ||
| ) |
initialize measure processing for all measures into set
| void ipsdk::shape::analysis::MeasureSet::setMsrGlobalInfo | ( | const eMsrInputImageId & | msrInputImageId, |
| const MsrGlobalInfoConstPtr & | pMsrGlobalInfo | ||
| ) |
update of global measure informations for a given input image id
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if pMsrGlobalInfo.get() == 0 |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if pMsrGlobalInfo.isInit() == false |
| const MeasureGlobalInfo& ipsdk::shape::analysis::MeasureSet::getMsrGlobalInfo | ( | const eMsrInputImageId & | msrInputImageId | ) | const |
retrieve global measure informations for a given input image id
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if hasMsrGlobalInfo(msrInputImageId) |
| bool ipsdk::shape::analysis::MeasureSet::extractNextReadyMeasureSet | ( | MeasureSetPtr & | pSubMeasureSet, |
| eMsrProcessingPolicy & | msrProcessingPolicy, | ||
| eMsrShapeRequirements & | msrShapeRequirements, | ||
| MeasureConfigConstPtr & | pMeasureConfig | ||
| ) |
retrieve next ready to process measure set
| bool ipsdk::shape::analysis::MeasureSet::isStillNeeded | ( | const eMsrInputShapeCollId & | shapeCollId, |
| const GeometricCalibration & | calibration | ||
| ) | const |
check whether a given calibrated shape collection is still needed for processing
| BoolResult ipsdk::shape::analysis::MeasureSet::indivisibleMeasure | ( | ) |
process all measures associated to all shapes
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Indivisible) == false |
| BoolResult ipsdk::shape::analysis::MeasureSet::genericMeasure | ( | const ipUInt64 | shapeIdx | ) |
process all measures associated to a given shape
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Generic) == false |
| void ipsdk::shape::analysis::MeasureSet::genericCollectResults | ( | const ipUInt64 | resultStartIndex, |
| const MeasureSet & | subMeasureSet | ||
| ) |
collect results of a sub measure set from a result start index
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Generic) == false |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure collection mismatch |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure results size are not compatible |
| BoolResult ipsdk::shape::analysis::MeasureSet::geometry2dMeasure | ( | const ipUInt64 | shapeIdx, |
| const geom::Shape2d & | shape2d | ||
| ) |
process all measures associated to a given shape
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Geometry2d) == false |
| void ipsdk::shape::analysis::MeasureSet::geometry2dCollectResults | ( | const ipUInt64 | resultStartIndex, |
| const MeasureSet & | subMeasureSet | ||
| ) |
collect results of a sub measure set from a result start index
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Geometry2d) == false |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure collection mismatch |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure results size are not compatible |
| BoolResult ipsdk::shape::analysis::MeasureSet::geometry3dMeasure | ( | const ipUInt64 | shapeIdx, |
| const geom::Shape3d & | shape3d | ||
| ) |
process all measures associated to a given shape
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Geometry3d) == false |
| void ipsdk::shape::analysis::MeasureSet::geometry3dCollectResults | ( | const ipUInt64 | resultStartIndex, |
| const MeasureSet & | subMeasureSet | ||
| ) |
collect results of a sub measure set from a result start index
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Geometry2d) == false |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure collection mismatch |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure results size are not compatible |
| BoolResult ipsdk::shape::analysis::MeasureSet::intensityStartShapeMeasures | ( | const ipUInt64 | shapeIdx | ) |
start an intensity measure processing for a given shape
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Intensity) == false |
| BoolResult ipsdk::shape::analysis::MeasureSet::intensityMeasure | ( | const ipUInt64 | cPlanIdx, |
| const ipUInt64 | shapeIdx, | ||
| const geom::RowSegments & | rowSegments, | ||
| const image::eImageBufferType & | imageBufferType, | ||
| const ipUInt64 | rowIdx, | ||
| const ipUInt64 | zPlanIdx, | ||
| const void * | pBuf | ||
| ) |
process all measures associated to a given shape and a row index
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Intensity) == false |
| BoolResult ipsdk::shape::analysis::MeasureSet::intensityEndShapeMeasures | ( | const ipUInt64 | shapeIdx | ) |
end an intensity measure processing for a given shape
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Intensity) == false |
| BoolResult ipsdk::shape::analysis::MeasureSet::intensityCollectResults | ( | const UInt64Vector & | resultIndexColl, |
| const MeasureSet & | subMeasureSet | ||
| ) |
collect results of a sub measure set from a result index collection
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isMsrProcessingPolicy(eMsrProcessingPolicy::eMPP_Intensity) == false |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure collection mismatch |
| void ipsdk::shape::analysis::MeasureSet::endProcessing | ( | const geom::Shape2dConstVector & | shape2dColl | ) |
end 2d measure processing
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure are not associated to a started processing status |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if is2dMeasureSet() == false |
| void ipsdk::shape::analysis::MeasureSet::endProcessing | ( | const geom::Shape3dConstVector & | shape3dColl | ) |
end 3d measure processing
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if measure are not associated to a started processing status |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if is3dMeasureSet() == false |
1.8.14