# Development

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

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

**Page:** 100

---

## [Annotation Node comes up as Model Node](https://discourse.slicer.org/t/annotation-node-comes-up-as-model-node/9917)

<div class="topic-metadata">

**Author:** [@Juicy](https://discourse.slicer.org/u/Juicy)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 7:36pm UTC](https://discourse.slicer.org/t/annotation-node-comes-up-as-model-node/9917 "2020-01-23T19:36:59Z")

</div>

Hi all, I was trying to make some code to pick the last model node which was created in the scene. This is what I tried: noOfModelNodes = slicer.mrmlScene.GetNumberOfNodesByClass('vtkMRMLModelNode') lastModel = slicer.…

---

## [Custom Python QDialog crash](https://discourse.slicer.org/t/custom-python-qdialog-crash/9899)

<div class="topic-metadata">

**Author:** [@Johan\_Andruejol](https://discourse.slicer.org/u/Johan_Andruejol)\
**Replies:** 4\
**Last updated:** [January 22, 2020, 8:37pm UTC](https://discourse.slicer.org/t/custom-python-qdialog-crash/9899 "2020-01-22T20:37:18Z")

</div>

Hi everyone ! I am trying to create a custom QDialog in Python. Whenever you add a custom signal/slot connection, the application crashes on exit. Here is the minimal example you can reproduce the crash with, following…

---

## [Loading matrix data structure](https://discourse.slicer.org/t/loading-matrix-data-structure/9859)

<div class="topic-metadata">

**Author:** [@wieke.prummel](https://discourse.slicer.org/u/wieke.prummel)\
**Replies:** 3\
**Last updated:** [January 22, 2020, 4:56pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859 "2020-01-22T16:56:53Z")

</div>

Hello slicer community, I would like to load a matrix data structure (json and csv file) into Slicer. Is it possible to define our own slicer node type? Thank you, Wieke

---

## [Clear unused view nodes](https://discourse.slicer.org/t/clear-unused-view-nodes/9905)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 1\
**Last updated:** [January 22, 2020, 3:53pm UTC](https://discourse.slicer.org/t/clear-unused-view-nodes/9905 "2020-01-22T15:53:57Z")

</div>

Hi, I use custom layouts. I want to clear the scene from unused viewers (vtkMRMLSliceNode and vtkMRMLViewNode) (and the nodes that are associated to them (as far as i have seen: a vtkMRMLSliceCompositeNode, a vtkMRMLMod…

---

## [ROI fit to volume not working with big coordinates](https://discourse.slicer.org/t/roi-fit-to-volume-not-working-with-big-coordinates/9857)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 3\
**Last updated:** [January 21, 2020, 8:41pm UTC](https://discourse.slicer.org/t/roi-fit-to-volume-not-working-with-big-coordinates/9857 "2020-01-21T20:41:20Z")

</div>

If I set the S origin coordinate of my volume to -5 000 000, when I click fit to volume, the ROI does not fit. It stays at -1 000 000 I’ve tried to change the settings of length at the unit options window, but I cannot …

---

## [Dashboard: windows build machine overload upgrade from Windows 7 to Windows 10](https://discourse.slicer.org/t/dashboard-windows-build-machine-overload-upgrade-from-windows-7-to-windows-10/9728)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 9\
**Last updated:** [January 21, 2020, 7:52pm UTC](https://discourse.slicer.org/t/dashboard-windows-build-machine-overload-upgrade-from-windows-7-to-windows-10/9728 "2020-01-21T19:52:12Z")

</div>

Later today, we will put the associated server offline and update the operating system from Windows 7 to Windows 10. If for some reason the update is not completed before the nightly build are expected to start, we will…

---

## [Qt 5.11 availability](https://discourse.slicer.org/t/qt-5-11-availability/9897)

<div class="topic-metadata">

**Author:** [@bpycinski](https://discourse.slicer.org/u/bpycinski)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 3:25pm UTC](https://discourse.slicer.org/t/qt-5-11-availability/9897 "2020-01-21T15:25:44Z")

</div>

Hello Slicer community! I’ve found that Qt 5.11 is no longer available with the recommended installer posted at build instructions: qt-unified-linux-x64-online.run. The installer can be found at download.qt.io site. By…

---

## [How can I automatically generate files like ui\_xxx.h、moc\_xxx.h form \*.ui?](https://discourse.slicer.org/t/how-can-i-automatically-generate-files-like-ui-xxx-h-moc-xxx-h-form-ui/9878)

<div class="topic-metadata">

**Author:** [@Shicong](https://discourse.slicer.org/u/Shicong)\
**Replies:** 2\
**Last updated:** [January 21, 2020, 2:01am UTC](https://discourse.slicer.org/t/how-can-i-automatically-generate-files-like-ui-xxx-h-moc-xxx-h-form-ui/9878 "2020-01-21T02:01:39Z")

</div>

I want to create a panel of my own in slicer, I copy a file such as ui and corresponding ui\_xxx.h, moc\_xxx.cpp, and change its name, smoother can run properly; I edited the .ui file in Qt, how can I automatically generat…

---

## [Acess DICOM metadata](https://discourse.slicer.org/t/acess-dicom-metadata/9883)

<div class="topic-metadata">

**Author:** [@electus](https://discourse.slicer.org/u/electus)\
**Replies:** 2\
**Last updated:** [January 20, 2020, 11:56pm UTC](https://discourse.slicer.org/t/acess-dicom-metadata/9883 "2020-01-20T23:56:38Z")

</div>

Hello guys, I am trying to access the metadata of a loaded CT in an extension that I am writing in Python. For example i would like to the number of colums, rows and slices and the voxel sizes. How can I access this d…

---

## [Add Drag and drop import to slicelet?](https://discourse.slicer.org/t/add-drag-and-drop-import-to-slicelet/9382)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.slicer.org/u/Amine)\
**Replies:** 4\
**Last updated:** [January 20, 2020, 12:56pm UTC](https://discourse.slicer.org/t/add-drag-and-drop-import-to-slicelet/9382 "2020-01-20T12:56:01Z")

</div>

Hi, is there any way to implement the drag and drop function to a slicelet (qt widget without the main window) as it is with the the main window (hopefully other than rewriting it from scratch ) thanks

---

## [Creating and building a Loadable Module: need help with an error](https://discourse.slicer.org/t/creating-and-building-a-loadable-module-need-help-with-an-error/7149)

<div class="topic-metadata">

**Author:** [@JamesCTilton](https://discourse.slicer.org/u/JamesCTilton)\
**Replies:** 3\
**Last updated:** [January 19, 2020, 9:01am UTC](https://discourse.slicer.org/t/creating-and-building-a-loadable-module-need-help-with-an-error/7149 "2020-01-19T09:01:56Z")

</div>

Operating system: Red Hat Linux 7.6 Slicer version: 4.10.2 Expected behavior: A successful build of a test program Actual behavior: I would like to create my own C++ application that calls Slicer functions with the …

---

## [How to add user-defined QTUI panel to the slicer](https://discourse.slicer.org/t/how-to-add-user-defined-qtui-panel-to-the-slicer/9862)

<div class="topic-metadata">

**Author:** [@Shicong](https://discourse.slicer.org/u/Shicong)\
**Replies:** 3\
**Last updated:** [January 19, 2020, 1:47am UTC](https://discourse.slicer.org/t/how-to-add-user-defined-qtui-panel-to-the-slicer/9862 "2020-01-19T01:47:47Z")

</div>

I’d like to add a displayed qt panel qslicerlogindialog.ui to the slider, which is placed in the directory shown below, but cannot be used; a panel like qslicerdatadialog.ui automatically generates a qslicerdialog\_p.h he…

---

## [Paint effect in 3d is slow](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 5\
**Last updated:** [January 17, 2020, 3:19pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850 "2020-01-17T15:19:35Z")

</div>

Paint in 3d is too slow, but not the slice. However the speed of the paint seems be no associated with the scale of the brush. So can I paint many points(or times in 3d view) and then apply the segment just the last one? …

---

## [Automated rigid (6 DOF) registration](https://discourse.slicer.org/t/automated-rigid-6-dof-registration/9794)

<div class="topic-metadata">

**Author:** [@Fang\_Cao](https://discourse.slicer.org/u/Fang_Cao)\
**Replies:** 4\
**Last updated:** [January 15, 2020, 2:05am UTC](https://discourse.slicer.org/t/automated-rigid-6-dof-registration/9794 "2020-01-15T02:05:43Z")

</div>

Hello, I am new to 3D slicer and want to take a look at the algorithm of automated rigid registration for different modalities (ex. T1 and T2 images of MRI) on the same subject in 3D slicer. The problem is I could not f…

---

## [What's is the different between default type extension and superbuild type extension?](https://discourse.slicer.org/t/whats-is-the-different-between-default-type-extension-and-superbuild-type-extension/9737)

<div class="topic-metadata">

**Author:** [@leemoncn](https://discourse.slicer.org/u/leemoncn)\
**Replies:** 2\
**Last updated:** [January 9, 2020, 10:43am UTC](https://discourse.slicer.org/t/whats-is-the-different-between-default-type-extension-and-superbuild-type-extension/9737 "2020-01-09T10:43:58Z")

</div>

I read the wiki documents,but i can’t find what’s is the different between default type extension and superbuild type extension?

---

## [build error need help ?](https://discourse.slicer.org/t/build-error-need-help/9615)

<div class="topic-metadata">

**Author:** [@appollosputnik](https://discourse.slicer.org/u/appollosputnik)\
**Replies:** 13\
**Last updated:** [January 9, 2020, 10:01am UTC](https://discourse.slicer.org/t/build-error-need-help/9615 "2020-01-09T10:01:09Z")

</div>

Dear Friends I am building Slicer 3D, and getting one error after building it for 24 hours in my Laptop. Only one error, I am writing the error log below. It seems it is failing with midas3 download. My internet connect…

---

## [Not all modules are enabled after build](https://discourse.slicer.org/t/not-all-modules-are-enabled-after-build/9644)

<div class="topic-metadata">

**Author:** [@harajyoti\_das](https://discourse.slicer.org/u/harajyoti_das)\
**Replies:** 21\
**Last updated:** [January 9, 2020, 7:43am UTC](https://discourse.slicer.org/t/not-all-modules-are-enabled-after-build/9644 "2020-01-09T07:43:16Z")

</div>

Hi, I have build the 3d slicer following the instructions given in the document. I am getting the following error: CUSTOMBUILD : error : Target (for copy\_if\_different command) “C:/D/D/Slicer-build/lib/Slicer-4.11/cli-mo…

---

## [Build error on Windows related to CLI build directory](https://discourse.slicer.org/t/build-error-on-windows-related-to-cli-build-directory/9738)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 7\
**Last updated:** [January 9, 2020, 7:41am UTC](https://discourse.slicer.org/t/build-error-on-windows-related-to-cli-build-directory/9738 "2020-01-09T07:41:52Z")

</div>

Hi all, I have done four Slicer builds recently, and all four had the same issue: the CLI directory was not created: "c:\\d\\S4D\\ALL\_BUILD.vcxproj" (default target) (1) -\> "C:\\d\\S4D\\Slicer.vcxproj" (default target) (33) …

---

## [Low FPS for transforming surfaces](https://discourse.slicer.org/t/low-fps-for-transforming-surfaces/9571)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 6\
**Last updated:** [January 8, 2020, 5:30pm UTC](https://discourse.slicer.org/t/low-fps-for-transforming-surfaces/9571 "2020-01-08T17:30:39Z")

</div>

We want to transform 3D models in ‘real time’ in 3D Slicer with data coming from outside. The problem is, that the frame rate we currently reach is very low. Below is some demonstration code to show our approach: hpp: Q…

---

## [Automatic install of Python packages](https://discourse.slicer.org/t/automatic-install-of-python-packages/7078)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 15\
**Last updated:** [June 12, 2019, 10:26pm UTC](https://discourse.slicer.org/t/automatic-install-of-python-packages/7078 "2019-06-12T22:26:39Z")

</div>

Continuing the discussion from Python3 switch and python package install: Are there any updates on the automatic installation of Python packages required by extensions? The packages we’d like to use can be installed man…

---

## [Remote web based UI](https://discourse.slicer.org/t/remote-web-based-ui/9729)

<div class="topic-metadata">

**Author:** [@burnhamd](https://discourse.slicer.org/u/burnhamd)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 9:21pm UTC](https://discourse.slicer.org/t/remote-web-based-ui/9729 "2020-01-07T21:21:07Z")

</div>

This is kind of a far fetched question, but I was wondering if anyone has done work on seperating the UI layer of slicer. My end goal is to have slicer running on a computer, but also have remote web based UI built simi…

---

## [How to get line markup in real time?](https://discourse.slicer.org/t/how-to-get-line-markup-in-real-time/9686)

<div class="topic-metadata">

**Author:** [@RayCui](https://discourse.slicer.org/u/RayCui)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 2:39am UTC](https://discourse.slicer.org/t/how-to-get-line-markup-in-real-time/9686 "2020-01-07T02:39:09Z")

</div>

I want to mark a certain section of blood vessels with some attribute. I thought I could draw line by Markup line widget to get the position of vessels. And read some value of attribues from ComboBox. Finally show the re…

---

## [Best practices for custom dialog](https://discourse.slicer.org/t/best-practices-for-custom-dialog/9694)

<div class="topic-metadata">

**Author:** [@Niels](https://discourse.slicer.org/u/Niels)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 2:49am UTC](https://discourse.slicer.org/t/best-practices-for-custom-dialog/9694 "2020-01-04T02:49:52Z")

</div>

For my module I would like to create a popup window to enable the user to fill in some fields and run some algorithm when pressing \[OK\] afterwards. I was wondering what the best way forward would be. I am now using a qt.…

---

## [Odd ID for vtkMRMLLayoutNode](https://discourse.slicer.org/t/odd-id-for-vtkmrmllayoutnode/9649)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 5:55pm UTC](https://discourse.slicer.org/t/odd-id-for-vtkmrmllayoutnode/9649 "2020-01-02T17:55:46Z")

</div>

I noticed that the layout node has an odd ID with a duplicate naming scheme (“vtkMRMLLayoutNodevtkMRMLLayoutNode”) as seen below. It appears to have had this ID since at least 2012 as an old testing file references it, …

---

## [Using external QML for Slicer custom application?](https://discourse.slicer.org/t/using-external-qml-for-slicer-custom-application/5325)

<div class="topic-metadata">

**Author:** [@jdx-john](https://discourse.slicer.org/u/jdx-john)\
**Replies:** 14\
**Last updated:** [January 2, 2020, 3:48pm UTC](https://discourse.slicer.org/t/using-external-qml-for-slicer-custom-application/5325 "2020-01-02T15:48:15Z")

</div>

We’re redesigning the GUI on our Slicer custom application and some designers I spoke to have Qt experience and proposed to supply QML scripts. I am not a Qt dev so I’m unclear if this is compatible with the way we use Q…

---

## [Add and connect properly GUI components to Slicer module](https://discourse.slicer.org/t/add-and-connect-properly-gui-components-to-slicer-module/9665)

<div class="topic-metadata">

**Author:** [@CreepyTrick](https://discourse.slicer.org/u/CreepyTrick)\
**Replies:** 2\
**Last updated:** [December 31, 2019, 1:20pm UTC](https://discourse.slicer.org/t/add-and-connect-properly-gui-components-to-slicer-module/9665 "2019-12-31T13:20:20Z")

</div>

Hello I come here again for a basic question … how to add and connects UI components like button and all in a new Loadable (so c++) module ? I found how to add: The UI file that i can open with Qt and add any component…

---

## [Slice rotation in viewport when using SetSliceToRASByNTP in python](https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191)

<div class="topic-metadata">

**Author:** [@talmazov](https://discourse.slicer.org/u/talmazov)\
**Replies:** 6\
**Last updated:** [December 18, 2019, 1:26am UTC](https://discourse.slicer.org/t/slice-rotation-in-viewport-when-using-setslicetorasbyntp-in-python/7191 "2019-12-18T01:26:17Z")

</div>

hey guys, I have been trying to debug this issue to no avail and I’m hoping someone could help me out or point me in some direction. Please refer to my stackoverflow post, feel free to answer here or there. If solution …

---

## [Import sqlite issue in Slicelet](https://discourse.slicer.org/t/import-sqlite-issue-in-slicelet/5691)

<div class="topic-metadata">

**Author:** [@Ehouarn](https://discourse.slicer.org/u/Ehouarn)\
**Replies:** 22\
**Last updated:** [December 31, 2019, 4:07am UTC](https://discourse.slicer.org/t/import-sqlite-issue-in-slicelet/5691 "2019-12-31T04:07:08Z")

</div>

Hi Slicer community, I am pretty new in Slicer extensions development, I try to create a complete graphic interface based on Slicelet concept to interface an existing software. This software have a lot of dependencies…

---

## [Set a node as a parent for the other nodes](https://discourse.slicer.org/t/set-a-node-as-a-parent-for-the-other-nodes/9646)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 3\
**Last updated:** [December 30, 2019, 6:45pm UTC](https://discourse.slicer.org/t/set-a-node-as-a-parent-for-the-other-nodes/9646 "2019-12-30T18:45:53Z")

</div>

Greetings, How to setup vtkMRMLRTBeamNode as a parent node for a other nodes (e.g., vtkMRMLTableNode)? The beam node observed some table node, and in the hierarchy tree view widget the drag-and-drop operation allows to…

---

## [Exception during execution of SimpleFilter filters](https://discourse.slicer.org/t/exception-during-execution-of-simplefilter-filters/2442)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 8\
**Last updated:** [December 22, 2019, 9:11pm UTC](https://discourse.slicer.org/t/exception-during-execution-of-simplefilter-filters/2442 "2019-12-22T21:11:47Z")

</div>

I am currently trying to test different filtering methods in the UI which will later be automated through python. I am using a volume of DICOM images and I am getting an error on several different SimpleFilter filters. I…

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

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