mor.utility.graphScene

Set of functions to extract the graph a scene

The extracted results will be put into 2 dictionnary as follow

tree:
    node1:
        child1:
    node2:
        child2:

obj:
    node1:
        obj1:
    child1:
        obj2
    node2:
        obj3

Functions

dumpGraphScene

Dump the Graph of the SOFA scene as 2 dictionnaries in a yaml file

getGraphScene

This function will iterate over the SOFA graph scene from a node and build from there 2 dictionnaries containing its content

importScene

Return the graph of a SOFA scene