# Development

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

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

**Page:** 57

---

## [DLL linkage error ](https://discourse.slicer.org/t/dll-linkage-error/22867)

<div class="topic-metadata">

**Author:** [@SiddarthGanesh](https://discourse.slicer.org/u/SiddarthGanesh)\
**Replies:** 1\
**Last updated:** [April 9, 2022, 10:25am UTC](https://discourse.slicer.org/t/dll-linkage-error/22867 "2022-04-09T10:25:22Z")

</div>

Severity Code Description Project File Line Suppression State Warning C4273 ‘archive\_write\_set\_format\_cpio’: inconsistent dll linkage C:\\v\\out\\build\\x64-Debug\\v C:\\v\\out\\build\\x64-Debug\\LibArchive\\libarchive\\arch…

---

## [Load DICOM files and segmentation file (.nrrd)](https://discourse.slicer.org/t/load-dicom-files-and-segmentation-file-nrrd/22820)

<div class="topic-metadata">

**Author:** [@SergioReinosa](https://discourse.slicer.org/u/SergioReinosa)\
**Replies:** 3\
**Last updated:** [April 7, 2022, 12:46pm UTC](https://discourse.slicer.org/t/load-dicom-files-and-segmentation-file-nrrd/22820 "2022-04-07T12:46:02Z")

</div>

Hi guys, I have to do a python script that must open a DICOM series from a folder and load a segmentation in that same scene. It has a part that loads the series and other that loads a segmentation. Both parts work perf…

---

## [Adding node reference](https://discourse.slicer.org/t/adding-node-reference/22817)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 3\
**Last updated:** [April 7, 2022, 12:38pm UTC](https://discourse.slicer.org/t/adding-node-reference/22817 "2022-04-07T12:38:30Z")

</div>

Hi, I’m trying to understand how can I use SetAndObserveNodeReferenceID(). For example I have a model node and a markups node. The markups node is some kind of a “child” node of a model and and it is going to be locat…

---

## [Locally execute pre-commit linting locally](https://discourse.slicer.org/t/locally-execute-pre-commit-linting-locally/22837)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [April 6, 2022, 3:54pm UTC](https://discourse.slicer.org/t/locally-execute-pre-commit-linting-locally/22837 "2022-04-06T15:54:24Z")

</div>

Following pull request PR-6262, we integrated a linting workflow to our continuous integration. Waiting we update the Utilities/SetupForDevelopment.sh to automatically install the requirements, the linting could be per…

---

## [Get popup widget of a 3D view](https://discourse.slicer.org/t/get-popup-widget-of-a-3d-view/19326)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 18\
**Last updated:** [April 3, 2022, 2:41am UTC](https://discourse.slicer.org/t/get-popup-widget-of-a-3d-view/19326 "2022-04-03T02:41:22Z")

</div>

Hi, As I can see there is qMRMLThreeDViewControllerWidget.ui wich is popup widget when one clicks on pin button of a three D view. I want to add there some buttons. To do that I need to get instance of it qMRMLThreeDV…

---

## [Projection of interpolated points on open curve markup](https://discourse.slicer.org/t/projection-of-interpolated-points-on-open-curve-markup/22566)

<div class="topic-metadata">

**Author:** [@rhodesdante22](https://discourse.slicer.org/u/rhodesdante22)\
**Replies:** 4\
**Last updated:** [April 2, 2022, 9:40pm UTC](https://discourse.slicer.org/t/projection-of-interpolated-points-on-open-curve-markup/22566 "2022-04-02T21:40:44Z")

</div>

I am developing a module where I use the open curve markups with spline interpolation to plot points. I have SetSliceProjection(True) so that the projected control points show up on the 2D slice viewers. However, I canno…

---

## [.dicoms in Blender and realtime segmentation](https://discourse.slicer.org/t/dicoms-in-blender-and-realtime-segmentation/22798)

<div class="topic-metadata">

**Author:** [@Melodicpinpon](https://discourse.slicer.org/u/Melodicpinpon)\
**Replies:** 2\
**Last updated:** [April 2, 2022, 1:30pm UTC](https://discourse.slicer.org/t/dicoms-in-blender-and-realtime-segmentation/22798 "2022-04-02T13:30:08Z")

</div>

I was wondering if the dicom-viewers were able to move the visible domain in real time as in this video:

---

## [Cannot get a second vtkMRMLNodeComboBox to show nodes](https://discourse.slicer.org/t/cannot-get-a-second-vtkmrmlnodecombobox-to-show-nodes/18204)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 5\
**Last updated:** [April 2, 2022, 12:39am UTC](https://discourse.slicer.org/t/cannot-get-a-second-vtkmrmlnodecombobox-to-show-nodes/18204 "2022-04-02T00:39:46Z")

</div>

Hi, I’m trying to develop a module in which I can choose model nodes as two inputs. I started from the module automatically created from the Extension Wizard and after setting vtkMRMLModelNode as the nodeType for the v…

---

## [RegistrationQA extension does not work on Linux but work on Windows](https://discourse.slicer.org/t/registrationqa-extension-does-not-work-on-linux-but-work-on-windows/22762)

<div class="topic-metadata">

**Author:** [@Aki](https://discourse.slicer.org/u/Aki)\
**Replies:** 6\
**Last updated:** [April 1, 2022, 2:44am UTC](https://discourse.slicer.org/t/registrationqa-extension-does-not-work-on-linux-but-work-on-windows/22762 "2022-04-01T02:44:06Z")

</div>

Hello Does anyone successfully run the RegistrationQA on Slicer 4.13.0 for Linux? I tried but the RegistrationQA menu (Registration Quality Assuarance in the Registration module menu) did not appeared. I built the Sli…

---

## [Model Undercuts Removal by Label Map Addition](https://discourse.slicer.org/t/model-undercuts-removal-by-label-map-addition/490)

<div class="topic-metadata">

**Author:** [@patmo141](https://discourse.slicer.org/u/patmo141)\
**Replies:** 11\
**Last updated:** [March 31, 2022, 2:10pm UTC](https://discourse.slicer.org/t/model-undercuts-removal-by-label-map-addition/490 "2022-03-31T14:10:58Z")

</div>

Operating system: Win 10 64 Bit Slicer version: 4.7 Nightly Background: Undercuts are important in dental CAD because for two rigidly mating objects (for example teeth and an appliance), a path of insertion is necess…

---

## [Display Colour Legend for Surface](https://discourse.slicer.org/t/display-colour-legend-for-surface/22520)

<div class="topic-metadata">

**Author:** [@connorh](https://discourse.slicer.org/u/connorh)\
**Replies:** 4\
**Last updated:** [March 31, 2022, 1:00pm UTC](https://discourse.slicer.org/t/display-colour-legend-for-surface/22520 "2022-03-31T13:00:38Z")

</div>

Hello, I’m working on an extension (in python) where I have a surface mesh with attributes that I’m colouring the mesh based on attribute value. I would like to add a colour bar/legend programmatically with the values …

---

## [How to make the VR controller to be the tracker](https://discourse.slicer.org/t/how-to-make-the-vr-controller-to-be-the-tracker/22716)

<div class="topic-metadata">

**Author:** [@user5](https://discourse.slicer.org/u/user5)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 10:11pm UTC](https://discourse.slicer.org/t/how-to-make-the-vr-controller-to-be-the-tracker/22716 "2022-03-29T22:11:40Z")

</div>

I would like to turn the vr controller to be a tracker to perform a brain surgery navigation. I would like to ask that is it possible to do? If yes, how can I perform it? My VR device is Oculus Quest 2. Thank you

---

## [Create a MRML Viewer](https://discourse.slicer.org/t/create-a-mrml-viewer/18118)

<div class="topic-metadata">

**Author:** [@bhandarys](https://discourse.slicer.org/u/bhandarys)\
**Replies:** 12\
**Last updated:** [March 28, 2022, 11:28am UTC](https://discourse.slicer.org/t/create-a-mrml-viewer/18118 "2022-03-28T11:28:10Z")

</div>

Operating system: Windows 10 Slicer version: 4.13.0 Hi All, I am new to Slicer and have been playing with it for a month or so. My requirement is to create a MRML viewer for users (doctors) with associated threshold c…

---

## [Nearly Success, but ("Timeout was reached")](https://discourse.slicer.org/t/nearly-success-but-timeout-was-reached/22703)

<div class="topic-metadata">

**Author:** [@whu](https://discourse.slicer.org/u/whu)\
**Replies:** 2\
**Last updated:** [March 28, 2022, 11:24am UTC](https://discourse.slicer.org/t/nearly-success-but-timeout-was-reached/22703 "2022-03-28T11:24:41Z")

</div>

new version Slicer version by git; Qt 5.15.2; VS 2019. The compile result show: ========= 生成: 成功 46 个，失败 1 个，最新 1 个，跳过 3 个 ========== Log file for error: 49\> CMake Error at C:/Slicer/SlicerSource/CMake/ExternalData.…

---

## [Feature Flags for custom Python slicer extensions](https://discourse.slicer.org/t/feature-flags-for-custom-python-slicer-extensions/22502)

<div class="topic-metadata">

**Author:** [@Srijeet\_Chatterjee](https://discourse.slicer.org/u/Srijeet_Chatterjee)\
**Replies:** 2\
**Last updated:** [March 28, 2022, 9:22am UTC](https://discourse.slicer.org/t/feature-flags-for-custom-python-slicer-extensions/22502 "2022-03-28T09:22:18Z")

</div>

Hello everyone, I want to develop a feature flag (possibly in a config file) such that it helps to enable/disable several functionalities of the extension(shows/hides a tab completely from the user). Can anyone please h…

---

## [Proposition to preserve Slice view aspect ratio when resizing the window](https://discourse.slicer.org/t/proposition-to-preserve-slice-view-aspect-ratio-when-resizing-the-window/22709)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [March 27, 2022, 5:14pm UTC](https://discourse.slicer.org/t/proposition-to-preserve-slice-view-aspect-ratio-when-resizing-the-window/22709 "2022-03-27T17:14:50Z")

</div>

Hi, In SlicerCAT I add support to modify slice view’s aspect ratio, i.e. the horizontal scaling may not be equal to vertical scaling. When slice window is resized it calls vtkMRMLSliceLogic::ResizeSliceNode that modify…

---

## [Call ImageStacks tool in a Python script](https://discourse.slicer.org/t/call-imagestacks-tool-in-a-python-script/16734)

<div class="topic-metadata">

**Author:** [@gnasello](https://discourse.slicer.org/u/gnasello)\
**Replies:** 4\
**Last updated:** [March 27, 2022, 1:47pm UTC](https://discourse.slicer.org/t/call-imagestacks-tool-in-a-python-script/16734 "2022-03-27T13:47:57Z")

</div>

Hi everyone, I am starting using 3D Slicer and I learnt how to load large image stack as 3D volume thanks to the ImageStacks tool provided by the SlicerMorph extension, following the Youtube tutorial. I was wondering i…

---

## [\[help!\] Error while linking in SlicerOpenCV](https://discourse.slicer.org/t/help-error-while-linking-in-sliceropencv/22700)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Replies:** 0\
**Last updated:** [March 26, 2022, 2:19pm UTC](https://discourse.slicer.org/t/help-error-while-linking-in-sliceropencv/22700 "2022-03-26T14:19:42Z")

</div>

I’m working on the linux build of SlicerOpenCV. All of the dependencies build fine, and I get the following error when linking the extension \[ 92%\] Linking CXX executable ../../../bin/qSlicerOpenCVModuleCxxTests /usr/b…

---

## [Creating a single .mha volume from slices](https://discourse.slicer.org/t/creating-a-single-mha-volume-from-slices/22671)

<div class="topic-metadata">

**Author:** [@Fabyan](https://discourse.slicer.org/u/Fabyan)\
**Replies:** 3\
**Last updated:** [March 26, 2022, 4:28am UTC](https://discourse.slicer.org/t/creating-a-single-mha-volume-from-slices/22671 "2022-03-26T04:28:01Z")

</div>

Hi, I want to know if it is possible to compose multiple .mha slices into a single .mha volume by layering them on top of each other? I have seen ways to split a single .mha volume into multiple slices but not the other …

---

## [Export segmentation or np.array from 3d bounding box](https://discourse.slicer.org/t/export-segmentation-or-np-array-from-3d-bounding-box/22658)

<div class="topic-metadata">

**Author:** [@laurentletg](https://discourse.slicer.org/u/laurentletg)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 8:22pm UTC](https://discourse.slicer.org/t/export-segmentation-or-np-array-from-3d-bounding-box/22658 "2022-03-23T20:22:28Z")

</div>

Hello, I am interested in performing weak labelling using 3d bounding boxes. I know it is possible to use the scissor tool in the Segment Editor to perform this task but I find the MarkupsROI tool easier to use. The fil…

---

## [Creating dummy displayable and display nodes to show color legend](https://discourse.slicer.org/t/creating-dummy-displayable-and-display-nodes-to-show-color-legend/22656)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 4:05pm UTC](https://discourse.slicer.org/t/creating-dummy-displayable-and-display-nodes-to-show-color-legend/22656 "2022-03-23T16:05:17Z")

</div>

I’m trying to rework Isodose module, so that color legend was used instead of scalar bars. There is a IsodoseNode that is used as parameters storing node. I want convert that vtkMRMLNode to vtkMRMLDisplayableNode and a…

---

## [Compilation issue on Linux](https://discourse.slicer.org/t/compilation-issue-on-linux/22347)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 2\
**Last updated:** [March 22, 2022, 5:03pm UTC](https://discourse.slicer.org/t/compilation-issue-on-linux/22347 "2022-03-22T17:03:02Z")

</div>

Hi everyone, I have a compilation issue recently on Slicer master. Does it ring any bell to anyone? …build\_slicer/python-build/lib/python3.9/lib-dynload/sysconfigdata\_\_linux2.py": No such file or directory. Call Sta…

---

## [Howto maximize the ROI in 2d slices simultaneously?](https://discourse.slicer.org/t/howto-maximize-the-roi-in-2d-slices-simultaneously/22623)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [March 22, 2022, 12:27am UTC](https://discourse.slicer.org/t/howto-maximize-the-roi-in-2d-slices-simultaneously/22623 "2022-03-22T00:27:18Z")

</div>

Howto maximize the ROI in 2d slices simultaneously? like in the \`cropVolume’:

---

## [cannot create sub directory under Logic](https://discourse.slicer.org/t/cannot-create-sub-directory-under-logic/22627)

<div class="topic-metadata">

**Author:** [@Haoyin\_Zhou](https://discourse.slicer.org/u/Haoyin_Zhou)\
**Replies:** 0\
**Last updated:** [March 21, 2022, 10:58pm UTC](https://discourse.slicer.org/t/cannot-create-sub-directory-under-logic/22627 "2022-03-21T22:58:33Z")

</div>

hi, I am trying to develop a Loadable module under Windows 10 + vs2022. I have a problem that I cannot create a sub folder under Logic. For example, I create an empty loadable module called “test”, and put a subfolder c…

---

## [Scripted Extension inheretance](https://discourse.slicer.org/t/scripted-extension-inheretance/22625)

<div class="topic-metadata">

**Author:** [@tsims](https://discourse.slicer.org/u/tsims)\
**Replies:** 1\
**Last updated:** [March 21, 2022, 7:50pm UTC](https://discourse.slicer.org/t/scripted-extension-inheretance/22625 "2022-03-21T19:50:50Z")

</div>

Hi everyone! I was wondering if it was possible to set up an extension that defines a base module type that other modules can then inherit. Basically what I would like is to have a set of classes that extend the Slice…

---

## [Using matplotlib in 3D Slicer](https://discourse.slicer.org/t/using-matplotlib-in-3d-slicer/22609)

<div class="topic-metadata">

**Author:** [@user\_ghost](https://discourse.slicer.org/u/user_ghost)\
**Replies:** 2\
**Last updated:** [March 20, 2022, 2:23pm UTC](https://discourse.slicer.org/t/using-matplotlib-in-3d-slicer/22609 "2022-03-20T14:23:07Z")

</div>

Hello every teachers: when i use matplotlib in 3D Slicer and some errors happened.how do i solve this problem

---

## [SegFault with in \`~qSlicerApplicationPrivate\` only with SlicerCAT](https://discourse.slicer.org/t/segfault-with-in-qslicerapplicationprivate-only-with-slicercat/22587)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 5\
**Last updated:** [March 19, 2022, 1:23pm UTC](https://discourse.slicer.org/t/segfault-with-in-qslicerapplicationprivate-only-with-slicercat/22587 "2022-03-19T13:23:26Z")

</div>

Hi, When I updated the Slicer commit in my SlicerCAT I started to get Segmentation Fault in qSlicerApplicationPrivate destructor This happens only with SlicerCAT (clean Slicer app works fine) even when all the modules …

---

## [\`PythonSlicerLauncherSettings.ini\` points to wrong \`additionalSettingsFilePath\`](https://discourse.slicer.org/t/pythonslicerlaunchersettings-ini-points-to-wrong-additionalsettingsfilepath/22528)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 4\
**Last updated:** [March 19, 2022, 2:03am UTC](https://discourse.slicer.org/t/pythonslicerlaunchersettings-ini-points-to-wrong-additionalsettingsfilepath/22528 "2022-03-19T02:03:16Z")

</div>

Hi, It seems that in SlicerCAT the Python settings file PythonSlicerLauncherSettings.ini-\>additionalSettingsFilePath (located in d/python-install/bin/) points to the unexistent file: d/slicersources-build/Slicer-build/…

---

## [Simple Filters: node selector doesn't accept Scalar Volume child nodes](https://discourse.slicer.org/t/simple-filters-node-selector-doesnt-accept-scalar-volume-child-nodes/22571)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 4\
**Last updated:** [March 18, 2022, 2:41pm UTC](https://discourse.slicer.org/t/simple-filters-node-selector-doesnt-accept-scalar-volume-child-nodes/22571 "2022-03-18T14:41:08Z")

</div>

Hi, Is there any reasons why SimpleFilters I/O node selectors don’t accept volume nodes inherited from vtkMRMLScalarVolumeNode (child nodes)? For example I just tried to set inputSelector.showChildNodeTypes = True and …

---

## [Make it easier to select input nodes for Python scripts](https://discourse.slicer.org/t/make-it-easier-to-select-input-nodes-for-python-scripts/22498)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 9\
**Last updated:** [March 18, 2022, 2:19pm UTC](https://discourse.slicer.org/t/make-it-easier-to-select-input-nodes-for-python-scripts/22498 "2022-03-18T14:19:56Z")

</div>

While discussing a problem due to selecting the wrong input node in a Python script, we started to brainstorm about how to make it easier to select input nodes for Python scripts. The first idea was to change vtkMRMLSce…

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

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