![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Object allowing to manage shape analysis formula. More...
#include <FormulaManager.h>
Public Member Functions | |
| bool | isInit () const |
| retrieve object initialization flag | |
| BoolResult | init (const std::string &formulaStr, const bool bDebugMode=false) |
| initialization of object More... | |
| const std::string & | getFormulaStr () const |
| retrieve string associated to formula More... | |
| const eMsrFormulaResultType & | getResultType () const |
| retrieve result type associated to formula More... | |
| const ConstantMap & | getConstantMap () const |
| retrieve image constants associated to formula More... | |
| const VariableMap & | getVariableMap () const |
| retrieve variables associated to formula More... | |
| EvalStatus | evaluate (ipBool &result) |
| evaluate logic formula More... | |
| EvalStatus | evaluate (ipReal64 &result) |
| evaluate arithmetic formula More... | |
| void | clear () |
| clear of object data | |
Constructors and destructors | |
| FormulaManager () | |
| ~FormulaManager () | |
Protected Attributes | |
| bool | _bInit |
| object initialization flag | |
| std::string | _formulaStr |
| formula string associated to object$ | |
| FormulaItemColl | _itemsColl |
| items collection associated to formula | |
| ConstantMap | _csteMap |
| image constant collection associated to formula | |
| VariableMap | _varMap |
| variable collection associated to formula | |
| eMsrFormulaResultType | _resultType |
| result type associated to formula | |
Object allowing to manage shape analysis formula.
| BoolResult ipsdk::shape::analysis::FormulaManager::init | ( | const std::string & | formulaStr, |
| const bool | bDebugMode = false |
||
| ) |
initialization of object
| const std::string& ipsdk::shape::analysis::FormulaManager::getFormulaStr | ( | ) | const |
retrieve string associated to formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const eMsrFormulaResultType& ipsdk::shape::analysis::FormulaManager::getResultType | ( | ) | const |
retrieve result type associated to formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const ConstantMap& ipsdk::shape::analysis::FormulaManager::getConstantMap | ( | ) | const |
retrieve image constants associated to formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| const VariableMap& ipsdk::shape::analysis::FormulaManager::getVariableMap | ( | ) | const |
retrieve variables associated to formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if isInit() == false |
| EvalStatus ipsdk::shape::analysis::FormulaManager::evaluate | ( | ipBool & | result | ) |
evaluate logic formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getResultType() != eMsrFormulaResultType::eMFRT_Logic |
| EvalStatus ipsdk::shape::analysis::FormulaManager::evaluate | ( | ipReal64 & | result | ) |
evaluate arithmetic formula
| ipsdk::shape::analysis::IPSDKBaseShapeAnalysisException | if getResultType() != eMsrFormulaResultType::eMFRT_Arithmetic |
1.8.14