IlluminatetoolTool.h 809 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include <QDialog>
  3. #include <QDebug>
  4. #include "ui_IlluminatetoolTool.h"
  5. #include "../toolinterface.h"
  6. #include "HalconCpp.h"
  7. using namespace HalconCpp;
  8. namespace Ui {
  9. class illuminatetool;
  10. }
  11. class illuminatetool : public ToolInterface
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit illuminatetool(QWidget *parent = 0);
  16. ~illuminatetool();
  17. virtual bool Serialized(QDataStream& ar, bool bIsOut);
  18. virtual QString ShowParameter();
  19. virtual int Execute();
  20. signals:
  21. // void updateParameter(QString);
  22. private slots:
  23. void on_horizontalSlidermin_valueChanged(int value);
  24. void on_horizontalSlidermax_valueChanged(int value);
  25. void on_horizontalSliderxishu_valueChanged(int value);
  26. private:
  27. Ui::illuminatetool *ui;
  28. int m_nWidth;
  29. int m_nHeight;
  30. float m_fFactor;
  31. };