50 if (path.size() > 0) {
61 out <<
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" <<
endl;
62 out <<
"<!DOCTYPE X3D PUBLIC \"ISO//Web3D//DTD X3D 3.1//EN\" \"http://www.web3d.org/specifications/x3d-3.1.dtd\">"
64 out <<
"<X3D profile='Interchange' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' "
65 "xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.1.xsd '>"
71 out <<
"<meta content='Simple X3D Writer for blender'/>" <<
endl;
79 out <<
"<IndexedFaceSet coordIndex=\"" <<
endl;
90 out <<
"<Coordinate point=\"" <<
endl;
100 out <<
"</IndexedFaceSet>" <<
endl;
std::string getFileExtension() override
std::shared_ptr< T > SPtr
#define UBLOG(level, logtext)
std::string writeTriangles(const std::string &filename, std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt3 > &triangles) override
bool makeDirectory(const std::string &dir)
std::string getPathFromString(const std::string &fileStringWithPath)