# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?page=18

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

**Page:** 19

---

## [Hide node and refresh view](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 1\
**Last updated:** [July 4, 2024, 10:33am UTC](https://discourse.slicer.org/t/hide-node-and-refresh-view/37168 "2024-07-04T10:33:48Z")

</div>

Hi， I just loaded segment file nii.gz by API slicer.util.loadSegmentation, then i want to hide this node named “post\_result” auto vesselNode = vtkMRMLSegmentationNode::SafeDownCast( d-\>scene-\>GetFirstNodeByName("p…

---

## [Selecting input nodes in Slicer RT's Segment Comparison](https://discourse.slicer.org/t/selecting-input-nodes-in-slicer-rts-segment-comparison/37149)

<div class="topic-metadata">

**Author:** [@zehret](https://discourse.slicer.org/u/zehret)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 11:53am UTC](https://discourse.slicer.org/t/selecting-input-nodes-in-slicer-rts-segment-comparison/37149 "2024-07-03T11:53:49Z")

</div>

Hi, I am trying to use a python script to run the Slicer RT Segment Comparison module. I am able to load the module and create buttons to compute the Hausdorff Distance and DICE metrics. I am struggling to set the struc…

---

## [Trigger Click Event in Slice](https://discourse.slicer.org/t/trigger-click-event-in-slice/37167)

<div class="topic-metadata">

**Author:** [@Cagatay](https://discourse.slicer.org/u/Cagatay)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 8:53am UTC](https://discourse.slicer.org/t/trigger-click-event-in-slice/37167 "2024-07-03T08:53:06Z")

</div>

I want to move forward 10 slice when ckicking paint to make painting operation easier. How can i trigger a function when paint is clicked on slice?

---

## [GeoSlicer open source release](https://discourse.slicer.org/t/geoslicer-open-source-release/37157)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 7:48pm UTC](https://discourse.slicer.org/t/geoslicer-open-source-release/37157 "2024-07-02T19:48:22Z")

</div>

Hello everyone. As some of you may know, LTrace develops GeoSlicer in partnership with a major oil company in Brazil - PETROBRAS. The goal is to adapt 3D Slicer to analyze and process digital rock images. Last week we …

---

## [TBB DLL problem with new version of Visual Studio](https://discourse.slicer.org/t/tbb-dll-problem-with-new-version-of-visual-studio/36936)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 18\
**Last updated:** [July 2, 2024, 3:35pm UTC](https://discourse.slicer.org/t/tbb-dll-problem-with-new-version-of-visual-studio/36936 "2024-07-02T15:35:05Z")

</div>

Hi all, I recently encountered something really strange, and since I saw this problem on three different machines, I think it is caused by the latest versions of Visual Studio. If we build Slicer (in Debug or Release, …

---

## [How to use my own GUI](https://discourse.slicer.org/t/how-to-use-my-own-gui/36977)

<div class="topic-metadata">

**Author:** [@huwqchn](https://discourse.slicer.org/u/huwqchn)\
**Replies:** 4\
**Last updated:** [July 1, 2024, 6:53am UTC](https://discourse.slicer.org/t/how-to-use-my-own-gui/36977 "2024-07-01T06:53:54Z")

</div>

Hi, I’m a beginner, and I would like to ask how to develop my own GUI for Slicer.

---

## [Build extension that depends on other extensions](https://discourse.slicer.org/t/build-extension-that-depends-on-other-extensions/37089)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 6:36pm UTC](https://discourse.slicer.org/t/build-extension-that-depends-on-other-extensions/37089 "2024-06-28T18:36:13Z")

</div>

While the build documentation of Slicer is complete, I found it hard to build an extension that depends on other extensions and I had to come up on how to do it myself. So here is my code for that: I still don’t know t…

---

## [MONAI auto3dseg for pigs](https://discourse.slicer.org/t/monai-auto3dseg-for-pigs/37040)

<div class="topic-metadata">

**Author:** [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Replies:** 3\
**Last updated:** [June 28, 2024, 9:40am UTC](https://discourse.slicer.org/t/monai-auto3dseg-for-pigs/37040 "2024-06-28T09:40:57Z")

</div>

Hello, First of all, it’s been one year that I’ve been using 3DSlicer and I want to thanks everyone for this amazing tool and for their help in this forum :smile: We are looking for a way to automatically segment the o…

---

## [Loading scriptedCLI (python cli) modules with the extension](https://discourse.slicer.org/t/loading-scriptedcli-python-cli-modules-with-the-extension/37072)

<div class="topic-metadata">

**Author:** [@MartinBGregorio](https://discourse.slicer.org/u/MartinBGregorio)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 4:05pm UTC](https://discourse.slicer.org/t/loading-scriptedcli-python-cli-modules-with-the-extension/37072 "2024-06-27T16:05:59Z")

</div>

I am building a python extension that uses both scripted and scriptedcli modules. I am trying to streamline the installation process by simply dropping the extension folder inside the slicer window (equiv to using the ex…

---

## [Downstream Effects of Changing SegmentEditorWidget Source Volume](https://discourse.slicer.org/t/downstream-effects-of-changing-segmenteditorwidget-source-volume/37020)

<div class="topic-metadata">

**Author:** [@parikhmn](https://discourse.slicer.org/u/parikhmn)\
**Replies:** 0\
**Last updated:** [June 25, 2024, 9:13pm UTC](https://discourse.slicer.org/t/downstream-effects-of-changing-segmenteditorwidget-source-volume/37020 "2024-06-25T21:13:09Z")

</div>

Hello, I would love some help understanding the effect changing the source volume has on the SegmentEditorWidget. I recently ran into an issue where, after changing the source volume with setSourceVolumeNode(), the Thre…

---

## [Total segmentator fail](https://discourse.slicer.org/t/total-segmentator-fail/36960)

<div class="topic-metadata">

**Author:** [@changjiang](https://discourse.slicer.org/u/changjiang)\
**Replies:** 0\
**Last updated:** [June 23, 2024, 12:55am UTC](https://discourse.slicer.org/t/total-segmentator-fail/36960 "2024-06-23T00:55:28Z")

</div>

\[Python\] Failed to compute results. \[Python\] Command '\[‘C:/ProgramData/NA-MIC/Slicer 5.2.2/bin/…/bin\\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, 'https://github.com/wasserth/TotalSegmentator/archive/b38eb449ad8652a987878…

---

## [facing issue in make command](https://discourse.slicer.org/t/facing-issue-in-make-command/36976)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 2:07pm UTC](https://discourse.slicer.org/t/facing-issue-in-make-command/36976 "2024-06-24T14:07:58Z")

</div>

After giving make I am facing this issue HTTP/2 stream 0 was not closed cleanly: INTERNAL\_ERROR (err 2) stopped the pause stream! Connection #0 to host (nil) left intact make\[2\]: \*\*\* \[CMakeFiles/python-source.dir…

---

## [DICOMProcesses.py error](https://discourse.slicer.org/t/dicomprocesses-py-error/36963)

<div class="topic-metadata">

**Author:** [@Jennieyy](https://discourse.slicer.org/u/Jennieyy)\
**Replies:** 5\
**Last updated:** [June 24, 2024, 2:04pm UTC](https://discourse.slicer.org/t/dicomprocesses-py-error/36963 "2024-06-24T14:04:14Z")

</div>

Operating system:Windows11 Slicer version:5.6 Expected behavior: run a python script using 3D slicer Actual behavior: the 3D slicer source code give me a error I run a python script that creates a valid dataset from …

---

## [Calling scripted cli module Output](https://discourse.slicer.org/t/calling-scripted-cli-module-output/36962)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 6\
**Last updated:** [June 24, 2024, 10:53am UTC](https://discourse.slicer.org/t/calling-scripted-cli-module-output/36962 "2024-06-24T10:53:11Z")

</div>

I create a scripted cli module according to SlicerPythonCLIExample, and set print in .py file. #!/usr/bin/env python-real \` import os print("call vessel segment!")\` Then in a cpp file , it is called as below: Pytho…

---

## [New module to manually align 3D views](https://discourse.slicer.org/t/new-module-to-manually-align-3d-views/35634)

<div class="topic-metadata">

**Author:** [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Replies:** 9\
**Last updated:** [June 23, 2024, 3:12pm UTC](https://discourse.slicer.org/t/new-module-to-manually-align-3d-views/35634 "2024-06-23T15:12:14Z")

</div>

We have added a new module called QuickAlign to SlicerMorph. QuickAlign allows you manually orient two different 3D objects (can be both volume and model nodes), and create a synced view between them. This was initially …

---

## [Is it possible to have the segment name fields in the segment editor be like a combobox?](https://discourse.slicer.org/t/is-it-possible-to-have-the-segment-name-fields-in-the-segment-editor-be-like-a-combobox/36942)

<div class="topic-metadata">

**Author:** [@user543](https://discourse.slicer.org/u/user543)\
**Replies:** 2\
**Last updated:** [June 21, 2024, 8:03pm UTC](https://discourse.slicer.org/t/is-it-possible-to-have-the-segment-name-fields-in-the-segment-editor-be-like-a-combobox/36942 "2024-06-21T20:03:29Z")

</div>

We have a set of preset segment names that we would like to use, and it would speed up the workflow if the names can be set as the user starts typing to pick it more quickly from the list. Is this something that can be d…

---

## [Removing "ROI type" and "Inside Out" controls from qMRMLMarkupsROIWidget](https://discourse.slicer.org/t/removing-roi-type-and-inside-out-controls-from-qmrmlmarkupsroiwidget/36922)

<div class="topic-metadata">

**Author:** [@rasakereh](https://discourse.slicer.org/u/rasakereh)\
**Replies:** 3\
**Last updated:** [June 21, 2024, 7:17pm UTC](https://discourse.slicer.org/t/removing-roi-type-and-inside-out-controls-from-qmrmlmarkupsroiwidget/36922 "2024-06-21T19:17:15Z")

</div>

I am developing a plugin which uses “qMRMLMarkupsROIWidget” inside of it. However, I do not want the user to be able to change the ROI type to anything but “Box”. Additionally, I prefer to remove the checkbox labelled as…

---

## [Is it possible to use slicer as a service?](https://discourse.slicer.org/t/is-it-possible-to-use-slicer-as-a-service/36848)

<div class="topic-metadata">

**Author:** [@youngishcord](https://discourse.slicer.org/u/youngishcord)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 4:40pm UTC](https://discourse.slicer.org/t/is-it-possible-to-use-slicer-as-a-service/36848 "2024-06-19T16:40:08Z")

</div>

There is a plan to use a slicer to extract some data from the CT scan. The rest of the program architecture is deployed in Docker. The best option would be to connect celery and assign tasks through it, but it didn’t wo…

---

## [Apply paint using code](https://discourse.slicer.org/t/apply-paint-using-code/36686)

<div class="topic-metadata">

**Author:** [@Cagatay](https://discourse.slicer.org/u/Cagatay)\
**Replies:** 11\
**Last updated:** [June 19, 2024, 11:39am UTC](https://discourse.slicer.org/t/apply-paint-using-code/36686 "2024-06-19T11:39:38Z")

</div>

I want to put sphere brushes (i want to use paint) on scenes with given coordinates. But i couldnt find a way to use paint effect from segment editor in code. How can i use paint in code and paint the scene just in code(…

---

## [How to use qSlicerCoreIOManager::loadNodes to load dicom files by cpp](https://discourse.slicer.org/t/how-to-use-qslicercoreiomanager-loadnodes-to-load-dicom-files-by-cpp/36858)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 4\
**Last updated:** [June 19, 2024, 1:02am UTC](https://discourse.slicer.org/t/how-to-use-qslicercoreiomanager-loadnodes-to-load-dicom-files-by-cpp/36858 "2024-06-19T01:02:30Z")

</div>

To load dicom series “.dcm” file, code is as below qSlicerCoreIOManager\* ioManager = qSlicerCoreApplication::application()-\>coreIOManager(); properties\["fileName"\] = file; // the first file in series ioMana…

---

## [python script in slicer environment ](https://discourse.slicer.org/t/python-script-in-slicer-environment/36784)

<div class="topic-metadata">

**Author:** [@Adham](https://discourse.slicer.org/u/Adham)\
**Replies:** 4\
**Last updated:** [June 18, 2024, 3:04am UTC](https://discourse.slicer.org/t/python-script-in-slicer-environment/36784 "2024-06-18T03:04:19Z")

</div>

I’m running a python script using PythonSlicer myscript.py. Here is my script: import slicer directory = "/path/to/files" loadedVolumeNode = slicer.util.loadVolume(directory, {"singleFile": False}) I got this error m…

---

## [Transfering a module from Linux to Windows](https://discourse.slicer.org/t/transfering-a-module-from-linux-to-windows/36819)

<div class="topic-metadata">

**Author:** [@Saman\_Fouladi](https://discourse.slicer.org/u/Saman_Fouladi)\
**Replies:** 2\
**Last updated:** [June 17, 2024, 8:38am UTC](https://discourse.slicer.org/t/transfering-a-module-from-linux-to-windows/36819 "2024-06-17T08:38:03Z")

</div>

Hello. we developed a custom module on Linux using 3d slicer v 4.11.20210226 and I want to transfer and run this module on windows. I installed the same version of 3d Slicer on windows too. When I want to add my module t…

---

## [Use SlicerOpenIGTLink module in mainwindow of customized Slicer](https://discourse.slicer.org/t/use-sliceropenigtlink-module-in-mainwindow-of-customized-slicer/36425)

<div class="topic-metadata">

**Author:** [@schcat](https://discourse.slicer.org/u/schcat)\
**Replies:** 4\
**Last updated:** [June 16, 2024, 2:03am UTC](https://discourse.slicer.org/t/use-sliceropenigtlink-module-in-mainwindow-of-customized-slicer/36425 "2024-06-16T02:03:37Z")

</div>

I am developing customized Slicer by SlicerCAT. I added an button to toolbar of slicer mainwindow to allow toggling IGTLConnector. So I import vtkMRMLIGTLConnectorNode.h file of SlicerOpenIGTLink module in c++ code. But …

---

## [Apply transform matirx to only specific 2D view](https://discourse.slicer.org/t/apply-transform-matirx-to-only-specific-2d-view/36273)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 5\
**Last updated:** [June 15, 2024, 6:28pm UTC](https://discourse.slicer.org/t/apply-transform-matirx-to-only-specific-2d-view/36273 "2024-06-15T18:28:59Z")

</div>

Hi all, I tried to apply a transform matirx to specific slice view. For example… I have volume or model data A, B, C, D, and a transform matrix T (non-linear). I want to apply T only in the Red View and not in the Yell…

---

## [Extract the annotated plane in 3D image](https://discourse.slicer.org/t/extract-the-annotated-plane-in-3d-image/36799)

<div class="topic-metadata">

**Author:** [@musheng0624](https://discourse.slicer.org/u/musheng0624)\
**Replies:** 1\
**Last updated:** [June 15, 2024, 5:12am UTC](https://discourse.slicer.org/t/extract-the-annotated-plane-in-3d-image/36799 "2024-06-15T05:12:02Z")

</div>

I am doing a view plane localization research. First I need to annotate the plane as the ground-truth. I use the “Markups” module of 3D Slicer to annotate the plane. But after i annotated the plane and export the json fi…

---

## [Develop tool to detect group of features in images](https://discourse.slicer.org/t/develop-tool-to-detect-group-of-features-in-images/36538)

<div class="topic-metadata">

**Author:** [@sajad\_amiri](https://discourse.slicer.org/u/sajad_amiri)\
**Replies:** 10\
**Last updated:** [June 14, 2024, 9:35am UTC](https://discourse.slicer.org/t/develop-tool-to-detect-group-of-features-in-images/36538 "2024-06-14T09:35:31Z")

</div>

as a clinician and researcher I found that it is important to know which radiomics features occur in a specific part of our dicom file, I have ideas to solve this, but I need a collaborative group

---

## [How to convert PyQt Gui interface running in python into module in 3D slicer](https://discourse.slicer.org/t/how-to-convert-pyqt-gui-interface-running-in-python-into-module-in-3d-slicer/36366)

<div class="topic-metadata">

**Author:** [@Cathy123](https://discourse.slicer.org/u/Cathy123)\
**Replies:** 2\
**Last updated:** [June 14, 2024, 7:03am UTC](https://discourse.slicer.org/t/how-to-convert-pyqt-gui-interface-running-in-python-into-module-in-3d-slicer/36366 "2024-06-14T07:03:13Z")

</div>

I have a GUI interface that can be runned in Python. Now I hope to intergrate the GUI into 3Dslicer. How to do it. My gui was based on PyQt5 and vtk package and 3D slicer doesn’t support PyQt5, so how to do it.My file is…

---

## [Create pdf report for custom application](https://discourse.slicer.org/t/create-pdf-report-for-custom-application/18780)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [June 13, 2024, 11:14pm UTC](https://discourse.slicer.org/t/create-pdf-report-for-custom-application/18780 "2024-06-13T23:14:46Z")

</div>

Hi. I’m making an application for PedicleScrewPlanning. After the screws positions and orientations has been selected it is useful to make a pdf report showing the different views for each screw for the surgeon to use in…

---

## [Optimizing Build Time and Implements in SlicerCustomAppTemplate](https://discourse.slicer.org/t/optimizing-build-time-and-implements-in-slicercustomapptemplate/36690)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 9:35pm UTC](https://discourse.slicer.org/t/optimizing-build-time-and-implements-in-slicercustomapptemplate/36690 "2024-06-13T21:35:27Z")

</div>

Hello all, I’m looking to create a working environment using SlicerCustomAppTemplate. There are three main things I want to do: Modify and add code such as .cxx files within the CustomApp/Application folder. Modify an…

---

## [Can a widget developed with PyQt be loaded and displayed in C++?](https://discourse.slicer.org/t/can-a-widget-developed-with-pyqt-be-loaded-and-displayed-in-c/36753)

<div class="topic-metadata">

**Author:** [@herryliq](https://discourse.slicer.org/u/herryliq)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 10:43am UTC](https://discourse.slicer.org/t/can-a-widget-developed-with-pyqt-be-loaded-and-displayed-in-c/36753 "2024-06-13T10:43:31Z")

</div>

Background: Custom development based on 3DSlicer. Need a common header that displays different page names during screen transitions. Considering the complexity of C++ development, I would like to develop a common widg…

[Previous page](https://discourse.slicer.org/c/dev/5.md?page=17)

[Next page](https://discourse.slicer.org/c/dev/5.md?page=19)
