# Development

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

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

**Page:** 83

---

## [Lines in 4.11 and 4.13 GUI](https://discourse.slicer.org/t/lines-in-4-11-and-4-13-gui/15273)

<div class="topic-metadata">

**Author:** [@Joseph1](https://discourse.slicer.org/u/Joseph1)\
**Replies:** 1\
**Last updated:** [December 29, 2020, 6:49pm UTC](https://discourse.slicer.org/t/lines-in-4-11-and-4-13-gui/15273 "2020-12-29T18:49:57Z")

</div>

The GUI for 4.11 and 4.13 shows interlaced lines on a HP Precision 7550.

---

## [Different output by scripting 'REMOVE\_SMALL\_ISLANDS'](https://discourse.slicer.org/t/different-output-by-scripting-remove-small-islands/15249)

<div class="topic-metadata">

**Author:** [@ond12](https://discourse.slicer.org/u/ond12)\
**Replies:** 0\
**Last updated:** [December 28, 2020, 2:33pm UTC](https://discourse.slicer.org/t/different-output-by-scripting-remove-small-islands/15249 "2020-12-28T14:33:31Z")

</div>

Hello 3Dslicer forum I made a small Python script to start the “Islands” -\> “REMOVE\_SMALL\_ISLANDS” effect. self.segmentEditorWidget.setActiveEffectByName("Islands") effect = self.segmentEditorWidget.activeEffect() eff…

---

## [Calculate angle between oriented bounding boxes](https://discourse.slicer.org/t/calculate-angle-between-oriented-bounding-boxes/15241)

<div class="topic-metadata">

**Author:** [@Emrah\_Akay](https://discourse.slicer.org/u/Emrah_Akay)\
**Replies:** 2\
**Last updated:** [December 28, 2020, 1:40pm UTC](https://discourse.slicer.org/t/calculate-angle-between-oriented-bounding-boxes/15241 "2020-12-28T13:40:37Z")

</div>

Operating system : Win10 x64: Slicer version : 4.11.20200930 I’m a medical doctor and fairly new to the slicer 3d application, I am trying to calculate the angles between oriented bounding boxes created with the pytho…

---

## [Create installer package with extension and configuration](https://discourse.slicer.org/t/create-installer-package-with-extension-and-configuration/15139)

<div class="topic-metadata">

**Author:** [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Replies:** 7\
**Last updated:** [December 28, 2020, 12:31am UTC](https://discourse.slicer.org/t/create-installer-package-with-extension-and-configuration/15139 "2020-12-28T00:31:13Z")

</div>

Hello Every one, I have a question about how to create an installer package(With a created extension). I have followed the tutorial in https://slicer.readthedocs.io/en/latest/developer\_guide/build\_instructions/windows…

---

## [SlicerCAT build issues.](https://discourse.slicer.org/t/slicercat-build-issues/15236)

<div class="topic-metadata">

**Author:** [@sherinsugathan](https://discourse.slicer.org/u/sherinsugathan)\
**Replies:** 1\
**Last updated:** [December 27, 2020, 1:46am UTC](https://discourse.slicer.org/t/slicercat-build-issues/15236 "2020-12-27T01:46:50Z")

</div>

Hi, I am trying to build SlicerCAT on my Windows 10 machine. CMake went through without any problem. I have Qt(v5.12) already installed. After building the solution file in visual studio I got a linking error related…

---

## [How to display the vtkMRMLAnnotationLineNode in front of all model node](https://discourse.slicer.org/t/how-to-display-the-vtkmrmlannotationlinenode-in-front-of-all-model-node/15220)

<div class="topic-metadata">

**Author:** [@MurphyJOE](https://discourse.slicer.org/u/MurphyJOE)\
**Replies:** 1\
**Last updated:** [December 25, 2020, 9:00pm UTC](https://discourse.slicer.org/t/how-to-display-the-vtkmrmlannotationlinenode-in-front-of-all-model-node/15220 "2020-12-25T21:00:20Z")

</div>

Hello, deverlopers: I have load several STL files into scene as model node, and create a new mrml annotation line behind the model node. But, I wanna to display the annotation node always in front of all model nodes, n…

---

## [Updating only header information for MetaImage/NRRD](https://discourse.slicer.org/t/updating-only-header-information-for-metaimage-nrrd/15115)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 5\
**Last updated:** [December 24, 2020, 4:42pm UTC](https://discourse.slicer.org/t/updating-only-header-information-for-metaimage-nrrd/15115 "2020-12-24T16:42:25Z")

</div>

I’m using MetaImage and NRRD file types with custom header fields to store additional information about my volume. I am currently interested in updating the values of these custom fields, but I have only had success with…

---

## [Panoramic 3D image](https://discourse.slicer.org/t/panoramic-3d-image/15208)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 4\
**Last updated:** [December 24, 2020, 6:55am UTC](https://discourse.slicer.org/t/panoramic-3d-image/15208 "2020-12-24T06:55:15Z")

</div>

Hi today Im working with the images creater like cap = ScreenCapture.ScreenCaptureLogic().capture3dViewRotation(getNode(‘vtkMRMLViewNode1’),-180,180,15,0,“C:/Users/aldot/Desktop/python”,‘image\_%05d.png’) and I want to …

---

## [Bias estimation of Volume changes](https://discourse.slicer.org/t/bias-estimation-of-volume-changes/15111)

<div class="topic-metadata">

**Author:** [@Ash\_Alarfaj](https://discourse.slicer.org/u/Ash_Alarfaj)\
**Replies:** 4\
**Last updated:** [December 23, 2020, 9:32pm UTC](https://discourse.slicer.org/t/bias-estimation-of-volume-changes/15111 "2020-12-23T21:32:17Z")

</div>

Hello I’ve used slicer for measuring muscle volume change offer 4-time points threshold effect. I’ve compared two different MRI sequences but covered a quite similar area. The volume changes are different between the tw…

---

## [Set Pivot value to the model](https://discourse.slicer.org/t/set-pivot-value-to-the-model/2581)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 12\
**Last updated:** [December 22, 2020, 2:50pm UTC](https://discourse.slicer.org/t/set-pivot-value-to-the-model/2581 "2020-12-22T14:50:04Z")

</div>

How can i set pivot point to 3D model, normal segment exportation model pivot is far away from the actual model,it should be center of the model.

---

## [From objective-c to python](https://discourse.slicer.org/t/from-objective-c-to-python/15094)

<div class="topic-metadata">

**Author:** [@DimaLat](https://discourse.slicer.org/u/DimaLat)\
**Replies:** 2\
**Last updated:** [December 22, 2020, 9:34am UTC](https://discourse.slicer.org/t/from-objective-c-to-python/15094 "2020-12-22T09:34:11Z")

</div>

Is there an opportunity to rewrite on python modules which has structure like .bat + .m + .xml ? probably .m file should be rewriten? help with that please, mb explain me how this structure works?

---

## [RFC: Toward supporting distribution of VTK based modules on PyPI](https://discourse.slicer.org/t/rfc-toward-supporting-distribution-of-vtk-based-modules-on-pypi/15174)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [December 22, 2020, 5:30am UTC](https://discourse.slicer.org/t/rfc-toward-supporting-distribution-of-vtk-based-modules-on-pypi/15174 "2020-12-22T05:30:14Z")

</div>

At Kitware, we would like to support the ability to package and distribute any VTK based modules on PyPI (Python Package Index). If you would like to see this happen, read and “heart” the following discourse post, and d…

---

## [What is/is there the correlation between feature size and surface area?](https://discourse.slicer.org/t/what-is-is-there-the-correlation-between-feature-size-and-surface-area/15151)

<div class="topic-metadata">

**Author:** [@zaina\_moussa](https://discourse.slicer.org/u/zaina_moussa)\
**Replies:** 3\
**Last updated:** [December 21, 2020, 5:34pm UTC](https://discourse.slicer.org/t/what-is-is-there-the-correlation-between-feature-size-and-surface-area/15151 "2020-12-21T17:34:43Z")

</div>

I am attempting to automate the segmentation of the aorta from a series of CT scans. Although changing the feature size did result in a change in surface area, I am not seeing a consistent correlation. In one image, when…

---

## [Using GetCursorPositionRAS and ignore a model](https://discourse.slicer.org/t/using-getcursorpositionras-and-ignore-a-model/15045)

<div class="topic-metadata">

**Author:** [@Niels](https://discourse.slicer.org/u/Niels)\
**Replies:** 1\
**Last updated:** [December 19, 2020, 7:06am UTC](https://discourse.slicer.org/t/using-getcursorpositionras-and-ignore-a-model/15045 "2020-12-19T07:06:07Z")

</div>

I am using GetCursorPositionRAS on the vtkMRMLCrosshairNode singleton to get my mouse position when I am hitting a certain model. This works perfect. But now I would like to continuously display a stylus when hitting it…

---

## [Packaging a module](https://discourse.slicer.org/t/packaging-a-module/15107)

<div class="topic-metadata">

**Author:** [@jrl](https://discourse.slicer.org/u/jrl)\
**Replies:** 1\
**Last updated:** [December 19, 2020, 6:37am UTC](https://discourse.slicer.org/t/packaging-a-module/15107 "2020-12-19T06:37:33Z")

</div>

This is more of a clarification question. If I created a module and wanted to pass that on to somebody, do I just “create installer package”? It’s unclear to me how to package the code for another person.

---

## [How to reset the size of one slice to make it display maximum](https://discourse.slicer.org/t/how-to-reset-the-size-of-one-slice-to-make-it-display-maximum/14940)

<div class="topic-metadata">

**Author:** [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Replies:** 8\
**Last updated:** [December 19, 2020, 6:07am UTC](https://discourse.slicer.org/t/how-to-reset-the-size-of-one-slice-to-make-it-display-maximum/14940 "2020-12-19T06:07:21Z")

</div>

Operating system: Win10 Slicer version:4.11.0 Expected behavior: Actual behavior: I want to maximum slice to make them fit the size of their viewer box by a python script. I found a method: slicer.util.resetSliceVie…

---

## [How to get a small resampled plane slice given a point, a normal, and slice dimensions?](https://discourse.slicer.org/t/how-to-get-a-small-resampled-plane-slice-given-a-point-a-normal-and-slice-dimensions/15138)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 3\
**Last updated:** [December 19, 2020, 12:01am UTC](https://discourse.slicer.org/t/how-to-get-a-small-resampled-plane-slice-given-a-point-a-normal-and-slice-dimensions/15138 "2020-12-19T00:01:58Z")

</div>

I would like to be able to get a resampled image slice as a numpy array by supplying a slice center (in RAS coord), slice dimensions and resolution (e.g. 50x50 pixels which are 1 mm x 1 mm), a slice normal vector, and a …

---

## [How can I access data from renderWindow?](https://discourse.slicer.org/t/how-can-i-access-data-from-renderwindow/15130)

<div class="topic-metadata">

**Author:** [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Replies:** 0\
**Last updated:** [December 18, 2020, 7:09am UTC](https://discourse.slicer.org/t/how-can-i-access-data-from-renderwindow/15130 "2020-12-18T07:09:15Z")

</div>

Hello There, I want to make the slicer showed in the “Red” widget curve. From To In order to do this, I am trying to get slice data before it was rendered. I have no idea how to do this, I can only get the “ren…

---

## [Recent slicer developer introductory 2 hour presentation video](https://discourse.slicer.org/t/recent-slicer-developer-introductory-2-hour-presentation-video/15123)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 0\
**Last updated:** [December 17, 2020, 9:47pm UTC](https://discourse.slicer.org/t/recent-slicer-developer-introductory-2-hour-presentation-video/15123 "2020-12-17T21:47:46Z")

</div>

This Tuesay @cpinter and I gave a course session to some colleagues in Mauritania, Senegal, and Sudan and others in the Train the Trainers program via video conference. The slides and video are linked below. …

---

## [qRadioButtons and parameter nodes](https://discourse.slicer.org/t/qradiobuttons-and-parameter-nodes/10377)

<div class="topic-metadata">

**Author:** [@Juicy](https://discourse.slicer.org/u/Juicy)\
**Replies:** 3\
**Last updated:** [December 17, 2020, 7:13am UTC](https://discourse.slicer.org/t/qradiobuttons-and-parameter-nodes/10377 "2020-12-17T07:13:03Z")

</div>

Hi all, I am having a lot of trouble trying to save and recall the state of a pair of radio buttons (which I have put in a scripted module GUI) from a parameter node. I have got all my qMRMLNodeComboBox and qSpinBoxes …

---

## [Should be possible to add an option to save models with its transform hardened?](https://discourse.slicer.org/t/should-be-possible-to-add-an-option-to-save-models-with-its-transform-hardened/15064)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 10\
**Last updated:** [December 17, 2020, 12:41am UTC](https://discourse.slicer.org/t/should-be-possible-to-add-an-option-to-save-models-with-its-transform-hardened/15064 "2020-12-17T00:41:53Z")

</div>

Hi everyone, Many times I have scene completed with many models properly located with trasnforms and I should like to save them as STL to manage outside Slicer. I shouldn´t like to harden them because sometimes a little…

---

## [Change the erase color](https://discourse.slicer.org/t/change-the-erase-color/15102)

<div class="topic-metadata">

**Author:** [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Replies:** 0\
**Last updated:** [December 16, 2020, 8:08pm UTC](https://discourse.slicer.org/t/change-the-erase-color/15102 "2020-12-16T20:08:04Z")

</div>

hi today I was wondering if is possible to change the eraser color because when I´m editing in the editor I use shortcuts in the Wacom but when I use the tool erase is so easy to work and I would like to switch this col…

---

## [Qt Designer doesn't work for Python code preview](https://discourse.slicer.org/t/qt-designer-doesnt-work-for-python-code-preview/14342)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 8\
**Last updated:** [December 16, 2020, 3:19pm UTC](https://discourse.slicer.org/t/qt-designer-doesnt-work-for-python-code-preview/14342 "2020-12-16T15:19:52Z")

</div>

The error happens as follows: Create “NewExtension” with Extension Wizard Add Module to Extension “NewModule” Go to Modules combobox, go to Examples-\>NewModule Go to Edit UI (Qt Designer opens) Go to Form-\>View Pyth…

---

## [Progress reporting in Simple Filters? (9-30 Stable)](https://discourse.slicer.org/t/progress-reporting-in-simple-filters-9-30-stable/15073)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 6\
**Last updated:** [December 16, 2020, 2:38pm UTC](https://discourse.slicer.org/t/progress-reporting-in-simple-filters-9-30-stable/15073 "2020-12-16T14:38:15Z")

</div>

I just checked through the post history and didn’t seen an update on this…? Is progress reporting supposed to be working in Simple Filters? (Running 9-30 latest stable on MacOS) Thanks! -Hollister

---

## [Get center of gravity of a segment](https://discourse.slicer.org/t/get-center-of-gravity-of-a-segment/4287)

<div class="topic-metadata">

**Author:** [@ThomPote](https://discourse.slicer.org/u/ThomPote)\
**Replies:** 30\
**Last updated:** [December 16, 2020, 5:29am UTC](https://discourse.slicer.org/t/get-center-of-gravity-of-a-segment/4287 "2020-12-16T05:29:53Z")

</div>

Hi, I’m new on 3Dslicer with a new project, I try to search on topics but I’m still in troubles. I’m using segmentation from CT-scan to isolate 2 masses. I need you to know how I can have the gravity mass center. Can …

---

## [How to fast check if a voxel is part of a visible segment](https://discourse.slicer.org/t/how-to-fast-check-if-a-voxel-is-part-of-a-visible-segment/15068)

<div class="topic-metadata">

**Author:** [@Niels](https://discourse.slicer.org/u/Niels)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 8:27am UTC](https://discourse.slicer.org/t/how-to-fast-check-if-a-voxel-is-part-of-a-visible-segment/15068 "2020-12-15T08:27:24Z")

</div>

For my paintbrush module I am making continuously making adjustments to a volume . I use this same volume as a reference volume in my segmentation. In my adjustment script I would like to keep my adjustments limited to …

---

## [Transform single segment in python module](https://discourse.slicer.org/t/transform-single-segment-in-python-module/7368)

<div class="topic-metadata">

**Author:** [@Eloise](https://discourse.slicer.org/u/Eloise)\
**Replies:** 12\
**Last updated:** [December 10, 2020, 11:36am UTC](https://discourse.slicer.org/t/transform-single-segment-in-python-module/7368 "2020-12-10T11:36:54Z")

</div>

Hi all, I have a segmentation node (vtkMRMLSegmentationNode) that contains several segments (in this case, they represent organs) and I would like to apply a different linear transform (computed locally to the same refe…

---

## [How can I capture shift key pressed event?](https://discourse.slicer.org/t/how-can-i-capture-shift-key-pressed-event/14875)

<div class="topic-metadata">

**Author:** [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Replies:** 2\
**Last updated:** [December 8, 2020, 1:50am UTC](https://discourse.slicer.org/t/how-can-i-capture-shift-key-pressed-event/14875 "2020-12-08T01:50:01Z")

</div>

Hello there, I would like to detect the “Shift” key pressed event. But I can’t find any clue to do that. Thank you for your help.

---

## [Use HDF5 library in a Slicer module](https://discourse.slicer.org/t/use-hdf5-library-in-a-slicer-module/14877)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 11\
**Last updated:** [December 6, 2020, 8:11pm UTC](https://discourse.slicer.org/t/use-hdf5-library-in-a-slicer-module/14877 "2020-12-06T20:11:48Z")

</div>

Hi, Is it possible to build Slicer with custom HDF5 library? I mean I would like to build HDF5 separetely from SLicer I can see that VTK and ITK somehow use it but there is no hdf5\_D.lib or hdf5\_hl\_D.lib in Slicer buil…

---

## [Algorithmics' extensions](https://discourse.slicer.org/t/algorithmics-extensions/14276)

<div class="topic-metadata">

**Author:** [@sergiGB](https://discourse.slicer.org/u/sergiGB)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 7:49pm UTC](https://discourse.slicer.org/t/algorithmics-extensions/14276 "2020-10-27T19:49:56Z")

</div>

where can I find the algorithmics’ extension? thank you so much.

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

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