selecting graph nodes on multiple windows, via a hierarchy
Posted: Thu Mar 24, 2005 3:04 pm
hi everyone
Let's talk about sulci in graphs/hierarchy/3d windows...
With anatomist, when you have several 3D windows (with tri and graphs in them), and a hierarchy on a browser, when you select a node (type = CorticalFoldArg) of the hierarchy, the corresponding sulci are selected in ALL the 3D windows.
In a "hand-made" anatomist module to create hierarchies from graphs, i'm building a hierarchy by selecting sulci in a 3D window. And i'd like that, when i select a node in the window, the corresponding nodes become highlighted in the others 3D windows.
This works when i click on a node of the hierarchy (i.e. sulci already added in the hie.). I think there will be a problem with what i want to do, because when i select a node in a 3D window, this one is not in a hier. yet...
I thought that a selection of the same node in different graphs/windows was only possible if you select it from a hierarchy (with the good GraphSyntax argument of course)
But maybe i could use something like TheAnatomist->All3DWindowsWithGraph or TheAnatomist->allGraphs ( sorry denis for this heresy...) to access and select nodes in other graphs. Or maybe someone could tell me where is the code, in perforce, talking about selecting elements by a hierarchy...
that's all!
cedric
Let's talk about sulci in graphs/hierarchy/3d windows...
With anatomist, when you have several 3D windows (with tri and graphs in them), and a hierarchy on a browser, when you select a node (type = CorticalFoldArg) of the hierarchy, the corresponding sulci are selected in ALL the 3D windows.
In a "hand-made" anatomist module to create hierarchies from graphs, i'm building a hierarchy by selecting sulci in a 3D window. And i'd like that, when i select a node in the window, the corresponding nodes become highlighted in the others 3D windows.
This works when i click on a node of the hierarchy (i.e. sulci already added in the hie.). I think there will be a problem with what i want to do, because when i select a node in a 3D window, this one is not in a hier. yet...
I thought that a selection of the same node in different graphs/windows was only possible if you select it from a hierarchy (with the good GraphSyntax argument of course)
But maybe i could use something like TheAnatomist->All3DWindowsWithGraph or TheAnatomist->allGraphs ( sorry denis for this heresy...) to access and select nodes in other graphs. Or maybe someone could tell me where is the code, in perforce, talking about selecting elements by a hierarchy...
that's all!
cedric