I need to display a graph composed of a few meshes, according to a hierarchy describing the colors I would like to use for each node of the graph.
This is done through a BrainVisa process using Anatomist.py
How can I selectByHierarchy all nodes which names are described in the hierarchy, without knowing the names contained in the hierarchy ?
For example :
Code: Select all
hierarchy.selectByHierarchy("type1 type2 type3")
Code: Select all
hierarchy.selectByHierarchy(hierarchy.allNames())
Code: Select all
hierarchy.selectByHierarchy("all")
I tried hierarchy.objectInfo() to see if I could find the names, but I didn't find them.
Thanks a lot for your help !