![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Information object for measure OBBLength. More...
#include <OBBLengthMsrInfo.h>
Public Types | |
| typedef ipsdk::shape::analysis::ValueMeasureResult< ipsdk::ipReal64 > | MsrResultType |
| typedef OBBLengthMsrParams | MsrParamsType |
| Parameter type associated to measure. | |
| typedef const OBBLengthMsrParams | 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 | |
| ~OBBLengthMsrInfo () | |
| 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 | |
| OBBLengthMsrInfo () | |
| constructor | |
Protected Attributes | |
| MsrParamsConstStorageType | _pMsrParams |
| Derived parameter associated to measure. | |
Information object for measure OBBLength.
Measure allowing to get the length of the minimal oriented bounding box of a shape
| Measure Type | Measure Unit Type | Parameter Type | Result Type | Shape Requirements |
|---|---|---|---|---|
Generic |
Length |
|
Value (ipsdk::ipReal64) |
Both |
This is a generic measure
This measure can be used in 2d and 3d case
Measure OBBLength is associated to a length measurement unit [ipsdk::shape::analysis::eMsrUnitFormat::eMUF_LengthUnit]
Measure OBBLength is associated to OBBLengthMsrParams parameters
Measure OBBLength is associated to ipsdk::shape::analysis::ValueMeasureResult<ipsdk::ipReal64> results
Measure OBBLength requires row intersections and boundary approximation from shape data
Measure OBBLength depends on following measures :
| Measure Mode | Measure Name | Measure Type | Measure Parameters |
|---|---|---|---|
| eMVP_2d | OrientedBoundingBox | OrientedBoundingBox2d | createOrientedBoundingBox2dMsrParams(_pMsrParams->getValue<OBBLengthMsrParams::NbOrientations>()) |
| eMVP_3d | OrientedBoundingBox | OrientedBoundingBox3d | createOrientedBoundingBox3dMsrParams(_pMsrParams->getValue<OBBLengthMsrParams::NbOrientations>()) |
Generic example in 2d case :
Generic example in 3d case :
1.8.14