28 lines
764 B
C++
28 lines
764 B
C++
#pragma once
|
||
|
||
#include "SG_algo_Export.h"
|
||
#include <vector>
|
||
|
||
#define _OUTPUT_DEBUG_DATA 1
|
||
|
||
typedef struct
|
||
{
|
||
SVzNL3DPoint center; //螺杆端部中心点
|
||
SVzNL3DPoint axialDir; //轴向向量
|
||
double rotateAngle; //-30 - 30度
|
||
}SSX_hexHeadScrewInfo; //六角头螺杆
|
||
|
||
//读版本号
|
||
SG_APISHARED_EXPORT const char* wd_rodAndBarDetectionVersion(void);
|
||
|
||
//六角头螺杆端部中心点和轴向测量
|
||
SG_APISHARED_EXPORT void sx_hexHeadScrewMeasure(
|
||
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
|
||
bool isHorizonScan, //true:激光线平行槽道;false:激光线垂直槽道
|
||
const SSG_cornerParam cornerPara,
|
||
const SSG_outlierFilterParam filterParam,
|
||
const SSG_treeGrowParam growParam,
|
||
double rodDiameter,
|
||
std::vector<SSX_hexHeadScrewInfo>& screwInfo,
|
||
int* errCode);
|