![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for shape analysis measurement. More...
#include <BaseMeasure.h>
Public Member Functions | |
| virtual | ~BaseMeasure ()=0 |
| destructor | |
| bool | isInit () const |
| check for object initialization | |
| const BaseMeasureInfo & | getMeasureInfo () const |
| retrieve measure information associated to measure More... | |
| const std::string & | getToolTip () const |
| retrieve object tool tip More... | |
| const std::string & | getDefaultName () const |
| retrieve default name associated to measure More... | |
| const std::string & | getMeasureName () const |
| retrieve name associated to measure More... | |
| bool | is2dMode () const |
| check whether measure is used in 2d mode More... | |
| virtual bool | isColorMsr () const =0 |
| check whether measure is a color measure More... | |
| eMsrShapeRequirements | getMsrShapeRequirements () const |
| retrieve shape data requirements associated to measure More... | |
| bool | requiresRowIntersections () const |
| bool | requiresBoundaryApproximation () const |
| const GeometricCalibrationConstPtr & | getGeometricCalibration () const |
| retrieve geometric calibration associated to measure More... | |
| std::string | getMsrUnitStr () const |
| retrieve formatted unit string associated to measure More... | |
Measure volume informations | |
| eMsrProcessingPolicy | getMsrProcessingPolicy () const |
| retrieve measure processing policy More... | |
| bool | is2dMsr () const |
| check whether measure can be used in 2d case More... | |
| bool | is3dMsr () const |
| check whether measure can be used in 3d case More... | |
| ipReal32 | getCalibrationXScale () const |
| retrieve calibration scales associated to measure More... | |
| ipReal32 | getCalibrationYScale () const |
| retrieve calibration scales associated to measure More... | |
| ipReal32 | getCalibrationZScale () const |
| retrieve calibration scales associated to measure More... | |
Computation management | |
| const eMsrProcessingStatus & | getMsrProcessingStatus () const |
| retrieve object status flag More... | |
| bool | hasMsrGlobalInfo () const |
| check whether object is associated to global information More... | |
| const MeasureGlobalInfo & | getMsrGlobalInfo () const |
| retrieve global information associated to measure More... | |
| ipUInt64 | getNbColorPlans () const |
| retrieve number of color plans associated to measure More... | |
| ipUInt64 | getNbEntities () const |
| retrieve number of entities associated to measure More... | |
| bool | isReadyToProcess () const |
| check whether measure is ready to process (which means that processing of all dependencies is ended) More... | |
| const BaseMeasureResult & | getMeasureResult () const |
| retrieve measure results More... | |
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 |
Protected Member Functions | |
| BaseMeasure () | |
| constructor | |
| virtual MeasureResultPtr | startProcessingDerived (const ipUInt64 defaultNbColorPlans, const ipUInt64 nbEntities, const bool bForceNbColorPlans, const bool bWithIgnoredFirstElement)=0 |
| method allowing to start processing and create a measure result in derived class | |
| virtual BoolResult | validateMsrParams (const DataItemConstPtr &pMeasureParams) const |
| method allowing to validate measure parameters in derived class | |
| MeasureConstPtr | getDependency (const std::string &dependencyName) const |
| retrieve measure dependency More... | |
| virtual bool | hasColorDependency () const |
| method allowing to test whether measure has some color dependencies | |
| virtual void | copyAdditionalResults (const BaseMeasure &subMeasure) |
| copy additionnal results from derived class while creating a sub measure | |
| virtual void | clearProcessingDerived () |
| method allowing to clear processing data in derived class | |
| const BaseMeasureResult & | accessMeasureResult () const |
| access to measure results in derived class More... | |
| BaseMeasureResult & | accessMeasureResult () |
| access to measure results in derived class More... | |
| virtual void | endProcessingDerived () |
| end measure processing in derived class | |
| virtual void | endProcessingDerived (const geom::Shape2dConstVector &shape2dColl) |
| end measure processing in derived class | |
| virtual void | endProcessingDerived (const geom::Shape3dConstVector &shape3dColl) |
| end measure processing in derived class | |
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 | |
Friends | |
| class | MeasureSet |
| class | BaseMeasureInfo |
Additional Inherited Members | |
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 Attributes inherited from ipsdk::BaseObjectWithSkeleton | |
| eSklSrzMode | _sklSrzMode |
| serialization flag for object More... | |
Base class for shape analysis measurement.
| const BaseMeasureInfo& ipsdk::shape::analysis::BaseMeasure::getMeasureInfo | ( | ) | const |
retrieve measure information associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const std::string& ipsdk::shape::analysis::BaseMeasure::getToolTip | ( | ) | const |
retrieve object tool tip
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const std::string& ipsdk::shape::analysis::BaseMeasure::getDefaultName | ( | ) | const |
retrieve default name associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const std::string& ipsdk::shape::analysis::BaseMeasure::getMeasureName | ( | ) | const |
retrieve name associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::is2dMode | ( | ) | const |
check whether measure is used in 2d mode
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
|
pure virtual |
check whether measure is a color measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
Implemented in ipsdk::shape::analysis::BaseIndivisibleMeasure, ipsdk::shape::analysis::BaseGenericMeasure, ipsdk::shape::analysis::BaseGeometry2dMeasure, ipsdk::shape::analysis::BaseGeometry3dMeasure, and ipsdk::shape::analysis::BaseIntensityMeasure.
| eMsrProcessingPolicy ipsdk::shape::analysis::BaseMeasure::getMsrProcessingPolicy | ( | ) | const |
retrieve measure processing policy
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::is2dMsr | ( | ) | const |
check whether measure can be used in 2d case
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::is3dMsr | ( | ) | const |
check whether measure can be used in 3d case
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| eMsrShapeRequirements ipsdk::shape::analysis::BaseMeasure::getMsrShapeRequirements | ( | ) | const |
retrieve shape data requirements associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::requiresRowIntersections | ( | ) | const |
check whether measure requires shape row intersection
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::requiresBoundaryApproximation | ( | ) | const |
check whether measure requires shape boundary approximation
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const GeometricCalibrationConstPtr& ipsdk::shape::analysis::BaseMeasure::getGeometricCalibration | ( | ) | const |
retrieve geometric calibration associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| ipReal32 ipsdk::shape::analysis::BaseMeasure::getCalibrationXScale | ( | ) | const |
retrieve calibration scales associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| ipReal32 ipsdk::shape::analysis::BaseMeasure::getCalibrationYScale | ( | ) | const |
retrieve calibration scales associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| ipReal32 ipsdk::shape::analysis::BaseMeasure::getCalibrationZScale | ( | ) | const |
retrieve calibration scales associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| std::string ipsdk::shape::analysis::BaseMeasure::getMsrUnitStr | ( | ) | const |
retrieve formatted unit string associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const eMsrProcessingStatus& ipsdk::shape::analysis::BaseMeasure::getMsrProcessingStatus | ( | ) | const |
retrieve object status flag
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasure::hasMsrGlobalInfo | ( | ) | const |
check whether object is associated to global information
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() == eMsrProcessingStatus::eMPS_NotStarted |
| const MeasureGlobalInfo& ipsdk::shape::analysis::BaseMeasure::getMsrGlobalInfo | ( | ) | const |
retrieve global information associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if hasMsrGlobalInfo() == false |
| ipUInt64 ipsdk::shape::analysis::BaseMeasure::getNbColorPlans | ( | ) | const |
retrieve number of color plans associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() == eMsrProcessingStatus::eMPS_NotStarted |
| ipUInt64 ipsdk::shape::analysis::BaseMeasure::getNbEntities | ( | ) | const |
retrieve number of entities associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() == eMsrProcessingStatus::eMPS_NotStarted |
| bool ipsdk::shape::analysis::BaseMeasure::isReadyToProcess | ( | ) | const |
check whether measure is ready to process (which means that processing of all dependencies is ended)
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Started |
| const BaseMeasureResult& ipsdk::shape::analysis::BaseMeasure::getMeasureResult | ( | ) | const |
retrieve measure results
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() == eMsrProcessingStatus::eMPS_NotStarted |
|
protected |
access to measure results in derived class
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Started |
|
protected |
access to measure results in derived class
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Started |
|
protected |
retrieve measure dependency
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependency does not exists |
1.8.14