# Development

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

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

**Page:** 120

---

## [Slice intersection source code](https://discourse.slicer.org/t/slice-intersection-source-code/3024)

<div class="topic-metadata">

**Author:** [@Ricardo\_Mesquita](https://discourse.slicer.org/u/Ricardo_Mesquita)\
**Replies:** 3\
**Last updated:** [May 30, 2018, 9:53pm UTC](https://discourse.slicer.org/t/slice-intersection-source-code/3024 "2018-05-30T21:53:26Z")

</div>

Hi all, i would like to know if there is some possibility to control slice intersections manually ,i.e, without mouse control. I intend to set a 3D position (x,y,z) and then the slice intersection cursor automatically …

---

## [SlicerRT extension build failure](https://discourse.slicer.org/t/slicerrt-extension-build-failure/3010)

<div class="topic-metadata">

**Author:** [@gcsharp](https://discourse.slicer.org/u/gcsharp)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 3:17pm UTC](https://discourse.slicer.org/t/slicerrt-extension-build-failure/3010 "2018-05-30T15:17:04Z")

</div>

Any idea why this is happening? -- SuperBuild - First pass - done -- SuperBuild - inner =\> Requires Plastimatch, -- SuperBuild - Plastimatch\[OK\] CMake Error at SuperBuild/External\_Plastimatch.cmake:46…

---

## [Qt Expandable Widget](https://discourse.slicer.org/t/qt-expandable-widget/2951)

<div class="topic-metadata">

**Author:** [@Hikmat](https://discourse.slicer.org/u/Hikmat)\
**Replies:** 3\
**Last updated:** [May 29, 2018, 5:09pm UTC](https://discourse.slicer.org/t/qt-expandable-widget/2951 "2018-05-29T17:09:18Z")

</div>

Operating system: Windows 10 Slicer version: 4.8.1 Hi, I would like to remove this “slider” feature but I am not sure what the widget is called. I have tried to spot it in this extensive list but to no avail: http:…

---

## [Slicer three dimension widget layout not correct on Mac](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936)

<div class="topic-metadata">

**Author:** [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Replies:** 6\
**Last updated:** [May 28, 2018, 8:44pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936 "2018-05-28T20:44:12Z")

</div>

Hi I built the latest version of Slicer 4.9 (4.9.0-2018-05-25 rde9b19d) using Qt 5.10 executable file on a Mac. The three D widgets don’t look correct. I have attached a screenshot with this post. Could someone please h…

---

## [Using Reformat module from Python](https://discourse.slicer.org/t/using-reformat-module-from-python/2933)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 9\
**Last updated:** [May 28, 2018, 4:19pm UTC](https://discourse.slicer.org/t/using-reformat-module-from-python/2933 "2018-05-28T16:19:08Z")

</div>

I’m trying to use the Reformat module from a Python scripted module. I’m having trouble using the setSliceNormal and setWorldPosition methods. Looking at qSlicerReformatModuleWidget, both setSliceNormal and setWorldPosit…

---

## [Read position from txt file](https://discourse.slicer.org/t/read-position-from-txt-file/2930)

<div class="topic-metadata">

**Author:** [@val.dil](https://discourse.slicer.org/u/val.dil)\
**Replies:** 5\
**Last updated:** [May 26, 2018, 6:22pm UTC](https://discourse.slicer.org/t/read-position-from-txt-file/2930 "2018-05-26T18:22:24Z")

</div>

Hello everybody, I want to develop a system that read a position from a file in real time, through OpenIGTlink, and send it to the Slicer. The file has to be read at the same time that it is modified. I found a node “v…

---

## [Ninja build using too many cores](https://discourse.slicer.org/t/ninja-build-using-too-many-cores/2304)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 7\
**Last updated:** [May 24, 2018, 9:36pm UTC](https://discourse.slicer.org/t/ninja-build-using-too-many-cores/2304 "2018-05-24T21:36:42Z")

</div>

Is anyone else using ninja to build on mac? Lately I’m noticing that ninja -j2 in Slicer-build runs 8 clang processes simultaneously, which floors the (2-core) computer and the build absolutely crawls (one .o file every …

---

## [Looping through ctk.ctkCollapsibleButton widgets](https://discourse.slicer.org/t/looping-through-ctk-ctkcollapsiblebutton-widgets/2895)

<div class="topic-metadata">

**Author:** [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Replies:** 4\
**Last updated:** [May 23, 2018, 4:49pm UTC](https://discourse.slicer.org/t/looping-through-ctk-ctkcollapsiblebutton-widgets/2895 "2018-05-23T16:49:47Z")

</div>

Dear all, I am trying to access ctk.ctkCollapsibleButton, I tried different things but nothing works. The goal is to creating/editing/removing objects during the loading function of the python plugin. Here is something…

---

## [Error when installing scikit-image via Python Interactor](https://discourse.slicer.org/t/error-when-installing-scikit-image-via-python-interactor/2884)

<div class="topic-metadata">

**Author:** [@codymorris](https://discourse.slicer.org/u/codymorris)\
**Replies:** 3\
**Last updated:** [May 22, 2018, 7:13pm UTC](https://discourse.slicer.org/t/error-when-installing-scikit-image-via-python-interactor/2884 "2018-05-22T19:13:11Z")

</div>

Hello all, I am trying to install scikit-image into slicer so that I can use some of its histogram equalization and contrast stretching tools. When I go to install it (after updating pip to 10.0.1) I get errors (as see…

---

## [Cleaning up local Dicom Database files](https://discourse.slicer.org/t/cleaning-up-local-dicom-database-files/2828)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 8\
**Last updated:** [May 21, 2018, 7:53pm UTC](https://discourse.slicer.org/t/cleaning-up-local-dicom-database-files/2828 "2018-05-21T19:53:58Z")

</div>

I noticed that the local dicom database files stick around even when you delete all the patients, and will continue growing in size as more patients are added and removed. I would like to clean up these files to prevent …

---

## [Saving series of images from a Slice View](https://discourse.slicer.org/t/saving-series-of-images-from-a-slice-view/2861)

<div class="topic-metadata">

**Author:** [@Dedy\_Ariansyah](https://discourse.slicer.org/u/Dedy_Ariansyah)\
**Replies:** 5\
**Last updated:** [May 21, 2018, 4:17pm UTC](https://discourse.slicer.org/t/saving-series-of-images-from-a-slice-view/2861 "2018-05-21T16:17:26Z")

</div>

Hello, I am trying to save a series of images from red, green, yellow slice to PNG format using the ‘execfile’ command. I am following the example from here https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepos…

---

## [Project for 3DSlicer project week](https://discourse.slicer.org/t/project-for-3dslicer-project-week/2558)

<div class="topic-metadata">

**Author:** [@Davide\_Punzo](https://discourse.slicer.org/u/Davide_Punzo)\
**Replies:** 6\
**Last updated:** [May 16, 2018, 8:15pm UTC](https://discourse.slicer.org/t/project-for-3dslicer-project-week/2558 "2018-05-16T20:15:27Z")

</div>

Hi all, many users asked me for having a 3D views linking functionalities such as the 2D one. My idea is to implement such functionality in the 3DSlicer core as a small project for the 28th project week. The implement…

---

## [Save image of 3d view](https://discourse.slicer.org/t/save-image-of-3d-view/2666)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 9\
**Last updated:** [May 14, 2018, 1:33pm UTC](https://discourse.slicer.org/t/save-image-of-3d-view/2666 "2018-05-14T13:33:32Z")

</div>

i have already have a script for creating and saving segments using slicer 4.9, i need a image of the 3D view of the model, so i can get a reference image of the 3D model created by script. anyone here who already did th…

---

## [Not getting poly data](https://discourse.slicer.org/t/not-getting-poly-data/2775)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 5\
**Last updated:** [May 10, 2018, 2:57pm UTC](https://discourse.slicer.org/t/not-getting-poly-data/2775 "2018-05-10T14:57:55Z")

</div>

\[success, loadedVolumeNode\] = slicer.util.loadVolume('\\Sft.nrrd', returnNode=True) #Segmentation masterVolumeNode = getNode('Sft') # Create segmentation segmentationNode = slicer.mrmlScene.AddNewNodeByClass("vtkMRMLSegm…

---

## [Slicer build in linux freezes when building simpleitk](https://discourse.slicer.org/t/slicer-build-in-linux-freezes-when-building-simpleitk/2679)

<div class="topic-metadata">

**Author:** [@samira](https://discourse.slicer.org/u/samira)\
**Replies:** 8\
**Last updated:** [May 9, 2018, 6:14pm UTC](https://discourse.slicer.org/t/slicer-build-in-linux-freezes-when-building-simpleitk/2679 "2018-05-09T18:14:05Z")

</div>

Hi All, I am trying to build Slicer in Ubuntu but it freezes when it’s building SimpleITK. It seems to be working all the time but it doesn’t show any progress. I tried building it several times from the scratch but sa…

---

## [Batching Diffusion Tensor Imaging Processing](https://discourse.slicer.org/t/batching-diffusion-tensor-imaging-processing/2790)

<div class="topic-metadata">

**Author:** [@yasernakib](https://discourse.slicer.org/u/yasernakib)\
**Replies:** 0\
**Last updated:** [May 9, 2018, 5:51pm UTC](https://discourse.slicer.org/t/batching-diffusion-tensor-imaging-processing/2790 "2018-05-09T17:51:38Z")

</div>

Hi people, In short, I’d like to write a batch code to calculate Diffusion Tensors and FA for multiple DTI .nii data. I want to replicate steps in this tutorial DTI-tutorial automatically. I will also need to convert a…

---

## [Displaying VTK actor in a slice view](https://discourse.slicer.org/t/displaying-vtk-actor-in-a-slice-view/2784)

<div class="topic-metadata">

**Author:** [@Anniywell](https://discourse.slicer.org/u/Anniywell)\
**Replies:** 1\
**Last updated:** [May 9, 2018, 1:15pm UTC](https://discourse.slicer.org/t/displaying-vtk-actor-in-a-slice-view/2784 "2018-05-09T13:15:01Z")

</div>

I created an actor using polydata，but when I use right mouse to zoom image, the actor cannot follow image zoom. How can I do?

---

## [Ukf missing vtk library](https://discourse.slicer.org/t/ukf-missing-vtk-library/2234)

<div class="topic-metadata">

**Author:** [@mrjeffs](https://discourse.slicer.org/u/mrjeffs)\
**Replies:** 9\
**Last updated:** [May 4, 2018, 5:37pm UTC](https://discourse.slicer.org/t/ukf-missing-vtk-library/2234 "2018-05-04T17:37:51Z")

</div>

hi all, fyi: noticed the linux dev release date is a month behind mac/win. known issue i presume… 2. loaded ukf to process some diffusion data and got error below. any ideas on fixing vtk lib issue? jeff \[DEBUG\]\[Qt\] 03…

---

## [Anonymous Dicom file failed to import in Dicom module](https://discourse.slicer.org/t/anonymous-dicom-file-failed-to-import-in-dicom-module/2693)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 7\
**Last updated:** [May 4, 2018, 4:42pm UTC](https://discourse.slicer.org/t/anonymous-dicom-file-failed-to-import-in-dicom-module/2693 "2018-05-04T16:42:51Z")

</div>

i have a series of anonymous dicom files, when i try to import it; dicom module shows loading process but after it patient , study,series data shows 0(zero) value.so i cant load that series successfully. there is any di…

---

## [Qt in 4.9.0-2018-04-30](https://discourse.slicer.org/t/qt-in-4-9-0-2018-04-30/2748)

<div class="topic-metadata">

**Author:** [@ebremer](https://discourse.slicer.org/u/ebremer)\
**Replies:** 4\
**Last updated:** [May 3, 2018, 3:08am UTC](https://discourse.slicer.org/t/qt-in-4-9-0-2018-04-30/2748 "2018-05-03T03:08:09Z")

</div>

I downloaded the above nightly build, but qt.QWebView() seems to be missing. Is it part of the nightly?

---

## [Marching Cubes implementation](https://discourse.slicer.org/t/marching-cubes-implementation/2738)

<div class="topic-metadata">

**Author:** [@MGM](https://discourse.slicer.org/u/MGM)\
**Replies:** 5\
**Last updated:** [May 2, 2018, 10:39pm UTC](https://discourse.slicer.org/t/marching-cubes-implementation/2738 "2018-05-02T22:39:44Z")

</div>

Hello, I’m trying to implementation the marching cubes algorithm in c++; without any external libraries. I’m looking for a good reference, so I can follow step by step this algorithm. There is a lot of papers talking …

---

## [Exported segment file size is quite large](https://discourse.slicer.org/t/exported-segment-file-size-is-quite-large/2736)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 1\
**Last updated:** [April 30, 2018, 6:19pm UTC](https://discourse.slicer.org/t/exported-segment-file-size-is-quite-large/2736 "2018-04-30T18:19:53Z")

</div>

I’m using scripted module to export segmentation in obj format, today i have updated the slicer latest nightly build version. and now the size is increased again. Do we have any code or method to reduce or compress the …

---

## [How to change number of points and cells in a surface model?](https://discourse.slicer.org/t/how-to-change-number-of-points-and-cells-in-a-surface-model/2630)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 17\
**Last updated:** [April 30, 2018, 3:30pm UTC](https://discourse.slicer.org/t/how-to-change-number-of-points-and-cells-in-a-surface-model/2630 "2018-04-30T15:30:31Z")

</div>

Hello Dear Developers and Users I have several surface models. Specifications of one of these surface models are: Surface Area: 3492.57 mm^2 Volume: 10828.02 mm^3 Number of Points: 1029 Number of Cells: 336 I want…

---

## [Problems listening to vtkMRMLCommandLineNode events from loadable module](https://discourse.slicer.org/t/problems-listening-to-vtkmrmlcommandlinenode-events-from-loadable-module/2711)

<div class="topic-metadata">

**Author:** [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Replies:** 6\
**Last updated:** [April 27, 2018, 1:22am UTC](https://discourse.slicer.org/t/problems-listening-to-vtkmrmlcommandlinenode-events-from-loadable-module/2711 "2018-04-27T01:22:25Z")

</div>

Hi all: I am working on a loadable module that does background processing using CLIs. I am connecting callback functions in the widget to the end of the CLI processing using qvtkReconnect (as shown): qvtkReconnect…

---

## [Color scalar overlay on VTK models](https://discourse.slicer.org/t/color-scalar-overlay-on-vtk-models/2675)

<div class="topic-metadata">

**Author:** [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Replies:** 4\
**Last updated:** [April 26, 2018, 7:23pm UTC](https://discourse.slicer.org/t/color-scalar-overlay-on-vtk-models/2675 "2018-04-26T19:23:02Z")

</div>

Hi Is it possible to overlay a color scalar value from an RGB image on a VTK model in Slicer? I tried to setup the color scalar in the following way but when the model is displayed in Slicer, it does not show the image…

---

## [Compile errors Pop!\_OS/Ubuntu with Qt 5.10](https://discourse.slicer.org/t/compile-errors-pop-os-ubuntu-with-qt-5-10/2576)

<div class="topic-metadata">

**Author:** [@tavaughan](https://discourse.slicer.org/u/tavaughan)\
**Replies:** 20\
**Last updated:** [April 19, 2018, 5:56am UTC](https://discourse.slicer.org/t/compile-errors-pop-os-ubuntu-with-qt-5-10/2576 "2018-04-19T05:56:06Z")

</div>

I built Qt 5.10 as per GitHub - jcfr/qt-easy-build at 5.10.0 I’m now trying to build Slicer, but I get the following compile error: \[ 0%\] Generating ui\_pqPlayBackEventsDialog.h /media/vaughan/workspace/lnx/devel/Sup…

---

## [Issue using the dicomPatcher through code](https://discourse.slicer.org/t/issue-using-the-dicompatcher-through-code/2687)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 4\
**Last updated:** [April 26, 2018, 2:15pm UTC](https://discourse.slicer.org/t/issue-using-the-dicompatcher-through-code/2687 "2018-04-26T14:15:45Z")

</div>

I am trying to patch some problematic dicom files to make sure the patcher will be able to handle any issues when loading dicom files in. running the process through the GUI has no issues, and the patch works as intended…

---

## [Inaccurate segmentation effect result when run with certain effects together](https://discourse.slicer.org/t/inaccurate-segmentation-effect-result-when-run-with-certain-effects-together/2676)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 2\
**Last updated:** [April 25, 2018, 2:50pm UTC](https://discourse.slicer.org/t/inaccurate-segmentation-effect-result-when-run-with-certain-effects-together/2676 "2018-04-25T14:50:34Z")

</div>

I am attempting to segment out a pelvis bone model from a volume. I have noticed that the model generated from code is not the same as the one created from the GUI using the same parameters. take a look at the image belo…

---

## [Write vtk file from mha volume input](https://discourse.slicer.org/t/write-vtk-file-from-mha-volume-input/2684)

<div class="topic-metadata">

**Author:** [@MGM](https://discourse.slicer.org/u/MGM)\
**Replies:** 0\
**Last updated:** [April 25, 2018, 12:45pm UTC](https://discourse.slicer.org/t/write-vtk-file-from-mha-volume-input/2684 "2018-04-25T12:45:13Z")

</div>

Hi I have a little question on vtk development My input file is mha volume char volume\_i\[50\]; char reader\_i\[50\]; char writerVTK\_i\[50\]; char out\_file\[50\]; sprintf(volume\_i, "\\nVolume %d", i); printf("…

---

## [Problem with running Slicer-4.9.0-2018-01-10-linux-amd64 in Fedora core 25](https://discourse.slicer.org/t/problem-with-running-slicer-4-9-0-2018-01-10-linux-amd64-in-fedora-core-25/2667)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 0\
**Last updated:** [April 23, 2018, 2:38pm UTC](https://discourse.slicer.org/t/problem-with-running-slicer-4-9-0-2018-01-10-linux-amd64-in-fedora-core-25/2667 "2018-04-23T14:38:01Z")

</div>

Hello Dear Slicer Developers I want to use Slicer-4.9.0-2018-01-10-linux-amd64 in Fedora core 25 with the following specifications: \[sn@localhost ~\]$ uname --all Linux localhost.localdomain 4.8.6-300.fc25.x86\_64 #1 SM…

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

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