IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ipsdk::imaproc::RuleMatchImagesFormula Class Reference

Rule allowing to check that an image formula is valid. More...

#include <RuleMatchImagesFormula.h>

Inheritance diagram for ipsdk::imaproc::RuleMatchImagesFormula:
ipsdk::imaproc::BaseFormulaRule ipsdk::imaproc::BaseImageProcessingRule ipsdk::processor::BaseAttributeRule ipsdk::processor::BaseRule

Public Member Functions

eFormulaRuleType getFormulaRuleType () const
 get formula rule type
 
void init (const ImageFormulaAttributeConstWeakPtr &pAttribute, const ImageAttributeConstWeakPtr &pInOptImg1, const ImageAttributeConstWeakPtr &pInOptImg2, const ImageAttributeConstWeakPtr &pInOptImg3, const ImageAttributeConstWeakPtr &pInOptBinImg1, const ImageAttributeConstWeakPtr &pInOptBinImg2, const ImageAttributeConstWeakPtr &pInOptBinImg3, const ImageAttributeConstWeakPtr &pInOptLabImg1, const ImageAttributeConstWeakPtr &pInOptLabImg2, const ImageAttributeConstWeakPtr &pInOptLabImg3, const ImageAttributeConstWeakPtr &pOutImg)
 initialization of object More...
 
Constructors and destructors
 RuleMatchImagesFormula ()
 
 ~RuleMatchImagesFormula ()
 
- Public Member Functions inherited from ipsdk::imaproc::BaseFormulaRule
eImageProcessingRuleType getImageProcessingRuleType () const
 retrieve image processing rule operation type
 
 BaseFormulaRule ()
 
virtual ~BaseFormulaRule ()=0
 
- Public Member Functions inherited from ipsdk::imaproc::BaseImageProcessingRule
processor::eAttributeRuleType getAttributeRuleType () const
 retrieve attribute rule operation type
 
 BaseImageProcessingRule ()
 
virtual ~BaseImageProcessingRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseAttributeRule
eRuleType getRuleType () const
 retrieve rule type
 
bool hasSecondAttribute () const
 check whether a second attribute is associated to rule More...
 
const BaseAttributegetAttribute1 () const
 retrieve first attribute associated to object More...
 
const BaseAttributegetAttribute2 () const
 retrieve second attribute associated to object More...
 
 BaseAttributeRule ()
 
virtual ~BaseAttributeRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseRule
bool isInit () const
 retrieve object initialization flag
 
BoolResult isSatisfied () const
 test whether rule is satisfied More...
 
std::string getRuleFormalString () const
 retrieve string expliciting rule content More...
 
std::string getRuleEvaluatedString () const
 retrieve rule evaluation string More...
 
 BaseRule ()
 
virtual ~BaseRule ()=0
 

Static Public Attributes

static const eFormulaRuleType::domain g_formulaRuleType = eFormulaRuleType::eFRT_MatchImages
 formula rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::imaproc::BaseFormulaRule
static const eImageProcessingRuleType::domain g_imageProcessingRuleType = eImageProcessingRuleType::eIPRT_FormulaProperty
 image processing rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::imaproc::BaseImageProcessingRule
static const processor::eAttributeRuleType::domain g_attributeRuleType = processor::eAttributeRuleType::eART_ImageProcessing
 attribute rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseAttributeRule
static const eRuleType::domain g_ruleType = eRuleType::eRT_Attribute
 rule type associated to rule
 

Protected Member Functions

bool testRule () const
 test whether rule is satisfied
 
std::string createRuleFormalString () const
 retrieve string expliciting rule content
 
std::string createRuleEvaluatedString (const ipUInt32 increment) const
 retrieve rule evaluation string
 
- Protected Member Functions inherited from ipsdk::processor::BaseAttributeRule
void initBase (const AttributeConstWeakPtr &pAttribute)
 base class initialization More...
 
void initBase (const AttributeConstWeakPtr &pAttribute1, const AttributeConstWeakPtr &pAttribute2)
 base class initialization More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseRule
void initBase ()
 base class initialization method
 
std::string createRuleEvaluatedStartString (const ipUInt32 increment) const
 method allowing to create a rule evaluation starting string
 

Protected Attributes

ImageAttributeConstWeakPtr _pInOptImg1
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptImg2
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptImg3
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptBinImg1
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptBinImg2
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptBinImg3
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptLabImg1
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptLabImg2
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pInOptLabImg3
 image attributes associated to operation
 
ImageAttributeConstWeakPtr _pOutImg
 image attributes associated to operation
 

Detailed Description

Rule allowing to check that an image formula is valid.

Author
E. Noirfalise
Date
2015/07/30

Member Function Documentation

◆ init()

void ipsdk::imaproc::RuleMatchImagesFormula::init ( const ImageFormulaAttributeConstWeakPtr pAttribute,
const ImageAttributeConstWeakPtr pInOptImg1,
const ImageAttributeConstWeakPtr pInOptImg2,
const ImageAttributeConstWeakPtr pInOptImg3,
const ImageAttributeConstWeakPtr pInOptBinImg1,
const ImageAttributeConstWeakPtr pInOptBinImg2,
const ImageAttributeConstWeakPtr pInOptBinImg3,
const ImageAttributeConstWeakPtr pInOptLabImg1,
const ImageAttributeConstWeakPtr pInOptLabImg2,
const ImageAttributeConstWeakPtr pInOptLabImg3,
const ImageAttributeConstWeakPtr pOutImg 
)

initialization of object

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif pAttribute.get() == 0

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