# Development

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

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

**Page:** 69

---

## [Disable Snapshot and Record push buttons in SequenceBrowserPlayWidget while recordning](https://discourse.slicer.org/t/disable-snapshot-and-record-push-buttons-in-sequencebrowserplaywidget-while-recordning/19711)

<div class="topic-metadata">

**Author:** [@Thibaut\_Faller](https://discourse.slicer.org/u/Thibaut_Faller)\
**Replies:** 7\
**Last updated:** [September 20, 2021, 3:26pm UTC](https://discourse.slicer.org/t/disable-snapshot-and-record-push-buttons-in-sequencebrowserplaywidget-while-recordning/19711 "2021-09-20T15:26:49Z")

</div>

Hello, I work on an application in which we use SequenceBrowserPlayWidget to browse sequences. We would like to disable Snapshot (pushButton\_Snapshot) and Record (pushButton\_VcrRecord) push buttons as we do not use them…

---

## [Build error on MacOSX, When install simpleITK, ModuleNotFoundError: No module named 'skbuild' occur](https://discourse.slicer.org/t/build-error-on-macosx-when-install-simpleitk-modulenotfounderror-no-module-named-skbuild-occur/19734)

<div class="topic-metadata">

**Author:** [@RuoyanMeng](https://discourse.slicer.org/u/RuoyanMeng)\
**Replies:** 2\
**Last updated:** [September 19, 2021, 12:12pm UTC](https://discourse.slicer.org/t/build-error-on-macosx-when-install-simpleitk-modulenotfounderror-no-module-named-skbuild-occur/19734 "2021-09-19T12:12:18Z")

</div>

MacOS 11.5.2, Qt 5.15.2, Xcode 12.5.1, cmake 3.20.5 SimpleITK: install step failed with exit code ‘1’. Best match: SimpleITK 2.1.0 Processing SimpleITK-2.1.0.tar.gz Writing /tmp/easy\_install-e5igwpuy/SimpleITK-2.1.0…

---

## [Best strategy to integrate airway segmentation into LungCTSegmenter?](https://discourse.slicer.org/t/best-strategy-to-integrate-airway-segmentation-into-lungctsegmenter/19674)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 16\
**Last updated:** [September 18, 2021, 7:27pm UTC](https://discourse.slicer.org/t/best-strategy-to-integrate-airway-segmentation-into-lungctsegmenter/19674 "2021-09-18T19:27:44Z")

</div>

I am planning to integrate an airway segmentation into the LungCTSegmenter extension. Would it make sense to invest time and connect the current CIP airway segmentation module or would you recommend writing that complet…

---

## [Faster DICOM loading](https://discourse.slicer.org/t/faster-dicom-loading/19723)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [September 17, 2021, 9:37pm UTC](https://discourse.slicer.org/t/faster-dicom-loading/19723 "2021-09-17T21:37:13Z")

</div>

Hi, I’m loading DICOM series this way: from DICOMLib import DICOMUtils loadedNodeIDs = \[\] with DICOMUtils.TemporaryDICOMDatabase() as db: DICOMUtils.importDicom(image\_dicom\_folder, db) patie…

---

## [Transfer python program to slicer extension](https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705)

<div class="topic-metadata">

**Author:** [@SlicerNoob](https://discourse.slicer.org/u/SlicerNoob)\
**Replies:** 1\
**Last updated:** [September 16, 2021, 2:23pm UTC](https://discourse.slicer.org/t/transfer-python-program-to-slicer-extension/19705 "2021-09-16T14:23:36Z")

</div>

Hello everyone. I am new to Slicer and I have coded the Python program that can store the Tag of a DICOM file as a csv file. Now I want to develop a simple slicer extension that will start running that Python program at …

---

## [Unhide slicer Interface](https://discourse.slicer.org/t/unhide-slicer-interface/19658)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 11:21pm UTC](https://discourse.slicer.org/t/unhide-slicer-interface/19658 "2021-09-14T23:21:35Z")

</div>

Hi, Once I build customAppTemplate, the user interface has just few buttons for data loading and not all other slicer toolboxes. Then by clicking on the setting-like button: I can choose the slicer interface to appea…

---

## [More efficient resampling](https://discourse.slicer.org/t/more-efficient-resampling/19661)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 4:36pm UTC](https://discourse.slicer.org/t/more-efficient-resampling/19661 "2021-09-14T16:36:13Z")

</div>

Hi all, I would like to make some function which perform real-time resampling depending on the transform matrix I used simple itk resample function, however, this one quite slow (e.g, 1~2 s for one interpolation) Is t…

---

## [qMRMLNodeComboBox not initializing with scene information](https://discourse.slicer.org/t/qmrmlnodecombobox-not-initializing-with-scene-information/19650)

<div class="topic-metadata">

**Author:** [@tsims](https://discourse.slicer.org/u/tsims)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 1:03pm UTC](https://discourse.slicer.org/t/qmrmlnodecombobox-not-initializing-with-scene-information/19650 "2021-09-14T13:03:08Z")

</div>

Hi everyone, I have been working on setting up a slicer module in python and am having an issue where my qMRMLNodeComboBox UI element isn’t initializing. I have copied the default scripted module as near as I can tell bu…

---

## [Change segment editor button layout](https://discourse.slicer.org/t/change-segment-editor-button-layout/18343)

<div class="topic-metadata">

**Author:** [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Replies:** 5\
**Last updated:** [September 13, 2021, 7:56pm UTC](https://discourse.slicer.org/t/change-segment-editor-button-layout/18343 "2021-09-13T19:56:14Z")

</div>

Hello, I want to know how to realize the vertical tool panel. I hope you can give me the detailed code. Thank you very much

---

## [Segment Editor User Interface Improvements](https://discourse.slicer.org/t/segment-editor-user-interface-improvements/9029)

<div class="topic-metadata">

**Author:** [@Umesh\_Persad](https://discourse.slicer.org/u/Umesh_Persad)\
**Replies:** 24\
**Last updated:** [September 13, 2021, 7:55pm UTC](https://discourse.slicer.org/t/segment-editor-user-interface-improvements/9029 "2021-09-13T19:55:20Z")

</div>

I’ve been using 3DSlicer to segment and create 3d printable models mostly for Orthopaedic surgical planning. I have some background in HCI/Usability and I have a suggestion for user interface improvement in the segment e…

---

## [Organization of Segment Editor effects into Categories](https://discourse.slicer.org/t/organization-of-segment-editor-effects-into-categories/19208)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 16\
**Last updated:** [September 13, 2021, 7:54pm UTC](https://discourse.slicer.org/t/organization-of-segment-editor-effects-into-categories/19208 "2021-09-13T19:54:59Z")

</div>

I have created a Slicer PR with some changes that puts Segment Editor effects into categories to improve usability so that users have a better understanding of the types of segment editors effects. This is implementing a…

---

## [Segment Editor Effect button size consistency](https://discourse.slicer.org/t/segment-editor-effect-button-size-consistency/19214)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 23\
**Last updated:** [September 13, 2021, 7:52pm UTC](https://discourse.slicer.org/t/segment-editor-effect-button-size-consistency/19214 "2021-09-13T19:52:46Z")

</div>

Continued originally from: Currently some segment editor effects are larger than others because they have longer text on the button. “Grow from seeds” is a larger size than say “Paint”. We could update buttons so t…

---

## [Selecting a denoising filter for a CT](https://discourse.slicer.org/t/selecting-a-denoising-filter-for-a-ct/19643)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 3\
**Last updated:** [September 13, 2021, 3:11pm UTC](https://discourse.slicer.org/t/selecting-a-denoising-filter-for-a-ct/19643 "2021-09-13T15:11:47Z")

</div>

In my application I need to detect spineContactPoint over a line that goes through the spine. For this I check until HU value is over 200 but this could fail because there are random sparce voxels with HU value 200 as yo…

---

## [Python viewing two volumes side by side (four over four)](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 2:55pm UTC](https://discourse.slicer.org/t/python-viewing-two-volumes-side-by-side-four-over-four/19638 "2021-09-13T14:55:24Z")

</div>

I wanted to have two volumes that I load from dicom series to be viewed side by side separately. something like this view: how is the good approach to that?

---

## [Resizing slice view doesn't preserve field of view](https://discourse.slicer.org/t/resizing-slice-view-doesnt-preserve-field-of-view/19636)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 2:45pm UTC](https://discourse.slicer.org/t/resizing-slice-view-doesnt-preserve-field-of-view/19636 "2021-09-13T14:45:15Z")

</div>

Hi, Let’s suppose I intensionally changed field of view in slice node: sliceNode = layoutManager = slicer.app.layoutManager().sliceWidget('Red').sliceView().mrmlSliceNode() sliceNode.SetFieldOfView(100, 300, 1) and th…

---

## [Trying to integrate qSlicerMarkupsPlaceWidget into app](https://discourse.slicer.org/t/trying-to-integrate-qslicermarkupsplacewidget-into-app/19644)

<div class="topic-metadata">

**Author:** [@shatz](https://discourse.slicer.org/u/shatz)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 1:45pm UTC](https://discourse.slicer.org/t/trying-to-integrate-qslicermarkupsplacewidget-into-app/19644 "2021-09-13T13:45:27Z")

</div>

Any tutorials on how to integrate fiducials into our app? I clearly dont know the “proper” way to do this but I was just trying to follow how the Lung CT segmenter module did it (while cutting out a lot of fat that I don…

---

## [onClick() function for vtkMRMLCrosshairNode?](https://discourse.slicer.org/t/onclick-function-for-vtkmrmlcrosshairnode/19593)

<div class="topic-metadata">

**Author:** [@shatz](https://discourse.slicer.org/u/shatz)\
**Replies:** 2\
**Last updated:** [September 12, 2021, 8:11am UTC](https://discourse.slicer.org/t/onclick-function-for-vtkmrmlcrosshairnode/19593 "2021-09-12T08:11:00Z")

</div>

Currently working on a python extension. I want to know ras coords for where the user clicks in the Crosshair Node. I see that we have CursorPositionModifiedEvent, but this fires every time the cursor moves. I want an e…

---

## [Change axis labels of slice view and 3D view](https://discourse.slicer.org/t/change-axis-labels-of-slice-view-and-3d-view/19608)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 6\
**Last updated:** [September 11, 2021, 3:24am UTC](https://discourse.slicer.org/t/change-axis-labels-of-slice-view-and-3d-view/19608 "2021-09-11T03:24:52Z")

</div>

Hi, I’m trying to rename axis labels from medical I, P, A etc to XYZ. I’ve tried to do that in qMyAppMainWindow: std::vector\<std::string\> axesNames({"-X", "X", "-Y", "Y", "-Z", "Z"}); for (int j = 0; j \< this-\>La…

---

## [Reformatted slice node doesn't restore its original orientation](https://discourse.slicer.org/t/reformatted-slice-node-doesnt-restore-its-original-orientation/19601)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 3\
**Last updated:** [September 10, 2021, 11:09am UTC](https://discourse.slicer.org/t/reformatted-slice-node-doesnt-restore-its-original-orientation/19601 "2021-09-10T11:09:02Z")

</div>

Hi, Slice node vtkMRMLNode has a method GetOrientation() wich returns string value: Axial, Coronal, Sagittal or Reformat. Also there is a button on the view that probably restore the default state (on the picture) I…

---

## [Dicom image shows just one line of voxels in two views](https://discourse.slicer.org/t/dicom-image-shows-just-one-line-of-voxels-in-two-views/19562)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 8\
**Last updated:** [September 10, 2021, 3:39am UTC](https://discourse.slicer.org/t/dicom-image-shows-just-one-line-of-voxels-in-two-views/19562 "2021-09-10T03:39:44Z")

</div>

Hi, I’m opening a DICOM series from a folder on disk, using the following piece of code: from DICOMLib import DICOMUtils with DICOMUtils.TemporaryDICOMDatabase() as db: DICOMUtils.importDicom(image\_dicom\_f…

---

## [Can't display \`vtkCubeAxesActor2D\` in slice view](https://discourse.slicer.org/t/cant-display-vtkcubeaxesactor2d-in-slice-view/19583)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 3\
**Last updated:** [September 9, 2021, 1:02pm UTC](https://discourse.slicer.org/t/cant-display-vtkcubeaxesactor2d-in-slice-view/19583 "2021-09-09T13:02:50Z")

</div>

Hi, In an attempt to display vtkCubeAxesActor2D I use the code: # Get renderer and camera layoutManager = slicer.app.layoutManager() view = layoutManager.sliceWidget('Red').sliceView() renderWindow = view.renderWindow(…

---

## [Disable interaction with camera](https://discourse.slicer.org/t/disable-interaction-with-camera/12586)

<div class="topic-metadata">

**Author:** [@Eloi\_gbrt](https://discourse.slicer.org/u/Eloi_gbrt)\
**Replies:** 12\
**Last updated:** [September 9, 2021, 7:35am UTC](https://discourse.slicer.org/t/disable-interaction-with-camera/12586 "2021-09-09T07:35:04Z")

</div>

Hello everyone, So I’m developping a module in python and at some point i need to move the camera around. For that I need to disable all the interaction that moves the camera around in the 3D view. My solution for now …

---

## [3d slicer capability](https://discourse.slicer.org/t/3d-slicer-capability/14741)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.slicer.org/u/flaviu2)\
**Replies:** 1\
**Last updated:** [September 9, 2021, 2:24am UTC](https://discourse.slicer.org/t/3d-slicer-capability/14741 "2021-09-09T02:24:20Z")

</div>

Hello all of you. I saw here the amazing features of 3d slicer: https://www.youtube.com/watch?v=cTeDRISpad8&t=166s Excellent. I wonder if 3d slicer, actually VTK has the same handling features like this software: https…

---

## [Set the color for every points in vtkMRMLMarkupsFiducialNode](https://discourse.slicer.org/t/set-the-color-for-every-points-in-vtkmrmlmarkupsfiducialnode/19566)

<div class="topic-metadata">

**Author:** [@xianger-qi](https://discourse.slicer.org/u/xianger-qi)\
**Replies:** 1\
**Last updated:** [September 8, 2021, 3:12pm UTC](https://discourse.slicer.org/t/set-the-color-for-every-points-in-vtkmrmlmarkupsfiducialnode/19566 "2021-09-08T15:12:30Z")

</div>

How can i set the color and radius value for every point in vtkMRMLMarkupsFiducialNode, with c++ language. Thanks for your help!

---

## [3D Widget after show() has (0,0)-sized window until fully displayed](https://discourse.slicer.org/t/3d-widget-after-show-has-0-0-sized-window-until-fully-displayed/19567)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 2\
**Last updated:** [September 8, 2021, 12:43pm UTC](https://discourse.slicer.org/t/3d-widget-after-show-has-0-0-sized-window-until-fully-displayed/19567 "2021-09-08T12:43:46Z")

</div>

Hi, In order to make a custom camera reset in a 3D widget (qMRMLThreeDWidget), I need to access the vtkRenderWindow size after the call for the widget to show(). However, I noticed that the window size was (0,0) if per…

---

## [Unable to get \`vtkCamera\*\` from \`vtkMRMLCameraNode\*\` (from C++ only)](https://discourse.slicer.org/t/unable-to-get-vtkcamera-from-vtkmrmlcameranode-from-c-only/19523)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 4\
**Last updated:** [September 8, 2021, 12:40pm UTC](https://discourse.slicer.org/t/unable-to-get-vtkcamera-from-vtkmrmlcameranode-from-c-only/19523 "2021-09-08T12:40:23Z")

</div>

Hi, From module widget (qSlicerMyModuleWidget.cxx) I was trying to get active camera of a 3D view and apply transform to it. The only two working ways to do that were: qMRMLThreeDWidget\* threeDWidget = app-\>layoutMa…

---

## [Does WebWidget's printToPdf work on Mac?](https://discourse.slicer.org/t/does-webwidgets-printtopdf-work-on-mac/19544)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 7\
**Last updated:** [September 8, 2021, 3:03am UTC](https://discourse.slicer.org/t/does-webwidgets-printtopdf-work-on-mac/19544 "2021-09-08T03:03:49Z")

</div>

Hi. I would like to know if this script to create a pdfReport with a webwidget works on Mac (it does work on Windows): #get/create directories/paths import os desktopPath = os.path.join(os.path.expanduser("~"), "Deskto…

---

## [How to set the default python of the Mac terminal to slicerpython?](https://discourse.slicer.org/t/how-to-set-the-default-python-of-the-mac-terminal-to-slicerpython/19550)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 4\
**Last updated:** [September 7, 2021, 9:58pm UTC](https://discourse.slicer.org/t/how-to-set-the-default-python-of-the-mac-terminal-to-slicerpython/19550 "2021-09-07T21:58:51Z")

</div>

How to set the default python of the Mac terminal to slicerpython?

---

## [Changing QSurfaceFormat of a ThreeDWidget](https://discourse.slicer.org/t/changing-qsurfaceformat-of-a-threedwidget/18111)

<div class="topic-metadata">

**Author:** [@MarineC](https://discourse.slicer.org/u/MarineC)\
**Replies:** 1\
**Last updated:** [September 7, 2021, 7:08pm UTC](https://discourse.slicer.org/t/changing-qsurfaceformat-of-a-threedwidget/18111 "2021-09-07T19:08:50Z")

</div>

Hello everyone, I am trying to show a 3D view outside the view layout, to be able to activate the QuadBuffer stereo mode on Slicer 4.13 (with VTK9). I followed this example for the widget but using C++. First, I create…

---

## [Python package installation](https://discourse.slicer.org/t/python-package-installation/19496)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 12\
**Last updated:** [September 6, 2021, 3:54pm UTC](https://discourse.slicer.org/t/python-package-installation/19496 "2021-09-06T15:54:24Z")

</div>

Hi everyone, Is there a way to install a python package in slicer’s python environment (using pip) but not during the runtime of Slicer. What would be the cleanest way to do it? Thanks for your advices, Pierre

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

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