![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for shape analysis measurement informations. More...
#include <BaseMeasureInfo.h>
Public Member Functions | |
| virtual | ~BaseMeasureInfo ()=0 |
| destructor | |
| virtual const std::string & | getDefaultName () const =0 |
| retrieve default measure name | |
| bool | isInit () const |
| check for object initialization | |
| const std::string & | getMeasureName () const |
| retrieve name associated to measure More... | |
| bool | is2dMode () const |
| check whether measure is used in 2d mode More... | |
| MeasurePtr | createMeasure () const |
| creation of a measure object associated to measure informations More... | |
Measure processing policy informations | |
| virtual eMsrProcessingPolicy | getMsrProcessingPolicy () const =0 |
| retrieve measure processing policy | |
| eMsrVolumePolicy | getMsrVolumePolicy () const |
| retrieve measure volume policy | |
| bool | is2dMsr () const |
| check whether measure can be used in 2d case | |
| bool | is3dMsr () const |
| check whether measure can be used in 3d case | |
| virtual bool | requiresInputImage () const |
| check whether measure requires input image | |
| virtual eMsrShapeRequirements | getMsrShapeRequirements () const =0 |
| retrieve shape data requirements associated to measure | |
| bool | requiresRowIntersections () const |
| check whether measure requires shape row intersection | |
| bool | requiresBoundaryApproximation () const |
| check whether measure requires shape boundary approximation | |
Geometric calibration | |
| const GeometricCalibrationConstPtr & | getGeometricCalibration () const |
| retrieve geometric calibration associated to measure More... | |
| virtual eMsrUnitFormat | getMsrUnitFormat () const =0 |
| retrieve unit format associated to measure | |
| std::string | getMsrUnitStr () const |
| retrieve formatted unit string associated to measure More... | |
Measure primary configuration | |
| MeasureConfigConstPtr | getMsrConfig () const |
| retrieve measure primary configuration More... | |
| bool | hasDefaultConfig () const |
| method allowing to check whether measure is associated to its default primary configuration More... | |
Measure parameters | |
| virtual DataItemPtr | createDefaultParams () const |
| bool | hasDefaultParams () const |
| method allowing to check whether measure is associated to its specific default parameters More... | |
| bool | hasParams (const MeasureConfigConstPtr &pConfig, const DataItemConstPtr &pParams) const |
| method allowing to check whether measure parameters match More... | |
| DataItemConstPtr | getMsrParams () const |
| retrieve measure specific parameters More... | |
Dependency measure collection | |
Measures on which current measure depend | |
| bool | dependsOnNamedMsr (const std::string &dependencyName) const |
| check whether a given named dependency measure information already exists More... | |
| bool | dependsOn (const std::string &dependencyDefaultName) const |
| check whether a given dependency measure information already exists given its default name and a default configuration More... | |
| bool | dependsOn (const std::string &dependencyDefaultName, const MeasureConfigConstPtr &pDependencyConfig, const DataItemConstPtr &pDependencyParams) const |
| check whether a given dependency measure information already exists given its default name and its configuration More... | |
| MeasureConfigConstPtr | getDependencyConfig (const std::string &dependencyName) const |
| retrieve dependency measure primary configuration More... | |
| DataItemConstPtr | getDependencyParams (const std::string &dependencyName) const |
| retrieve dependency measure specific parameters More... | |
| const DependencyMap & | getDependencies () const |
| retrieve measure dependencies More... | |
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 |
Public Member Functions inherited from ipsdk::BaseToolTip | |
| virtual const std::string & | getObjectName () const =0 |
| retrieve object name | |
| virtual const std::string & | getToolTip () const =0 |
| retrieve object tool tip | |
| BaseToolTip () | |
| virtual | ~BaseToolTip ()=0 |
Protected Member Functions | |
| BaseMeasureInfo () | |
| constructor | |
| virtual MeasurePtr | createMeasureDerived () const =0 |
| virtual BoolResult | validateMsrParams (const bool b2dMsrMode, const DataItemConstPtr &pMeasureParams) const |
| method allowing to validate measure parameters in derived class | |
| virtual void | initDerived ()=0 |
| // initialization of object in derived class | |
| virtual std::string | computeCustomMsrUnitStr (const std::string &baseUnitStr) const |
| virtual void | createDependencies (const bool b2dMsrMode)=0 |
| method allowing to retrieve standard dependencies informations | |
| virtual void | createCustomDependencies (const bool b2dMsrMode) |
| method allowing to retrieve custom dependencies informations | |
| void | addDependency (const std::string &dependencyDefaultName) |
| method allowing to add a dependency to measure with default measure configuration More... | |
| void | addDependency (const std::string &dependencyName, const std::string &dependencyDefaultName, const MeasureConfigConstPtr &pDependencyConfig, const DataItemConstPtr &pDependencyParams) |
| method allowing to add a dependency to measure with additional measure informations More... | |
| void | addNamedMsrDependency (const std::string &dependencyName) |
| method allowing to add a dependency to a named measure without additional measure informations More... | |
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 | MeasureInfoFactory |
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 | |
Base class for shape analysis measurement informations.
| const std::string& ipsdk::shape::analysis::BaseMeasureInfo::getMeasureName | ( | ) | const |
retrieve name associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::is2dMode | ( | ) | const |
check whether measure is used in 2d mode
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const GeometricCalibrationConstPtr& ipsdk::shape::analysis::BaseMeasureInfo::getGeometricCalibration | ( | ) | const |
retrieve geometric calibration associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| std::string ipsdk::shape::analysis::BaseMeasureInfo::getMsrUnitStr | ( | ) | const |
retrieve formatted unit string associated to measure
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| MeasureConfigConstPtr ipsdk::shape::analysis::BaseMeasureInfo::getMsrConfig | ( | ) | const |
retrieve measure primary configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::hasDefaultConfig | ( | ) | const |
method allowing to check whether measure is associated to its default primary configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
|
inlinevirtual |
method allowing to create default specific parameters for measure in derived class
| bool ipsdk::shape::analysis::BaseMeasureInfo::hasDefaultParams | ( | ) | const |
method allowing to check whether measure is associated to its specific default parameters
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::hasParams | ( | const MeasureConfigConstPtr & | pConfig, |
| const DataItemConstPtr & | pParams | ||
| ) | const |
method allowing to check whether measure parameters match
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| DataItemConstPtr ipsdk::shape::analysis::BaseMeasureInfo::getMsrParams | ( | ) | const |
retrieve measure specific parameters
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::dependsOnNamedMsr | ( | const std::string & | dependencyName | ) | const |
check whether a given named dependency measure information already exists
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::dependsOn | ( | const std::string & | dependencyDefaultName | ) | const |
check whether a given dependency measure information already exists given its default name and a default configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| bool ipsdk::shape::analysis::BaseMeasureInfo::dependsOn | ( | const std::string & | dependencyDefaultName, |
| const MeasureConfigConstPtr & | pDependencyConfig, | ||
| const DataItemConstPtr & | pDependencyParams | ||
| ) | const |
check whether a given dependency measure information already exists given its default name and its configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| MeasureConfigConstPtr ipsdk::shape::analysis::BaseMeasureInfo::getDependencyConfig | ( | const std::string & | dependencyName | ) | const |
retrieve dependency measure primary configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOnNamedMsr(getDepencyUsedName(getMeasureName(), dependencyName)) == false |
| DataItemConstPtr ipsdk::shape::analysis::BaseMeasureInfo::getDependencyParams | ( | const std::string & | dependencyName | ) | const |
retrieve dependency measure specific parameters
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOnNamedMsr(getDepencyUsedName(getMeasureName(), dependencyName)) == false |
| const DependencyMap& ipsdk::shape::analysis::BaseMeasureInfo::getDependencies | ( | ) | const |
retrieve measure dependencies
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| MeasurePtr ipsdk::shape::analysis::BaseMeasureInfo::createMeasure | ( | ) | const |
creation of a measure object associated to measure informations
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
|
protectedpure virtual |
create measure object associated to measure informations into derived class
|
inlineprotectedvirtual |
function allowing to define measure unit string in case of a custom unit format
|
protected |
method allowing to add a dependency to measure with default measure configuration
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOn(dependencyDefaultName) == true |
|
protected |
method allowing to add a dependency to measure with additional measure informations
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOnNamedMsr(dependencyName) == true |
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOn(dependencyDefaultName, pDependencyConfig, pDependencyParams) == true |
|
protected |
method allowing to add a dependency to a named measure without additional measure informations
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if dependsOnNamedMsr(dependencyName) == true |
1.8.14