15 #ifndef __IPSDKBASESHAPEANALYSIS_FORMULAUTILS_H__ 16 #define __IPSDKBASESHAPEANALYSIS_FORMULAUTILS_H__ 28 struct FormulaExpression;
29 struct FormulaVariableId;
44 const MeasureSet& measureSet,
60 const MeasureSet& measureSet,
74 const MeasureSet& measureSet,
90 const MeasureSet& measureSet,
107 const FormulaVariableId& variableId,
117 const MeasureGlobalInfo& measureGlobalInfo,
122 operator< (
const ImageConstantId& id1,
const ImageConstantId& id2);
126 operator< (
const FormulaVariableId& id1,
const FormulaVariableId& id2);
135 #endif // __IPSDKBASESHAPEANALYSIS_FORMULAUTILS_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Predefined types for shape analysis formula management.
std::vector< ipReal64 > Real64Vector
stl vector collections
Definition: BaseCollections.h:37
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
IPSDKBASESHAPEANALYSIS_API BoolVector applyLogicFormula(const std::string &formulaStr, const MeasureSet &measureSet, const ipUInt64 cPlanIdx=0, const eMsrInputImageId &msrInputImageId=eMsrInputImageId::eMIII_Image1)
function allowing to apply a logic formula on an existing measure set
IPSDKBASESHAPEANALYSIS_API bool isReservedName(const std::string &formulaVariable)
function allowing to check whether a variable name is a reserved name
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Definition of import/export macro for library.
IPSDKBASESHAPEANALYSIS_API Real64Vector applyArithmeticFormula(const std::string &formulaStr, const MeasureSet &measureSet, const ipUInt64 cPlanIdx=0, const eMsrInputImageId &msrInputImageId=eMsrInputImageId::eMIII_Image1)
function allowing to apply an arithmetic formula on an existing measure set
Predefined types for measure results management.
#define IPSDKBASESHAPEANALYSIS_API
Import/Export macro for library IPSDKBaseShapeAnalysis.
Definition: IPSDKBaseShapeAnalysisExports.h:25
eMsrFormulaReserved
enumerate describing formula reserved variable
Definition: FormulaTypes.h:183
IPSDKBASESHAPEANALYSIS_API BoolResult setImageConstant(const ImageConstantId &imageConstantId, const ipsdk::ipUInt64 cPlanIdx, const MeasureGlobalInfo &measureGlobalInfo, ipReal64 &csteValue)
IPSDKBASESHAPEANALYSIS_API const std::string & getReservedName(const eMsrFormulaReserved &msrFormulaReserved)
function allowing to check whether a variable name is a reserved name
boost::function1< bool, const ipUInt32 > ResultsAccessor
Accessor for measure results.
Definition: FormulaTypes.h:389
std::vector< ipBool > BoolVector
stl vector collections
Definition: BaseCollections.h:27
measure processings are associated to first image
Definition: MeasureConfigTypes.h:72
Predefined types for shape measurement operations global informations.
Predefined types for measure primary configuration.
ProcessingResult< bool > BoolResult
typedef for boolean results associated to a string description
Definition: ProcessingResultTypes.h:29
IPSDKBASESHAPEANALYSIS_API bool operator<(const ImageConstantId &id1, const ImageConstantId &id2)
image constant identifier comparison operator
IPSDKBASESHAPEANALYSIS_API BoolResult createAccessor(const BaseMeasureResult &baseMeasureResult, const FormulaVariableId &variableId, const ipsdk::ipUInt64 cPlanIdx, ipReal64 &resultValue, ResultsAccessor &resultsAccessor)
function allowing to create an accessor for formula measure dependency results
eMsrInputImageId
Enumerate allowing to identify used input image for processing.
Definition: MeasureConfigTypes.h:70