Retrieve the type and the hierarchy of the IFC and write it in the .dae files

This commit is contained in:
Balleux Benjamin
2017-04-11 17:26:30 +02:00
parent 0f993b32f4
commit 37f7fbecca
3 changed files with 39 additions and 9 deletions
+2 -1
View File
@@ -177,6 +177,7 @@ private:
ColladaExporter exporter;
std::string unit_name;
float unit_magnitude;
IfcParse::IfcFile* file;
public:
ColladaSerializer(const std::string& dae_filename, const SerializerSettings& settings)
: GeometrySerializer(settings)
@@ -197,7 +198,7 @@ public:
unit_name = name;
unit_magnitude = magnitude;
}
void setFile(IfcParse::IfcFile*) {}
void setFile(IfcParse::IfcFile* f) { file = f; }
};
#endif