algoLib/sourceCode/channelSpaceMeasure_Export.h
jerryzeng 47e3a04bf0 HC_chanelSpaceMeasure version 1.0.0
槽道间距检测初始版本, 包含了博清工件组装的最新修改
2026-01-05 01:19:04 +08:00

33 lines
752 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "SG_algo_Export.h"
#include <vector>
#define _OUTPUT_DEBUG_DATA 1
typedef struct
{
SVzNLRangeD channelWidthRng;
SVzNLRangeD channleSpaceRng;
}SSX_channelParam;
typedef struct
{
double channelSpace;
double channelWidth[2];
double channelDepth[2];
}SSX_channelInfo;
//读版本号
SG_APISHARED_EXPORT const char* wd_ChannelSPaceMeasureVersion(void);
//提取槽道宽度深度和间距
SG_APISHARED_EXPORT SSX_channelInfo sx_channelSpaceMeasure(
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
bool isHorizonScan, //true:激光线平行槽道false:激光线垂直槽道
const SSG_cornerParam cornerPara,
const SSG_outlierFilterParam filterParam,
const SSG_treeGrowParam growParam,
const SSX_channelParam channelParam,
int* errCode);