X3DOM¶
-
class
dolfin.cpp.io.
X3DOM
¶ Bases:
object
This class implements output of meshes to X3DOM XML or HTML5 with X3DOM strings. The latter can be used for interactive visualisation
Developer note: pugixml is used to created X3DOM and HTML5. By using pugixml, we produce valid XML, but care must be taken that the XML is also valid HTML. This includes not letting pugixml create self-closing elements, in cases. E.g., <foo bar=”foobar”></foo> is fine, but the self-closing syntax <foo bar=”foobar” /> while being valid XML is is not valid HTML5. See https://github.com/x3dom/x3dom/issues/600.
-
static
build_x3dom_tree
()¶
-
static
html
(*args)¶ Overloaded versions
html()
Return HTML5 string with embedded X3D for a Mesh
html()
Return HTML5 string with embedded X3D for a Function
-
static
str
(*args)¶ Overloaded versions
str()
Return X3D string for a Mesh
str()
Return X3D string for a Function
-
thisown
¶ The membership flag
-
static