# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?page=120

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

**Page:** 121

---

## [C++ segmentation Module building fails with Qt5 - compatibility with Qt4/Qt5 of ui files?](https://discourse.slicer.org/t/c-segmentation-module-building-fails-with-qt5-compatibility-with-qt4-qt5-of-ui-files/2661)

<div class="topic-metadata">

**Author:** [@Eloise](https://discourse.slicer.org/u/Eloise)\
**Replies:** 1\
**Last updated:** [April 23, 2018, 1:19pm UTC](https://discourse.slicer.org/t/c-segmentation-module-building-fails-with-qt5-compatibility-with-qt4-qt5-of-ui-files/2661 "2018-04-23T13:19:25Z")

</div>

Hi all, I have developed a C++ segmentation module in Slicer in a previous environment (Slicer 4.9 on Mac Os El Capitan 10.11, using Qt4), and I am now trying to build it in a new Slicer environment (Slicer 4.9 on Mac O…

---

## [Clip the closed surface](https://discourse.slicer.org/t/clip-the-closed-surface/2653)

<div class="topic-metadata">

**Author:** [@wpgao](https://discourse.slicer.org/u/wpgao)\
**Replies:** 2\
**Last updated:** [April 23, 2018, 1:14am UTC](https://discourse.slicer.org/t/clip-the-closed-surface/2653 "2018-04-23T01:14:28Z")

</div>

Operating system: win7 Slicer version:4.8 Expected behavior: Actual behavior: Hi guys, How to clip the closed surface? Thanks

---

## [How to render two volumes in the 3D scene at the same time?](https://discourse.slicer.org/t/how-to-render-two-volumes-in-the-3d-scene-at-the-same-time/1680)

<div class="topic-metadata">

**Author:** [@wpgao](https://discourse.slicer.org/u/wpgao)\
**Replies:** 7\
**Last updated:** [April 21, 2018, 2:01pm UTC](https://discourse.slicer.org/t/how-to-render-two-volumes-in-the-3d-scene-at-the-same-time/1680 "2018-04-21T14:01:30Z")

</div>

Hi everybody, Is there anyway to render two volumes (for example, CT and MR volumes) in the 3D scene at the same time using volume rendering? Thanks!

---

## [Imported dicom files do not show in the dicomDatabase](https://discourse.slicer.org/t/imported-dicom-files-do-not-show-in-the-dicomdatabase/2651)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 1\
**Last updated:** [April 21, 2018, 5:11am UTC](https://discourse.slicer.org/t/imported-dicom-files-do-not-show-in-the-dicomdatabase/2651 "2018-04-21T05:11:36Z")

</div>

I am attempting to take a series of dicom files, import them to slicer, then iterate over them to get the first file to use for data. currently, I have an issue where the import method I am using will get the data in the…

---

## [Instantiating ITK filter from filter name](https://discourse.slicer.org/t/instantiating-itk-filter-from-filter-name/2618)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 3\
**Last updated:** [April 18, 2018, 3:39pm UTC](https://discourse.slicer.org/t/instantiating-itk-filter-from-filter-name/2618 "2018-04-18T15:39:42Z")

</div>

I am having some difficulties with writing some code to take in a string and use that data to select and execute a SimpleITK filter. There doesn’t appear to be any way to access a filter object from sitk other than doing…

---

## [Using VTK Remote module in Python scripted Slicer module](https://discourse.slicer.org/t/using-vtk-remote-module-in-python-scripted-slicer-module/2617)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 2\
**Last updated:** [April 17, 2018, 9:59pm UTC](https://discourse.slicer.org/t/using-vtk-remote-module-in-python-scripted-slicer-module/2617 "2018-04-17T21:59:44Z")

</div>

There is a Remote VTK module (SplineDrivenImageSlicer) that I am hoping to use from a scripted module, and I’m wondering what the most straightforward way to accomplish this is. I would eventually like to make this exten…

---

## [Creating a custom Annotation node in a Python scripted module](https://discourse.slicer.org/t/creating-a-custom-annotation-node-in-a-python-scripted-module/2331)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 10\
**Last updated:** [April 17, 2018, 8:42pm UTC](https://discourse.slicer.org/t/creating-a-custom-annotation-node-in-a-python-scripted-module/2331 "2018-04-17T20:42:45Z")

</div>

I’m trying to create a “slider ring” in the MRML scene via a Python scripted module. The idea is to be able to grab the ring (modelled as a vtkPolyData torus) and move it along a path defined by another vtkPolyData. The…

---

## [Build failing in CTK on MacOS 10.12, Slicer nightly, Qt 5.9](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551)

<div class="topic-metadata">

**Author:** [@mschumaker](https://discourse.slicer.org/u/mschumaker)\
**Replies:** 23\
**Last updated:** [April 13, 2018, 8:09pm UTC](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551 "2018-04-13T20:09:45Z")

</div>

I’ve encountered some build errors with my Slicer build on MacOS 10.12. One I identified a suggested solution for: Installing Slicer nightly master on MacOS 10.12, Qt 5.9, VTK nightly. Build failure on python target. ~/…

---

## [MINC2 Reader and RAS coordinate system](https://discourse.slicer.org/t/minc2-reader-and-ras-coordinate-system/2524)

<div class="topic-metadata">

**Author:** [@hgueziri](https://discourse.slicer.org/u/hgueziri)\
**Replies:** 7\
**Last updated:** [April 12, 2018, 8:16pm UTC](https://discourse.slicer.org/t/minc2-reader-and-ras-coordinate-system/2524 "2018-04-12T20:16:10Z")

</div>

Slicer 4.9.0-2017-11-29 r26666 Linux Mint 18.2 64-bit Hello all, It is a very helpful feature to be able to read/write MINC2 files directly in slicer. However, I noticed an unexpected behavior when loading MINC2 files…

---

## [Dicom series folder read and use for creating a node](https://discourse.slicer.org/t/dicom-series-folder-read-and-use-for-creating-a-node/2563)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 3\
**Last updated:** [April 12, 2018, 7:45pm UTC](https://discourse.slicer.org/t/dicom-series-folder-read-and-use-for-creating-a-node/2563 "2018-04-12T19:45:31Z")

</div>

In python scriptable module - How can use dicom series to import and use it a segmentation node or volume node. Or every time we need to import .nrrd file to use it as a node.

---

## [Building Slicer against Qt5, Win64](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565)

<div class="topic-metadata">

**Author:** [@Nicole\_Aucoin](https://discourse.slicer.org/u/Nicole_Aucoin)\
**Replies:** 2\
**Last updated:** [April 11, 2018, 8:42pm UTC](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565 "2018-04-11T20:42:46Z")

</div>

I was looking at making a fresh build of Slicer against Qt 5, on a 64 bit Windows machine, and was directed from https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build\_Instructions/Prerequisites/Qt#Windows …

---

## [Import labelmap to segmentation node - in batch processing](https://discourse.slicer.org/t/import-labelmap-to-segmentation-node-in-batch-processing/2360)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 11\
**Last updated:** [April 11, 2018, 1:26pm UTC](https://discourse.slicer.org/t/import-labelmap-to-segmentation-node-in-batch-processing/2360 "2018-04-11T13:26:11Z")

</div>

slicer.modules.segmentations.logic().ImportLabelmapToSegmentationNode(labelmapVolumeNode, seg) Traceback (most recent call last): File “”, line 1, in TypeError: arguments do not match any overloaded methods i’m tryi…

---

## [Proper way to automatically install external Python modules](https://discourse.slicer.org/t/proper-way-to-automatically-install-external-python-modules/2559)

<div class="topic-metadata">

**Author:** [@patrickcox3](https://discourse.slicer.org/u/patrickcox3)\
**Replies:** 1\
**Last updated:** [April 10, 2018, 6:08pm UTC](https://discourse.slicer.org/t/proper-way-to-automatically-install-external-python-modules/2559 "2018-04-10T18:08:27Z")

</div>

I am developing a Scripted Loadable Module that utilizes several external Python modules, specifically scipy, sklearn, and PyWavelets. Currently, the module has the below script written along with its import statements: …

---

## [Git svn issue related to circleci.yml](https://discourse.slicer.org/t/git-svn-issue-related-to-circleci-yml/2556)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 3\
**Last updated:** [April 10, 2018, 2:31pm UTC](https://discourse.slicer.org/t/git-svn-issue-related-to-circleci-yml/2556 "2018-04-10T14:31:14Z")

</div>

I ran into an issue trying to git svn rebase/dcommit. Alexis could also reproduce the issue. Is anyone else seeing this? https://issues.slicer.org/view.php?id=4538 Ideas how to solve? I guess we could commit directl…

---

## [Get error code or success message in command line or in batch file or get a Log file](https://discourse.slicer.org/t/get-error-code-or-success-message-in-command-line-or-in-batch-file-or-get-a-log-file/2526)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 1\
**Last updated:** [April 6, 2018, 1:26pm UTC](https://discourse.slicer.org/t/get-error-code-or-success-message-in-command-line-or-in-batch-file-or-get-a-log-file/2526 "2018-04-06T13:26:36Z")

</div>

Hello, I’m using batch file to call slicer scriptable module , what i need is after completion of task or failure due to error that error should come in CMD. Can you please help in this ?? Thanks,

---

## [vtkObjExporter- model down quality](https://discourse.slicer.org/t/vtkobjexporter-model-down-quality/2510)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 4\
**Last updated:** [April 6, 2018, 8:18am UTC](https://discourse.slicer.org/t/vtkobjexporter-model-down-quality/2510 "2018-04-06T08:18:56Z")

</div>

I’m getting so down quality obj file, when i try to get it using vtkObjexporter i get this output, … And same model when i export it using segmentation exporter in slicer UI in latest slicer 4.9 am i missing any p…

---

## [Volume Rendering Issues](https://discourse.slicer.org/t/volume-rendering-issues/2513)

<div class="topic-metadata">

**Author:** [@ckuzi001](https://discourse.slicer.org/u/ckuzi001)\
**Replies:** 2\
**Last updated:** [April 6, 2018, 5:40am UTC](https://discourse.slicer.org/t/volume-rendering-issues/2513 "2018-04-06T05:40:36Z")

</div>

Hello everyone, I am trying to programmatically render a volume of a tumor in Python using the VolumeRendering class. There are four features (labels 1-4) that should each be associated with a unique color. I used a s…

---

## [Latest build - VTKv9 step requires git-lfs](https://discourse.slicer.org/t/latest-build-vtkv9-step-requires-git-lfs/2325)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 3\
**Last updated:** [April 6, 2018, 12:33am UTC](https://discourse.slicer.org/t/latest-build-vtkv9-step-requires-git-lfs/2325 "2018-04-06T00:33:12Z")

</div>

It looks like the changes for VTKv9 require git-lfs to be installed (from HomeBrew on mac, at least). I can update the build docs to note this if this is a permanent change? Let me know. Thanks! -Hollister

---

## [Multiple segment](https://discourse.slicer.org/t/multiple-segment/2493)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 6\
**Last updated:** [April 4, 2018, 7:42am UTC](https://discourse.slicer.org/t/multiple-segment/2493 "2018-04-04T07:42:44Z")

</div>

i’m adding 2nd segment under same masterNode, But whenever i try to apply effects on it’s getting applied on 1st segment only, How to select 2nd segment as active segment???

---

## [Dicom image series loading issue](https://discourse.slicer.org/t/dicom-image-series-loading-issue/2501)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 2\
**Last updated:** [April 4, 2018, 6:17am UTC](https://discourse.slicer.org/t/dicom-image-series-loading-issue/2501 "2018-04-04T06:17:02Z")

</div>

i have imported the image series into Dicom module , but when i try to load that series data i’m getting following error: Loading with imageIOName: GDCM Irregular volume geometry detected, but maximum error is within t…

---

## [Pre-selecting Foreground and Background Volumes](https://discourse.slicer.org/t/pre-selecting-foreground-and-background-volumes/2503)

<div class="topic-metadata">

**Author:** [@asheu](https://discourse.slicer.org/u/asheu)\
**Replies:** 3\
**Last updated:** [April 3, 2018, 10:36pm UTC](https://discourse.slicer.org/t/pre-selecting-foreground-and-background-volumes/2503 "2018-04-03T22:36:30Z")

</div>

I want to pre-select the background and foreground volumes manually. Like seen below, right now there are no volumes selected for the background and foreground layer. I have tried the following methods but even after …

---

## [python-real different from python interpreter](https://discourse.slicer.org/t/python-real-different-from-python-interpreter/2496)

<div class="topic-metadata">

**Author:** [@David\_Burns](https://discourse.slicer.org/u/David_Burns)\
**Replies:** 4\
**Last updated:** [April 3, 2018, 2:25pm UTC](https://discourse.slicer.org/t/python-real-different-from-python-interpreter/2496 "2018-04-03T14:25:56Z")

</div>

I have discovered that the python in bin/python-real is different from the python interactor compiled into Slicer Using the pre-combiled binaries on linux (both 4.9.0 and 4.8.1) - I have this problem. For instance in 4…

---

## [Commit 69e26835e would burn my discrete GPU!](https://discourse.slicer.org/t/commit-69e26835e-would-burn-my-discrete-gpu/1839)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 29\
**Last updated:** [April 1, 2018, 1:16am UTC](https://discourse.slicer.org/t/commit-69e26835e-would-burn-my-discrete-gpu/1839 "2018-04-01T01:16:24Z")

</div>

Since commit 69e26835e, Slicer freezes as soon as I move a Volume Rendering model when I use the discrete GPU of my laptop(DRI\_PRIME=1). Temperature increases to near 100°C until the system itself hangs with a noisy fan …

---

## [Why do I get build error "class vtkOBJExporter has no member named SetOBJFileComment" when building Slicer against Qt4?](https://discourse.slicer.org/t/why-do-i-get-build-error-class-vtkobjexporter-has-no-member-named-setobjfilecomment-when-building-slicer-against-qt4/2482)

<div class="topic-metadata">

**Author:** [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)\
**Replies:** 1\
**Last updated:** [March 30, 2018, 11:14pm UTC](https://discourse.slicer.org/t/why-do-i-get-build-error-class-vtkobjexporter-has-no-member-named-setobjfilecomment-when-building-slicer-against-qt4/2482 "2018-03-30T23:14:38Z")

</div>

On linux mint/ubuntu 16.04, GCC 5.4.0 I got error: \[ 24%\] Building CXX object Libs/MRML/Core/CMakeFiles/MRMLCore.dir/vtkMRMLProceduralColorNode.cxx.o /home/gaoyi/usr/work/namic/rls20180330/Slicer/Libs/MRML/Core/vtkMRM…

---

## [Undefined symbol when run my CLI modules extensions](https://discourse.slicer.org/t/undefined-symbol-when-run-my-cli-modules-extensions/2393)

<div class="topic-metadata">

**Author:** [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Replies:** 17\
**Last updated:** [March 30, 2018, 11:20am UTC](https://discourse.slicer.org/t/undefined-symbol-when-run-my-cli-modules-extensions/2393 "2018-03-30T11:20:40Z")

</div>

Operating system: Ubuntu 16 Slicer version: 4.8.1 Expected behavior: cli working Actual behavior: not working my cli extension are not working “anymore”. I get these errors: undefined symbol: \_ZN3itk13ProcessObject8…

---

## [Introducing SlicerBuildEnvironment project](https://discourse.slicer.org/t/introducing-slicerbuildenvironment-project/2465)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [March 30, 2018, 3:56am UTC](https://discourse.slicer.org/t/introducing-slicerbuildenvironment-project/2465 "2018-03-30T03:56:01Z")

</div>

overview To streamline the continuous integration and allow anyone to easily reproduce builds, we created a new project. Currently, it contains only a Docker directory that itself contain a sub-directory for each build e…

---

## [Extension not built by build system](https://discourse.slicer.org/t/extension-not-built-by-build-system/2462)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Replies:** 3\
**Last updated:** [March 29, 2018, 1:45pm UTC](https://discourse.slicer.org/t/extension-not-built-by-build-system/2462 "2018-03-29T13:45:30Z")

</div>

Hello, I have confirmed that my (and several other) extensions are not built with the build system. I have set up my own build machine, and several extensions are not cloned, and my build log has entries for configurati…

---

## [Transition to Git](https://discourse.slicer.org/t/transition-to-git/2445)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 8:52pm UTC](https://discourse.slicer.org/t/transition-to-git/2445 "2018-03-27T20:52:50Z")

</div>

Hi, Current status associated with the transition is documented here on the Slicer wiki. On of the task is to take that opportunity to filter the history and remove the large object (aka files) so that checking out the…

---

## [Access point and cell data of surface mesh](https://discourse.slicer.org/t/access-point-and-cell-data-of-surface-mesh/2426)

<div class="topic-metadata">

**Author:** [@MGM](https://discourse.slicer.org/u/MGM)\
**Replies:** 9\
**Last updated:** [March 27, 2018, 3:36pm UTC](https://discourse.slicer.org/t/access-point-and-cell-data-of-surface-mesh/2426 "2018-03-27T15:36:40Z")

</div>

Hello everyone, I used vtkMarchingCubes to generate isosurface, from volume file. I need to extract data from this surface, which mean print point and index in separate files. Which mean, without passing via a writer. …

---

## [Segmentation Node AddSegmentFromClosedSurfaceRepresentation's color only effective on 2d viewer](https://discourse.slicer.org/t/segmentation-node-addsegmentfromclosedsurfacerepresentations-color-only-effective-on-2d-viewer/2435)

<div class="topic-metadata">

**Author:** [@Yingli\_Lu](https://discourse.slicer.org/u/Yingli_Lu)\
**Replies:** 2\
**Last updated:** [March 27, 2018, 2:17pm UTC](https://discourse.slicer.org/t/segmentation-node-addsegmentfromclosedsurfacerepresentations-color-only-effective-on-2d-viewer/2435 "2018-03-27T14:17:14Z")

</div>

Slicer version:4.8.1 Platform: Windows 10 Pic: Code: import SampleData sampleDataLogic = SampleData.SampleDataLogic() masterVolumeNode = sampleDataLogic.downloadCTChest() segmentationNode = slicer.vtkMRMLSegme…

[Previous page](https://discourse.slicer.org/c/dev/5.md?page=119)

[Next page](https://discourse.slicer.org/c/dev/5.md?page=121)
