com.supermap.realspace.threeddesigner
类 PointCloudProcessor
- java.lang.Object
-
- com.supermap.realspace.threeddesigner.PointCloudProcessor
-
public class PointCloudProcessor extends Object
点云处理类- 从以下版本开始:
- 11.3.0。
-
-
构造器概要
构造器 构造器和说明 PointCloudProcessor()
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static boolean
classifyGround(String srcPointCloudFile, String destPointCloudFile, ClassifyPointCloudGroundParameters parameters)
分类出点云地面。static boolean
convert(ArrayList<PointCloudReaderInfo> sourceFileInfoList, PointCloudWriterInfo destFileInfo)
点云数据格式转换存储。
-
-
-
方法详细资料
-
classifyGround
public static boolean classifyGround(String srcPointCloudFile, String destPointCloudFile, ClassifyPointCloudGroundParameters parameters)
分类出点云地面。根据设置地面模拟分辨率以及是否进行陡坡拟合,可用于实现在点云数据中分类得到地面。当前输入和输出点云文件仅支持LAS格式
- 参数:
srcPointCloudFile
- 原始点云文件。destPointCloudFile
- 目标点云文件。parameters
- 点云地面分类参数。- 返回:
- 是否分类出点云地面。返回true表示分类成功;返回false表示分类失败。
分类成功后,输出点云中的地面类别代码为2,非地面类别代码保持原有类别代码,如与地面类别冲突则修改为0(未分类)。
- 从以下版本开始:
- 11.3.0。
-
convert
public static boolean convert(ArrayList<PointCloudReaderInfo> sourceFileInfoList, PointCloudWriterInfo destFileInfo)
点云数据格式转换存储。- 参数:
sourceFileInfoList
- 点云数据转换源文件读取信息列表。destFileInfo
- 点云数据转换目标文件存储信息。- 返回:
- 是否转换成功。返回true表示转换成功;返回false表示转换失败。
支持las/laz、ply、txt等格式的点云数据互相转换。
- 从以下版本开始:
- 12.0。
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.