"Cloning" of 3D data
Posted: Sun Oct 12, 2008 4:52 pm
Hi,
I have a datafile for 3D reconstructed neuron (the tree is defined with "pt3dadd" commands). What I would like to do is to "clone" the specific branch (with all its sub-branches) of this given tree. That is, I want to create a new tree in which, at a specific point, there will be two exactly identical (morphology-wise) sub-branches.
My solution was just to go and look into the data file, find the desired branching point, and create the "clone" (by copy-pasting and changing the name of the new branch), and attach it at the same point as the original branch. Since the data is 3D, this means that, unless I change the 3D coordinates of the clone, when I try to visualize the new tree, the clone and the original branch will overlap.
My questions are:
1) following this procedure, even though the 3D locations of the two branches (the original one and the clone) are completely identical, the branches are treated as separate objects, right? I presumed that the 3D information is just for visualization purposes and does not affect the computation.
2) for that matter (easy visualization) is there any simple and nice way to switch from the 3D format to the "dimensionless" format .
Many thanks for the answer.
I have a datafile for 3D reconstructed neuron (the tree is defined with "pt3dadd" commands). What I would like to do is to "clone" the specific branch (with all its sub-branches) of this given tree. That is, I want to create a new tree in which, at a specific point, there will be two exactly identical (morphology-wise) sub-branches.
My solution was just to go and look into the data file, find the desired branching point, and create the "clone" (by copy-pasting and changing the name of the new branch), and attach it at the same point as the original branch. Since the data is 3D, this means that, unless I change the 3D coordinates of the clone, when I try to visualize the new tree, the clone and the original branch will overlap.
My questions are:
1) following this procedure, even though the 3D locations of the two branches (the original one and the clone) are completely identical, the branches are treated as separate objects, right? I presumed that the 3D information is just for visualization purposes and does not affect the computation.
2) for that matter (easy visualization) is there any simple and nice way to switch from the 3D format to the "dimensionless" format .
Many thanks for the answer.