# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=72

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

**Page:** 73

---

## [Showing Segmentation on Top of A Volume](https://discourse.slicer.org/t/showing-segmentation-on-top-of-a-volume/18715)

<div class="topic-metadata">

**Author:** [@ColdFour](https://discourse.slicer.org/u/ColdFour)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 10:54pm UTC](https://discourse.slicer.org/t/showing-segmentation-on-top-of-a-volume/18715 "2021-07-14T22:54:19Z")

</div>

Hello all, I’m currently making an extension that has some heart-related features, I give the currently displayed VolumeNode array to a Deep Learning model to get an array of the heart’s segmentation, then load it into …

---

## [Automation of creating voxel histograms of segmentation data](https://discourse.slicer.org/t/automation-of-creating-voxel-histograms-of-segmentation-data/18736)

<div class="topic-metadata">

**Author:** [@Griffin](https://discourse.slicer.org/u/Griffin)\
**Replies:** 3\
**Last updated:** [July 14, 2021, 7:59pm UTC](https://discourse.slicer.org/t/automation-of-creating-voxel-histograms-of-segmentation-data/18736 "2021-07-14T19:59:41Z")

</div>

I am fairly new to 3d slicer but I am trying to figure out how and I automate or speed up the process of getting a histogram of voxel data from a segmented section. I have been able to do this for one segment at a time t…

---

## [How do I translate the 3D Slicer interface into another language?](https://discourse.slicer.org/t/how-do-i-translate-the-3d-slicer-interface-into-another-language/18719)

<div class="topic-metadata">

**Author:** [@Viacheslav](https://discourse.slicer.org/u/Viacheslav)\
**Replies:** 3\
**Last updated:** [July 14, 2021, 4:59pm UTC](https://discourse.slicer.org/t/how-do-i-translate-the-3d-slicer-interface-into-another-language/18719 "2021-07-14T16:59:07Z")

</div>

Hi all, I enabled Slicer\_BUILD\_I18N\_SUPPORT support in CMake, the .ts and .qm files for the desired language were created after compiling the solution and the language selection appeared in the UI. Using Qt Linguist, I t…

---

## [Change the splash screen of Slicer upon launch](https://discourse.slicer.org/t/change-the-splash-screen-of-slicer-upon-launch/18478)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 6\
**Last updated:** [July 14, 2021, 3:05pm UTC](https://discourse.slicer.org/t/change-the-splash-screen-of-slicer-upon-launch/18478 "2021-07-14T15:05:56Z")

</div>

I’ve fiddled around with editing the filepath in SlicerApp.arc as well as slicerlaunchersettings.ini to no avail. Could someone please help me? I have a custom .png file I’d like to change to.

---

## [Design of rigid tracker for optical tracking](https://discourse.slicer.org/t/design-of-rigid-tracker-for-optical-tracking/18614)

<div class="topic-metadata">

**Author:** [@drvarunagarwal](https://discourse.slicer.org/u/drvarunagarwal)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 3:56am UTC](https://discourse.slicer.org/t/design-of-rigid-tracker-for-optical-tracking/18614 "2021-07-14T03:56:09Z")

</div>

Hi, I am trying to setup optitrack duo for optical tracking via slicer IGT. I am using motive to design tracker as guided in the plustoolkit guide. My question is regarding pivot point of the tracker. The reflective …

---

## [CLI start 3d slicer with specific module loaded](https://discourse.slicer.org/t/cli-start-3d-slicer-with-specific-module-loaded/18657)

<div class="topic-metadata">

**Author:** [@talmazov](https://discourse.slicer.org/u/talmazov)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 3:17pm UTC](https://discourse.slicer.org/t/cli-start-3d-slicer-with-specific-module-loaded/18657 "2021-07-13T15:17:55Z")

</div>

Hey, I am trying to start 3D Slicer from another script via CLI. the slicer instance should be windowed and startup w/ specific module showing, instead of the ‘welcome’ UI. Is this possible? Thanks!

---

## [Segment Editor "Effects" Panel](https://discourse.slicer.org/t/segment-editor-effects-panel/18646)

<div class="topic-metadata">

**Author:** [@OpenSource\_Contri](https://discourse.slicer.org/u/OpenSource_Contri)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 7:38pm UTC](https://discourse.slicer.org/t/segment-editor-effects-panel/18646 "2021-07-12T19:38:42Z")

</div>

I wanted to change the state of icons present in “Effects” panel of Segment Editor when clicked. When we click any icon in effects panel the we do not able to differentiate which icon is currently in use. For example -…

---

## [VMTK extract centerline fails with VMTK using VTK9](https://discourse.slicer.org/t/vmtk-extract-centerline-fails-with-vmtk-using-vtk9/18644)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 7:29pm UTC](https://discourse.slicer.org/t/vmtk-extract-centerline-fails-with-vmtk-using-vtk9/18644 "2021-07-12T19:29:10Z")

</div>

Using 4.13.0-2021-07-11 r30039 / 27f99af factory built, and factory SlicerVMTK-Extension on Arch Linux. Network models and curves are generated. — Tree model fails : 0 point, 0 cell. No errors in Python console. Appli…

---

## [Slicer source code for stl file extraction](https://discourse.slicer.org/t/slicer-source-code-for-stl-file-extraction/18636)

<div class="topic-metadata">

**Author:** [@11116](https://discourse.slicer.org/u/11116)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 5:36pm UTC](https://discourse.slicer.org/t/slicer-source-code-for-stl-file-extraction/18636 "2021-07-12T17:36:29Z")

</div>

Hi, I want to see 3d slicer source code for the STL file extraction of a multi label image in python.Where can i find it? I want to extract an aggregated mess for all labels. Thank you in advance for your help, Spyri…

---

## [Radius of vessels](https://discourse.slicer.org/t/radius-of-vessels/18535)

<div class="topic-metadata">

**Author:** [@AshvinGupta](https://discourse.slicer.org/u/AshvinGupta)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 2:36pm UTC](https://discourse.slicer.org/t/radius-of-vessels/18535 "2021-07-12T14:36:05Z")

</div>

Hello, I am using the VMTK extension to first find the centreline of a vessel from a dicom image. I then want to find the radius of the vessel at particular points, such as the control points. Is there any way to easily…

---

## [No such module "MinimalPathExtraction" ITK module not found](https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573)

<div class="topic-metadata">

**Author:** [@Mahesh\_Timmanagoudar](https://discourse.slicer.org/u/Mahesh_Timmanagoudar)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 1:14pm UTC](https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573 "2021-07-12T13:14:01Z")

</div>

Hello, I am building TubeTK with latest slicer repository. TubeTK I have cloned from the following link. https://github.com/InsightSoftwareConsortium/ITKTubeTK While I am building slicer along with TubeTK I got the b…

---

## [Marking points on images](https://discourse.slicer.org/t/marking-points-on-images/18610)

<div class="topic-metadata">

**Author:** [@anitakh1](https://discourse.slicer.org/u/anitakh1)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 4:17am UTC](https://discourse.slicer.org/t/marking-points-on-images/18610 "2021-07-12T04:17:03Z")

</div>

Sir, how to i mark 0s and 1s as point coordinates in different colors in an image using 3D slicer?

---

## [Model hiearchy visibility returns an exception](https://discourse.slicer.org/t/model-hiearchy-visibility-returns-an-exception/18344)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.slicer.org/u/Amine)\
**Replies:** 10\
**Last updated:** [July 10, 2021, 5:03pm UTC](https://discourse.slicer.org/t/model-hiearchy-visibility-returns-an-exception/18344 "2021-07-10T17:03:46Z")

</div>

HI, I made a script to find out which models are visible both individually and in the hiearchy ( hidden hierarchy is independent of individual model visibility so both have to be True for the model to be effectively visi…

---

## [List of all island sizes?](https://discourse.slicer.org/t/list-of-all-island-sizes/18591)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 3\
**Last updated:** [July 9, 2021, 12:04pm UTC](https://discourse.slicer.org/t/list-of-all-island-sizes/18591 "2021-07-09T12:04:50Z")

</div>

Is there an incantation in vtk (maybe in vtkIslandMath?) that will give a list of the sizes of all islands?

---

## [Edit UI cant open in build version of slicer 4.13.0-2021-04-28](https://discourse.slicer.org/t/edit-ui-cant-open-in-build-version-of-slicer-4-13-0-2021-04-28/18553)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 5:43am UTC](https://discourse.slicer.org/t/edit-ui-cant-open-in-build-version-of-slicer-4-13-0-2021-04-28/18553 "2021-07-09T05:43:43Z")

</div>

cant open edit UI for build version of the slicer 4.13.0-2021-04-28. regards, Saima Safdar

---

## [Paint Segment Using Data Points in Python](https://discourse.slicer.org/t/paint-segment-using-data-points-in-python/18537)

<div class="topic-metadata">

**Author:** [@tpereira](https://discourse.slicer.org/u/tpereira)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 5:17am UTC](https://discourse.slicer.org/t/paint-segment-using-data-points-in-python/18537 "2021-07-09T05:17:44Z")

</div>

Hi, so I have a series of (x,y,z) data points. I want to create a segmentation that will use paint to set the location and paint a sphere with a diameter of 3 at that location using code. I would be adding this to an exi…

---

## [Adjust opacity of scalar value](https://discourse.slicer.org/t/adjust-opacity-of-scalar-value/18519)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 1\
**Last updated:** [July 9, 2021, 5:09am UTC](https://discourse.slicer.org/t/adjust-opacity-of-scalar-value/18519 "2021-07-09T05:09:07Z")

</div>

Hello, Just wondering if it’s possible to adjust the opacity of a model’s scalar (not the opacity of the model display node) programmatically? For example, something like: model.GetDisplayNode().SetScalarOpacity(x) N…

---

## [How to add threshold computation and make the button apply to work](https://discourse.slicer.org/t/how-to-add-threshold-computation-and-make-the-button-apply-to-work/18492)

<div class="topic-metadata">

**Author:** [@rafael.cristo](https://discourse.slicer.org/u/rafael.cristo)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 4:46pm UTC](https://discourse.slicer.org/t/how-to-add-threshold-computation-and-make-the-button-apply-to-work/18492 "2021-07-07T16:46:44Z")

</div>

Hi, everyone. I am trying to implement a python code to create a module in 3d slicer, howevery I don’t know how to activate the button apply. Basically I have an input volume that will be 1 or 0 comparing with a thresho…

---

## [Enable markup plane visibility programmatically](https://discourse.slicer.org/t/enable-markup-plane-visibility-programmatically/18494)

<div class="topic-metadata">

**Author:** [@tpereira](https://discourse.slicer.org/u/tpereira)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 5:42pm UTC](https://discourse.slicer.org/t/enable-markup-plane-visibility-programmatically/18494 "2021-07-06T17:42:36Z")

</div>

So I created a markups plane using the code and now I was to make the interaction handles visible. I know you can just select the box in the markups menu but I am trying to automate as much of the process as possible so …

---

## [Drive letter mappings in Slicer Python](https://discourse.slicer.org/t/drive-letter-mappings-in-slicer-python/18536)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 3\
**Last updated:** [July 6, 2021, 5:31pm UTC](https://discourse.slicer.org/t/drive-letter-mappings-in-slicer-python/18536 "2021-07-06T17:31:15Z")

</div>

Is there an easy way to give the Slicer copy of Python access to the network drive letter mappings so that I can use something like os.path.realpath() in my Slicer modules? Right now my local (non-Slicer) copy of Python…

---

## [How to access QVTK... classes in Python](https://discourse.slicer.org/t/how-to-access-qvtk-classes-in-python/18521)

<div class="topic-metadata">

**Author:** [@MarineC](https://discourse.slicer.org/u/MarineC)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 3:00pm UTC](https://discourse.slicer.org/t/how-to-access-qvtk-classes-in-python/18521 "2021-07-06T15:00:14Z")

</div>

Hi everyone ! I need to use a VTK function called QVTKOpenGLStereoWidget in Python. I saw a vtk example where they did this way : from PyQt4 import QtGui from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindow…

---

## [Reloading scripted extension with multiple files](https://discourse.slicer.org/t/reloading-scripted-extension-with-multiple-files/18514)

<div class="topic-metadata">

**Author:** [@LorenzE](https://discourse.slicer.org/u/LorenzE)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 9:47am UTC](https://discourse.slicer.org/t/reloading-scripted-extension-with-multiple-files/18514 "2021-07-06T09:47:32Z")

</div>

I am trying to reload a scripted python extension with multiple .py files. Some of them are located in subfolders, see below for example. extension\_name/ ├── service/ │ ├── logic.py │ └── gui.py └── extension\_na…

---

## [Feedback requested: Requirements to place a fiducial](https://discourse.slicer.org/t/feedback-requested-requirements-to-place-a-fiducial/18407)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 22\
**Last updated:** [July 3, 2021, 6:26pm UTC](https://discourse.slicer.org/t/feedback-requested-requirements-to-place-a-fiducial/18407 "2021-07-03T18:26:24Z")

</div>

I’m looking to get feedback from users based on some recently changed behavior as it relates to placing fiducials. This post is originally motivated by a bug report I issued at Unable to place markups points while moving…

---

## [Left and Right Panel Ratio](https://discourse.slicer.org/t/left-and-right-panel-ratio/18377)

<div class="topic-metadata">

**Author:** [@OpenSource\_Contri](https://discourse.slicer.org/u/OpenSource_Contri)\
**Replies:** 5\
**Last updated:** [July 2, 2021, 6:28pm UTC](https://discourse.slicer.org/t/left-and-right-panel-ratio/18377 "2021-07-02T18:28:51Z")

</div>

I want to know how the ratio of left panel and right panel work in slicer, which can be adjust by us. Which Slicer code-base file I have to explore to learn “how this actually work with the help of particular program”? T…

---

## [Get individual control point from a combobox in a scripted module](https://discourse.slicer.org/t/get-individual-control-point-from-a-combobox-in-a-scripted-module/18468)

<div class="topic-metadata">

**Author:** [@Yihao\_Liu](https://discourse.slicer.org/u/Yihao_Liu)\
**Replies:** 4\
**Last updated:** [July 2, 2021, 6:19pm UTC](https://discourse.slicer.org/t/get-individual-control-point-from-a-combobox-in-a-scripted-module/18468 "2021-07-02T18:19:01Z")

</div>

How to select an individual control point from a combobox? I attempted to do this by a qMRMLNodeComboBox, with its node type as “vtkMRMLMarkupsFiducialNode”. This can only allow selecting a node which contains multiple …

---

## [Why launch models, the software automately switch model to "Welcome"](https://discourse.slicer.org/t/why-launch-models-the-software-automately-switch-model-to-welcome/18423)

<div class="topic-metadata">

**Author:** [@lyhsky123](https://discourse.slicer.org/u/lyhsky123)\
**Replies:** 2\
**Last updated:** [July 2, 2021, 5:13am UTC](https://discourse.slicer.org/t/why-launch-models-the-software-automately-switch-model-to-welcome/18423 "2021-07-02T05:13:41Z")

</div>

how to launch models, the software automately switch model to “Welcome” everytime.

---

## [Packaging error](https://discourse.slicer.org/t/packaging-error/18445)

<div class="topic-metadata">

**Author:** [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Replies:** 1\
**Last updated:** [July 2, 2021, 4:16am UTC](https://discourse.slicer.org/t/packaging-error/18445 "2021-07-02T04:16:12Z")

</div>

Hello everyone, I made some minor changes to the successful 3D slicer. When I packaged the software, there was an error seriousness code explain project file that 's ok Disable display status error MSB6006 “ “CMD. Exe”…

---

## [Connecting widget callback with custom logic signal/event in a scripted module](https://discourse.slicer.org/t/connecting-widget-callback-with-custom-logic-signal-event-in-a-scripted-module/18469)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 1\
**Last updated:** [July 1, 2021, 10:52pm UTC](https://discourse.slicer.org/t/connecting-widget-callback-with-custom-logic-signal-event-in-a-scripted-module/18469 "2021-07-01T22:52:14Z")

</div>

Hi, I’m trying to connect a callback in the widget class of my scripted module with a custom event of the logic class. My first attempt has been with the Qt signal/slot system, much like in this post. My code looks lik…

---

## [How to create icon drop down like in slicer from script?](https://discourse.slicer.org/t/how-to-create-icon-drop-down-like-in-slicer-from-script/18416)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 3\
**Last updated:** [July 1, 2021, 12:12pm UTC](https://discourse.slicer.org/t/how-to-create-icon-drop-down-like-in-slicer-from-script/18416 "2021-07-01T12:12:32Z")

</div>

I was able to create an icon drop-down from python-qt5 by setting the text argument to empty text. But it’s not at looking good, I want icon drop-down as it looks in slicer. How can I create it from script?

---

## [Ruler and grid system working](https://discourse.slicer.org/t/ruler-and-grid-system-working/18440)

<div class="topic-metadata">

**Author:** [@Kshitij\_Panchal](https://discourse.slicer.org/u/Kshitij_Panchal)\
**Replies:** 2\
**Last updated:** [July 1, 2021, 2:04am UTC](https://discourse.slicer.org/t/ruler-and-grid-system-working/18440 "2021-07-01T02:04:47Z")

</div>

Hello. I am currently trying to understand the code of slicer and got stuck at how ruler and grid system works here. I understand that there are three text types for ruler and according to that, the ruler get displayed.…

[Previous page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=71)

[Next page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=73)
