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) { }
|
}
|
}
|