# Development

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

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

**Page:** 128

---

## [Path of image node](https://discourse.slicer.org/t/path-of-image-node/799)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 2\
**Last updated:** [August 2, 2017, 3:17pm UTC](https://discourse.slicer.org/t/path-of-image-node/799 "2017-08-02T15:17:00Z")

</div>

I needed to pass a path to DICOM file to a certain CLI module because that module needed metadata from the header. But to get the path depends on how the node was loaded, via drag-drop or via DICOM browser. Here is a fun…

---

## [ModuleWizard.py crash on png file](https://discourse.slicer.org/t/modulewizard-py-crash-on-png-file/801)

<div class="topic-metadata">

**Author:** [@JK\_Kim](https://discourse.slicer.org/u/JK_Kim)\
**Replies:** 3\
**Last updated:** [August 2, 2017, 1:07pm UTC](https://discourse.slicer.org/t/modulewizard-py-crash-on-png-file/801 "2017-08-02T13:07:12Z")

</div>

Following on the HelloCLI tutorial… Ran the ModuleWizard.py as follows… /Utilities/Scripts/ModuleWizard.py --template ./Extensions/Testing/CLIExtensionTemplate --target ../My\_Module My\_Module Then, it crashes …

---

## [Splash Screen Showing Version Number](https://discourse.slicer.org/t/splash-screen-showing-version-number/804)

<div class="topic-metadata">

**Author:** [@moselhy](https://discourse.slicer.org/u/moselhy)\
**Replies:** 6\
**Last updated:** [August 1, 2017, 6:24pm UTC](https://discourse.slicer.org/t/splash-screen-showing-version-number/804 "2017-08-01T18:24:59Z")

</div>

I think it would be nice if the splash screen displayed the version number in the top-right corner. Like this: I am having a hard time implementing a static message (version number), because the showMessage() functio…

---

## [Recompiling Slicer with changes](https://discourse.slicer.org/t/recompiling-slicer-with-changes/803)

<div class="topic-metadata">

**Author:** [@moselhy](https://discourse.slicer.org/u/moselhy)\
**Replies:** 1\
**Last updated:** [August 1, 2017, 4:44pm UTC](https://discourse.slicer.org/t/recompiling-slicer-with-changes/803 "2017-08-01T16:44:24Z")

</div>

Hello, I cloned the Slicer repository to C:\\D\\S4 and built it to C:\\D\\S4R using these instructions. Then, I made a change to C:\\D\\S4\\Applications\\SlicerApp\\Main.cxx. Then, I opened C:\\D\\S4R\\Slicer.sln and clicked “Build…

---

## [Daniele Procida - How documentation works, and how to make it work for your project - PyCon 2017](https://discourse.slicer.org/t/daniele-procida-how-documentation-works-and-how-to-make-it-work-for-your-project-pycon-2017/792)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 4\
**Last updated:** [August 1, 2017, 2:19pm UTC](https://discourse.slicer.org/t/daniele-procida-how-documentation-works-and-how-to-make-it-work-for-your-project-pycon-2017/792 "2017-08-01T14:19:38Z")

</div>

@jcfr mentioned this talk to me, and I thought it is a good investment of 30 min time to at least listen to it.

---

## [Get Pointer to Given element of Markup list](https://discourse.slicer.org/t/get-pointer-to-given-element-of-markup-list/795)

<div class="topic-metadata">

**Author:** [@gabriele.arnulfo](https://discourse.slicer.org/u/gabriele.arnulfo)\
**Replies:** 1\
**Last updated:** [August 1, 2017, 1:43am UTC](https://discourse.slicer.org/t/get-pointer-to-given-element-of-markup-list/795 "2017-08-01T01:43:19Z")

</div>

Dear all, following the use case. I have developed a segmentation algorithm that localises channel positions in single subject space for intracerebral implants. This algorithm requires as initial points the target ( hea…

---

## [Recursively checking if folder contains DICOMs](https://discourse.slicer.org/t/recursively-checking-if-folder-contains-dicoms/781)

<div class="topic-metadata">

**Author:** [@moselhy](https://discourse.slicer.org/u/moselhy)\
**Replies:** 3\
**Last updated:** [July 30, 2017, 6:19pm UTC](https://discourse.slicer.org/t/recursively-checking-if-folder-contains-dicoms/781 "2017-07-30T18:19:04Z")

</div>

Hello, I am developing a segmentation module called “PhantomSegmenter” which would automatically segment phantoms. The user only has to input a volume and press the button. However, I would like to give the user a choic…

---

## [Matlab Functions for Interacting with Slicer Data?](https://discourse.slicer.org/t/matlab-functions-for-interacting-with-slicer-data/786)

<div class="topic-metadata">

**Author:** [@\_jmichael](https://discourse.slicer.org/u/_jmichael)\
**Replies:** 1\
**Last updated:** [July 30, 2017, 12:30am UTC](https://discourse.slicer.org/t/matlab-functions-for-interacting-with-slicer-data/786 "2017-07-30T00:30:15Z")

</div>

Are there any existing collections of functions developed for Matlab that allow data saved from Slicer (e.g. markups fiducial, affine transforms, etc.) to be loaded in/out of Matlab? I’m aware of the Matlab Bridge exten…

---

## [Scene load broken due to new volume unit attribute](https://discourse.slicer.org/t/scene-load-broken-due-to-new-volume-unit-attribute/771)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 8\
**Last updated:** [July 26, 2017, 2:14pm UTC](https://discourse.slicer.org/t/scene-load-broken-due-to-new-volume-unit-attribute/771 "2017-07-26T14:14:55Z")

</div>

py\_SubjectHierarchyGenericSelfTest started failing due to a failure of loading a scene. Digging into it, this error message (Error parsing XML in stream at line 38, column 151, byte index 10406: not well-formed (invalid …

---

## [Build error - CTK CustomBuild failed](https://discourse.slicer.org/t/build-error-ctk-custombuild-failed/764)

<div class="topic-metadata">

**Author:** [@JK\_Kim](https://discourse.slicer.org/u/JK_Kim)\
**Replies:** 3\
**Last updated:** [July 26, 2017, 2:06am UTC](https://discourse.slicer.org/t/build-error-ctk-custombuild-failed/764 "2017-07-26T02:06:06Z")

</div>

I am following the instructions for building (https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build\_Instructions) and getting the following four errors. I am on Window 7 using VS2013(update 4). Everything e…

---

## [Slicer debug-mode buid error in 2017-07-23 version on Windows due to bzip2](https://discourse.slicer.org/t/slicer-debug-mode-buid-error-in-2017-07-23-version-on-windows-due-to-bzip2/751)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [July 26, 2017, 2:05am UTC](https://discourse.slicer.org/t/slicer-debug-mode-buid-error-in-2017-07-23-version-on-windows-due-to-bzip2/751 "2017-07-26T02:05:11Z")

</div>

This error now prevents all debug-mode builds on Windows, so it would be important to get a fix soon. The build error is in Python, due to libbz2.lib not found in Release subdirectory. Building of this library is very s…

---

## [Cannot start Slicer.exe after a release build](https://discourse.slicer.org/t/cannot-start-slicer-exe-after-a-release-build/767)

<div class="topic-metadata">

**Author:** [@JK\_Kim](https://discourse.slicer.org/u/JK_Kim)\
**Replies:** 0\
**Last updated:** [July 26, 2017, 2:04am UTC](https://discourse.slicer.org/t/cannot-start-slicer-exe-after-a-release-build/767 "2017-07-26T02:04:44Z")

</div>

I just built a release version but when I double click Slicer.exe (win7) I get the following error. Am I not running it correct? No error during building… Debug Assertion Failed Program: …licer\\SlicerBuild\\Slicer-build…

---

## [Multi volume rendering](https://discourse.slicer.org/t/multi-volume-rendering/760)

<div class="topic-metadata">

**Author:** [@nih](https://discourse.slicer.org/u/nih)\
**Replies:** 2\
**Last updated:** [July 25, 2017, 8:28pm UTC](https://discourse.slicer.org/t/multi-volume-rendering/760 "2017-07-25T20:28:18Z")

</div>

Hello world, I recently wrote an extension to import GE 3D/4D ultrasound (US) data into 3DSlicer. Right now, my colleagues and me want to visualise the 3D US volume along with (registered) preop. digital substraction an…

---

## [FSL through Slicer](https://discourse.slicer.org/t/fsl-through-slicer/736)

<div class="topic-metadata">

**Author:** [@marlene](https://discourse.slicer.org/u/marlene)\
**Replies:** 2\
**Last updated:** [July 24, 2017, 3:01pm UTC](https://discourse.slicer.org/t/fsl-through-slicer/736 "2017-07-24T15:01:58Z")

</div>

Hello everybody, I am trying to use an external library (fsl) in my module. My problem is exactly this : http://massmail.spl.harvard.edu/public-archives/slicer-users/2016/010173.html . I am wondering weather in the mean…

---

## [Loading a DICOM and changing it to nrrd in the background](https://discourse.slicer.org/t/loading-a-dicom-and-changing-it-to-nrrd-in-the-background/738)

<div class="topic-metadata">

**Author:** [@benwilk](https://discourse.slicer.org/u/benwilk)\
**Replies:** 4\
**Last updated:** [July 23, 2017, 3:17pm UTC](https://discourse.slicer.org/t/loading-a-dicom-and-changing-it-to-nrrd-in-the-background/738 "2017-07-23T15:17:21Z")

</div>

These functions allow you to load multivolume DICOM images and have slicer change them into .nrrd file format without any further user input. Certain modules will now be able to use the data directly. Currently it is set…

---

## [Subject hierarchy combobox showing a drop-down tree](https://discourse.slicer.org/t/subject-hierarchy-combobox-showing-a-drop-down-tree/733)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 9\
**Last updated:** [July 23, 2017, 3:11pm UTC](https://discourse.slicer.org/t/subject-hierarchy-combobox-showing-a-drop-down-tree/733 "2017-07-23T15:11:10Z")

</div>

New features section in the documentaion mentions a combobox showing a drop-down tree, but in the designer (started by Slicer-build\\Slicer.exe --designer) I only see qMRMLSubjectHierarchyTreeView widget. Is the documenta…

---

## [Slicer crashes on loading module (during UI buildup)](https://discourse.slicer.org/t/slicer-crashes-on-loading-module-during-ui-buildup/732)

<div class="topic-metadata">

**Author:** [@mschwier](https://discourse.slicer.org/u/mschwier)\
**Replies:** 4\
**Last updated:** [July 21, 2017, 12:06pm UTC](https://discourse.slicer.org/t/slicer-crashes-on-loading-module-during-ui-buildup/732 "2017-07-21T12:06:37Z")

</div>

Operating system: Windows 10, 64 Bit Slicer version:4.7.0-2017-07-07 Expected behavior: Show module UI Actual behavior: Slicer crashes Hi together, I am pretty new to Slicer (just started to work with Andrey Fedorov)…

---

## [DICOM and VTK file orientation Issue](https://discourse.slicer.org/t/dicom-and-vtk-file-orientation-issue/717)

<div class="topic-metadata">

**Author:** [@kanampalli\_himaja](https://discourse.slicer.org/u/kanampalli_himaja)\
**Replies:** 7\
**Last updated:** [July 20, 2017, 1:04pm UTC](https://discourse.slicer.org/t/dicom-and-vtk-file-orientation-issue/717 "2017-07-20T13:04:23Z")

</div>

I am trying to load nrrd as AXIAL, CORONAL, SAGITAL view and VTK file outside of the Slicer but the orientation is not matching as in slicer 3d Conventional view if we enable all three AXIAL, Sagital, and CORONAL views. …

---

## [VTK Development Survey](https://discourse.slicer.org/t/vtk-development-survey/707)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [July 18, 2017, 3:46pm UTC](https://discourse.slicer.org/t/vtk-development-survey/707 "2017-07-18T15:46:06Z")

</div>

Hi Everybody, The VTK team is always looking to attract new developers and improve the experience of developing VTK. To further that, we are putting out an anonymous survey to collect data on people's thoughts about …

---

## [Build problems on Gentoo and CentOS](https://discourse.slicer.org/t/build-problems-on-gentoo-and-centos/696)

<div class="topic-metadata">

**Author:** [@vnpavanelli](https://discourse.slicer.org/u/vnpavanelli)\
**Replies:** 4\
**Last updated:** [July 17, 2017, 6:38am UTC](https://discourse.slicer.org/t/build-problems-on-gentoo-and-centos/696 "2017-07-17T06:38:04Z")

</div>

I'm having some problems building 3D Slicer on Gentoo, I'm using GCC 7 and GCC 6, could not try on GCC 4 since it got some libraries problems with the ABI changes. Can someone orient me about what GCC version and maybe …

---

## [Sound feedback navigation](https://discourse.slicer.org/t/sound-feedback-navigation/690)

<div class="topic-metadata">

**Author:** [@robmbar](https://discourse.slicer.org/u/robmbar)\
**Replies:** 4\
**Last updated:** [July 14, 2017, 8:11pm UTC](https://discourse.slicer.org/t/sound-feedback-navigation/690 "2017-07-14T20:11:09Z")

</div>

I’m developing a navigation module and I want to implement some sound feedback during the navigation. I found this video regarding LumpNav module and this is what I intend to implement: I tried to look for the python c…

---

## [Issues Modifying the Transform Tree](https://discourse.slicer.org/t/issues-modifying-the-transform-tree/569)

<div class="topic-metadata">

**Author:** [@j-f](https://discourse.slicer.org/u/j-f)\
**Replies:** 16\
**Last updated:** [July 14, 2017, 4:34pm UTC](https://discourse.slicer.org/t/issues-modifying-the-transform-tree/569 "2017-07-14T16:34:23Z")

</div>

Hi all, my team is currently developing a Slicer/Python module for a internal research project. At the moment I am still waiting for the permission to publish parts of the source code here, so I cannot provide you with…

---

## [How to get a segment in a vtkImageData whithout location issue](https://discourse.slicer.org/t/how-to-get-a-segment-in-a-vtkimagedata-whithout-location-issue/678)

<div class="topic-metadata">

**Author:** [@Marine](https://discourse.slicer.org/u/Marine)\
**Replies:** 2\
**Last updated:** [July 13, 2017, 9:26am UTC](https://discourse.slicer.org/t/how-to-get-a-segment-in-a-vtkimagedata-whithout-location-issue/678 "2017-07-13T09:26:41Z")

</div>

Hi everyone! I would like to get a segment from a segmentation node as a vtkImageData (not a vtkOrientedImageData). My pipeline is: I create a segment from a binary vtkImageData Then I modify this segment in the segm…

---

## [Create Axes Model using CreateModels CLI](https://discourse.slicer.org/t/create-axes-model-using-createmodels-cli/674)

<div class="topic-metadata">

**Author:** [@hgueziri](https://discourse.slicer.org/u/hgueziri)\
**Replies:** 2\
**Last updated:** [July 11, 2017, 11:31pm UTC](https://discourse.slicer.org/t/create-axes-model-using-createmodels-cli/674 "2017-07-11T23:31:24Z")

</div>

Hi all, I trying to create a coordinate system model using CreateModels CLI called from a Python terminal. I tried the followings code (inspired from vtkSlicerCreateModelsLogic.h) but I could not guess what are the exac…

---

## [Error Building Slicer on Windows Subsystem for Linux](https://discourse.slicer.org/t/error-building-slicer-on-windows-subsystem-for-linux/670)

<div class="topic-metadata">

**Author:** [@edwardwang1](https://discourse.slicer.org/u/edwardwang1)\
**Replies:** 2\
**Last updated:** [July 11, 2017, 9:22pm UTC](https://discourse.slicer.org/t/error-building-slicer-on-windows-subsystem-for-linux/670 "2017-07-11T21:22:57Z")

</div>

Hi all, I am trying to build Slicer via the Windows Subsystem for Linux with Anaconda instead of default Python. Following the steps of the Slicer Wiki, I am able to get past the Cmake step. However, I run into an error…

---

## [vtkMRMLScalarVolumeNode to SimpleITK image](https://discourse.slicer.org/t/vtkmrmlscalarvolumenode-to-simpleitk-image/645)

<div class="topic-metadata">

**Author:** [@gulamhus](https://discourse.slicer.org/u/gulamhus)\
**Replies:** 2\
**Last updated:** [July 7, 2017, 5:32pm UTC](https://discourse.slicer.org/t/vtkmrmlscalarvolumenode-to-simpleitk-image/645 "2017-07-07T17:32:03Z")

</div>

Hello all in the Slicer Forum. I write an python Extension for Slicer and have the following Code that produces an error in the last line: for i in range(0, len(inputPlanes)): n = slicer.vtkMRMLScalarVolumeNode…

---

## [Intersection between two models (vtkMRMLModelNode)](https://discourse.slicer.org/t/intersection-between-two-models-vtkmrmlmodelnode/625)

<div class="topic-metadata">

**Author:** [@robmbar](https://discourse.slicer.org/u/robmbar)\
**Replies:** 5\
**Last updated:** [July 6, 2017, 1:58am UTC](https://discourse.slicer.org/t/intersection-between-two-models-vtkmrmlmodelnode/625 "2017-07-06T01:58:09Z")

</div>

Hello Slicer developers, I am looking for a way of updating a model, cutting the intersection of two models (vtkMRMLModelNode) as shown in the image. Basically, I would like to remove the corner of the cube accordin…

---

## [Faster way to draw Segmentation?](https://discourse.slicer.org/t/faster-way-to-draw-segmentation/627)

<div class="topic-metadata">

**Author:** [@jks1995](https://discourse.slicer.org/u/jks1995)\
**Replies:** 1\
**Last updated:** [July 5, 2017, 7:51pm UTC](https://discourse.slicer.org/t/faster-way-to-draw-segmentation/627 "2017-07-05T19:51:02Z")

</div>

Hello, I am trying to draw a segmentation in the slicer scene based on user clicks, but I find that the process of rendering the segment takes too long. I am using the code below to turn my label map into a segmentatio…

---

## [Implement Guidelet from a Loadable Scripted Module](https://discourse.slicer.org/t/implement-guidelet-from-a-loadable-scripted-module/624)

<div class="topic-metadata">

**Author:** [@robmbar](https://discourse.slicer.org/u/robmbar)\
**Replies:** 1\
**Last updated:** [July 5, 2017, 11:18am UTC](https://discourse.slicer.org/t/implement-guidelet-from-a-loadable-scripted-module/624 "2017-07-05T11:18:04Z")

</div>

Hello Slicer developers, I have managed to develop a ScriptedLoadableModule, one module in Python language, resorting to Developer Tools - Extension Wizard. So far, I use the main window of Slicer to open it, selectin…

---

## [New ctkCollapsibleButton in qt designer](https://discourse.slicer.org/t/new-ctkcollapsiblebutton-in-qt-designer/607)

<div class="topic-metadata">

**Author:** [@Marine](https://discourse.slicer.org/u/Marine)\
**Replies:** 2\
**Last updated:** [July 3, 2017, 7:55am UTC](https://discourse.slicer.org/t/new-ctkcollapsiblebutton-in-qt-designer/607 "2017-07-03T07:55:54Z")

</div>

Hello everyone ! I’m having trouble making my module’s interface. I would like to add a new collapsible button but when I chose to add a ctkCollapsiblebutton with the widget box in qt designer, the button added is not …

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

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