# Can I make IGT-Volume Reslice Driver run automatically after an event?

**URL:** <https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215>\
**Category:** Development\
**Tags:** python\
**Created:** [February 25, 2021, 4:01pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215 "2021-02-25T16:01:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay\_pillai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akshay_pillai/32/8301_2.png) [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Post date:** [February 25, 2021, 4:01pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215/1 "2021-02-25T16:01:01Z")

</div>

Operating system:Windows 10  
Slicer version:4.11.20200930

I want to use the IGTs Volume Reslice driver to move along a transform path, I can do that manually by opening the volume reslice driver module and selecting the transform path and planes. But is there any way I can do that programmatically as soon as a transform is created? For example: I am using endoscopy module to create a transform curve and now I want the volume reslice driver to take the transform without me going into the module manually. Any help is appreciated. Thanks.

---

<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 25, 2021, 4:33pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215/2 "2021-02-25T16:33:20Z")

</div>

This is implemented in [Cross section analysis module](https://github.com/vmtk/SlicerExtension-VMTK/tree/master/CrossSectionAnalysis) in SlicerVMTK extension.

---

<div class="post-metadata">

**Author:** ![akshay\_pillai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akshay_pillai/32/8301_2.png) [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Post date:** [February 25, 2021, 4:46pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215/3 "2021-02-25T16:46:06Z")

</div>

Thanks. I saw the Cross-section analysis module but it doesn’t seem to take the transform as an input. I was looking for something that takes a linear transforms node when it is created. Or maybe I don’t completely understand cross section analysis

---

<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 25, 2021, 4:50pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215/4 "2021-02-25T16:50:06Z")

</div>

Cross-section analysis module shows how you can have volume reslicing functionality in a few lines of code, without relying on Volume reslice driver module. If you implement your own scripted module then it is probably simpler to reslice yourself than configure Volume reslice driver module.
