![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Information object for measure Extent. More...
#include <ExtentMsrInfo.h>
Public Types | |
| typedef ipsdk::shape::analysis::ValueMeasureResult< ipsdk::ipReal64 > | MsrResultType |
| typedef ExtentMsrParams | MsrParamsType |
| Parameter type associated to measure. | |
| typedef const ExtentMsrParams | MsrParamsConstType |
| Parameter const type associated to measure. | |
| typedef boost::shared_ptr< MsrParamsType > | MsrParamsStorageType |
| Shared pointer to parameter type associated to measure. | |
| typedef boost::shared_ptr< MsrParamsConstType > | MsrParamsConstStorageType |
| Shared pointer to const parameter type associated to measure. | |
Public Member Functions | |
| ~ExtentMsrInfo () | |
| destructor | |
| const std::string & | getObjectName () const |
| method allowing to retrieve object name | |
| const std::string & | getToolTip () const |
| method allowing to retrieve object tooltip | |
| const std::string & | getDefaultName () const |
| ipsdk::shapeanalysis::eMsrProcessingPolicy | getMsrProcessingPolicy () const |
Static Public Member Functions | |
| static const std::string & | getObjectNameStr () |
| method allowing to retrieve object name | |
| static const std::string & | getToolTipStr () |
| method allowing to retrieve object tooltip | |
Static Public Attributes | |
| static const ipsdk::shapeanalysis::eMsrProcessingPolicy::domain | g_msrProcessingPolicy = ipsdk::shapeanalysis::eMsrProcessingPolicy::eMPP_Generic |
Protected Member Functions | |
| ExtentMsrInfo () | |
| constructor | |
Protected Attributes | |
| MsrParamsConstStorageType | _pMsrParams |
| Derived parameter associated to measure. | |
Information object for measure Extent.
Measure the extent of an object into its bounding box
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
None |
|
Value (ipsdk::ipReal64) |
Boundary Approximation |
This is a generic measure
This measure can be used in 2d and 3d case
Measure Extent is not associated to any unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_NoUnit]
Measure Extent is associated to ExtentMsrParams parameters
Measure Extent is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure Extent requires boundary approximation from shape data
Measure Extent depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | Volume | PolygonArea2d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<ExtentMsrParams::ProcessHoles>()) |
| eMVP_3d | Volume | MeshVolume3d | createHolesBasicPolicyMsrParams(_pMsrParams->getValue<ExtentMsrParams::ProcessHoles>()) |
| eMVP_2d | BoundingBox | BoundingBox2d | |
| eMVP_3d | BoundingBox | BoundingBox3d |
Generic example in 2d case :
Generic example in 3d case :
1.8.14