| 171 | } |
| 172 | |
| 173 | void StreamAllMeshes(uint32_t modelID, emscripten::val callback) |
| 174 | { |
| 175 | if (!manager.IsModelOpen(modelID)) |
| 176 | return; |
| 177 | std::vector<uint32_t> types; |
| 178 | |
| 179 | for (auto &type : manager.GetSchemaManager().GetIfcElementList()) |
| 180 | { |
| 181 | if (type == webifc::schema::IFCOPENINGELEMENT || type == webifc::schema::IFCSPACE || type == webifc::schema::IFCOPENINGSTANDARDCASE) |
| 182 | { |
| 183 | continue; |
| 184 | } |
| 185 | |
| 186 | types.push_back(type); |
| 187 | } |
| 188 | StreamAllMeshesWithTypes(modelID, types, callback); |
| 189 | } |
| 190 | |
| 191 | std::vector<webifc::geometry::IfcFlatMesh> LoadAllGeometry(uint32_t modelID) |
| 192 | { |
nothing calls this directly
no test coverage detected