C3204
2026-01-19 0468353b5e2265935846b299afc38bb34ae23e24
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
using LB_SmartVisionCameraSDK.PHM6000;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace LB_SmartVisionCommon
{
    public class Fun
    {
        public static readonly object waitFormLock = new object();
        public static readonly object resetLock = new object();
        public static string GetOrAddDirPath()
        {
            var basedir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
            var path = Path.Combine(basedir, "LB_SmartVision");
            if (!Directory.Exists(path))
            {
                Directory.CreateDirectory(path);
            }
            return path;
        }
 
        public static void SetImageSize_t(IntPtr pHandle, int nWidth, int nHeight) { }
 
        public static void ClearAllPoints_t(IntPtr pHandle) { }
 
        public static void RefreshPilot2D_t(IntPtr pHandle) { }
 
        public static int AddIntensityData_t(IntPtr pHandle, ref LBPointZA points, int nCount) { return default; }
 
        public static int AddDepthData_t(IntPtr pHandle, ref LBPointZA points, int nCount, short nMinDepth, short nMaxDepth)
        {
            return default;
        }
 
        //public static int AddBarycentreDataZA_t(IntPtr pHandle, ref LBPointZA points, int nCount, float fMinDistance, float fMaxDistance, float fStdDistance) {
 
        //    Pilot2D.AddBarycentreDataZA(pHandle,points,nCount,fMinDistance,fMaxDistance,fStdDistance);
        //}
 
        public static int ClearPCLPoints_t(IntPtr pInstance) { return default; }
 
        public static int AddZAPoints_t(IntPtr pInstance, ref LBPointZA points, int nCount, float fStepX, float fStepY, int nDownSample) { return default; }
 
        public static void RenderPCLWindow_t(IntPtr pInstance, int nWidth, int nHeight) { }
 
        public static int UpdatePCLPointColors_t(IntPtr pInstance, string szColoring) { return default; }
 
        public static void ShowCubeAxes_t(IntPtr pInstance, int bInit) { }
 
        public static void ShowLookUpTable_t(IntPtr pInstance, double x, double y, double xWide, double yWide) { }
 
        public static int GetPointCloudBound_t(IntPtr pInstance, ref double pMin, ref double pMax) { return default; }
 
        public static void SetLookUpTableRange_t(IntPtr pInstance, double fMin, double fMax) { }
    }
}