Browse Source

上传文件至 ''

weiboyan 11 months ago
parent
commit
ceeb2885a8
1 changed files with 35 additions and 0 deletions
  1. 35 0
      WaferRebuild.h

+ 35 - 0
WaferRebuild.h

@@ -0,0 +1,35 @@
1
+#ifndef WAFERREBUILD_H
2
+#define WAFERREBUILD_H
3
+
4
+#ifdef _EXPORTING 
5
+#define API_DECLSPEC    __declspec(dllexport)  
6
+#else  
7
+#define API_DECLSPEC    __declspec(dllimport)  
8
+#endif 
9
+
10
+#include <vector>
11
+#include <string>
12
+#include <tuple>
13
+#include "math_tool.h"
14
+#include "image.h"
15
+#include "nlohmann/json.hpp"
16
+
17
+class ArithPmd;
18
+class API_DECLSPEC WaferRebuild
19
+{
20
+public:
21
+	WaferRebuild();
22
+	~WaferRebuild();
23
+
24
+private:
25
+
26
+	ArithPmd* arith_pmd;
27
+public:
28
+
29
+	std::tuple<int, std::string> initParam(const nlohmann::json& param);
30
+
31
+	std::tuple<int, std::vector<std::shared_ptr<infra::Point3d<float>>>, std::string> algoCalculate(const std::vector<infra::Image>& image_list);
32
+
33
+};
34
+
35
+#endif // WAFERREBUILD_H