LWQ
2025-07-24 75fa4f9c3c26407b906f9de0a4f5ed7708cb68b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef TRANFORM_COORDINATE_H
#define TRANFORM_COORDINATE_H
 
#include "VisionRecipe.h"
 
class CTranformCoordinate
{
public:
    CTranformCoordinate();
    ~CTranformCoordinate();
 
public:
    //1. Ö´ÐÐ
    Point2I Execute(DimensionDir eDir, Point2I pose);
 
    //2. »ñÈ¡Ïà¶ÔλÖÃ
    Point2I tfPose(DimensionDir eDir, Point2I pose);
 
private:
    //1. »ñȡλÖÃ
    Point2I getPose(DimensionDir eDir, Point2I pose);
 
    //2. »ñÈ¡Ïà¶ÔλÖÃ
    Point2I TranformPose(DimensionDir eDir, Point2I pose);
 
    //3. TopAת»»
    Point2I TransformPoseTopA(Point2I pose);
 
    //4. TopBת»»
    Point2I TransformPoseTopB(Point2I pose);
 
    //5. TopCת»»
    Point2I TransformPoseTopC(Point2I pose);
 
    //6. TopDת»»
    Point2I TransformPoseTopD(Point2I pose);
 
    //7. BotAת»»
    Point2I TransformPoseBotA(Point2I pose);
 
    //8. BotBת»»
    Point2I TransformPoseBotB(Point2I pose);
 
    //9. BotCת»»
    Point2I TransformPoseBotC(Point2I pose);
 
    //10. BotDת»»
    Point2I TransformPoseBotD(Point2I pose);
 
    //11. ×ª»»
    Point2I TransformResult(Point2I pose, bool isScanLength, int idx0, int idx1, ScanSetting scanSetting);
 
    //12. ×ª»»ÐòºÅ
    int getIndex(int idx, ScanSetting scanSetting);
 
    //13. ´òÓ¡Êý¾Ý
    void Print(DimensionDir eDir, Point2I pose);
 
 
};
 
#endif