# "Transform Hierarchy" in data module not showing multiple transforms correctly

**URL:** <https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153>\
**Category:** Support\
**Created:** [February 22, 2018, 6:57pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153 "2018-02-22T18:57:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@Nathan](https://discourse.slicer.org/u/Nathan)\
**Post date:** [February 22, 2018, 6:57pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/1 "2018-02-22T18:57:39Z")

</div>

Hello,

I just updated to Slicer 4.8.1 and noticed that the “Transform hierarchy” is not behaving correctly. It does not show the correct “tree” of transformations. For example, I have images that have four transformations on them. It should show them like this:

A  
.B  
…C  
…D

However, it is showing transformation “C” not under transformation “B”

A  
.B  
C  
.D

If that doesn’t make sense, I can try to get a screenshot

It shows them correctly in the transformation module. This is a shame - I find it much easier to organize data/transforms in the data module.

This bug was actually present for me in version 4.5.0. However, I could get it to show the correct “tree” by switching back and forth between “displayable” and “transform” with the “Scene Model” popup. The new version tabbed screen doesn’t do that.

I am running Windows 7

-Nathan

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 22, 2018, 7:32pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/2 "2018-02-22T19:32:29Z")

</div>

Please record a screen capture video or provide step-by-step instructions that we can use to reproduce it.

---

<div class="post-metadata">

**Author:** ![Nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@Nathan](https://discourse.slicer.org/u/Nathan)\
**Post date:** [February 26, 2018, 6:54pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/3 "2018-02-26T18:54:28Z")

</div>

Here is what I get when I open Slicer 4.6

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/8/c89cbf46bdb1f9b44ec23176fe44ff227d14ae2d.png)

It is not correct. If I select the “Scene Model” popup and change to “Displayable” and then back to “Transform”, it appears correctly:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/7/d75c2591c4cac1e7846ece7c4124f54f0fc4bb57.png)

In Slicer 4.8 it is always wrong.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 26, 2018, 8:47pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/4 "2018-02-26T20:47:15Z")

</div>

Please record a screen capture video or provide step-by-step instructions that we can use to reproduce it. If we cannot reproduce the problem we cannot fix it.

---

<div class="post-metadata">

**Author:** ![Nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@Nathan](https://discourse.slicer.org/u/Nathan)\
**Post date:** [February 26, 2018, 9:09pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/5 "2018-02-26T21:09:08Z")

</div>

There are no steps. I open up the scene and the transformation tree is wrong.

In slicer 4.5, you can switch the “Scene Model” popup as I described and it fixes it.

In slicer 4.8, this workaround doesn’t work.

Perhaps I have too many levels?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 26, 2018, 10:07pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/6 "2018-02-26T22:07:38Z")

</div>

Can you share the scene file with us (upload somewhere and post the link)? How did you create this scene?

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [February 27, 2018, 12:35am UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/7 "2018-02-27T00:35:21Z")

</div>

HI Nathan,

Sorry if this is too basic, but since 4.5 we overhauled the module, and now there is no Scene Model selection, but three tabs, in which Transform Hierarchy is not the default. Please double check that you select the middle tab in the Data module.

```
                   |
                   V

```

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/b/6bccff3c01c74583d3a93904df20a52ed6dc12fe.png)

---

<div class="post-metadata">

**Author:** ![Nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@Nathan](https://discourse.slicer.org/u/Nathan)\
**Post date:** [February 27, 2018, 12:19pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/8 "2018-02-27T12:19:38Z")

</div>

Yes – I know about that.

I will show Andrey when he visits me today.

It’s probably something weird in my particular scene.

Thanks

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [February 28, 2018, 3:41am UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/9 "2018-02-28T03:41:58Z")

</div>

I checked, and Nathan was selecting the right tab.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [February 28, 2018, 3:03pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/10 "2018-02-28T15:03:33Z")

</div>

Of course, I suspected that my suggestion is too basic, but it was a possibility.

However at this point I can only say what Andras says:

- Please do a screen capture showing how to reproduce this from an empty scene
- Or send us a scene where this issue is present when loading

Both using a recent nightly please.

Thanks!

---

<div class="post-metadata">

**Author:** ![mholden8](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mholden8/32/1112_2.png) [@mholden8](https://discourse.slicer.org/u/mholden8)\
**Post date:** [March 6, 2018, 3:55pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/11 "2018-03-06T15:55:50Z")

</div>

I experience the same issue as Nathan. Here are the steps that I can do to reproduce the issue (latest Slicer nightly 2018-03-05, Windows 10):

1. Open fresh Slicer.
2. Create a transform node. Call it FirstTransformNode.
3. Save the scene.
4. Create a another transform node. Call it SecondTransformNode.
5. Make SecondTransformNode the parent of FirstTransformNode.
6. Save the scene.
7. Clear the scene.
8. Reload the saved scene created in Step 6.

In the reloaded scene, SecondTransformNode does not appear to be the parent of FirstTransformNode in the Data module GUI (transform hierarchy tab). Likewise, in the Transforms module, FirstTransformNode does not appear to be transformed by SecondTransformNode in the GUI. But I observe that if I check the parent node of FirstTransformNode through the Python interactor, it is SecondTransformNode. See commands below:

firstTransformNode = slicer.util.getNode( “FirstTransformNode” )  
parentTransformNode = firstTransformNode.GetParentTransformNode()  
print( parentTransformNode )

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2018, 6:26pm UTC](https://discourse.slicer.org/t/transform-hierarchy-in-data-module-not-showing-multiple-transforms-correctly/2153/12 "2018-03-10T18:26:24Z")

</div>

Thank you all, these steps helped a lot identifying the issue and develop a fix. See details in this issue: [https://issues.slicer.org/view.php?id=4080](https://issues.slicer.org/view.php?id=4080)
