PlyLoadOptions
概述
PlyLoadOptions 是 Aspose.3D FOSS 中用于 Java 的类。继承自:LoadOptions。
PlyLoadOptions 和 PlySaveOptions 为开发者提供了导入和导出 PLY 点云文件的能力,支持可配置的编码和文件系统处理。
此类为在 Java 程序中处理 PlyLoadOptions 对象提供了 14 个方法。可用的方法包括:LoadOptions、PlyLoadOptions、getEncoding、getFileFormat、getFileName、getFileSystem、getFileSystemFactory、getLookupPaths、setEncoding、setFileName、setFileSystem、setFileSystemFactory,以及 1 个额外的方法。所有公共成员在安装了 Aspose.3D FOSS for Java 包之后,对任何 Java 应用程序均可访问。属性:encoding、fileFormat、fileName、fileSystem、fileSystemFactory、lookupPaths。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
fileFormat | FileFormat | 读取 | 获取文件格式。 |
fileSystemFactory | FileSystemFactory | 读取 | 获取 FileSystem 的工厂类。 |
encoding | java.nio.charset.Charset | 读取 | 获取基于文本的文件的默认编码。 |
fileSystem | FileSystem | 读取 | 允许用户自行决定在加载/保存过程中如何管理外部依赖。 |
lookupPaths | java.util.ArrayList<String> | 读取 | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
fileName | String | 读取 | 导出/导入场景的文件名。 |
方法
| 签名 | 描述 |
|---|---|
PlyLoadOptions() | 在此 PlyLoadOptions 实例上调用 PlyLoadOptions。 |
LoadOptions() | 初始化 LoadOptions 类的新实例。 |
LoadOptions(format: FileFormat) | 使用文件格式初始化 LoadOptions 类的一个新实例。 |
getFileFormat() → FileFormat | 返回文件格式。 |
getFileSystemFactory() → FileSystemFactory | 获取 FileSystem 的工厂类。 |
setFileSystemFactory(value: FileSystemFactory) | 为 FileSystem 设置工厂类。 |
getEncoding() → java.nio.charset.Charset | 获取基于文本的文件的默认编码。 |
setEncoding(value: java.nio.charset.Charset) | 设置基于文本的文件的默认编码。 |
getFileSystem() → FileSystem | 允许用户处理在加载/保存期间如何管理外部依赖。 |
setFileSystem(value: FileSystem) | 允许用户处理在加载/保存期间如何管理外部依赖。 |
getLookupPaths() → java.util.ArrayList<String> | 某些文件如 OBJ 依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
setLookupPaths(value: java.util.ArrayList<String>) | 某些文件如 OBJ 依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
getFileName() → String | 导出/导入场景的文件名。 |
setFileName(value: String) | 导出/导入场景的文件名。 |