gpt4 book ai didi

javascript - Potree/two.js 取消测量

转载 作者:行者123 更新时间:2023-12-03 04:07:42 24 4
gpt4 key购买 nike

我正在使用 Potree ( https://github.com/potree/potree ) 来实现大规模点云的可视化。

我正在启动面积测量(Potree.MeasuringTool),通常通过右键单击来停止/接受。我想让它在单击按钮时停止。有人能指出我要调用哪个函数的正确方向吗?我不太喜欢 javascript。另外,我会接受右键单击的模拟,尽管这可能不是最漂亮的解决方案。

最佳答案

没有事件:

viewer.measuringTool.sceneMeasurement.remove(viewer.measuringTool.sceneMeasurement.children[viewer.measuringTool.sceneMeasurement.children.length - 1]);

关于javascript - Potree/two.js 取消测量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44473625/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com