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

Primary configuration for measures. More...

#include <MeasureConfig.h>

Inheritance diagram for ipsdk::shape::analysis::MeasureConfig:
ipsdk::BaseSerializationObject ipsdk::BaseDynamicObject

Public Member Functions

void initDefault ()
 default initialization for object
 
void init (const eMsrInputImageId &imageId, const eMsrInputShapeCollId &shapeCollId)
 initialization of object with un modified input image and shape collection
 
void init (const eMsrInputImageId &imageId, const IntensityPreProcessorConfigPtr &pIntensityPreProcessorConfig, const eMsrInputShapeCollId &shapeCollId)
 initialization of object with an input image needing a pre processing
 
void initUnCalibrated (const eMsrInputShapeCollId &shapeCollId)
 initialization of object with un calibrated shapes
 
void initGloballyCalibrated (const eMsrInputShapeCollId &shapeCollId)
 initialization of object with shapes calibrated using global calibration
 
void initCustomCalibrated (const eMsrInputShapeCollId &shapeCollId, const GeometricCalibrationConstPtr &pGeometricCalibration)
 initialization of object with shapes calibrated using custom calibration
 
const eMsrInputImageIdgetImageId () const
 retrieve input image id associated to object
 
const IntensityPreProcessorConfigPtrgetIntensityPreProcessorConfig () const
 retrieve pre processor configuration for input image More...
 
const eMsrInputShapeCollIdgetShapeCollId () const
 retrieve shape collection id associated to object
 
const eMsrCalibrationTypegetGeometricCalibrationType () const
 retrieve calibration type used for processings
 
const GeometricCalibrationConstPtrgetGeometricCalibration () const
 retrieve custom calibration used for processings More...
 
bool checkVolumePolicy (const bool b2dMsrMode) const
 check whether a given volume policy is valid for configuration
 
Constructors and destructor
 MeasureConfig ()
 
 ~MeasureConfig ()
 
bool operator== (const MeasureConfig &cfg) const
 comparison operators
 
bool operator!= (const MeasureConfig &cfg) const
 comparison operators
 
- 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 BaseDynamicObjectcreateNew () 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 BaseDynamicObjectduplicate () 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
 

Protected Attributes

eMsrInputImageId _imageId
 flag allowing to identify used input image
 
IntensityPreProcessorConfigPtr _pIntensityPreProcessorConfig
 object used to create processed image
 
eMsrInputShapeCollId _shapeCollId
 flag allowing to identify used input shape collection
 
eMsrCalibrationType _geometricCalibrationType
 
GeometricCalibrationConstPtr _pGeometricCalibration
 

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
 
- 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
 

Detailed Description

Primary configuration for measures.

Author
E. Noirfalise
Date
2017/09/25

Member Function Documentation

◆ getIntensityPreProcessorConfig()

const IntensityPreProcessorConfigPtr & ipsdk::shape::analysis::MeasureConfig::getIntensityPreProcessorConfig ( ) const
inline

retrieve pre processor configuration for input image

Returns
a null shared pointer if there is no need to pre process input image

◆ getGeometricCalibration()

const GeometricCalibrationConstPtr & ipsdk::shape::analysis::MeasureConfig::getGeometricCalibration ( ) const
inline

retrieve custom calibration used for processings

Returns
a null shared pointer if getGeometricCalibrationType() != eMsrCalibrationType::eMCT_Custom

Member Data Documentation

◆ _geometricCalibrationType

eMsrCalibrationType ipsdk::shape::analysis::MeasureConfig::_geometricCalibrationType
protected

flag indicating which kind of shape calibration should be taken into account during processings

◆ _pGeometricCalibration

GeometricCalibrationConstPtr ipsdk::shape::analysis::MeasureConfig::_pGeometricCalibration
protected

custom calibration used for processing in case where _geometricCalibrationType == eMsrCalibrationType::eMCT_Custom


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