# Development

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

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

**Page:** 79

---

## [Help on 3D Slicer crash when volume node's image data is invalid](https://discourse.slicer.org/t/help-on-3d-slicer-crash-when-volume-nodes-image-data-is-invalid/16924)

<div class="topic-metadata">

**Author:** [@jackxiong](https://discourse.slicer.org/u/jackxiong)\
**Replies:** 6\
**Last updated:** [April 3, 2021, 6:23am UTC](https://discourse.slicer.org/t/help-on-3d-slicer-crash-when-volume-nodes-image-data-is-invalid/16924 "2021-04-03T06:23:39Z")

</div>

Hi Andras, I have tried on UnstructuredGridToVolume and refer to the code in below link: SlicerNotebookDemos/UnstructuredGridToVolume.ipynb at master · lassoan/SlicerNotebookDemos · GitHub I believe the code is exactly …

---

## [Calculate the shortest distance of two model in mm](https://discourse.slicer.org/t/calculate-the-shortest-distance-of-two-model-in-mm/16832)

<div class="topic-metadata">

**Author:** [@Raj\_Kumar\_Ranabhat](https://discourse.slicer.org/u/Raj_Kumar_Ranabhat)\
**Replies:** 1\
**Last updated:** [April 3, 2021, 3:01am UTC](https://discourse.slicer.org/t/calculate-the-shortest-distance-of-two-model-in-mm/16832 "2021-04-03T03:01:29Z")

</div>

Hi Experts, I would like to calculate the shortest distance(in mm) of two models using VTK based on the point coordinates of the two models. How should I proceed, Is there a sample python script to find the shortest dis…

---

## [Converting Segmentation to Volume automatically w/ Python or Matlab](https://discourse.slicer.org/t/converting-segmentation-to-volume-automatically-w-python-or-matlab/16829)

<div class="topic-metadata">

**Author:** [@Hball99](https://discourse.slicer.org/u/Hball99)\
**Replies:** 1\
**Last updated:** [April 3, 2021, 2:50am UTC](https://discourse.slicer.org/t/converting-segmentation-to-volume-automatically-w-python-or-matlab/16829 "2021-04-03T02:50:04Z")

</div>

Hello there! I have 200+ CT-Volumes with matching segmentations. The Volumes are in .nrrd format and the segmentations are in seg.nrrd format. I need both of those as .nii.gz format and I want to script the conversion fr…

---

## [How do i find the qslicerTransformsModuleWidget.ui file](https://discourse.slicer.org/t/how-do-i-find-the-qslicertransformsmodulewidget-ui-file/16918)

<div class="topic-metadata">

**Author:** [@Carl098](https://discourse.slicer.org/u/Carl098)\
**Replies:** 1\
**Last updated:** [April 3, 2021, 1:22am UTC](https://discourse.slicer.org/t/how-do-i-find-the-qslicertransformsmodulewidget-ui-file/16918 "2021-04-03T01:22:25Z")

</div>

I’d like to use the Transforms module UI file and invoke some widgets. I use Python language, but I can’t do that like this:

---

## [Is there a way to only clear/refresh the scene on the 3D panel?](https://discourse.slicer.org/t/is-there-a-way-to-only-clear-refresh-the-scene-on-the-3d-panel/16880)

<div class="topic-metadata">

**Author:** [@will\_kim](https://discourse.slicer.org/u/will_kim)\
**Replies:** 3\
**Last updated:** [April 1, 2021, 1:51pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-only-clear-refresh-the-scene-on-the-3d-panel/16880 "2021-04-01T13:51:06Z")

</div>

Hi, I was wondering if it is possible to clear the scene on the 3D panel without touching the other slices(red, green, yellow). Thank you.

---

## [How to add slice intersection button in gui?](https://discourse.slicer.org/t/how-to-add-slice-intersection-button-in-gui/16877)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 1\
**Last updated:** [March 31, 2021, 5:25pm UTC](https://discourse.slicer.org/t/how-to-add-slice-intersection-button-in-gui/16877 "2021-03-31T17:25:04Z")

</div>

I’m trying to create a button in my module that works just like the slice intersection checkbox. When I click on the button I want to toggle the slice intersection visibility. What would I put in def onClick() or how do …

---

## [Changing the name of the fiducial and getting the updated names of the fiducial](https://discourse.slicer.org/t/changing-the-name-of-the-fiducial-and-getting-the-updated-names-of-the-fiducial/16792)

<div class="topic-metadata">

**Author:** [@will\_kim](https://discourse.slicer.org/u/will_kim)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 10:28pm UTC](https://discourse.slicer.org/t/changing-the-name-of-the-fiducial-and-getting-the-updated-names-of-the-fiducial/16792 "2021-03-29T22:28:01Z")

</div>

Hi is there a way to print out the updated fiducials list even if I rename it from (‘F’) to something else? Right now I have to hardcode the names of my fiducials into .getNode() but was wondering if there is a better al…

---

## [How can I create a copy of the segment editor erase effect and rename it?](https://discourse.slicer.org/t/how-can-i-create-a-copy-of-the-segment-editor-erase-effect-and-rename-it/16499)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 6\
**Last updated:** [March 29, 2021, 1:41pm UTC](https://discourse.slicer.org/t/how-can-i-create-a-copy-of-the-segment-editor-erase-effect-and-rename-it/16499 "2021-03-29T13:41:20Z")

</div>

Operating system:windows 10 Slicer version:4.11 I want to create a copy of the erase effect in segment editor. I want to rename it as eraser or something like that, but I want both erase and eraser(which is a copy of e…

---

## [How to show all coronaries of 3D CTA in a 2D image?](https://discourse.slicer.org/t/how-to-show-all-coronaries-of-3d-cta-in-a-2d-image/16486)

<div class="topic-metadata">

**Author:** [@yee\_lu](https://discourse.slicer.org/u/yee_lu)\
**Replies:** 1\
**Last updated:** [March 27, 2021, 6:42pm UTC](https://discourse.slicer.org/t/how-to-show-all-coronaries-of-3d-cta-in-a-2d-image/16486 "2021-03-27T18:42:43Z")

</div>

How to show all coronaries of 3D CTA in a 2D image, using multi-planner reformation technology? I see the "curved planner reformat "module just straighten the volume.

---

## [Is there any way to go back to the generated centerline after it has been modified?](https://discourse.slicer.org/t/is-there-any-way-to-go-back-to-the-generated-centerline-after-it-has-been-modified/16498)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 1\
**Last updated:** [March 27, 2021, 6:28pm UTC](https://discourse.slicer.org/t/is-there-any-way-to-go-back-to-the-generated-centerline-after-it-has-been-modified/16498 "2021-03-27T18:28:47Z")

</div>

Operating system: Windows 10 Slicer version:4.11 I use the extract centerline feature to obtain a centerline for my model. Sometimes when I move my mouse over the models I click on the points in the curve by mistake an…

---

## [Mac factory machine out of space](https://discourse.slicer.org/t/mac-factory-machine-out-of-space/16774)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 3\
**Last updated:** [March 26, 2021, 7:11pm UTC](https://discourse.slicer.org/t/mac-factory-machine-out-of-space/16774 "2021-03-26T19:11:31Z")

</div>

It appears the nightly build failed due to lack of disk space.

---

## [Its all about transitions! Lets talk about Slicer's landing page](https://discourse.slicer.org/t/its-all-about-transitions-lets-talk-about-slicers-landing-page/113)

<div class="topic-metadata">

**Author:** [@bpaniagua](https://discourse.slicer.org/u/bpaniagua)\
**Replies:** 41\
**Last updated:** [March 26, 2021, 6:12pm UTC](https://discourse.slicer.org/t/its-all-about-transitions-lets-talk-about-slicers-landing-page/113 "2021-03-26T18:12:21Z")

</div>

Hi all, I would like to bring up again the topic of transitioning the Slicer.org landing page to a place that facilitates collaboration. As you know, @rkikinis appointed me to start looking into showcasing the differen…

---

## [Use different python interpreter with Slicer 3d](https://discourse.slicer.org/t/use-different-python-interpreter-with-slicer-3d/16761)

<div class="topic-metadata">

**Author:** [@oren](https://discourse.slicer.org/u/oren)\
**Replies:** 1\
**Last updated:** [March 25, 2021, 7:17pm UTC](https://discourse.slicer.org/t/use-different-python-interpreter-with-slicer-3d/16761 "2021-03-25T19:17:13Z")

</div>

Hi I wish Slicer 3D to run with my local anaconda interpreter instead of the default Slicer3D python environment Is is possible ? how should I configure this change ? I have many packages that are already installed o…

---

## [Using Voilà on a Jupyter notebook with slicer](https://discourse.slicer.org/t/using-voila-on-a-jupyter-notebook-with-slicer/14727)

<div class="topic-metadata">

**Author:** [@pierrebusson](https://discourse.slicer.org/u/pierrebusson)\
**Replies:** 5\
**Last updated:** [March 25, 2021, 3:49pm UTC](https://discourse.slicer.org/t/using-voila-on-a-jupyter-notebook-with-slicer/14727 "2021-03-25T15:49:36Z")

</div>

Hi, I’m using Voilà in a server web It’s working when I use the command : “print(‘Hello world!’)”, the code is hide But when I try to use Voilà with a notebook which open a SlicerApp I have an error message : ‘40…

---

## [Extract points from vtkImageData](https://discourse.slicer.org/t/extract-points-from-vtkimagedata/11054)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 6\
**Last updated:** [April 10, 2020, 11:47pm UTC](https://discourse.slicer.org/t/extract-points-from-vtkimagedata/11054 "2020-04-10T23:47:30Z")

</div>

Hi, My question is how can I extract points from vtkImageData. For example, considering 3D image(labelMap), if in voxels there are 3 voxel values, I would get the coordinates of those voxels. vtkImageData-\>getPoint()…

---

## [Concept: Implementing Slicer's Segmentation to an Augmented Reality App](https://discourse.slicer.org/t/concept-implementing-slicers-segmentation-to-an-augmented-reality-app/16718)

<div class="topic-metadata">

**Author:** [@MarcusR](https://discourse.slicer.org/u/MarcusR)\
**Replies:** 1\
**Last updated:** [March 24, 2021, 5:19pm UTC](https://discourse.slicer.org/t/concept-implementing-slicers-segmentation-to-an-augmented-reality-app/16718 "2021-03-24T17:19:26Z")

</div>

Hello Dear 3D Slicer Community, I’am new to 3D Slicer and development. I started doing research how to implement 3D Slicer to a Hololens2 App. To conduct the segmentation in 3D space is the focus of the project. I was r…

---

## [Strange behavior between 3D Slicer and pure VTK](https://discourse.slicer.org/t/strange-behavior-between-3d-slicer-and-pure-vtk/16748)

<div class="topic-metadata">

**Author:** [@jackxiong](https://discourse.slicer.org/u/jackxiong)\
**Replies:** 2\
**Last updated:** [March 24, 2021, 2:13pm UTC](https://discourse.slicer.org/t/strange-behavior-between-3d-slicer-and-pure-vtk/16748 "2021-03-24T14:13:12Z")

</div>

Hello all, I have met a development issue here, I want to coloring different cell with different color, I have draft code with VTK(not in 3D Slicer), the code as below: import vtk sphereSource = vtk.vtkSphereSource() …

---

## [Build fails : VTK9 expected](https://discourse.slicer.org/t/build-fails-vtk9-expected/16658)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 2\
**Last updated:** [March 24, 2021, 4:18am UTC](https://discourse.slicer.org/t/build-fails-vtk9-expected/16658 "2021-03-24T04:18:18Z")

</div>

Slicer build failed today on Arch Linux against VTK8. This trivial patch fixed the build process. I can’t know if it’s the right fix. diff --git a/Libs/MRML/Core/vtkMRMLModelStorageNode.cxx b/Libs/MRML/Core/vtkMRMLModel…

---

## [About the right click on mainwindow's toolbar](https://discourse.slicer.org/t/about-the-right-click-on-mainwindows-toolbar/16644)

<div class="topic-metadata">

**Author:** [@qin](https://discourse.slicer.org/u/qin)\
**Replies:** 2\
**Last updated:** [March 23, 2021, 6:02am UTC](https://discourse.slicer.org/t/about-the-right-click-on-mainwindows-toolbar/16644 "2021-03-23T06:02:58Z")

</div>

Operating system:windows10 64 bit Slicer version:4.11 Expected behavior: Actual behavior: When i was right clicked the toolbars on mainwindow, a menu manager the toolbars like ‘module panel’,‘load/save’…was poped up.…

---

## [How to hide nodes in data module](https://discourse.slicer.org/t/how-to-hide-nodes-in-data-module/16647)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 5:58pm UTC](https://discourse.slicer.org/t/how-to-hide-nodes-in-data-module/16647 "2021-03-19T17:58:02Z")

</div>

Operating system: windows 10 Slicer version: 4.11 Is there any way to programmatically toggle the visibility of nodes in the data module? If so , how?

---

## [How to rename segments in a segmentation node?](https://discourse.slicer.org/t/how-to-rename-segments-in-a-segmentation-node/16575)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 5\
**Last updated:** [March 19, 2021, 3:35pm UTC](https://discourse.slicer.org/t/how-to-rename-segments-in-a-segmentation-node/16575 "2021-03-19T15:35:40Z")

</div>

Operating system: Windows 10 Slicer version:4.11 How can I change the names of segments in a segmentation. I can do this manually in the GUI but I want to know if there is any way to do this programmatically. I can’t s…

---

## [How to copy Nodes using id?](https://discourse.slicer.org/t/how-to-copy-nodes-using-id/16572)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 3\
**Last updated:** [March 19, 2021, 2:16pm UTC](https://discourse.slicer.org/t/how-to-copy-nodes-using-id/16572 "2021-03-19T14:16:44Z")

</div>

I want to keep multiple copies of mrml nodes so that I can operate on the copies without changing the original. Kind of like clone option from data module. Is this possible? If so how can I implement it? For example - I …

---

## [Data augmentation library for 3D (US) medical images](https://discourse.slicer.org/t/data-augmentation-library-for-3d-us-medical-images/8125)

<div class="topic-metadata">

**Author:** [@che85](https://discourse.slicer.org/u/che85)\
**Replies:** 5\
**Last updated:** [March 19, 2021, 10:44am UTC](https://discourse.slicer.org/t/data-augmentation-library-for-3d-us-medical-images/8125 "2021-03-19T10:44:34Z")

</div>

Hi everyone, we are working on some DeepLearning networks and we would like to do some data augmentation when exporting data from Slicer. Do you guys have any plans for creating a library for supporting this kind of ma…

---

## [C++ beginners guide](https://discourse.slicer.org/t/c-beginners-guide/16562)

<div class="topic-metadata">

**Author:** [@LorenzE](https://discourse.slicer.org/u/LorenzE)\
**Replies:** 3\
**Last updated:** [March 19, 2021, 8:58am UTC](https://discourse.slicer.org/t/c-beginners-guide/16562 "2021-03-19T08:58:12Z")

</div>

Hi all, I just started developing with 3DSlicer. I successfully created a C++ (loadable) extension and can load it into 3DSlicer. I was wondering if there is a basic guide on how to interact with the data nodes, other ex…

---

## [Error when trying SimpleITK with Segmentations / conversion](https://discourse.slicer.org/t/error-when-trying-simpleitk-with-segmentations-conversion/16586)

<div class="topic-metadata">

**Author:** [@yannick\_s](https://discourse.slicer.org/u/yannick_s)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 3:51pm UTC](https://discourse.slicer.org/t/error-when-trying-simpleitk-with-segmentations-conversion/16586 "2021-03-18T15:51:39Z")

</div>

Dear all, I would like to use SimpleITK with Segmentations. For this, I tried the approaches described by @lassoan here: https://discourse.slicer.org/t/segmentation-using-simpleitk/13232/2?u=yannick\_s My inputSeg stems…

---

## [Issue when pip\_install("matplotlib wxPython")](https://discourse.slicer.org/t/issue-when-pip-install-matplotlib-wxpython/16604)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.slicer.org/u/siaeleni)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 9:36pm UTC](https://discourse.slicer.org/t/issue-when-pip-install-matplotlib-wxpython/16604 "2021-03-17T21:36:45Z")

</div>

Hello, I try to install pip\_install("matplotlib wxPython") on Slicer Stable version 4.11.20210226 and it freezes and does not respond. This is what I get in Python Interactor: Do you have any idea why? Thanks, Ele…

---

## [Virtual Reality extension issue](https://discourse.slicer.org/t/virtual-reality-extension-issue/16462)

<div class="topic-metadata">

**Author:** [@eduardo.ecamargo](https://discourse.slicer.org/u/eduardo.ecamargo)\
**Replies:** 8\
**Last updated:** [March 16, 2021, 9:56pm UTC](https://discourse.slicer.org/t/virtual-reality-extension-issue/16462 "2021-03-16T21:56:52Z")

</div>

I checked out tag v4.11.20210226 from the Slicer repo, which is the latest stable version, and built the source in release mode (Windows 10) as a result Slicer loads as expected (running from Slicer-build\\Slicer.exe). No…

---

## [Conditional island removal?](https://discourse.slicer.org/t/conditional-island-removal/16570)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 9:32pm UTC](https://discourse.slicer.org/t/conditional-island-removal/16570 "2021-03-16T21:32:14Z")

</div>

I would like to be able to remove small islands (under a certain threshold) if they are a certain distance away from other islands. I have segmentations of some very thin insect tracheae that are basically “archipelagoes…

---

## [Factory extensions with built custom SlicerApp\_APPLICATION\_NAME](https://discourse.slicer.org/t/factory-extensions-with-built-custom-slicerapp-application-name/16571)

<div class="topic-metadata">

**Author:** [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 2:23pm UTC](https://discourse.slicer.org/t/factory-extensions-with-built-custom-slicerapp-application-name/16571 "2021-03-16T14:23:31Z")

</div>

Hi guys, we’ve finally surrendered and started to build Slicer for our application (GeoSlicer - petrophysics area). I’ve had success in building it with Windows and adding the customizations needed on the source code. We…

---

## [Create curve from many input points](https://discourse.slicer.org/t/create-curve-from-many-input-points/9673)

<div class="topic-metadata">

**Author:** [@RayCui](https://discourse.slicer.org/u/RayCui)\
**Replies:** 7\
**Last updated:** [March 16, 2021, 5:20am UTC](https://discourse.slicer.org/t/create-curve-from-many-input-points/9673 "2021-03-16T05:20:12Z")

</div>

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

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