# Development

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

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

**Page:** 101

---

## [Creating a model combo box](https://discourse.slicer.org/t/creating-a-model-combo-box/9582)

<div class="topic-metadata">

**Author:** [@talmazov](https://discourse.slicer.org/u/talmazov)\
**Replies:** 1\
**Last updated:** [December 22, 2019, 2:18am UTC](https://discourse.slicer.org/t/creating-a-model-combo-box/9582 "2019-12-22T02:18:08Z")

</div>

Hey all, I tried to create a combo box that will list mesh models, which i know fall under the general classification of ModelNode class, like this modelNodeSelector = slicer.qMRMLNodeComboBox() modelNodeSelector.obj…

---

## [tutorial to build an extention](https://discourse.slicer.org/t/tutorial-to-build-an-extention/9578)

<div class="topic-metadata">

**Author:** [@DIF\_younes](https://discourse.slicer.org/u/DIF_younes)\
**Replies:** 2\
**Last updated:** [December 21, 2019, 3:32pm UTC](https://discourse.slicer.org/t/tutorial-to-build-an-extention/9578 "2019-12-21T15:32:00Z")

</div>

hello 'm new in slicer 3d i like to developpe a new extention by python but i cant find a tutorial or good documentation about this can anybody geve me a good tutorial to bluid extention from 0 ?

---

## [building for long time, is there any remedy](https://discourse.slicer.org/t/building-for-long-time-is-there-any-remedy/9562)

<div class="topic-metadata">

**Author:** [@appollosputnik](https://discourse.slicer.org/u/appollosputnik)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 1:53pm UTC](https://discourse.slicer.org/t/building-for-long-time-is-there-any-remedy/9562 "2019-12-19T13:53:54Z")

</div>

Dear All I have downloaded the source of slicer 3D and building it for Windows, My CMake configuration and generation is all OK with Qt 5.10. But when I am building it, it takes a long time, for Windows 10 and Laptop. …

---

## [Extension for Vessel Segmentation](https://discourse.slicer.org/t/extension-for-vessel-segmentation/9182)

<div class="topic-metadata">

**Author:** [@marie](https://discourse.slicer.org/u/marie)\
**Replies:** 3\
**Last updated:** [December 18, 2019, 1:24am UTC](https://discourse.slicer.org/t/extension-for-vessel-segmentation/9182 "2019-12-18T01:24:23Z")

</div>

Hey there! I just came across this excellent post: This is exactly what I need!! I would really like to develop an extension combining all those steps. Is this possible? I just started reading about developing own mod…

---

## [Show DICOM browser's folder import dialog](https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347)

<div class="topic-metadata">

**Author:** [@lausiv](https://discourse.slicer.org/u/lausiv)\
**Replies:** 20\
**Last updated:** [December 17, 2019, 5:39am UTC](https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347 "2019-12-17T05:39:46Z")

</div>

How Can i directly Call(or popup) DICOM Browser → Import

---

## [Visualize vertebra density](https://discourse.slicer.org/t/visualize-vertebra-density/9510)

<div class="topic-metadata">

**Author:** [@Yingdi\_Zhang](https://discourse.slicer.org/u/Yingdi_Zhang)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 3:54pm UTC](https://discourse.slicer.org/t/visualize-vertebra-density/9510 "2019-12-16T15:54:39Z")

</div>

I want to visualize the vertebra density in a 3D manner through CT images. I need to assign pseudo color to each voxel refering to the voxel value and then visulize them by volume rendering. I have read the basic Slice…

---

## [Can I Scissors Inside throuth points?](https://discourse.slicer.org/t/can-i-scissors-inside-throuth-points/9508)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 1\
**Last updated:** [December 15, 2019, 11:44pm UTC](https://discourse.slicer.org/t/can-i-scissors-inside-throuth-points/9508 "2019-12-15T23:44:40Z")

</div>

Can I Scissors Inside throuth markupNode created myself?

---

## [Unable to build from source on Ubuntu 18.04](https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470)

<div class="topic-metadata">

**Author:** [@aamesAtTanzle](https://discourse.slicer.org/u/aamesAtTanzle)\
**Replies:** 7\
**Last updated:** [December 11, 2019, 6:45pm UTC](https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470 "2019-12-11T18:45:09Z")

</div>

Is anyone aware of issues building Slicer from source with the following error on Ubuntu 18.04 (and PopOS)? /home/aames/projects/Slicer/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsCurveNode.cxx:31:10: fatal error: vtkFr…

---

## [Can I import a py with no class?](https://discourse.slicer.org/t/can-i-import-a-py-with-no-class/9468)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 3:11pm UTC](https://discourse.slicer.org/t/can-i-import-a-py-with-no-class/9468 "2019-12-11T15:11:00Z")

</div>

I writed a py file which could run in my connda and I went implant it in slicer just litter modify. When I test it and some erro happen just like: RuntimeError: qSlicerScriptedLoadableModule::setPythonSource - Failed t…

---

## [Volume rendering transfer function](https://discourse.slicer.org/t/volume-rendering-transfer-function/9471)

<div class="topic-metadata">

**Author:** [@Yingdi\_Zhang](https://discourse.slicer.org/u/Yingdi_Zhang)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 2:00pm UTC](https://discourse.slicer.org/t/volume-rendering-transfer-function/9471 "2019-12-11T14:00:54Z")

</div>

I am new to Slicer. I want to achieve a module of spine CT image 3D visualization in which voxel values greater than a threshold are regarded as a class and given a color ，while other voxels given another color. The tw…

---

## [Temporary .nrrd files after loading DICOM data](https://discourse.slicer.org/t/temporary-nrrd-files-after-loading-dicom-data/9464)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 1:21pm UTC](https://discourse.slicer.org/t/temporary-nrrd-files-after-loading-dicom-data/9464 "2019-12-11T13:21:59Z")

</div>

Hello there! I am using the DICOMScalarVolumePlugin to programmatically load a series of dicom data inside a user specified directory. It works well, but I noticed that sometimes it leaves large .nrrd files inside the Sl…

---

## [PETDICOMExtension failing in nightly](https://discourse.slicer.org/t/petdicomextension-failing-in-nightly/9442)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [December 9, 2019, 1:38pm UTC](https://discourse.slicer.org/t/petdicomextension-failing-in-nightly/9442 "2019-12-09T13:38:33Z")

</div>

The PETDICOMExtension is failing in nightly with this error Traceback (most recent call last): File "\<string\>", line 1, in \<module\> File "/Applications/Slicer.app/Contents/lib/Python/lib/python3.6/imp.py", line 170,…

---

## [CMFReg - ROI registration Bug](https://discourse.slicer.org/t/cmfreg-roi-registration-bug/9443)

<div class="topic-metadata">

**Author:** [@manjula](https://discourse.slicer.org/u/manjula)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 11:05am UTC](https://discourse.slicer.org/t/cmfreg-roi-registration-bug/9443 "2019-12-09T11:05:41Z")

</div>

There is a bug with CMF reg ROI registration method. I found this in the stable version as well as the nightly build. This is from the nightly build. Landmarks ROI does change dynamically and is kept at a fixed value. …

---

## [How to call twoprojectionregistration module in slicer?](https://discourse.slicer.org/t/how-to-call-twoprojectionregistration-module-in-slicer/9434)

<div class="topic-metadata">

**Author:** [@James753](https://discourse.slicer.org/u/James753)\
**Replies:** 2\
**Last updated:** [December 9, 2019, 5:54am UTC](https://discourse.slicer.org/t/how-to-call-twoprojectionregistration-module-in-slicer/9434 "2019-12-09T05:54:53Z")

</div>

Hi, I am developing a registration extension recently. And I am going to use a remote-module in itk which is twoprojectionregistration module. And I can not find this module in slicer library. I was wondering if ther…

---

## [Get volume orientation after hardening a transformation](https://discourse.slicer.org/t/get-volume-orientation-after-hardening-a-transformation/8326)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 6\
**Last updated:** [December 6, 2019, 7:48pm UTC](https://discourse.slicer.org/t/get-volume-orientation-after-hardening-a-transformation/8326 "2019-12-06T19:48:17Z")

</div>

Hi, I just would like the get the volume orientation after hardening a transformation. Is it possible? Thank you in advance, excellent software.

---

## [Moving FreeSurfer support to an extension](https://discourse.slicer.org/t/moving-freesurfer-support-to-an-extension/9390)

<div class="topic-metadata">

**Author:** [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Replies:** 6\
**Last updated:** [December 5, 2019, 10:05pm UTC](https://discourse.slicer.org/t/moving-freesurfer-support-to-an-extension/9390 "2019-12-05T22:05:56Z")

</div>

Hi All, Recently, we’ve been development on an extension to import FreeSurfer models in the correct coordinate system, as well as to import other files at the same time (segmentations, scalar overlay, etc.). As part of…

---

## [Unable to include qSlicerSegmentationsEditorEffects when building extension](https://discourse.slicer.org/t/unable-to-include-qslicersegmentationseditoreffects-when-building-extension/9371)

<div class="topic-metadata">

**Author:** [@Netta\_Z](https://discourse.slicer.org/u/Netta_Z)\
**Replies:** 6\
**Last updated:** [December 5, 2019, 2:24am UTC](https://discourse.slicer.org/t/unable-to-include-qslicersegmentationseditoreffects-when-building-extension/9371 "2019-12-05T02:24:49Z")

</div>

Hi, I’m trying to implement an editor effect as part of an extension. I’m having issues with accessing files from the qSlicerSegmentationsEditorEffects directory by declaring it in MODULE\_INCLUDE\_DIRECTORIES like so: ${q…

---

## [Persist directory chosen](https://discourse.slicer.org/t/persist-directory-chosen/9368)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:48pm UTC](https://discourse.slicer.org/t/persist-directory-chosen/9368 "2019-12-03T16:48:49Z")

</div>

Hi! I was wondering, what is the best way to persist (after closing Slicer) the directory a user has chosen in a module I am creating. I initially thought about saving this information in .slicerrc.py and ended asking he…

---

## [macOS build on the factory failed with "No Java runtime present ... Alarm clock: 14"](https://discourse.slicer.org/t/macos-build-on-the-factory-failed-with-no-java-runtime-present-alarm-clock-14/2321)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 5\
**Last updated:** [March 18, 2018, 9:27am UTC](https://discourse.slicer.org/t/macos-build-on-the-factory-failed-with-no-java-runtime-present-alarm-clock-14/2321 "2018-03-18T09:27:34Z")

</div>

The build failed reporting error like the following: Unable to find any JVMs matching version "(null)". No Java runtime present, try --request to install. Unable to find any JVMs matching version "(null)". No Java runti…

---

## [Building Slicer with MABMIS extension failed](https://discourse.slicer.org/t/building-slicer-with-mabmis-extension-failed/4742)

<div class="topic-metadata">

**Author:** [@rasoul](https://discourse.slicer.org/u/rasoul)\
**Replies:** 10\
**Last updated:** [December 2, 2019, 10:17am UTC](https://discourse.slicer.org/t/building-slicer-with-mabmis-extension-failed/4742 "2019-12-02T10:17:34Z")

</div>

Hi everyone I want to build slicer with an Extension(MABMIS) but I have errors. the system specification is: Windows 7. Visual studio 2015 x64. cmake 3.12 x64. The steps I did are as follows: 1- As I want to build …

---

## [Interest in integration with Formlabs PreForm software?](https://discourse.slicer.org/t/interest-in-integration-with-formlabs-preform-software/9172)

<div class="topic-metadata">

**Author:** [@Gaurav](https://discourse.slicer.org/u/Gaurav)\
**Replies:** 3\
**Last updated:** [December 1, 2019, 10:01pm UTC](https://discourse.slicer.org/t/interest-in-integration-with-formlabs-preform-software/9172 "2019-12-01T22:01:21Z")

</div>

Hi all – question for the group: is there any demand for a Slicer extension that would connect the software to PreForm software from Formlabs? PreForm is free print preparation software for Formlabs 3D printers and reads…

---

## [Is there a way to convert vtkOpenGLActor to vtkMrmlNode?](https://discourse.slicer.org/t/is-there-a-way-to-convert-vtkopenglactor-to-vtkmrmlnode/9239)

<div class="topic-metadata">

**Author:** [@JaceYang](https://discourse.slicer.org/u/JaceYang)\
**Replies:** 5\
**Last updated:** [November 29, 2019, 1:45am UTC](https://discourse.slicer.org/t/is-there-a-way-to-convert-vtkopenglactor-to-vtkmrmlnode/9239 "2019-11-29T01:45:48Z")

</div>

I want to use the mouse to pick 3D object in the 3D view.So I use the vtkPropPicker and get a vtkOpenGLActor.Then I can modify the property(like color) of this vtkActor. But when I convert this vtkActor to vtkMRMLNode us…

---

## [Fastest way to load DICOM](https://discourse.slicer.org/t/fastest-way-to-load-dicom/9317)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 5\
**Last updated:** [November 28, 2019, 7:06pm UTC](https://discourse.slicer.org/t/fastest-way-to-load-dicom/9317 "2019-11-28T19:06:45Z")

</div>

Hi guys, firstly I would like to acknowledge the great work the Slicer team is doing. The software is really great! I am from a startup company from Brazil that is working with CT images of rock samples from well cores …

---

## [Get label map node from segmentation node](https://discourse.slicer.org/t/get-label-map-node-from-segmentation-node/1137)

<div class="topic-metadata">

**Author:** [@snvl](https://discourse.slicer.org/u/snvl)\
**Replies:** 14\
**Last updated:** [November 26, 2019, 11:43pm UTC](https://discourse.slicer.org/t/get-label-map-node-from-segmentation-node/1137 "2019-11-26T23:43:21Z")

</div>

Hello! Is there a way to create a label map node from a segmentation node? I know I can go the other way (from a label map to a segmentation), but I can’t seem to find a way to do the opposite. If this is not possible i…

---

## [SlicerExtension-VMTK - VesselnessFiltering - Code](https://discourse.slicer.org/t/slicerextension-vmtk-vesselnessfiltering-code/9306)

<div class="topic-metadata">

**Author:** [@marie](https://discourse.slicer.org/u/marie)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 8:47pm UTC](https://discourse.slicer.org/t/slicerextension-vmtk-vesselnessfiltering-code/9306 "2019-11-26T20:47:42Z")

</div>

Hey there! I would like to understand how VesselnessFiltering is working in general. So, I’m looking at: I see how the internal parameters are generated from the inputInformation and the inputImage, but I still don’…

---

## [Recovering a folder item ID](https://discourse.slicer.org/t/recovering-a-folder-item-id/9305)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 6:15pm UTC](https://discourse.slicer.org/t/recovering-a-folder-item-id/9305 "2019-11-26T18:15:23Z")

</div>

I am not being able to recover the ID of the parent directory of a node. I am using: subjectHierarchyNode = slicer.vtkMRMLSubjectHierarchyNode.GetSubjectHierarchyNode(slicer.mrmlScene) dirID = subjectHierarchyNode.Creat…

---

## [Markups Module Slicer 4.11.0](https://discourse.slicer.org/t/markups-module-slicer-4-11-0/9234)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.slicer.org/u/rprueckl)\
**Replies:** 4\
**Last updated:** [November 26, 2019, 2:01pm UTC](https://discourse.slicer.org/t/markups-module-slicer-4-11-0/9234 "2019-11-26T14:01:45Z")

</div>

Hi, currently, I don’t know really where to report bugs or feature requests, so I’m doing it here: Slicer 4.11.0-2019-11-19: 1: In the markups module, when I create a MarkupsLine, a 2D projection is always visible in…

---

## [Workspaces in 3D Slicer](https://discourse.slicer.org/t/workspaces-in-3d-slicer/9277)

<div class="topic-metadata">

**Author:** [@Umesh\_Persad](https://discourse.slicer.org/u/Umesh_Persad)\
**Replies:** 3\
**Last updated:** [November 23, 2019, 9:44pm UTC](https://discourse.slicer.org/t/workspaces-in-3d-slicer/9277 "2019-11-23T21:44:36Z")

</div>

Are there any plans to implement the concept of workspaces in 3D Slicer so that the user can create a custom layout with modules and save that as a workspace? There could also be discipline specific workspaces e.g. Ortho…

---

## [Segmentation via web-browser](https://discourse.slicer.org/t/segmentation-via-web-browser/9270)

<div class="topic-metadata">

**Author:** [@alex](https://discourse.slicer.org/u/alex)\
**Replies:** 3\
**Last updated:** [November 23, 2019, 2:24am UTC](https://discourse.slicer.org/t/segmentation-via-web-browser/9270 "2019-11-23T02:24:49Z")

</div>

Hi all, I looking for a way to segment label masks via a web-based interface. I have seen a few entries from a prior project week in 2017 but no follow-up to that issue. I am sure that is an issue many groups face as we…

---

## [Observing modification of table node from the other node and logic](https://discourse.slicer.org/t/observing-modification-of-table-node-from-the-other-node-and-logic/9227)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 3\
**Last updated:** [November 22, 2019, 7:48pm UTC](https://discourse.slicer.org/t/observing-modification-of-table-node-from-the-other-node-and-logic/9227 "2019-11-22T19:48:40Z")

</div>

Greetings, A couple of questions of loadable module development, some general stuff. What king of event generated when cells in table node are modified via “Tables” module or in table viewer? vtkCommand::ModifiedEv…

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

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