# How create new GUI module in 3DSlicer?

**URL:** https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118
**Category:** Support
**Created:** [September 14, 2018, 2:54pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118 "2018-09-14T14:54:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)
#### Post date: [September 14, 2018, 2:54pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/1 "2018-09-14T14:54:33Z")

</div>

Hi dear users and developers.

How can I create new module for 3DSlicer?

I want create new module that is accessible for 3DSlicer users. This module can used in the radiotherapy research. Plastimatch is used in this module.

What are the steps in the process?  
Please guide me.  
Shahrokh

---

<div class="post-metadata">

### Author: ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)
#### Post date: [September 14, 2018, 3:12pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/2 "2018-09-14T15:12:17Z")

</div>

[https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Module](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Module)  
[https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules)  
[https://www.slicer.org/wiki/Documentation/4.8/Training#Programming](https://www.slicer.org/wiki/Documentation/4.8/Training#Programming)

---

<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: [September 14, 2018, 3:12pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/3 "2018-09-14T15:12:52Z")

</div>

You can checkout this demo:

[https://www.slicer.org/wiki/Documentation/4.8/Training#Developing\_and\_contributing\_extensions\_for\_3D\_Slicer](https://www.slicer.org/wiki/Documentation/4.8/Training#Developing_and_contributing_extensions_for_3D_Slicer)

---

<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: [September 14, 2018, 3:15pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/4 "2018-09-14T15:15:22Z")

</div>

> [@shahrokh](#):
>
> This module can used in the radiotherapy research

What the module will do?

---

<div class="post-metadata">

### Author: ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)
#### Post date: [September 14, 2018, 3:22pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/5 "2018-09-14T15:22:30Z")

</div>

This module can used in the dosimetry in radiotherapy with the name of “EPID Dosimetry”. With this module, users can calculate 3D absorbed dose in CT using EPID images of water slab phantom… The results of it can compare with RTDose of TPS with SlicerRT module.

---

<div class="post-metadata">

### Author: ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)
#### Post date: [September 14, 2018, 3:25pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/6 "2018-09-14T15:25:00Z")

</div>

Also using this module,“EPID Dosimetry”, dosimetrists can do quality assurance of TPS.

---

<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: [September 14, 2018, 3:37pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/7 "2018-09-14T15:37:41Z")

</div>

Sounds good. Note that there are extensions for TPS quality assurance using [3D gel dosimetry](https://www.slicer.org/wiki/Documentation/Nightly/Modules/GelDosimetry) and [film dosimetry](https://www.slicer.org/wiki/Documentation/Nightly/Modules/FilmDosimetry) developed by @cpinter. You can start by extending or cloning&modifying these extensions.

---

<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: [September 14, 2018, 3:58pm UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/8 "2018-09-14T15:58:52Z")

</div>

Right. [Film dosimetry](https://www.slicer.org/wiki/Documentation/Nightly/Modules/FilmDosimetry) is a working prototype for 2D dosimetry. Please check it out before starting your own module from scratch. We’re planning to improve it in the near future so if you have specific requests then we’ll take them into account as well. Thanks!

---

<div class="post-metadata">

### Author: ![shahrokh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shahrokh/32/1499_2.png) [@shahrokh](https://discourse.slicer.org/u/shahrokh)
#### Post date: [September 15, 2018, 7:30am UTC](https://discourse.slicer.org/t/how-create-new-gui-module-in-3dslicer/4118/9 "2018-09-15T07:30:49Z")

</div>

Dear Csaba

Excuse me to later reply. I hope this work will be done with your help and comments in the form of a partnership. I’m trying to prepare a flowchart including plastimatch commands and practical measurement to create a new module in order to patient dosimetry and double check TPS.

Thanks a lot.  
Shahrokh
