bool useMMUnit = false;
if (useMMUnit) {
distanceActor->GetDistanceRepresentation()->SetLabelFormat(
"%-#6.2f mm");
} else {
distanceActor->GetDistanceRepresentation()->SetLabelFormat(
"%-#6.2f cm");
newDis->distanceActor->GetDistanceRepresentation()->SetScale(0.1);
}
vtkDistanceWidget 单位cm和mm转换
最新推荐文章于 2023-07-23 23:04:04 发布