# Display batches of volumes on a grid/line in 3D view

**URL:** <https://discourse.slicer.org/t/display-batches-of-volumes-on-a-grid-line-in-3d-view/19951>\
**Category:** Feature requests\
**Created:** [October 1, 2021, 2:17pm UTC](https://discourse.slicer.org/t/display-batches-of-volumes-on-a-grid-line-in-3d-view/19951 "2021-10-01T14:17:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonasLamy](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@JonasLamy](https://discourse.slicer.org/u/JonasLamy)\
**Post date:** [October 1, 2021, 2:17pm UTC](https://discourse.slicer.org/t/display-batches-of-volumes-on-a-grid-line-in-3d-view/19951/1 "2021-10-01T14:17:22Z")

</div>

Hi,

I’ve been using slicer for over 2 years now, it is a great software but the highly modular aspect is a pain to use sometimes.

In particular, visualizing batches of results is really time consuming…

 ![volumes_3D](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/c/2c16767ba44e53482c60cb2be35f476caef454bb.jpeg)

Usually, to get this type of visualization, I have to manually go over all the volumes, set the right property for intensities and colors, change the volumes origin and maybe use a transform…

Here are my questions:

- Is there a tool to group volumes and apply property changes on a group ? Something along the line of transforms but for properties…

- Is there an existing tool to display volumes along a line or a grid ? I tried to assign several linear transforms to the same volume, but I couldn’t do so…

- Would it be possible for 2D views to have an option to de-correlate origin positions when putting 2 volumes on the same view ? With the set up above, I can’t superpose the volumes with the groundtruth…

 ![volumes_2D](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/f/4f6be83ec9ffd511cb329946d61d55b1c4b8b11b.png)

Cheers,  
Jonas

---

<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:** [October 1, 2021, 7:42pm UTC](https://discourse.slicer.org/t/display-batches-of-volumes-on-a-grid-line-in-3d-view/19951/2 "2021-10-01T19:42:17Z")

</div>

You can use examples in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html) how to set up everything you need with a short Python script. If you want to avoid copy-pasting then you can [convert the script into a small Python scripted module](https://slicer.readthedocs.io/en/latest/developer_guide/api.html#tutorials).

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 1, 2021, 7:44pm UTC](https://discourse.slicer.org/t/display-batches-of-volumes-on-a-grid-line-in-3d-view/19951/3 "2021-10-01T19:44:58Z")

</div>

You can look at the [CompareVolumes](https://github.com/pieper/CompareVolumes) module for ideas.
