OTSScanBrucker.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #pragma once
  2. #include "OTSScanBase.h"
  3. #include "OTSBrukerImpl.h"
  4. namespace OTSController {
  5. // Bruker Image Acquisition Device
  6. class COTSScanBrucker :public COTSScanBase
  7. {
  8. public:
  9. /// <summary>
  10. /// Creates a new IADBruker instance.
  11. /// </summary>
  12. COTSScanBrucker();
  13. virtual ~COTSScanBrucker();
  14. // initialization
  15. virtual BOOL Init() override;
  16. virtual ScanController::SCANNER_ID GetType() override { return ScanController::SCANNER_ID::BRUKER; }
  17. public:
  18. // Get matrix Size
  19. virtual CSize GetMatrixSize(int a_nMatrixIndex) override;
  20. // move beam to point
  21. virtual BOOL MoveBeamTo(CPoint& a_beamPos) override;
  22. // Set point Scan
  23. virtual BOOL SetPointScan(int /*a_nMatrixIndex*/) override { return true; }
  24. // Start Scan Table
  25. virtual BOOL StartScanTable(int a_nMatrixIndex, unsigned int nP, int* pnx, int* pny) override;
  26. // set Image Size
  27. virtual BOOL SetImageSize(long nImageSize,long nHeight) override;
  28. /// set dwell time
  29. virtual BOOL SetDwellTime(long nDwellTime) override;
  30. // acquire BSE image
  31. virtual CBSEImgPtr AcquireBSEImage(/*int a_nMatrixIndex, int nReads, int nDwell*/) override;
  32. virtual long GetDwellTimeByIndex(const long a_nIndex) override;
  33. virtual BOOL SetDwellTimeByIndex(const long a_nIndex) override;
  34. virtual BOOL SetScanFieldSize(const int a_nWidth, const int a_nHeight) override;
  35. virtual BOOL SetEMPosition(const int a_nPosX, const int a_nPosY) override;
  36. private:
  37. std::shared_ptr<COTSBrukerImpl> m_pBrukerImpl;
  38. };
  39. }