From 0468353b5e2265935846b299afc38bb34ae23e24 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期一, 19 一月 2026 16:49:49 +0800
Subject: [PATCH] 完善运动控制参数存储以及加载

---
 LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs b/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
index 44cdddf..fdee162 100644
--- a/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
+++ b/LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
@@ -874,6 +874,35 @@
         /// <param name="KeepImageSize">鍥惧儚澶у皬鏄惁淇濇寔</param>
         [DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "SetTransformParameter")]
         public static extern void SetTransformParameter(IntPtr pHandle, float fAngle, int xOffset, int yOffset, int hMirror, int vMirror, int KeepImageSize = 0);
+
+        #region PointCloud3D Functions
+        
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "AddZAPoints")]
+        public static extern int AddZAPoints(IntPtr pInstance, IntPtr points, int nCount, float fStepX, float fStepY, int nDownSample);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ClearPCLPoints")]
+        public static extern int ClearPCLPoints(IntPtr pInstance);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetPointCloudBound")]
+        public static extern int GetPointCloudBound(IntPtr pInstance, ref double pMin, ref double pMax);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "RenderPCLWindow")]
+        public static extern void RenderPCLWindow(IntPtr pInstance, int nWidth, int nHeight);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "SetLookUpTableRange")]
+        public static extern void SetLookUpTableRange(IntPtr pInstance, double fMin, double fMax);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ShowCubeAxes")]
+        public static extern void ShowCubeAxes(IntPtr pInstance, int bInit);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "ShowLookUpTable")]
+        public static extern void ShowLookUpTable(IntPtr pInstance, double x, double y, double xWide, double yWide);
+
+        [DllImport("PointCloud3D", CallingConvention = CallingConvention.StdCall, EntryPoint = "UpdatePCLPointColors")]
+        public static extern int UpdatePCLPointColors(IntPtr pInstance, string szColoring);
+
+        #endregion
+
         /// <summary>
         /// 灏嗙粨鏋勪綋鎸囬拡杞崲涓篸ouble锛堟ā鎷烠++鐨�(double)(int64)&鎿嶄綔锛�
         /// </summary>

--
Gitblit v1.9.3