IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ipsdk::imaproc::shape::analysis::Volume3dMsr Class Reference

Measurement object for measure Volume3d. More...

#include <Volume3dMsr.h>

Inheritance diagram for ipsdk::imaproc::shape::analysis::Volume3dMsr:

Public Types

typedef Volume3dMsrInfo::MsrParamsConstStorageType MsrParamsConstStorageType
 Shared pointer to const parameter type associated to measure.
 
typedef Volume3dMsrInfo::MsrResultType MsrResultType
 Result type associated to measure.
 
typedef MsrResultType::ValueType MsrResultValueType
 Result value type associated to measure.
 

Public Member Functions

 ~Volume3dMsr ()
 destructor
 
ipReal64 getMinVolume3d () const
 retrieve minimum area for shape collection More...
 
ipReal64 getMaxVolume3d () const
 retrieve maximum area for shape collection More...
 

Protected Member Functions

 Volume3dMsr ()
 constructor
 
ipsdk::BoolResult processMeasure (const ipsdk::ipUInt64 shapeIdx, const ipsdk::geom::StdShape3d &shape3d, 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 _minVolume3d
 minimum volume for shape collection
 
ipReal64 _maxVolume3d
 maximum volume for shape collection
 

Detailed Description

Measurement object for measure Volume3d.

Author
H. Delestre
Date
2016/03/03

Shape 3d volume measurement (measure NOT based on polyhedral approximation)

Member Function Documentation

◆ processMeasure()

ipsdk::BoolResult ipsdk::imaproc::shape::analysis::Volume3dMsr::processMeasure ( const ipsdk::ipUInt64  shapeIdx,
const ipsdk::geom::StdShape3d &  shape3d,
MsrResultValueType result 
)
protected

process measure associated to a given shape

Parameters
shapeIdxindex of current processed shape
shape3dShape 3d object to be measured
resultmeasurement result for current shape
Returns
false in case of failure

◆ getMinVolume3d()

ipReal64 ipsdk::imaproc::shape::analysis::Volume3dMsr::getMinVolume3d ( ) const

retrieve minimum area for shape collection

Exceptions
ipsdk::shape::analysis::IPSDKBaseShapeAnalysisExceptionif getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Ended

◆ getMaxVolume3d()

ipReal64 ipsdk::imaproc::shape::analysis::Volume3dMsr::getMaxVolume3d ( ) const

retrieve maximum area for shape collection

Exceptions
ipsdk::shape::analysis::IPSDKBaseShapeAnalysisExceptionif getMsrProcessingStatus() != eMsrProcessingStatus::eMPS_Ended

The documentation for this class was generated from the following file: