# Development

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

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

**Page:** 32

---

## [Build error when building SlicerVMTK extension](https://discourse.slicer.org/t/build-error-when-building-slicervmtk-extension/30383)

<div class="topic-metadata">

**Author:** [@paul.w](https://discourse.slicer.org/u/paul.w)\
**Replies:** 10\
**Last updated:** [July 4, 2023, 5:37pm UTC](https://discourse.slicer.org/t/build-error-when-building-slicervmtk-extension/30383 "2023-07-04T17:37:39Z")

</div>

Build error raised when building SlicerVMTK extension SlicerExtension-VMTK within VS2022, the error code shows below: The Slicer 5.3.0 has been successfully built with Release, thus the environment should be okay, w…

---

## [How to use my custom qt-widget in python?](https://discourse.slicer.org/t/how-to-use-my-custom-qt-widget-in-python/31327)

<div class="topic-metadata">

**Author:** [@shanfl](https://discourse.slicer.org/u/shanfl)\
**Replies:** 2\
**Last updated:** [August 24, 2023, 1:33pm UTC](https://discourse.slicer.org/t/how-to-use-my-custom-qt-widget-in-python/31327 "2023-08-24T13:33:37Z")

</div>

I create a Qt widget named ‘MyWidget’ in Modules-Markups-Widgets project.but in python script , it occour error,say: slicer.MyWidget is not found ,but slicer.qSlicerSimpleMarkupsWidget can use. my ‘MyWidget’ and qSli…

---

## [Is it possible to make crosshair node invisible in yellow slice view window?](https://discourse.slicer.org/t/is-it-possible-to-make-crosshair-node-invisible-in-yellow-slice-view-window/31304)

<div class="topic-metadata">

**Author:** [@icedream](https://discourse.slicer.org/u/icedream)\
**Replies:** 3\
**Last updated:** [August 24, 2023, 11:37am UTC](https://discourse.slicer.org/t/is-it-possible-to-make-crosshair-node-invisible-in-yellow-slice-view-window/31304 "2023-08-24T11:37:02Z")

</div>

i have found some code to make node with display node to be invisible in yellow slice view window like the code below pointListNode = getNode("F") pointListDisplayNode = pointListNode.GetDisplayNode() pointListDisplayNo…

---

## [Working on a CZI Zeiss microscopy image stack reader for 3D slicer, any help or advice welcome](https://discourse.slicer.org/t/working-on-a-czi-zeiss-microscopy-image-stack-reader-for-3d-slicer-any-help-or-advice-welcome/30769)

<div class="topic-metadata">

**Author:** [@EgorZindy](https://discourse.slicer.org/u/EgorZindy)\
**Replies:** 11\
**Last updated:** [August 24, 2023, 10:15am UTC](https://discourse.slicer.org/t/working-on-a-czi-zeiss-microscopy-image-stack-reader-for-3d-slicer-any-help-or-advice-welcome/30769 "2023-08-24T10:15:54Z")

</div>

Some general info: Operating system: Windows 10 Slicer version: 5.3.0 - 2023.06.17 Expected behavior: 3D stack(s) imported from a CZI scene with minimum hassle for the user… Actual behavior: Work in progress, 3D view …

---

## [Arithmetic about apply regularization transform](https://discourse.slicer.org/t/arithmetic-about-apply-regularization-transform/31308)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 5\
**Last updated:** [August 23, 2023, 3:22pm UTC](https://discourse.slicer.org/t/arithmetic-about-apply-regularization-transform/31308 "2023-08-23T15:22:54Z")

</div>

I am developing an independent software for my clients. I need this function to correct the data. The tilt value can be found in Tag, but how to make changes to the data, I searched the source code, but I can’t fi…

---

## [How to select python interpreter in Slicer on VSCode?](https://discourse.slicer.org/t/how-to-select-python-interpreter-in-slicer-on-vscode/29834)

<div class="topic-metadata">

**Author:** [@wrc](https://discourse.slicer.org/u/wrc)\
**Replies:** 9\
**Last updated:** [August 23, 2023, 12:45pm UTC](https://discourse.slicer.org/t/how-to-select-python-interpreter-in-slicer-on-vscode/29834 "2023-08-23T12:45:20Z")

</div>

Hello, I failed to select python interpreter in Slicer on VSCode. The system is MacOS 13.4. I also tried other IDE but no success. However, I can run python script by python interpreter in Slicer from Terminal. Here is …

---

## [Suggestion for Module Extension Development with SimpleITK and ITK-elastix](https://discourse.slicer.org/t/suggestion-for-module-extension-development-with-simpleitk-and-itk-elastix/31300)

<div class="topic-metadata">

**Author:** [@calici](https://discourse.slicer.org/u/calici)\
**Replies:** 0\
**Last updated:** [August 22, 2023, 7:53pm UTC](https://discourse.slicer.org/t/suggestion-for-module-extension-development-with-simpleitk-and-itk-elastix/31300 "2023-08-22T19:53:57Z")

</div>

Hi, I would like to develop a module extension in 3D slicer for projecting planned needle trajectories to current image by registering pre-operative CT to intra-operative CT. I have already object-oriented python scrip…

---

## [Intersection line problem](https://discourse.slicer.org/t/intersection-line-problem/31262)

<div class="topic-metadata">

**Author:** [@icedream](https://discourse.slicer.org/u/icedream)\
**Replies:** 4\
**Last updated:** [August 22, 2023, 2:19pm UTC](https://discourse.slicer.org/t/intersection-line-problem/31262 "2023-08-22T14:19:20Z")

</div>

why the red intersection line is shorter than the others? can i use some code to make the red intersection line as long as others?

---

## [Inconsistency between organization name used for settings files and for macOS bundle identifier](https://discourse.slicer.org/t/inconsistency-between-organization-name-used-for-settings-files-and-for-macos-bundle-identifier/26547)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 5\
**Last updated:** [August 22, 2023, 2:02pm UTC](https://discourse.slicer.org/t/inconsistency-between-organization-name-used-for-settings-files-and-for-macos-bundle-identifier/26547 "2023-08-22T14:02:49Z")

</div>

There are inconsistencies between the organization associated with the settings file location and the value set as macOS bundle identifier. Settings file location macOS bundle identifier These correspond to…

---

## [Is it possible to replace the mouse cursor icon in slice view to a custom icon?](https://discourse.slicer.org/t/is-it-possible-to-replace-the-mouse-cursor-icon-in-slice-view-to-a-custom-icon/31282)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 0\
**Last updated:** [August 22, 2023, 12:49pm UTC](https://discourse.slicer.org/t/is-it-possible-to-replace-the-mouse-cursor-icon-in-slice-view-to-a-custom-icon/31282 "2023-08-22T12:49:46Z")

</div>

i have received a request to replace the default mouse cursor icon in slice view of intersection rotate to a custom mouse cursor icon like the picture below the default intersection rotation mouse cursor icon is a han…

---

## [Fast way to convert a vtkIdList to vtkIdTypeArray](https://discourse.slicer.org/t/fast-way-to-convert-a-vtkidlist-to-vtkidtypearray/31271)

<div class="topic-metadata">

**Author:** [@lucsdjango](https://discourse.slicer.org/u/lucsdjango)\
**Replies:** 0\
**Last updated:** [August 22, 2023, 3:43am UTC](https://discourse.slicer.org/t/fast-way-to-convert-a-vtkidlist-to-vtkidtypearray/31271 "2023-08-22T03:43:01Z")

</div>

Hello I am working on a python scripted module and want to convert a vtkIdList (output from vtkStaticPointLocator::FindPointsWithinRadius) to a vtkIdTypeArray. What is the best way to do this? So far I have only found …

---

## [Build when git commit is changed](https://discourse.slicer.org/t/build-when-git-commit-is-changed/29607)

<div class="topic-metadata">

**Author:** [@aymeric.chataigner](https://discourse.slicer.org/u/aymeric.chataigner)\
**Replies:** 25\
**Last updated:** [August 21, 2023, 6:01pm UTC](https://discourse.slicer.org/t/build-when-git-commit-is-changed/29607 "2023-08-21T18:01:12Z")

</div>

Hi, 3D slicer incremental build takes 8 minutes on my Linux PC if I simply put my git branch on another commit (even if this commit does not change any c++ code). Config: i7 12 cores and 32GB RAM Build launch with thi…

---

## [Quality Dashboard (CDash) is not displaying submission details](https://discourse.slicer.org/t/quality-dashboard-cdash-is-not-displaying-submission-details/31253)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [August 21, 2023, 1:53pm UTC](https://discourse.slicer.org/t/quality-dashboard-cdash-is-not-displaying-submission-details/31253 "2023-08-21T13:53:44Z")

</div>

As of August 19th, the results reported on our quality dashboard are incomplete. This has been documented in the following issue report: Expected (2023-08-17) Actual (2023-08-20) URL CDash CDash Screenshot …

---

## [How to project model node to different slice view according to their projection geometry](https://discourse.slicer.org/t/how-to-project-model-node-to-different-slice-view-according-to-their-projection-geometry/31218)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.slicer.org/u/nnzzll)\
**Replies:** 4\
**Last updated:** [August 21, 2023, 11:52am UTC](https://discourse.slicer.org/t/how-to-project-model-node-to-different-slice-view-according-to-their-projection-geometry/31218 "2023-08-21T11:52:41Z")

</div>

I want to get the Projection Slice Intersection of a model node to two slice view. I have calculated the projection matrix of the 2 images. The projection matrix projects 3D(RAS) coordinate to 2D(image) coordinate. Is …

---

## [SetItemDisplayVisibility works only occasionally](https://discourse.slicer.org/t/setitemdisplayvisibility-works-only-occasionally/31250)

<div class="topic-metadata">

**Author:** [@moraleda](https://discourse.slicer.org/u/moraleda)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 8:38am UTC](https://discourse.slicer.org/t/setitemdisplayvisibility-works-only-occasionally/31250 "2023-08-21T08:38:18Z")

</div>

Hi there, I am creating multiple lineNodes and storing them in multiple folders with Python console in Slicer. E.g. I have folder1 with line1-1, line2-2 and folder2 with line2-1, line2-2. After creating, I want to set v…

---

## [Release of Slicer 5.4 in progress](https://discourse.slicer.org/t/release-of-slicer-5-4-in-progress/31214)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 4\
**Last updated:** [August 21, 2023, 6:17am UTC](https://discourse.slicer.org/t/release-of-slicer-5-4-in-progress/31214 "2023-08-21T06:17:07Z")

</div>

Today’s (August 18th) regular preview and stable builds of Slicer and associated extensions have been disabled in favor of a new stable release. To track the progress, see Release Slicer v5.4 · Issue #7178 · Slicer/Slic…

---

## [In the SlicerIGT plug-in of 3DSlicer, can the ultrasonic calibration function of Plus be used?](https://discourse.slicer.org/t/in-the-slicerigt-plug-in-of-3dslicer-can-the-ultrasonic-calibration-function-of-plus-be-used/31251)

<div class="topic-metadata">

**Author:** [@Yang\_yang\_Y](https://discourse.slicer.org/u/Yang_yang_Y)\
**Replies:** 1\
**Last updated:** [August 20, 2023, 2:36pm UTC](https://discourse.slicer.org/t/in-the-slicerigt-plug-in-of-3dslicer-can-the-ultrasonic-calibration-function-of-plus-be-used/31251 "2023-08-20T14:36:11Z")

</div>

I saw this sentence on the official website of Plus, and its meaning seems to indicate that we can use the SlicerIGT plug-in to ultrasound spacial calibration. But I noticed that there is no such part in the source code…

---

## [Using mailing list for communicating with users](https://discourse.slicer.org/t/using-mailing-list-for-communicating-with-users/31245)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 3\
**Last updated:** [August 20, 2023, 6:33am UTC](https://discourse.slicer.org/t/using-mailing-list-for-communicating-with-users/31245 "2023-08-20T06:33:54Z")

</div>

This could be also interesting: Add login to discourse for easy bug report or feature request Sign up to a mailing list of an extension with your email

---

## [SlicerBS for brain image segmentation](https://discourse.slicer.org/t/slicerbs-for-brain-image-segmentation/17676)

<div class="topic-metadata">

**Author:** [@Mehran](https://discourse.slicer.org/u/Mehran)\
**Replies:** 13\
**Last updated:** [August 18, 2023, 3:49am UTC](https://discourse.slicer.org/t/slicerbs-for-brain-image-segmentation/17676 "2023-08-18T03:49:23Z")

</div>

Dear members, I shared a new brain segmentation module using deep learning to extract brain and Tsallis entropy for segmentation. If you work on brain images, please have a look and let me know any feedback. You need t…

---

## [How to use Transforms module in Python](https://discourse.slicer.org/t/how-to-use-transforms-module-in-python/31171)

<div class="topic-metadata">

**Author:** [@Xinyue](https://discourse.slicer.org/u/Xinyue)\
**Replies:** 1\
**Last updated:** [August 17, 2023, 1:18pm UTC](https://discourse.slicer.org/t/how-to-use-transforms-module-in-python/31171 "2023-08-17T13:18:15Z")

</div>

Hi, I was trying to deform a image and I have my image and deformation vector field in mhd files. I am wondering if there is anyway I could use python to do exactly like the Slicer does in its GUI. It would be great ap…

---

## [How to add button on 2d or 3d window?](https://discourse.slicer.org/t/how-to-add-button-on-2d-or-3d-window/31174)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 2\
**Last updated:** [August 17, 2023, 5:05am UTC](https://discourse.slicer.org/t/how-to-add-button-on-2d-or-3d-window/31174 "2023-08-17T05:05:52Z")

</div>

hello community,like the picture above, i want to add three pushbutton on the right bottom part of 2d window,how to do the work?

---

## [How to link node to drop-down box](https://discourse.slicer.org/t/how-to-link-node-to-drop-down-box/31167)

<div class="topic-metadata">

**Author:** [@Theo](https://discourse.slicer.org/u/Theo)\
**Replies:** 0\
**Last updated:** [August 16, 2023, 9:28am UTC](https://discourse.slicer.org/t/how-to-link-node-to-drop-down-box/31167 "2023-08-16T09:28:50Z")

</div>

hello, i get a snapshot from a left image window, now i want to put it in another windows, i use a function in ScreenCapture.py. how to use the volumenode to update a new window

---

## [VTK wheels for Python 3.6 and 3.7 will not available with next VTK release, support for 3.12 is being added](https://discourse.slicer.org/t/vtk-wheels-for-python-3-6-and-3-7-will-not-available-with-next-vtk-release-support-for-3-12-is-being-added/31154)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [August 15, 2023, 8:36pm UTC](https://discourse.slicer.org/t/vtk-wheels-for-python-3-6-and-3-7-will-not-available-with-next-vtk-release-support-for-3-12-is-being-added/31154 "2023-08-15T20:36:49Z")

</div>

As outlined in the following post, VTK wheels for Python 3.6 and 3.7 will not be available in future release of VTK. This means that the upcoming VTK 9.3 release will include Python wheels supporting Python 3.8 to Pytho…

---

## [Run a loadable module from python console](https://discourse.slicer.org/t/run-a-loadable-module-from-python-console/3427)

<div class="topic-metadata">

**Author:** [@Sanjeev\_Grampurohit](https://discourse.slicer.org/u/Sanjeev_Grampurohit)\
**Replies:** 5\
**Last updated:** [August 15, 2023, 3:26am UTC](https://discourse.slicer.org/t/run-a-loadable-module-from-python-console/3427 "2023-08-15T03:26:22Z")

</div>

I want to be able to run the tractographyinteractiveseeding module from the python console. It is a loadable module which I think is why slicer.cli.run(, ) doesn’t seem to work. How do I run this module? Also, given a mo…

---

## [How to determine RAS coordinates by voxel position](https://discourse.slicer.org/t/how-to-determine-ras-coordinates-by-voxel-position/31112)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [August 12, 2023, 3:44pm UTC](https://discourse.slicer.org/t/how-to-determine-ras-coordinates-by-voxel-position/31112 "2023-08-12T15:44:31Z")

</div>

Throughout the scene, the center point of each voxel has a corresponding RAS coordinate, and I can place a marker point anywhere to see the RAS coordinates of that location. Now I have a requirement, and I want to loop …

---

## [Using Volume Reslice Driver Programatically](https://discourse.slicer.org/t/using-volume-reslice-driver-programatically/31076)

<div class="topic-metadata">

**Author:** [@pfrwilson](https://discourse.slicer.org/u/pfrwilson)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 12:26pm UTC](https://discourse.slicer.org/t/using-volume-reslice-driver-programatically/31076 "2023-08-11T12:26:39Z")

</div>

Hello community, I am having trouble using the volume reslice driver module programmatically. For many loadble scripted modules, I am used to accessing their logic and widget classes by importing them e.g import MyModul…

---

## [QSerialPort logic (separate reading and writing from module widget)](https://discourse.slicer.org/t/qserialport-logic-separate-reading-and-writing-from-module-widget/29859)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 5\
**Last updated:** [August 11, 2023, 9:51am UTC](https://discourse.slicer.org/t/qserialport-logic-separate-reading-and-writing-from-module-widget/29859 "2023-08-11T09:51:23Z")

</div>

Dear developers, I’m using QSerialPort to write and read data from two serial port devices. Everything work correct when all methods are within one object (open serial device → write data into device → read response), i…

---

## [How to use function in module](https://discourse.slicer.org/t/how-to-use-function-in-module/31081)

<div class="topic-metadata">

**Author:** [@Theo](https://discourse.slicer.org/u/Theo)\
**Replies:** 2\
**Last updated:** [August 11, 2023, 1:33am UTC](https://discourse.slicer.org/t/how-to-use-function-in-module/31081 "2023-08-11T01:33:50Z")

</div>

i want to use a protected function in “openigtlinkif” module named “startCurrentIGTLConnector(bool)”,so i changed the source code to set it public and compile successfully, but my project still can’t find it, how to let…

---

## [Slicer on Wayland](https://discourse.slicer.org/t/slicer-on-wayland/31054)

<div class="topic-metadata">

**Author:** [@d-vogel](https://discourse.slicer.org/u/d-vogel)\
**Replies:** 7\
**Last updated:** [August 10, 2023, 1:31pm UTC](https://discourse.slicer.org/t/slicer-on-wayland/31054 "2023-08-10T13:31:41Z")

</div>

Hey everyone, I’ve been messing around a bit today with Slicer due to performance issues and noticed it’s actually running in XWayland on my openSuse TW + KDE plasma Wayland system. Upon starting from the commandline: …

---

## [Thresholding automation](https://discourse.slicer.org/t/thresholding-automation/31069)

<div class="topic-metadata">

**Author:** [@William](https://discourse.slicer.org/u/William)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 7:26pm UTC](https://discourse.slicer.org/t/thresholding-automation/31069 "2023-08-09T19:26:43Z")

</div>

What I am trying to do: In 3d slicer I have several volumes loaded (they show in the data tab) for each of these I would like to automatically perform a threshold segmentation. Each should receive two separate threshold…

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

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