RvmLoadOptions
概述
RvmLoadOptions 是 Aspose.3D FOSS 中用于 Java 的类。继承自:LoadOptions。
加载 AVEVA Plant Design Management System 的 RVM 文件选项。
此类提供 33 个方法,用于在 Java 程序中处理 RvmLoadOptions 对象。可用的方法包括:LoadOptions、RvmLoadOptions、getAttributePrefix、getCenterScene、getCylinderRadialSegments、getDishLatitudeSegments、getDishLongitudeSegments、getEncoding、getFileFormat、getFileName、getFileSystem、getFileSystemFactory,以及另外 19 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:attributePrefix、centerScene、cylinderRadialSegments、dishLatitudeSegments、dishLongitudeSegments、encoding,以及另外 9 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
cylinderRadialSegments | int | 读取 | 获取圆柱体的径向段数,默认值为 16。 |
dishLongitudeSegments | int | 读取 | 获取碟形体的经向段数,默认值为 12。 |
dishLatitudeSegments | int | 读取 | 获取 dish 的纬度段数,默认值为 8. |
torusTubularSegments | int | 读取 | 获取 torus 的管状段数,默认值为 20. |
rectangularTorusSegments | int | 读取 | 获取 rectangular torus 的径向段数,默认值为 20. |
centerScene | boolean | 读取 | 在加载后将场景居中。 |
attributePrefix | String | 读取 | 获取在外部属性文件中定义的属性的前缀。 |
lookupAttributes | boolean | 读取 | 获取是否从外部属性列表文件加载属性。 |
generateMaterials | boolean | 读取 | 为场景中的每个对象生成随机颜色的材质。 |
fileFormat | FileFormat | 读取 | 获取文件格式。 |
fileSystemFactory | FileSystemFactory | 读取 | 获取 FileSystem 的工厂类。 |
encoding | java.nio.charset.Charset | 读取 | 获取基于文本的文件的默认编码。 |
fileSystem | FileSystem | 读取 | 允许用户在加载/保存期间自行处理外部依赖的管理方式. |
lookupPaths | java.util.ArrayList<String> | 读取 | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件. |
fileName | String | 读取 | 导出/导入场景的文件名。 |
方法
| 签名 | 描述 |
|---|---|
RvmLoadOptions() | 构造一个 RvmLoadOptions 实例。 |
RvmLoadOptions(contentType: FileContentType) | 构造一个 RvmLoadOptions 实例。 |
getCylinderRadialSegments() → int | 获取圆柱体的径向细分数,默认值为 16。 |
setCylinderRadialSegments(value: int) | 设置圆柱体的径向段数,默认值为 16。 |
getDishLongitudeSegments() → int | 获取天线的经度段数,默认值为 12。 |
setDishLongitudeSegments(value: int) | 设置天线的经度段数,默认值为 12。 |
getDishLatitudeSegments() → int | 获取天线的纬度段数,默认值为 8。 |
setDishLatitudeSegments(value: int) | 设置天线的纬度段数,默认值为 8。 |
getTorusTubularSegments() → int | 获取环面的管状段数,默认值为 20。 |
setTorusTubularSegments(value: int) | 设置环面的管状段数,默认值为 20。 |
getRectangularTorusSegments() → int | 获取矩形环面的径向段数,默认值为 20。 |
setRectangularTorusSegments(value: int) | 设置矩形环面的径向段数,默认值为 20。 |
getCenterScene() → boolean | 在加载后将场景居中。 |
setCenterScene(value: boolean) | 在加载后将场景居中。 |
getAttributePrefix() → String | 获取在外部属性文件中定义的属性前缀。 |
setAttributePrefix(value: String) | 设置在外部属性文件中定义的属性前缀。 |
getLookupAttributes() → boolean | 获取是否从外部属性列表文件加载属性。 |
setLookupAttributes(value: boolean) | 设置是否从外部属性列表文件加载属性。 |
getGenerateMaterials() → boolean | 为场景中的每个对象生成随机颜色的材质。 |
setGenerateMaterials(value: boolean) | 为场景中的每个对象生成随机颜色的材质。 |
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) | 导出/导入场景的文件名。 |