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

static build_x3dom_tree()

Build X3DOM pugixml tree for a Function .

Parameters:
  • & xml_doc (pugi::xml_document) –
  • Function & u (const) –
  • X3DOMParameters & parameters (const) –
Return type:

void

static html()

Return HTML5 string with embedded X3D for a Function .

Parameters:
Return type:

std::string

static str()

Return X3D string for a Function .

Parameters:
Return type:

std::string

thisown

The membership flag