12345678910111213141516171819202122 |
- #pragma once
- #include <vector>
- #include "OTSSTDLib.h"
- using namespace std;
- namespace OTSClassifyEngine
- {
- class __declspec(dllexport) CClassifyOnCurveCompEng
- {
- public:
- CClassifyOnCurveCompEng(); // constructor
- virtual ~CClassifyOnCurveCompEng(); // detractor
- static int GetCompareMineral(int iStartChannel, const vector<CString>& vecIgnoreElementNames, CPosXrayPtr posxray, CSTDLibPtr& oretype, double& dValue);
- static CStandardItemPtr GetCompareSTD(int iStartChannel, const vector<CString>& vecIgnoreElementNames, CPosXrayPtr posxray, CSTDLibPtr& oretype, double& dValue);
- protected:
- static double GetCosValue(int iStartChannel, const vector<CString>& vecIgnoreElementNames, CPosXrayPtr posxray, DWORD* pXrayData1, int iDataLen1);
- static double GetStdEvp(int iStartChannel, const vector<int>& vecIgnoreChannel, CPosXrayPtr posxray, DWORD* pXrayData1, int iDataLen1);
- static void GetElementChannel(const vector<CString>& vecstrElementNames, vector<int>& veciChannel);
- static void GetElementChannel(CString strElementName, vector<int>& veciChannel);
- static void AddChannel(double dEnergy, vector<int>& veciChannel);
- };
- }
|