生成二维图像旋转

This commit is contained in:
yiyi 2026-03-26 13:40:17 +08:00
parent e62231f391
commit d4293ad922
2 changed files with 6 additions and 3 deletions

View File

@ -313,7 +313,10 @@ int DetectPresenter::DetectHoles(
h.radius = vis.second; // 半径为0
holes.push_back(h);
}
detectionResult.image = PointCloudImageUtils::GenerateHoleDetectionImage(xyzData, holes);
detectionResult.image = PointCloudImageUtils::GenerateHoleDetectionImage(
xyzData, holes,
0.0, // 绕X轴旋转角度可按需调整视图
0.0); // 绕Y轴旋转角度可按需调整视图
}
if (debugParam.enableDebug && debugParam.saveDebugImage) {

View File

@ -425,10 +425,10 @@ bool DialogAlgoarg::SaveTreeGrowParamFromUI(VrTreeGrowParam& param)
param.zDeviation_max = ui->lineEdit_zDeviation_max->text().toDouble(&ok);
if (!ok) return false;
param.minLTypeTreeLen = ui->lineEdit_minLTypeTreeLen->text().toInt(&ok);
param.minLTypeTreeLen = ui->lineEdit_minLTypeTreeLen->text().toDouble(&ok);
if (!ok) return false;
param.minVTypeTreeLen = ui->lineEdit_minVTypeTreeLen->text().toInt(&ok);
param.minVTypeTreeLen = ui->lineEdit_minVTypeTreeLen->text().toDouble(&ok);
if (!ok) return false;
return true;