| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #pragma once
- #include "OTSFieldMgr.h"
- #include "OTSFieldDataClr.h"
- #include "OTSImgProcPrmClr.h"
- #include "PosXrayClr.h"
- #include "MsrResultsClr.h"
- namespace OTSINTERFACE {
- using namespace System;
- using namespace System::Drawing;
- using namespace OTSDATA;
- using namespace OTSMODEL;
-
- public ref class COTSFieldMgrClr : public Object
- {
- public:
- COTSFieldMgrClr();
- COTSFieldMgrClr(COTSFieldMgrPtr);
-
- COTSFieldMgrPtr GetCFiledMgrPtr();
- ~COTSFieldMgrClr();
- !COTSFieldMgrClr();
- COTSFieldDataClr^ GetOTSFieldData() { return gcnew COTSFieldDataClr(mFieldMgr->get()->GetOTSFieldData()); }
- void SetOTSFieldData(COTSFieldDataClr^ a_pOTSFieldData);
- // BSE image
- CBSEImgClr^ GetBSEImage() { return gcnew CBSEImgClr(mFieldMgr->get()->GetBSEImage()); }
- void SetBSEImage(CBSEImgClr^ a_pBSEImg);
- // delete BackGround
- bool RemoveBSEImageBG(COTSImgProcPrmClr^ a_pImageProcessParam, CBSEImgClr^% a_pBSEImg);
- // delete too small or too big particles
- bool IdentifyParticle(COTSImgProcPrmClr^ a_pImageProcessParam, System::Collections::Generic::List<System::Drawing::Point>^% a_listXRayPos);
- // searching x ray list
- CPosXrayListClr^ GetSearchPosXrayList();
- void SetSearchPosXayList(CPosXrayListClr^ a_listPosXray, bool a_bClear);
- // analysis x ray list
- CPosXrayListClr^ GetAnalysisPosXrayList();
- void SetAnalysisPosXayList(CPosXrayListClr^ a_listPosXray, bool a_bClear);
- protected:
- COTSFieldMgrPtr* mFieldMgr;
-
- };
- typedef System::Collections::Generic::List<COTSFieldMgrClr^> COTSFieldMgrListClr;
- }
|