COLLADA (.dae) mesh parsing: the COLLADA parser together with its element type definitions.
Microsoft.VisualBasic.Imaging.Landscape 1.0.9762.11310.
01 Namespaces
Microsoft.VisualBasic.Imaging.Landscape.Collada
| Type | Summary | Members |
|---|---|---|
| ColladaParser | COLLADA (.dae) 文件几何数据解析器 | 5 |
| GeometrySource | 单个 <source> 元素的数据 | 0 |
Microsoft.VisualBasic.Imaging.Landscape.Data
The unified 3D scene model: the model loader, scene, surface and vertex types shared by all mesh format readers.
| Type | Summary | Members |
|---|---|---|
| ModelFormat | 支持的 3D 模型文件格式枚举 | 16 |
| ModelLoader | 三维模型统一加载器。 根据文件扩展名自动检测格式,将任意支持的 3D 模型文件 转换为统一的 SceneModel 对象,并可直接对接 Voxelizer.Voxelize()) 进行 CFD 体素化。 ## 支持的格式 - STL (.stl) — ASCII 和 Binary 格式自动检测 - glTF (.gltf) — JSO… | 4 |
| SceneModel | The data model of the landscape 3D model. | 2 |
| Surface | 方便将3D模型保存与XML文件之中的数据模型对象 | 3 |
| Vertex | 1 |
Microsoft.VisualBasic.Imaging.Landscape.Gltf
glTF and GLB (binary glTF) model reading: the readers, the glTF type definitions and the scene model builder.
| Type | Summary | Members |
|---|---|---|
| Accessor | 访问器:描述如何从 BufferView 中读取类型化数组数据 | 9 |
| AssetInfo | 资产描述信息 | 2 |
| BufferView | 缓冲区视图:描述 Buffer 中的一个子区域 | 5 |
| GlbReader | GLB (GL Transmission Format Binary) 二进制格式 3D 模型文件解析器 GLB 是 glTF 的二进制容器格式,将所有 JSON 和二进制数据打包在单个文件中。 GLB 文件结构: ┌──────────────────────────────┐ │ Header (12 bytes) │… | 3 |
| GltfBuffer | 缓冲区:存储实际的二进制数据 | 2 |
| GltfComponentType | 访问器组件类型常量 | 0 |
| GltfMaterial | 材质定义 | 2 |
| GltfMesh | 网格定义:包含多个图元 (Primitive) | 2 |
| GltfPrimitiveMode | 图元渲染模式常量 | 0 |
| GltfReader | glTF (.gltf) 文本格式 3D 模型文件解析器 glTF (GL Transmission Format) 是 Khronos Group 制定的开放标准 3D 场景格式。 文本格式 (.gltf) 使用 JSON 描述场景结构,外部二进制文件 (.bin) 存储顶点数据。 | 3 |
| GltfRoot | glTF JSON 根对象,对应 glTF 2.0 规范的顶层结构 | 9 |
| ModelBuilder | glTF / GLB 共享的 SceneModel 构建逻辑。 负责将已加载的 GltfRoot JSON 模型和二进制缓冲区数组转换为 Data.SceneModel。 | 11 |
| Node | 场景图中的节点,可包含网格引用、变换矩阵和子节点 | 7 |
| PbrMetallicRoughness | PBR 金属粗糙度材质属性 | 1 |
| Primitive | 图元:描述一个可渲染的几何体单元 | 4 |
| Scene | 场景定义:包含一组根节点索引 | 2 |
Microsoft.VisualBasic.Imaging.Landscape.Max3DS
Autodesk 3DS (3D Studio) mesh parsing: the chunk based parser and its type definitions.
| Type | Summary | Members |
|---|---|---|
| Chunk3DS | 3DS 文件块(Chunk)结构。 3DS 格式使用类似 RIFF/IFF 的分块存储: - 2 字节 Chunk ID (UInt16) - 4 字节 Chunk 长度 (UInt32),包含自身这 6 字节头部 - N 字节数据 | 5 |
| Material3DS | 3DS 材质定义。 | 4 |
| Max3DSParser | 3DS (3D-Studio) 三维模型文件解析器。 3DS 是 Autodesk 3ds Max 使用的旧版标准交换格式。 采用分块(Chunk)存储结构,支持网格几何数据、材质定义、 纹理坐标以及局部变换矩阵的解析。 注意:.max 是 3ds Max 的专有私有格式(无公开文档,无法可靠解析), 本模块解析的是 .3ds 格式文件。 | 22 |
| Mesh3DS | 3DS 网格数据内部表示。 包含从单个 0x4100 (OBJ_MESH) Chunk 中解析出的所有几何信息。 | 7 |
Microsoft.VisualBasic.Imaging.Landscape.Ply
PLY (Polygon File Format) point cloud reading and writing: header parsing, the reader and writer, and the point cloud model.
Microsoft.VisualBasic.Imaging.Landscape.Ply.PlyReader
| Type | Summary | Members |
|---|---|---|
| PlyPropertyDef | Represents a single PLY property definition from the header. | 6 |
| PlyVertexFormat | Describes the vertex element format parsed from the PLY header. | 5 |
| PropertyMapping | Holds property-to-PointCloud field index mappings. | 0 |
Microsoft.VisualBasic.Imaging.Landscape.Stl
STL mesh parsing in both ASCII and binary encodings.
| Type | Summary | Members |
|---|---|---|
| StlParser | STL (Stereolithography) 三角网格三维模型文件解析器 支持 ASCII 文本格式和 Binary 二进制格式的 STL 文件读取, 自动检测文件格式并将数据转换为统一的 Surface 数组。 具体的 ASCII / Binary 解析逻辑分别在 StlAsciiReader 与 StlBinaryReader 这两个 Pa… | 7 |
Microsoft.VisualBasic.Imaging.Landscape.ThreeMF
3MF (3D Manufacturing Format) model I/O: project and model reading and writing helpers.
| Type | Summary | Members |
|---|---|---|
| Extensions | 3mf 格式相关的扩展工具方法 | 4 |
| ModelIO | 4 | |
| Project | 4 |
Microsoft.VisualBasic.Imaging.Landscape.ThreeMF.Xml
The 3MF XML object model: the mesh, 3D model and resource elements of a 3MF package.
| Type | Summary | Members |
|---|---|---|
| BaseMaterial | 3 | |
| Mesh | 1 | |
| Triangle3D | 3 vertex index to create a triangle of the surface model data | 6 |
| XmlModel3D | 3D/3dmodel.model xml file. | 4 |
Microsoft.VisualBasic.Imaging.Landscape.Voxelization
Surface voxelization: voxel models, the bounding volume hierarchy and signed distance field (SDF) volume generation used for CFD simulation grids.
| Type | Summary | Members |
|---|---|---|
| BVH | 三角形网格的包围盒层次结构 (Bounding Volume Hierarchy),用于加速 "空间中任意一点到网格最近三角面" 的查询。 采用质心 AABB 最长轴中位数分割递归构建 (非 SAH),叶子节点三角形数量 不超过 BVH.LeafSize。最近查询通过 "点到节点 AABB 的距离下界" 做分支剪枝,将暴力 O(T) 查询降至近似… | 10 |
| SDFTriangle | SDF 体素化使用的三角面片,预存三个顶点、轴对齐包围盒 (AABB) 与质心, 以加速 BVH 的构建与最近三角面查询。 | 4 |
| SDFVolume | 连续符号距离场 (Signed Distance Field, SDF) 体积数据模型,用于 CFD 高精度边界处理。 与 VoxelModel 共享同一套三维网格定义与一维索引公式 index = (x * Height + y) * Depth + z,以保证 SDF 场与二进制体素模型 在空间上完全对齐。 ## 数据含义 - SDFVo… | 13 |
| SDFVoxelizer | 基于符号距离场 (Signed Distance Field, SDF) 的高精度三角网格体素化器。 相比 Voxelizer 的列扫描射线投射算法 (仅做布尔内外判定、边界呈 明显阶梯伪影),本模块为 CFD 高精度仿真提供更精细的体素化结果: ## 算法概述 1. | 10 |
| Voxelizer | 三角网格模型 → CFD 实心体素模型的转换器。 接受任意格式(STL、OBJ、glTF/GLB、COLLADA、3DS、3MF)解析后的 SceneModel 作为输入,将其转换为可用于 CFD 流体动力学仿真的实心体素模型。 ## 体素化算法 采用 列扫描射线投射 (Column-based Ray Casting) 算法: 1. | 9 |
| VoxelModel | 三维体素模型,用于 CFD 流体动力学仿真计算。 使用一维 Boolean 数组表示三维空间中每个体素的状态: False = 空/外部空间(无计算数据), True = 固体区域(模拟环境空间的一部分,在 CFD 中作为固体边界处理)。 一维索引公式: index = (x * Height + y) * Depth + z | 13 |
Microsoft.VisualBasic.Imaging.Landscape.Voxelization.BVH
| Type | Summary | Members |
|---|---|---|
| CentroidComparer | 按指定坐标轴比较三角形质心,用于 BVH 中位数分割排序。 | 0 |
Microsoft.VisualBasic.Imaging.Landscape.Voxelization.SDFVoxelizer
| Type | Summary | Members |
|---|---|---|
| BoundingBox | 内部包围盒结构 (可变,供 SDFVoxelizer.ApplyMargin()) ByRef 修改)。 | 0 |
Microsoft.VisualBasic.Imaging.Landscape.Wavefront
Wavefront OBJ model parsing: the OBJ text parser together with the triangle and OBJ model types.
| Type | Summary | Members |
|---|---|---|
| ObjModel | 5 | |
| ObjTextParser | OBJ (Wavefront) 文件文本解析器 | 4 |