OTSFieldMgrClr.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #pragma once
  2. #include "OTSFieldMgr.h"
  3. #include "OTSFieldDataClr.h"
  4. #include "OTSImgProcPrmClr.h"
  5. #include "PosXrayClr.h"
  6. #include "MsrResultsClr.h"
  7. namespace OTSINTERFACE {
  8. using namespace System;
  9. using namespace System::Drawing;
  10. using namespace OTSDATA;
  11. using namespace OTSMODEL;
  12. public ref class COTSFieldMgrClr : public Object
  13. {
  14. public:
  15. COTSFieldMgrClr();
  16. COTSFieldMgrClr(COTSFieldMgrPtr);
  17. COTSFieldMgrPtr GetCFiledMgrPtr();
  18. ~COTSFieldMgrClr();
  19. !COTSFieldMgrClr();
  20. COTSFieldDataClr^ GetOTSFieldData() { return gcnew COTSFieldDataClr(mFieldMgr->get()->GetOTSFieldData()); }
  21. void SetOTSFieldData(COTSFieldDataClr^ a_pOTSFieldData);
  22. // BSE image
  23. CBSEImgClr^ GetBSEImage() { return gcnew CBSEImgClr(mFieldMgr->get()->GetBSEImage()); }
  24. void SetBSEImage(CBSEImgClr^ a_pBSEImg);
  25. // delete BackGround
  26. bool RemoveBSEImageBG(COTSImgProcPrmClr^ a_pImageProcessParam, CBSEImgClr^% a_pBSEImg);
  27. // delete too small or too big particles
  28. bool IdentifyParticle(COTSImgProcPrmClr^ a_pImageProcessParam, System::Collections::Generic::List<System::Drawing::Point>^% a_listXRayPos);
  29. // searching x ray list
  30. CPosXrayListClr^ GetSearchPosXrayList();
  31. void SetSearchPosXayList(CPosXrayListClr^ a_listPosXray, bool a_bClear);
  32. // analysis x ray list
  33. CPosXrayListClr^ GetAnalysisPosXrayList();
  34. void SetAnalysisPosXayList(CPosXrayListClr^ a_listPosXray, bool a_bClear);
  35. protected:
  36. COTSFieldMgrPtr* mFieldMgr;
  37. };
  38. typedef System::Collections::Generic::List<COTSFieldMgrClr^> COTSFieldMgrListClr;
  39. }