34 lines
863 B
C++
34 lines
863 B
C++
#pragma once
|
|
|
|
#if defined(SG_API_LIBRARY)
|
|
# define SG_APISHARED_EXPORT __declspec(dllexport)
|
|
#else
|
|
# define SG_APISHARED_EXPORT __declspec(dllimport)
|
|
#endif
|
|
|
|
#include "SG_baseDataType.h"
|
|
#include <vector>
|
|
#include <opencv2/opencv.hpp>
|
|
|
|
typedef struct
|
|
{
|
|
SSG_outlierFilterParam filterParam;
|
|
SSG_cornerParam cornerParam;
|
|
SSG_treeGrowParam growParam;
|
|
}SG_glovePositioningParam;
|
|
|
|
SG_APISHARED_EXPORT void wd_getScanLines(
|
|
std::vector<SVzNL3DPoint>& scanData,
|
|
std::vector< std::vector<SVzNL3DPosition>>& scanLines);
|
|
|
|
SG_APISHARED_EXPORT void wd_lineDataR(std::vector< SVzNL3DPosition>& a_line,
|
|
const double* camPoseR,
|
|
double groundH);
|
|
|
|
SG_APISHARED_EXPORT void wd_getGloveGrabPostion(
|
|
std::vector< std::vector<SVzNL3DPosition>>& scanLines,
|
|
const SSG_gloveArcParam arcPara,
|
|
SSG_treeGrowParam growParam,
|
|
std::vector<SSG_peakRgnInfo>& objOps,
|
|
int* errCode);
|