![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Measurement object for measure Area2d. More...
#include <Area2dMsr.h>
Public Types | |
| typedef Area2dMsrInfo::MsrParamsConstStorageType | MsrParamsConstStorageType |
| Shared pointer to const parameter type associated to measure. | |
| typedef Area2dMsrInfo::MsrResultType | MsrResultType |
| Result type associated to measure. | |
| typedef MsrResultType::ValueType | MsrResultValueType |
| Result value type associated to measure. | |
Public Member Functions | |
| ~Area2dMsr () | |
| destructor | |
| ipReal64 | getMinArea2d () const |
| retrieve minimum area for shape collection More... | |
| ipReal64 | getMaxArea2d () const |
| retrieve maximum area for shape collection More... | |
Protected Member Functions | |
| Area2dMsr () | |
| constructor | |
| ipsdk::BoolResult | processMeasure (const ipsdk::ipUInt64 shapeIdx, const ipsdk::geom::StdShape2d &shape2d, MsrResultValueType &result) |
| process measure associated to a given shape More... | |
| void | endProcessingDerived () |
| end measure processing in derived class | |
| void | copyAdditionalResults (const BaseMeasure &subMeasure) |
| copy additionnal results from derived class while creating a sub measure | |
Protected Attributes | |
| MsrParamsConstStorageType | _pMsrParams |
| Derived parameter associated to measure. | |
| ipReal64 | _minArea2d |
| minimum area for shape collection | |
| ipReal64 | _maxArea2d |
| maximum area for shape collection | |
Measurement object for measure Area2d.
Shape 2d area measurement (measure NOT based on polygonal approximation)
|
protected |
process measure associated to a given shape
| shapeIdx | index of current processed shape |
| shape2d | Shape 2d object to be measured |
| result | measurement result for current shape |
| ipReal64 ipsdk::imaproc::shape::analysis::Area2dMsr::getMinArea2d | ( | ) | const |
retrieve minimum area for shape collection
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Ended |
| ipReal64 ipsdk::imaproc::shape::analysis::Area2dMsr::getMaxArea2d | ( | ) | const |
retrieve maximum area for shape collection
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Ended |
1.8.14