# Development

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

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

**Page:** 125

---

## [Trying to run test from loadable module (outside of Slicer source tree)](https://discourse.slicer.org/t/trying-to-run-test-from-loadable-module-outside-of-slicer-source-tree/1582)

<div class="topic-metadata">

**Author:** [@SolidusAbi](https://discourse.slicer.org/u/SolidusAbi)\
**Replies:** 6\
**Last updated:** [December 7, 2017, 4:05pm UTC](https://discourse.slicer.org/t/trying-to-run-test-from-loadable-module-outside-of-slicer-source-tree/1582 "2017-12-07T16:05:27Z")

</div>

Hi everyone, I’m trying to develop a loadable module outside of Slicer source tree using a configuration based on the wiki tutorial. I have gotten to import the module and compile in QtCreator but I have a problem runni…

---

## [Trigger rendering on Modified](https://discourse.slicer.org/t/trigger-rendering-on-modified/1598)

<div class="topic-metadata">

**Author:** [@thaenel](https://discourse.slicer.org/u/thaenel)\
**Replies:** 5\
**Last updated:** [December 6, 2017, 2:38pm UTC](https://discourse.slicer.org/t/trigger-rendering-on-modified/1598 "2017-12-06T14:38:40Z")

</div>

Hello everyone, I’m currently developing a module that streams 2D images based on custom OpenIGTLink messages. The streaming works good, concurrency is no issue (I use vtkSlicerApplicationLogic::RequestModified from the…

---

## [Weird security error on macOS when restarting under lldb, sometimes](https://discourse.slicer.org/t/weird-security-error-on-macos-when-restarting-under-lldb-sometimes/1607)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 3\
**Last updated:** [December 7, 2017, 1:28am UTC](https://discourse.slicer.org/t/weird-security-error-on-macos-when-restarting-under-lldb-sometimes/1607 "2017-12-07T01:28:54Z")

</div>

I keep getting this error randomly every few times I restart Slicer under lldb. The first run after launching lldb always works, but if I relaunch in the same lldb process (proc launch), then I get this anywhere from the…

---

## [Interaction Mode](https://discourse.slicer.org/t/interaction-mode/1602)

<div class="topic-metadata">

**Author:** [@lcoram](https://discourse.slicer.org/u/lcoram)\
**Replies:** 1\
**Last updated:** [December 6, 2017, 5:28pm UTC](https://discourse.slicer.org/t/interaction-mode/1602 "2017-12-06T17:28:47Z")

</div>

Hi Slicer developers, When communicating an interaction state/mode within a module (or potentially between modules in an extension) it feels like the best way to do this would be use the vtkMRMLInteractionNodeSingleton.…

---

## [Resampling or modify mesh properties of a model to get light .stl files](https://discourse.slicer.org/t/resampling-or-modify-mesh-properties-of-a-model-to-get-light-stl-files/1584)

<div class="topic-metadata">

**Author:** [@terajnol](https://discourse.slicer.org/u/terajnol)\
**Replies:** 2\
**Last updated:** [December 5, 2017, 1:14pm UTC](https://discourse.slicer.org/t/resampling-or-modify-mesh-properties-of-a-model-to-get-light-stl-files/1584 "2017-12-05T13:14:36Z")

</div>

Hi everyone, I am trying to obtain a 3D model of a vertebra from DICOM images, and to display it in other applications, such as a 3D pdf. So far, my solution is to export a stl file from Slicer and then to translate it …

---

## [In master branch build,SubjectHierarchy failded to be loaded](https://discourse.slicer.org/t/in-master-branch-build-subjecthierarchy-failded-to-be-loaded/1590)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.slicer.org/u/eric)\
**Replies:** 1\
**Last updated:** [December 5, 2017, 2:39am UTC](https://discourse.slicer.org/t/in-master-branch-build-subjecthierarchy-failded-to-be-loaded/1590 "2017-12-05T02:39:50Z")

</div>

I builded the master branch successfully,but when I launched the Slicer, it said"When loading module DICOM, the dependency SubjectHierarchy failed to be loaded." Did I need more configution?

---

## [Tcl related build error on Mac](https://discourse.slicer.org/t/tcl-related-build-error-on-mac/1568)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [December 4, 2017, 4:30pm UTC](https://discourse.slicer.org/t/tcl-related-build-error-on-mac/1568 "2017-12-04T16:30:59Z")

</div>

I did a clean build on Mac High Sierra on the latest master and got this build error. -- tcl: Errors detected - See below. In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/regcomp.c:33: In file included f…

---

## [Threading CLI commands](https://discourse.slicer.org/t/threading-cli-commands/1576)

<div class="topic-metadata">

**Author:** [@purav70](https://discourse.slicer.org/u/purav70)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 4:55pm UTC](https://discourse.slicer.org/t/threading-cli-commands/1576 "2017-12-01T16:55:11Z")

</div>

Hi there, I was wondering if the method slicer.cli.run() acted as a thread, thereby running the command asynchronously, versus the method slicer.cli.runSync(). I need to call on a cli run command several times, and bec…

---

## [how we can visualize only one segment of a joint](https://discourse.slicer.org/t/how-we-can-visualize-only-one-segment-of-a-joint/1533)

<div class="topic-metadata">

**Author:** [@shrimanti](https://discourse.slicer.org/u/shrimanti)\
**Replies:** 7\
**Last updated:** [November 30, 2017, 3:48am UTC](https://discourse.slicer.org/t/how-we-can-visualize-only-one-segment-of-a-joint/1533 "2017-11-30T03:48:36Z")

</div>

I have DICOM image of the knee joint and it has Femur, Patella, Tibia, Fibula. But if I want to show only one part say Patella in the 3D view of Slicer, how can I do that?

---

## [Qt5 build recompiles on Linux?](https://discourse.slicer.org/t/qt5-build-recompiles-on-linux/1542)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 7\
**Last updated:** [November 28, 2017, 8:53pm UTC](https://discourse.slicer.org/t/qt5-build-recompiles-on-linux/1542 "2017-11-28T20:53:08Z")

</div>

\[split from Nightly binaries Qt5/VTK9?\] How would Qt5 library version be managed on Linux ? From 5.9.2 to 5.9.3, I had to recompile, Qt says ‘mismatch version’ otherwise. This was not a problem for no longer developed …

---

## [How reload module button works?](https://discourse.slicer.org/t/how-reload-module-button-works/1085)

<div class="topic-metadata">

**Author:** [@ktdiedrich](https://discourse.slicer.org/u/ktdiedrich)\
**Replies:** 5\
**Last updated:** [November 28, 2017, 2:45pm UTC](https://discourse.slicer.org/t/how-reload-module-button-works/1085 "2017-11-28T14:45:34Z")

</div>

---

## [Nightly binaries Qt5/VTK9?](https://discourse.slicer.org/t/nightly-binaries-qt5-vtk9/1531)

<div class="topic-metadata">

**Author:** [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 3:24am UTC](https://discourse.slicer.org/t/nightly-binaries-qt5-vtk9/1531 "2017-11-28T03:24:07Z")

</div>

Hi all, I was just curious if there is a planned date for the release of the nightly binaries in Qt5/VTK9. A part minor bugs, it seems working quite well. Or is there any particular issue with the compiling/packing on …

---

## [Issue building Slicer with Qt installed using Homebrew: Symbol not found: \_\_cg\_jpeg\_resync\_to\_restart](https://discourse.slicer.org/t/issue-building-slicer-with-qt-installed-using-homebrew-symbol-not-found-cg-jpeg-resync-to-restart/1486)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 18\
**Last updated:** [November 27, 2017, 2:12pm UTC](https://discourse.slicer.org/t/issue-building-slicer-with-qt-installed-using-homebrew-symbol-not-found-cg-jpeg-resync-to-restart/1486 "2017-11-27T14:12:32Z")

</div>

Hi all, I’m trying to build Slicer on my macOS Sierra 10.12.6 with this configuration: cmake -DCMAKE\_BUILD\_TYPE:STRING=Release -DQT\_QMAKE\_EXECUTABLE:FILEPATH=/usr/local/Cellar/qt@4/4.8.7\_2/bin/qmake -DCMAKE\_OSX\_DEPLOYM…

---

## [Is there any explanation document?](https://discourse.slicer.org/t/is-there-any-explanation-document/1519)

<div class="topic-metadata">

**Author:** [@gildoringlorin](https://discourse.slicer.org/u/gildoringlorin)\
**Replies:** 2\
**Last updated:** [November 26, 2017, 12:12am UTC](https://discourse.slicer.org/t/is-there-any-explanation-document/1519 "2017-11-26T00:12:10Z")

</div>

I’m studying the slicer resource code,but it’s too difficult for me to understand.:disappointed\_relieved: Is there any document or website that explain how the slicer project works and the structure of the slicer resour…

---

## [Advanced chart or plot features](https://discourse.slicer.org/t/advanced-chart-or-plot-features/1498)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 2\
**Last updated:** [November 23, 2017, 6:13pm UTC](https://discourse.slicer.org/t/advanced-chart-or-plot-features/1498 "2017-11-23T18:13:19Z")

</div>

I’d like to create a histogram with vertical line markers for upper and lower range cutoffs. I don’t know how I can create the vertical lines. Another thing I noticed is that the widths of the bars in the bar chart don’t…

---

## [No 'export as' option in Segmentation module](https://discourse.slicer.org/t/no-export-as-option-in-segmentation-module/1495)

<div class="topic-metadata">

**Author:** [@Remco](https://discourse.slicer.org/u/Remco)\
**Replies:** 5\
**Last updated:** [November 21, 2017, 3:48pm UTC](https://discourse.slicer.org/t/no-export-as-option-in-segmentation-module/1495 "2017-11-21T15:48:42Z")

</div>

In the segmentations models, there is no option to ‘export model as’ only ‘export new’ Thus the name has to be changed afterwards for new exports. This seems like a bug to me or is it intentional? At any rate it is incon…

---

## [Need to update extensions that other extensions may depend on](https://discourse.slicer.org/t/need-to-update-extensions-that-other-extensions-may-depend-on/228)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 6\
**Last updated:** [November 18, 2017, 1:10am UTC](https://discourse.slicer.org/t/need-to-update-extensions-that-other-extensions-may-depend-on/228 "2017-11-18T01:10:55Z")

</div>

Extensions were failed to build last night that depend on extensions that don't provide a (ExtensionName)Config.cmake file. The error is changed to a warning for now, so extension builds will succeed tomorrow, but develo…

---

## [Unable to Build CTK & SITK](https://discourse.slicer.org/t/unable-to-build-ctk-sitk/1466)

<div class="topic-metadata">

**Author:** [@purav70](https://discourse.slicer.org/u/purav70)\
**Replies:** 6\
**Last updated:** [November 17, 2017, 7:47pm UTC](https://discourse.slicer.org/t/unable-to-build-ctk-sitk/1466 "2017-11-17T19:47:24Z")

</div>

I am building a fresh release build of slicer 4.7 (commit 42630e641fde4bb8f6e0903cf15ad3ac9cd00b78) using VS2013, Windows x64, QT 4.8.7, and get the following error. This error also seems to cause SITK to fail. I’ve trie…

---

## [Incorrect display of registration result image](https://discourse.slicer.org/t/incorrect-display-of-registration-result-image/1456)

<div class="topic-metadata">

**Author:** [@Eloise](https://discourse.slicer.org/u/Eloise)\
**Replies:** 3\
**Last updated:** [November 15, 2017, 3:29pm UTC](https://discourse.slicer.org/t/incorrect-display-of-registration-result-image/1456 "2017-11-15T15:29:37Z")

</div>

Hi slicer developers, I am new to Slicer and I am working on a C++ loadable module to do image registration. My registration module runs without any error and the resulting node is displayed in Slicer. The output has c…

---

## [Problem with using absolute pathways in Slicer scripted modules](https://discourse.slicer.org/t/problem-with-using-absolute-pathways-in-slicer-scripted-modules/1449)

<div class="topic-metadata">

**Author:** [@purav70](https://discourse.slicer.org/u/purav70)\
**Replies:** 6\
**Last updated:** [November 14, 2017, 4:34pm UTC](https://discourse.slicer.org/t/problem-with-using-absolute-pathways-in-slicer-scripted-modules/1449 "2017-11-14T16:34:03Z")

</div>

Hi there. While implementing my own scripted module, I was required to add a specific executable to the python resources in its cmake file: set(MODULE\_PYTHON\_RESOURCES ${ALPHA\_SHAPES\_3\_EXECUTABLE} Resources/Icons…

---

## [Loading multiple volumes](https://discourse.slicer.org/t/loading-multiple-volumes/1455)

<div class="topic-metadata">

**Author:** [@jperdomo23](https://discourse.slicer.org/u/jperdomo23)\
**Replies:** 2\
**Last updated:** [November 14, 2017, 1:23pm UTC](https://discourse.slicer.org/t/loading-multiple-volumes/1455 "2017-11-14T13:23:17Z")

</div>

Hi slicer-devel, Does anyone know a Python call in the Slicer API for loading multiple volumes at once? I have been trying different parameters with slicer.util.loadVolume() without success. I am trying to avoid for-loo…

---

## [No extensions built on Linux](https://discourse.slicer.org/t/no-extensions-built-on-linux/1433)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 1\
**Last updated:** [November 10, 2017, 6:50pm UTC](https://discourse.slicer.org/t/no-extensions-built-on-linux/1433 "2017-11-10T18:50:03Z")

</div>

There are no linux extension builds on the dashboard today.

---

## [Build Error PythonQt Visual Studio 2015 Qt 5.9.2](https://discourse.slicer.org/t/build-error-pythonqt-visual-studio-2015-qt-5-9-2/1411)

<div class="topic-metadata">

**Author:** [@danielbr](https://discourse.slicer.org/u/danielbr)\
**Replies:** 17\
**Last updated:** [November 10, 2017, 3:46pm UTC](https://discourse.slicer.org/t/build-error-pythonqt-visual-studio-2015-qt-5-9-2/1411 "2017-11-10T15:46:19Z")

</div>

Trying to build slicer 4.8.0 with Qt 5.9.2. I get really close to a full complete build, but PythonQt in CTK fails everytime with a laundry list of errors. I am using Visual Studio 2015 I turned off Slicer\_USE\_PYTHONQT…

---

## [Windows build scripts and simplification](https://discourse.slicer.org/t/windows-build-scripts-and-simplification/1431)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 3\
**Last updated:** [November 10, 2017, 3:01pm UTC](https://discourse.slicer.org/t/windows-build-scripts-and-simplification/1431 "2017-11-10T15:01:04Z")

</div>

In-repo sounds fine for a quickbuild.bat type of script, but remember that this will add another layer of indirection and potential confusion (“I tried the quickbuild.bat but it kept rebuilding everything from scratch a…

---

## [Slicer build failed in windows 10, numpy patch problem](https://discourse.slicer.org/t/slicer-build-failed-in-windows-10-numpy-patch-problem/1424)

<div class="topic-metadata">

**Author:** [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Replies:** 0\
**Last updated:** [November 9, 2017, 8:55pm UTC](https://discourse.slicer.org/t/slicer-build-failed-in-windows-10-numpy-patch-problem/1424 "2017-11-09T20:55:25Z")

</div>

Dear all, I am trying to build a release type build of Slicer -r 26489 source code in windows 10 using visual studio 2013 update 5. The build fail because of Numpy. I got this error when I try to build numpy: 16\> -- …

---

## [Utility functions for python tests that download their own (DICOM or other) data from the web](https://discourse.slicer.org/t/utility-functions-for-python-tests-that-download-their-own-dicom-or-other-data-from-the-web/1330)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 4\
**Last updated:** [November 8, 2017, 9:36pm UTC](https://discourse.slicer.org/t/utility-functions-for-python-tests-that-download-their-own-dicom-or-other-data-from-the-web/1330 "2017-11-08T21:36:31Z")

</div>

I’m writing a few new automated python tests for extensions, and realized that I keep adding the same functions in my tests unchanged. These functions Download data, unzip to temp folder, verify total number of unzippe…

---

## [Adding new points to segmentation (or its label map)](https://discourse.slicer.org/t/adding-new-points-to-segmentation-or-its-label-map/1355)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 18\
**Last updated:** [November 8, 2017, 8:01pm UTC](https://discourse.slicer.org/t/adding-new-points-to-segmentation-or-its-label-map/1355 "2017-11-08T20:01:20Z")

</div>

I have a list of RAS points I would like to assign to a pre-existing segment, either directly or via a label map. I looked at what’s in the nightly script repository, and it doesn’t appear to cover this situation. I lik…

---

## [Reformat view from fiducial points (AC-PC)](https://discourse.slicer.org/t/reformat-view-from-fiducial-points-ac-pc/1353)

<div class="topic-metadata">

**Author:** [@Andras\_Jakab](https://discourse.slicer.org/u/Andras_Jakab)\
**Replies:** 3\
**Last updated:** [November 3, 2017, 4:05pm UTC](https://discourse.slicer.org/t/reformat-view-from-fiducial-points-ac-pc/1353 "2017-11-03T16:05:32Z")

</div>

Dear Slicer community, I would like to ask if there is a way to control and reformat the views (for example, the red/axial) to be parallel to the AC-PC plane, if AC and PC points are fiducials that are placed in the sce…

---

## [Slicer Extension: Spacing out points along curve from Curve Maker](https://discourse.slicer.org/t/slicer-extension-spacing-out-points-along-curve-from-curve-maker/1243)

<div class="topic-metadata">

**Author:** [@Gordon](https://discourse.slicer.org/u/Gordon)\
**Replies:** 5\
**Last updated:** [November 1, 2017, 5:19pm UTC](https://discourse.slicer.org/t/slicer-extension-spacing-out-points-along-curve-from-curve-maker/1243 "2017-11-01T17:19:14Z")

</div>

My collaborator is using Curve Maker to fit a curve to feature in an MRI image. They would like to be able to space a certain number of points along that curve. Is there already a way to do this? If not, how difficult wo…

---

## [How to show the vtk object which links 3x ranges in 3x different slices?](https://discourse.slicer.org/t/how-to-show-the-vtk-object-which-links-3x-ranges-in-3x-different-slices/1324)

<div class="topic-metadata">

**Author:** [@spring](https://discourse.slicer.org/u/spring)\
**Replies:** 5\
**Last updated:** [November 1, 2017, 11:44am UTC](https://discourse.slicer.org/t/how-to-show-the-vtk-object-which-links-3x-ranges-in-3x-different-slices/1324 "2017-11-01T11:44:15Z")

</div>

Hi Slicer Experts: Background is: we have one CT image in Slicer,and we want to draw 3x ranges(with rectangle format ) in 3x different slices,then we want to link these 3x ranges and show it as cuboid. Now we can get th…

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

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