Option to write Earth-Centered Earth-Fixed glTF

This commit is contained in:
Thomas Krijnen
2023-10-03 21:26:00 +02:00
parent d8c8ac6c15
commit 2eecfd6422
5 changed files with 348 additions and 10 deletions
+2 -2
View File
@@ -36,9 +36,9 @@ private:
std::ofstream fstream_, tmp_fstream1_, tmp_fstream2_;
std::map<std::string, int> materials_, meshes_;
json json_, node_array_;
boost::optional<json> ecef_transform_, north_rotation_;
int bufferViewId;
int writeMaterial(const ifcopenshell::geometry::taxonomy::style& style);
public:
GltfSerializer(const std::string& filename, const ifcopenshell::geometry::Settings& geometry_settings, const ifcopenshell::geometry::SerializerSettings& settings);
@@ -50,7 +50,7 @@ public:
void finalize();
bool isTesselated() const { return true; }
void setUnitNameAndMagnitude(const std::string& /*name*/, float /*magnitude*/) {}
void setFile(IfcParse::IfcFile*) {}
void setFile(IfcParse::IfcFile*);
};
#endif