# Development

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

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

**Page:** 67

---

## [Converting ras to ijk coordinates for model, segmentation](https://discourse.slicer.org/t/converting-ras-to-ijk-coordinates-for-model-segmentation/20143)

<div class="topic-metadata">

**Author:** [@Karthik](https://discourse.slicer.org/u/Karthik)\
**Replies:** 1\
**Last updated:** [October 14, 2021, 5:19am UTC](https://discourse.slicer.org/t/converting-ras-to-ijk-coordinates-for-model-segmentation/20143 "2021-10-14T05:19:14Z")

</div>

Operating system: Ubuntu 20.04 Slicer version: 4.11.20210226 I understand how to convert ras to ijk coordinates using volumeNode.GetRASToIJKMatrix(mat). However, I am placing fiducials on a surface (i use model, segme…

---

## [CTK and SLICER Warnings while building SlicerCustomApp Templete, then after it its creating error after modification](https://discourse.slicer.org/t/ctk-and-slicer-warnings-while-building-slicercustomapp-templete-then-after-it-its-creating-error-after-modification/20130)

<div class="topic-metadata">

**Author:** [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 9:28am UTC](https://discourse.slicer.org/t/ctk-and-slicer-warnings-while-building-slicercustomapp-templete-then-after-it-its-creating-error-after-modification/20130 "2021-10-13T09:28:36Z")

</div>

Hello Developer, I am getting CTK and SLICER warnings while BUILD\_ALL in custom slicer build process. I have installed following software as mentioned in the https://slicer.readthedocs.io/en/latest/developer\_guide/buil…

---

## [How to hide terminal window in release build mode?](https://discourse.slicer.org/t/how-to-hide-terminal-window-in-release-build-mode/11631)

<div class="topic-metadata">

**Author:** [@leemoncn](https://discourse.slicer.org/u/leemoncn)\
**Replies:** 2\
**Last updated:** [October 13, 2021, 6:51am UTC](https://discourse.slicer.org/t/how-to-hide-terminal-window-in-release-build-mode/11631 "2021-10-13T06:51:34Z")

</div>

I build slicer 4.10.2 in release mode. When i run slicer, it still have terminal window. How to hide terminal in release build mode?(OS: Windows 10)

---

## [EGSnrc .3ddose File Importer](https://discourse.slicer.org/t/egsnrc-3ddose-file-importer/20118)

<div class="topic-metadata">

**Author:** [@pmdg](https://discourse.slicer.org/u/pmdg)\
**Replies:** 1\
**Last updated:** [October 13, 2021, 3:32am UTC](https://discourse.slicer.org/t/egsnrc-3ddose-file-importer/20118 "2021-10-13T03:32:55Z")

</div>

Operating system: Windows 10 Slicer version: 4.11.2 Hello, I’m gratefully using SlicerRT to load in .3ddose files to visualise dose distributions created using the EGSnrc Monte Carlo code. One thing I’d like to be abl…

---

## [Debugging abnormal exits on Windows](https://discourse.slicer.org/t/debugging-abnormal-exits-on-windows/20120)

<div class="topic-metadata">

**Author:** [@adamaji](https://discourse.slicer.org/u/adamaji)\
**Replies:** 1\
**Last updated:** [October 12, 2021, 9:09pm UTC](https://discourse.slicer.org/t/debugging-abnormal-exits-on-windows/20120 "2021-10-12T21:09:30Z")

</div>

Hi folks, I’m wondering if anyone has experience debugging abnormal exits/crashes on Windows, and what the best practices are for debugging these – errors like error: \[.../SlicerApp-real.exe\] exit abnormally - Report t…

---

## [Is it possible to know what nodes have elements displayed in a slice view? And where?](https://discourse.slicer.org/t/is-it-possible-to-know-what-nodes-have-elements-displayed-in-a-slice-view-and-where/13557)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 9\
**Last updated:** [October 12, 2021, 5:32am UTC](https://discourse.slicer.org/t/is-it-possible-to-know-what-nodes-have-elements-displayed-in-a-slice-view-and-where/13557 "2021-10-12T05:32:20Z")

</div>

I would like to know programmatically what scene elements are currently visible in a slice view. Is there a way to find this out? In a typical slice view, I might have MarkupsCurves which are in the plane of the slice …

---

## [Unable to compile latest Slicer sources (Windows)](https://discourse.slicer.org/t/unable-to-compile-latest-slicer-sources-windows/19960)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 17\
**Last updated:** [October 12, 2021, 12:04am UTC](https://discourse.slicer.org/t/unable-to-compile-latest-slicer-sources-windows/19960 "2021-10-12T00:04:04Z")

</div>

I was asked today to do a test with the very latest latest preview sources. Thought this would be a good exercise because I thought had it all set up, simply not used for several weeks. What I did: Within Github I fe…

---

## [Modifying \`vtkMRMLAbstractViewNode::Reset(...)\` function from MRMLCore](https://discourse.slicer.org/t/modifying-vtkmrmlabstractviewnode-reset-function-from-mrmlcore/20086)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 14\
**Last updated:** [October 11, 2021, 10:40pm UTC](https://discourse.slicer.org/t/modifying-vtkmrmlabstractviewnode-reset-function-from-mrmlcore/20086 "2021-10-11T22:40:05Z")

</div>

Hi, Here is the implementation of vtkMRMLAbstractViewNode::Reset(...) function: void vtkMRMLAbstractViewNode::Reset(vtkMRMLNode\* defaultNode) { // The LayoutName is preserved by vtkMRMLNode::Reset, however the layout…

---

## [Shallow copy a node into a scene](https://discourse.slicer.org/t/shallow-copy-a-node-into-a-scene/20101)

<div class="topic-metadata">

**Author:** [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Replies:** 3\
**Last updated:** [October 11, 2021, 7:14pm UTC](https://discourse.slicer.org/t/shallow-copy-a-node-into-a-scene/20101 "2021-10-11T19:14:57Z")

</div>

I’ve created a scene and I want to copy nodes from the current scene into my new scene. But I don’t want to copy any underlying bulk data in the nodes. I want new nodes that refer to the same underlying data when there …

---

## [Help in programming](https://discourse.slicer.org/t/help-in-programming/20048)

<div class="topic-metadata">

**Author:** [@Bence\_Horvath](https://discourse.slicer.org/u/Bence_Horvath)\
**Replies:** 6\
**Last updated:** [October 11, 2021, 2:32pm UTC](https://discourse.slicer.org/t/help-in-programming/20048 "2021-10-11T14:32:15Z")

</div>

Hi, I would like to get position of a fiducial markup and add it to a variables. I try this way, but I get ‘none’ for result. There are exist a fiducial. self.Incus = slicer.qMRMLNodeComboBox() self.Incus.nodeTypes =…

---

## [Window/Level mouse interaction icon](https://discourse.slicer.org/t/window-level-mouse-interaction-icon/20099)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 2\
**Last updated:** [October 11, 2021, 2:17pm UTC](https://discourse.slicer.org/t/window-level-mouse-interaction-icon/20099 "2021-10-11T14:17:21Z")

</div>

Hi all, Is it something made in purpose to have removed the window/level mouse icon on master branch? Pierre

---

## [Resampled segmentation limited by a bounding box (not the whole volume)](https://discourse.slicer.org/t/resampled-segmentation-limited-by-a-bounding-box-not-the-whole-volume/18772)

<div class="topic-metadata">

**Author:** [@laurentletg](https://discourse.slicer.org/u/laurentletg)\
**Replies:** 2\
**Last updated:** [October 11, 2021, 1:30am UTC](https://discourse.slicer.org/t/resampled-segmentation-limited-by-a-bounding-box-not-the-whole-volume/18772 "2021-10-11T01:30:56Z")

</div>

Operating system: Mac OS Catalina 10.15.7 Slicer version: 4.13.0-2021-04-04 (also 4.11) Expected behavior: Able to perform segmentation using a resampled version on the whole volume Actual behavior: Segmentation using…

---

## [How to get the position and angle of the crosshair?](https://discourse.slicer.org/t/how-to-get-the-position-and-angle-of-the-crosshair/20088)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 5\
**Last updated:** [October 10, 2021, 8:48pm UTC](https://discourse.slicer.org/t/how-to-get-the-position-and-angle-of-the-crosshair/20088 "2021-10-10T20:48:21Z")

</div>

How to get the position and angle of the crosshair? I try to crosshair = slicer.util.getNode('Crosshair') and print(crosshair),get those : vtkMRMLCrosshairNode (0x7fea623dbca0) ID: vtkMRMLCrosshairNodedefault …

---

## [Liclipse does not accept connection from 3D Slicer debugger](https://discourse.slicer.org/t/liclipse-does-not-accept-connection-from-3d-slicer-debugger/20080)

<div class="topic-metadata">

**Author:** [@Marwa\_Awoda](https://discourse.slicer.org/u/Marwa_Awoda)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 8:55am UTC](https://discourse.slicer.org/t/liclipse-does-not-accept-connection-from-3d-slicer-debugger/20080 "2021-10-09T08:55:28Z")

</div>

Dear there, I’m having an issue with connecting the Slicer Debugger with LiClipse. I’ve already set the debug server port at 5678 and when I press connect from slicer it gives me msg that “the slicer is paused until ec…

---

## [\[ctk.ctkDoubleRangeSlider()\] Unable to use setRange() on this class](https://discourse.slicer.org/t/ctk-ctkdoublerangeslider-unable-to-use-setrange-on-this-class/20055)

<div class="topic-metadata">

**Author:** [@strider\_hunter](https://discourse.slicer.org/u/strider_hunter)\
**Replies:** 5\
**Last updated:** [October 8, 2021, 2:33pm UTC](https://discourse.slicer.org/t/ctk-ctkdoublerangeslider-unable-to-use-setrange-on-this-class/20055 "2021-10-08T14:33:56Z")

</div>

Hi, Im using Slicer 4.11.0-2020-09-05 and am building a python scriptable module. Issue I wish to replicate the behavior of slicer.qMRMLWindowLevelWidget() as done on this line, but on my own using ctk.ctkDoubleRangeS…

---

## [Save segmentation as PLY file](https://discourse.slicer.org/t/save-segmentation-as-ply-file/20063)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 4\
**Last updated:** [October 8, 2021, 3:51am UTC](https://discourse.slicer.org/t/save-segmentation-as-ply-file/20063 "2021-10-08T03:51:58Z")

</div>

Hi Andras, I am saving PLY file but it is still saving STL file. Regards, Saima Safdar

---

## [User confusion about mouse position due to Segment Editor effect cursor artwork](https://discourse.slicer.org/t/user-confusion-about-mouse-position-due-to-segment-editor-effect-cursor-artwork/19978)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 6\
**Last updated:** [October 7, 2021, 11:25pm UTC](https://discourse.slicer.org/t/user-confusion-about-mouse-position-due-to-segment-editor-effect-cursor-artwork/19978 "2021-10-07T23:25:58Z")

</div>

Multiple users have told me that they were confused about where their current mouse position was when using a Segment Editor effect that has cursor artwork, specifically the “Draw” effect. They problem is that they thou…

---

## [How to get parameters of Segment Editor effects](https://discourse.slicer.org/t/how-to-get-parameters-of-segment-editor-effects/20046)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 8\
**Last updated:** [October 7, 2021, 5:59pm UTC](https://discourse.slicer.org/t/how-to-get-parameters-of-segment-editor-effects/20046 "2021-10-07T17:59:27Z")

</div>

Hi Andras, How to get the parameter list for the segment editor modules for example I need parameter list for wrap solidify. How can I get it. Regards, Saima Safdar

---

## [Proposition to modify \`slicer\_config\_set\_ep\` macro to work with \`LIST\` vars](https://discourse.slicer.org/t/proposition-to-modify-slicer-config-set-ep-macro-to-work-with-list-vars/20042)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 3\
**Last updated:** [October 7, 2021, 1:15pm UTC](https://discourse.slicer.org/t/proposition-to-modify-slicer-config-set-ep-macro-to-work-with-list-vars/20042 "2021-10-07T13:15:31Z")

</div>

Hi, In SlicerConfig.cmake.in there is a macro called slicer\_config\_set\_ep. Current implementation assumes that the variable is represented as a STRING. And if the variable is a LIST then cmake configure may fail. For …

---

## [It will be better if we can change the tool's background colour?](https://discourse.slicer.org/t/it-will-be-better-if-we-can-change-the-tools-background-colour/20051)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [October 7, 2021, 1:13pm UTC](https://discourse.slicer.org/t/it-will-be-better-if-we-can-change-the-tools-background-colour/20051 "2021-10-07T13:13:10Z")

</div>

The background of these small tools will become gray after being selected. In fact, this color is not very easy to distinguish. As you can see now, if can adjust the background of the selected tool to black, or other o…

---

## [Using OrientScalarVolume module in a python script](https://discourse.slicer.org/t/using-orientscalarvolume-module-in-a-python-script/10658)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 4\
**Last updated:** [March 12, 2020, 2:08pm UTC](https://discourse.slicer.org/t/using-orientscalarvolume-module-in-a-python-script/10658 "2020-03-12T14:08:14Z")

</div>

Dear all Is there a way to avoid console calls in OrientScalarVolume such as OrientImage --orientation Axial ${MRML\_DATA}/fixed.nrrd ${TEMP}/OrientImageTestAxial.nrrd as defined in the documentation? I wan…

---

## [Restraining from selecting more than one point](https://discourse.slicer.org/t/restraining-from-selecting-more-than-one-point/20040)

<div class="topic-metadata">

**Author:** [@Aamir\_Khan](https://discourse.slicer.org/u/Aamir_Khan)\
**Replies:** 1\
**Last updated:** [October 7, 2021, 5:30am UTC](https://discourse.slicer.org/t/restraining-from-selecting-more-than-one-point/20040 "2021-10-07T05:30:26Z")

</div>

Hi, I have been developing a extension where I need to select multiple points and then based on an algorithm transforming the volume. For this purpose, I have used qSlicerSimpleMarkupsWidget() and qSlicerMarkupsPlaceWid…

---

## [Cross-section area plot and transforms](https://discourse.slicer.org/t/cross-section-area-plot-and-transforms/20030)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 6\
**Last updated:** [October 6, 2021, 2:13pm UTC](https://discourse.slicer.org/t/cross-section-area-plot-and-transforms/20030 "2021-10-06T14:13:29Z")

</div>

Hey Andras, (@lassoan) Quick question on your implementation of the cross-section area plot. I did a quick test on plotting the area of a segment, then I transformed the volume and segment (translation), and ran the sam…

---

## [Windows 10-3 nightly build with Windows Security issues](https://discourse.slicer.org/t/windows-10-3-nightly-build-with-windows-security-issues/20002)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 3\
**Last updated:** [October 5, 2021, 6:33pm UTC](https://discourse.slicer.org/t/windows-10-3-nightly-build-with-windows-security-issues/20002 "2021-10-05T18:33:48Z")

</div>

99% of the time, I use Slicer on a Mac, so 1000 apologies if this is something obvious. I downloaded the latest nightly on my Windows machine (Windows 10) and I get a ton of “This content is blocked” errors when I try t…

---

## [Create and overlay a segmentation on a volume](https://discourse.slicer.org/t/create-and-overlay-a-segmentation-on-a-volume/19994)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [October 4, 2021, 6:19pm UTC](https://discourse.slicer.org/t/create-and-overlay-a-segmentation-on-a-volume/19994 "2021-10-04T18:19:34Z")

</div>

I want to apply a threshold value on an image and overlay this threshold result as a segmentation (or labelmap) on the image. Based on a sample in script repository I tried to do it this way: threshold = 500 …

---

## [Using 3D Slicer as library/ Framework in Paraview based application](https://discourse.slicer.org/t/using-3d-slicer-as-library-framework-in-paraview-based-application/19988)

<div class="topic-metadata">

**Author:** [@phtran.dev](https://discourse.slicer.org/u/phtran.dev)\
**Replies:** 1\
**Last updated:** [October 4, 2021, 1:23pm UTC](https://discourse.slicer.org/t/using-3d-slicer-as-library-framework-in-paraview-based-application/19988 "2021-10-04T13:23:39Z")

</div>

Hi @lassoan, I am a new user to VTK/ Paraview/ 3D Slicer. I know that Paraview supports for remote rendering and web application. However, it’s general framework for Visualization. And 3D Slicer has specific features …

---

## [Rendering at higher than 8 bits per pixel](https://discourse.slicer.org/t/rendering-at-higher-than-8-bits-per-pixel/19961)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 3\
**Last updated:** [October 4, 2021, 8:30am UTC](https://discourse.slicer.org/t/rendering-at-higher-than-8-bits-per-pixel/19961 "2021-10-04T08:30:30Z")

</div>

After a long time and another investigation of a related issue connected with color lookup tables, I found the reason for the behavior and why for color lookup tables a scalar range different from 0 to 255 does not reall…

---

## [Changing volume jumps the slice](https://discourse.slicer.org/t/changing-volume-jumps-the-slice/19950)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 2\
**Last updated:** [October 4, 2021, 8:32am UTC](https://discourse.slicer.org/t/changing-volume-jumps-the-slice/19950 "2021-10-04T08:32:12Z")

</div>

In the Data module I may have several scalar volumes from the same scanning but with different postprocessing, or manually modified in Slicer like crop volume or an image filter. My problem is that if I change the curre…

---

## [How to delete display node and allocated resources properly?](https://discourse.slicer.org/t/how-to-delete-display-node-and-allocated-resources-properly/19979)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 0\
**Last updated:** [October 3, 2021, 9:12pm UTC](https://discourse.slicer.org/t/how-to-delete-display-node-and-allocated-resources-properly/19979 "2021-10-03T21:12:45Z")

</div>

The process of adding support of multiple color bars via displayable manager PR #5828. The color bar display node is added to the scalar volume: // Create color bar and observe color bar by displayable node vtkMRML…

---

## [How to call the "Islands" function of the Segment Editor from a python script with "Keep selected island"](https://discourse.slicer.org/t/how-to-call-the-islands-function-of-the-segment-editor-from-a-python-script-with-keep-selected-island/14763)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 4\
**Last updated:** [October 2, 2021, 1:28pm UTC](https://discourse.slicer.org/t/how-to-call-the-islands-function-of-the-segment-editor-from-a-python-script-with-keep-selected-island/14763 "2021-10-02T13:28:26Z")

</div>

Hi, I am developing an semiautomated script for CT lung masking. After thresholding and cutting out segments of the trachea and left main bronchus (works), I normally use the “Islands” function of the Segment Editor n…

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

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