| 351 | } |
| 352 | |
| 353 | boost::optional<ThreeGeometry> ThreeScene::getGeometry(const std::string& geometryId) const { |
| 354 | for (const auto& geometry : m_geometries) { |
| 355 | if (geometry.uuid() == geometryId) { |
| 356 | return geometry; |
| 357 | } |
| 358 | } |
| 359 | return boost::none; |
| 360 | } |
| 361 | |
| 362 | std::vector<ThreeMaterial> ThreeScene::materials() const { |
| 363 | return m_materials; |