CameraImageHandler.h 862 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef CAMERAIMAGEHANDLER_H
  2. #define CAMERAIMAGEHANDLER_H
  3. #include "CameraMaterialGroupWnd/Group.h"
  4. #include "CameraMaterialGroupWnd/MaterialWindow/Wafer.h"
  5. #include "CameraMaterialGroupWnd/MaterialWindow/Waffle.h"
  6. #include "CameraMaterialGroupWnd/MaterialWindow/MaterialBox.h"
  7. class CameraImageHandler : public QWidget {
  8. Q_OBJECT
  9. public:
  10. CameraImageHandler(int iCameraId);
  11. Group* getGroup() const;
  12. Wafer* getWafer() const;
  13. Waffle* getWaffle() const;
  14. MaterialBox* getMaterialBox() const;
  15. private:
  16. void captureAndConvertImage(int CameraId);
  17. Group* group; // 存储 Group 对象的容器
  18. void initGroup(int CameraId);
  19. Wafer* wafer;
  20. Waffle* waffle;
  21. MaterialBox* materialBox;
  22. int MaterialWindowType; // 物料窗口类型标识,1代表圆晶 后面接口获取标识
  23. };
  24. #endif // CAMERAIMAGEHANDLER_H