#1785 geometry caching caching

This commit is contained in:
Thomas Krijnen
2021-11-06 13:16:13 +01:00
parent e868186897
commit 0b7bdc0f9d
2 changed files with 46 additions and 8 deletions
+4
View File
@@ -82,6 +82,10 @@ private:
private:
std::map<std::string, boost::shared_ptr<IfcGeom::Representation::BRep>> brep_cache_;
std::map<std::string, boost::shared_ptr<IfcGeom::Representation::Triangulation>> triangulation_cache_;
std::map<std::string, std::string> group_cache_;
H5::Group createRepresentationGroup(const H5::Group& element_group, const std::string& gid);
void read_surface_style(surface_style_serialization& sss, std::shared_ptr<IfcGeom::SurfaceStyle>& style_ptr);
void write_style(surface_style_serialization& data, const IfcGeom::SurfaceStyle& s);