# Development

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

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

**Page:** 86

---

## [Adjust Window Level Tool disabled](https://discourse.slicer.org/t/adjust-window-level-tool-disabled/14059)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 3\
**Last updated:** [October 15, 2020, 8:57pm UTC](https://discourse.slicer.org/t/adjust-window-level-tool-disabled/14059 "2020-10-15T20:57:34Z")

</div>

I don’t know why, but for some reason one of the functions in my scripted module disables the ability of the user to use the Adjust Window Level mouse tool on the Red slice. Is there a simple command that re-enables the …

---

## [How to creat a video with code](https://discourse.slicer.org/t/how-to-creat-a-video-with-code/14060)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 5\
**Last updated:** [October 15, 2020, 8:29pm UTC](https://discourse.slicer.org/t/how-to-creat-a-video-with-code/14060 "2020-10-15T20:29:23Z")

</div>

Hi, today I was trying to make a video or gif. but the thing is that I couldn’t I don’t really now why but here’s the code I got: cap = ScreenCapture.ScreenCaptureLogic().createVideo(30,‘extra’,‘C:\\Program Files\\Slicer…

---

## [failed to build 3D Slicer in Ubuntu 18.04](https://discourse.slicer.org/t/failed-to-build-3d-slicer-in-ubuntu-18-04/14050)

<div class="topic-metadata">

**Author:** [@Shun\_Yao](https://discourse.slicer.org/u/Shun_Yao)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 4:03am UTC](https://discourse.slicer.org/t/failed-to-build-3d-slicer-in-ubuntu-18-04/14050 "2020-10-15T04:03:25Z")

</div>

Dear experts in Slicer community, I am a doctor and a fun of Slicer (not too much background of computer science). I am trying to build Slicer in my new PC for the convenience of working on a large data set using stream…

---

## [Slicer installation on Mac using homebrew](https://discourse.slicer.org/t/slicer-installation-on-mac-using-homebrew/933)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 34\
**Last updated:** [October 12, 2020, 10:40pm UTC](https://discourse.slicer.org/t/slicer-installation-on-mac-using-homebrew/933 "2020-10-12T22:40:21Z")

</div>

---

## [Create a download button](https://discourse.slicer.org/t/create-a-download-button/13772)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.slicer.org/u/Hugo)\
**Replies:** 2\
**Last updated:** [October 12, 2020, 3:09pm UTC](https://discourse.slicer.org/t/create-a-download-button/13772 "2020-10-12T15:09:34Z")

</div>

Hello everyone, I would like to be able to create 3 buttons in my Slicer Jupiter kernel. One that will act just like “save as” (download to the desktop .nrrd files), next an upload button doing exactly like this line do…

---

## [Recover the points of a mesh](https://discourse.slicer.org/t/recover-the-points-of-a-mesh/13996)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 9:40am UTC](https://discourse.slicer.org/t/recover-the-points-of-a-mesh/13996 "2020-10-12T09:40:23Z")

</div>

Hi; Is it possible to recover the points of a mesh as point cloud without duplicate points (for exemple the point shared between two triangles). Thank’s in advance

---

## [Use button widget to run function](https://discourse.slicer.org/t/use-button-widget-to-run-function/13945)

<div class="topic-metadata">

**Author:** [@nm19](https://discourse.slicer.org/u/nm19)\
**Replies:** 3\
**Last updated:** [October 10, 2020, 12:08am UTC](https://discourse.slicer.org/t/use-button-widget-to-run-function/13945 "2020-10-10T00:08:11Z")

</div>

Hi, I want to use the basic example module layout to test the functionality of a function I wrote. Essentially, when the foo bar widget is clicked, this function is called and a node should be returned. Any resources on…

---

## [How to press qtButton?](https://discourse.slicer.org/t/how-to-press-qtbutton/13947)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 3\
**Last updated:** [October 9, 2020, 7:24pm UTC](https://discourse.slicer.org/t/how-to-press-qtbutton/13947 "2020-10-09T19:24:14Z")

</div>

Hi today I’m trying to press a button by code. and i know the name of the object is: setupLightkitButton i all ready try this: qt.QPushButton(‘setupLightkitButton’).click() qt.QPushButton(‘setupLightkitButton’).a…

---

## [Scalar DICOM volume is being loaded by DWI plugin and giving errors](https://discourse.slicer.org/t/scalar-dicom-volume-is-being-loaded-by-dwi-plugin-and-giving-errors/13943)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 9\
**Last updated:** [October 9, 2020, 5:52pm UTC](https://discourse.slicer.org/t/scalar-dicom-volume-is-being-loaded-by-dwi-plugin-and-giving-errors/13943 "2020-10-09T17:52:37Z")

</div>

Sometimes, when I load a non-diffusion MR DICOM volume, I get errors during loading which come from DWIConvert. Most recently, I got this, which I think is what I usually get: Diffusion-weighted DICOM Import (DWIConver…

---

## [Adding fiducial marks and determining RAS coordinates](https://discourse.slicer.org/t/adding-fiducial-marks-and-determining-ras-coordinates/13421)

<div class="topic-metadata">

**Author:** [@Anish\_Basnet](https://discourse.slicer.org/u/Anish_Basnet)\
**Replies:** 20\
**Last updated:** [October 9, 2020, 1:47pm UTC](https://discourse.slicer.org/t/adding-fiducial-marks-and-determining-ras-coordinates/13421 "2020-10-09T13:47:50Z")

</div>

Hello everyone, Is there anyway to add fiducial markers to a stl data without the markups module? I want to add fiducial markers manually to the module I am working on. I’d like to display the RAS coordinates to the mod…

---

## [Compare two 3d image](https://discourse.slicer.org/t/compare-two-3d-image/7171)

<div class="topic-metadata">

**Author:** [@safa](https://discourse.slicer.org/u/safa)\
**Replies:** 5\
**Last updated:** [October 8, 2020, 10:10pm UTC](https://discourse.slicer.org/t/compare-two-3d-image/7171 "2020-10-08T22:10:53Z")

</div>

Is there a way to compare two nifti images, to find the difference in them ?

---

## [Display model with a "shiny" surface](https://discourse.slicer.org/t/display-model-with-a-shiny-surface/13927)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 7\
**Last updated:** [October 8, 2020, 5:19pm UTC](https://discourse.slicer.org/t/display-model-with-a-shiny-surface/13927 "2020-10-08T17:19:29Z")

</div>

hello Today I try to modify the brightness(Shiny material properties) of the modules but I found only one XML file and I don’t know how to access this code. https://github.com/Slicer/Slicer/search?q=shiny I just wan…

---

## ["Sticky" settings for sphere brush and editable intensity range](https://discourse.slicer.org/t/sticky-settings-for-sphere-brush-and-editable-intensity-range/13938)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 5:15pm UTC](https://discourse.slicer.org/t/sticky-settings-for-sphere-brush-and-editable-intensity-range/13938 "2020-10-08T17:15:45Z")

</div>

Often when I’m doing manual segmentation, I will use sphere brush when painting but not when erasing. I’ll also have Editable intensity range turned on when painting or using scissors but off when using Islands (remove s…

---

## [Test errors in CDash](https://discourse.slicer.org/t/test-errors-in-cdash/13932)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 12:53pm UTC](https://discourse.slicer.org/t/test-errors-in-cdash/13932 "2020-10-08T12:53:41Z")

</div>

Recently I have reported some test failing in CDash. The main error is ====================================================================== ERROR: runTest (Dosimetry4DTest.Dosimetry4DTest) ---------------------------…

---

## [Manipulate model visibility](https://discourse.slicer.org/t/manipulate-model-visibility/13921)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 4:43pm UTC](https://discourse.slicer.org/t/manipulate-model-visibility/13921 "2020-10-07T16:43:55Z")

</div>

I want to manipulate the module created from the segmentation. what i did was to export the segmentation to modules and now I want to manipulate the colors and the visibility of the modules. here’s the code: #export …

---

## [Extension compatibility with Python 2 and 3](https://discourse.slicer.org/t/extension-compatibility-with-python-2-and-3/13928)

<div class="topic-metadata">

**Author:** [@mehrtash](https://discourse.slicer.org/u/mehrtash)\
**Replies:** 2\
**Last updated:** [October 7, 2020, 9:07pm UTC](https://discourse.slicer.org/t/extension-compatibility-with-python-2-and-3/13928 "2020-10-07T21:07:59Z")

</div>

DeepInfer and probably some other modules do not work in Slicer 4.11 due to python 3 incompatibility. \[1\] I have made some changes to the code to make it compatible with python 3 but the problem is that it would not wor…

---

## [Can I load a plain image file into one of the Slice views, controlled by a loadable C++ extension?](https://discourse.slicer.org/t/can-i-load-a-plain-image-file-into-one-of-the-slice-views-controlled-by-a-loadable-c-extension/13903)

<div class="topic-metadata">

**Author:** [@kelvin-s](https://discourse.slicer.org/u/kelvin-s)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 3:14pm UTC](https://discourse.slicer.org/t/can-i-load-a-plain-image-file-into-one-of-the-slice-views-controlled-by-a-loadable-c-extension/13903 "2020-10-07T15:14:24Z")

</div>

In the Slicer main window, there are the red, green, and yellow slice views. I want to create an extension which can temporarily replace one of the slice views with a static image display, loaded from a regular image fil…

---

## [3DSlicer coming to  Mac iOS? ](https://discourse.slicer.org/t/3dslicer-coming-to-mac-ios/13911)

<div class="topic-metadata">

**Author:** [@ebryson](https://discourse.slicer.org/u/ebryson)\
**Replies:** 2\
**Last updated:** [October 7, 2020, 1:23pm UTC](https://discourse.slicer.org/t/3dslicer-coming-to-mac-ios/13911 "2020-10-07T13:23:09Z")

</div>

Hi, I’m kicking myself because I bought an iPad and 3DSlicer doesn’t work on it because apparently it’s iOS instead of OS. (I didn’t know that was a thing until I’d already bought it) I was hoping to collect my data on t…

---

## [How to overwrite part of the selected label map](https://discourse.slicer.org/t/how-to-overwrite-part-of-the-selected-label-map/13827)

<div class="topic-metadata">

**Author:** [@yuantinghsieh](https://discourse.slicer.org/u/yuantinghsieh)\
**Replies:** 2\
**Last updated:** [October 7, 2020, 5:41am UTC](https://discourse.slicer.org/t/how-to-overwrite-part-of-the-selected-label-map/13827 "2020-10-07T05:41:50Z")

</div>

I am working on AIAA slicer plugin right now. I want to overwrite just part of the selected label map. (As our model only inference on a specific bounding box so I don’t want to modify the label map that is outside this…

---

## [\[vtkMRMLCommandLineModuleNode.AddObserver()\] Missing Documentation](https://discourse.slicer.org/t/vtkmrmlcommandlinemodulenode-addobserver-missing-documentation/13868)

<div class="topic-metadata">

**Author:** [@strider\_hunter](https://discourse.slicer.org/u/strider_hunter)\
**Replies:** 1\
**Last updated:** [October 6, 2020, 8:21pm UTC](https://discourse.slicer.org/t/vtkmrmlcommandlinemodulenode-addobserver-missing-documentation/13868 "2020-10-06T20:21:09Z")

</div>

Using cliNode = slicer.cli.run() returns a vtkMRMLCommandLineModuleNode that can asynchronously call a CLI module. It is shown here that one can use the cliNode.AddObserver() callback for when the “cliNode is modified”. …

---

## [3D View rotation stops working (+other odd bugs) if repeated control point location](https://discourse.slicer.org/t/3d-view-rotation-stops-working-other-odd-bugs-if-repeated-control-point-location/13900)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 1\
**Last updated:** [October 6, 2020, 6:54pm UTC](https://discourse.slicer.org/t/3d-view-rotation-stops-working-other-odd-bugs-if-repeated-control-point-location/13900 "2020-10-06T18:54:14Z")

</div>

Running 4.11.202000930 (but bug is not new to this version, was at least present in the 2020-09-02 release) on Windows. As a minimal example, the following code makes the left-click/drag rotation in a 3D view stop worki…

---

## [Looking Glass 3D display integration available](https://discourse.slicer.org/t/looking-glass-3d-display-integration-available/13901)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 6:39pm UTC](https://discourse.slicer.org/t/looking-glass-3d-display-integration-available/13901 "2020-10-06T18:39:19Z")

</div>

---

## [Error: failed to read input surface created by C++ CLI module](https://discourse.slicer.org/t/error-failed-to-read-input-surface-created-by-c-cli-module/13603)

<div class="topic-metadata">

**Author:** [@Farah](https://discourse.slicer.org/u/Farah)\
**Replies:** 13\
**Last updated:** [October 6, 2020, 4:08pm UTC](https://discourse.slicer.org/t/error-failed-to-read-input-surface-created-by-c-cli-module/13603 "2020-10-06T16:08:43Z")

</div>

Hi, I have compiled CLI module with slicer to use it within slicer. The module input is vtk volume geometry (contains points, elements, stresses) then it calculates the average stresses on the surface to get a vtp surf…

---

## [Not finding Median values in CIP](https://discourse.slicer.org/t/not-finding-median-values-in-cip/13888)

<div class="topic-metadata">

**Author:** [@Saffana](https://discourse.slicer.org/u/Saffana)\
**Replies:** 2\
**Last updated:** [October 6, 2020, 2:10pm UTC](https://discourse.slicer.org/t/not-finding-median-values-in-cip/13888 "2020-10-06T14:10:56Z")

</div>

Hello I am Saffana a PhD researcher in the UK working on COPD CT scans. I am currently using CIP extension to perform lung segmentation using parenchymal analysis I am wondering if there is any way I can have median va…

---

## [Unknown CMake command "vtkMacroKitPythonWrap" in snapshot release for vtkTeem](https://discourse.slicer.org/t/unknown-cmake-command-vtkmacrokitpythonwrap-in-snapshot-release-for-vtkteem/13838)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 3\
**Last updated:** [October 5, 2020, 2:55pm UTC](https://discourse.slicer.org/t/unknown-cmake-command-vtkmacrokitpythonwrap-in-snapshot-release-for-vtkteem/13838 "2020-10-05T14:55:55Z")

</div>

Hi all, I am upgrading all the projects I have to the new snapshot release, and one of them produced a strange CMake error: Configuring library: vtkTeem CMake Error at Libs/vtkTeem/CMakeLists.txt:149 (include): inclu…

---

## [GUI resizing issues in Linux version](https://discourse.slicer.org/t/gui-resizing-issues-in-linux-version/13861)

<div class="topic-metadata">

**Author:** [@manjula](https://discourse.slicer.org/u/manjula)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 6:17am UTC](https://discourse.slicer.org/t/gui-resizing-issues-in-linux-version/13861 "2020-10-05T06:17:14Z")

</div>

Dear all, OS - Ubuntu 20.04.1 LTS This is an issue that was there as long as I could remember on Slicer versions and I was hoping it would be corrected at some point. When we first install and run the slicer it fits p…

---

## [MarkupsToModel : build fails with VTK9](https://discourse.slicer.org/t/markupstomodel-build-fails-with-vtk9/13839)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 3\
**Last updated:** [October 4, 2020, 5:22pm UTC](https://discourse.slicer.org/t/markupstomodel-build-fails-with-vtk9/13839 "2020-10-04T17:22:39Z")

</div>

Slicer builds nicely with VTK9 on Arch Linux with gcc 10.2. MarkupsToModel fails to build on VTK\_OVERRIDE and VTK\_DELETE\_FUNCTION. If all occurrences of these macros are removed, the build process completes. Can’t know …

---

## [Should be possible to add a Substraction Tool for Dynamic Modeler Module?](https://discourse.slicer.org/t/should-be-possible-to-add-a-substraction-tool-for-dynamic-modeler-module/13846)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 1\
**Last updated:** [October 4, 2020, 2:52pm UTC](https://discourse.slicer.org/t/should-be-possible-to-add-a-substraction-tool-for-dynamic-modeler-module/13846 "2020-10-04T14:52:11Z")

</div>

Dynamic Modeler Module is a wonderfull tool to manage models without downgrade surface quality of stl files added to scene. It should be nice to have a substraction tool. Thanks.

---

## [VMTK extension : build fails with VTK9](https://discourse.slicer.org/t/vmtk-extension-build-fails-with-vtk9/13840)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 0\
**Last updated:** [October 3, 2020, 4:31pm UTC](https://discourse.slicer.org/t/vmtk-extension-build-fails-with-vtk9/13840 "2020-10-03T16:31:51Z")

</div>

Slicer builds nicely with VTK9 on Arch Linux with gcc 10.2. VMTK extension fails to build with these errors : \[ 18%\] Performing configure step for ‘VMTK’ loading initial cache file /home/arc/src/SlicerExtension-VMTK-…

---

## [Dynamically Updating UI](https://discourse.slicer.org/t/dynamically-updating-ui/13801)

<div class="topic-metadata">

**Author:** [@jrl](https://discourse.slicer.org/u/jrl)\
**Replies:** 10\
**Last updated:** [October 3, 2020, 7:26am UTC](https://discourse.slicer.org/t/dynamically-updating-ui/13801 "2020-10-03T07:26:34Z")

</div>

In general, is there an efficient way to dynamically update the UI? I want to allow the user to enter in a value in a text field (QLineEdit), hit a button, and update a separate field (I’m using QLabel) in the UI to refl…

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

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