2025-06-23 00:05:19 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include <ostream>
|
|
|
|
|
#include "VZNL_Types.h"
|
|
|
|
|
|
|
|
|
|
std::ostream& operator<<(std::ostream& os, const SVzNL3DPoint& sPoint);
|
|
|
|
|
|
|
|
|
|
namespace CVrConvert
|
|
|
|
|
{
|
|
|
|
|
// 加载矩阵
|
2025-07-15 21:06:09 +08:00
|
|
|
bool LoadClibMatrix(const char* sFileName, const char* sIdent, const char* sKey, double dMatrix[16]);
|
2025-06-23 00:05:19 +08:00
|
|
|
|
|
|
|
|
// 存储矩阵
|
2025-07-15 21:06:09 +08:00
|
|
|
bool SaveClibMatrix(const char* sFileName, const char* sIdent, const char* sKey, double dMatrix[16]);
|
2025-06-23 00:05:19 +08:00
|
|
|
|
|
|
|
|
// 手眼标定
|
|
|
|
|
bool CalibEyeToRobot(SVzNL3DPoint* pEye3DPoint, SVzNL3DPoint* pRobot3DPoint, const int nNum);
|
|
|
|
|
|
|
|
|
|
// 手眼坐标转换
|
|
|
|
|
bool EyeToRobot(const SVzNL3DPoint sEyePoint, SVzNL3DPoint& sRobotPoint, const double clib[16]);
|
|
|
|
|
|
|
|
|
|
};
|