# Development

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

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

**Page:** 84

---

## [Loading markups curves from fcsv file](https://discourse.slicer.org/t/loading-markups-curves-from-fcsv-file/14906)

<div class="topic-metadata">

**Author:** [@yee](https://discourse.slicer.org/u/yee)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 4:16am UTC](https://discourse.slicer.org/t/loading-markups-curves-from-fcsv-file/14906 "2020-12-06T04:16:59Z")

</div>

Hi! When I input " curveNode = slicer.util.loadMarkupsCurve('some/folder/MarkupsCurve.fcsv')", I just get makups node. How can I get the markupcurve? Thank you in advance.

---

## [How to call simpleFilters logic in my python module?](https://discourse.slicer.org/t/how-to-call-simplefilters-logic-in-my-python-module/14846)

<div class="topic-metadata">

**Author:** [@ond12](https://discourse.slicer.org/u/ond12)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 1:05am UTC](https://discourse.slicer.org/t/how-to-call-simplefilters-logic-in-my-python-module/14846 "2020-12-04T01:05:25Z")

</div>

Hello everyone, I would like to use the SimpleFilter logic in my python module to start a “SigmoidImageFilter” with set parameters. I looked into : https://github.com/SimpleITK/SlicerSimpleFilters/blob/master/SimpleF…

---

## [Automate tasks in Python](https://discourse.slicer.org/t/automate-tasks-in-python/14792)

<div class="topic-metadata">

**Author:** [@kuonlp](https://discourse.slicer.org/u/kuonlp)\
**Replies:** 6\
**Last updated:** [December 1, 2020, 9:53am UTC](https://discourse.slicer.org/t/automate-tasks-in-python/14792 "2020-12-01T09:53:56Z")

</div>

Is it actually possible to automate all the tasks that can be done through the GUI in Python? I have spent quite some hours trying to do very simple things but I was unsuccessful. More specifically, I want to use the mo…

---

## [Set input data types](https://discourse.slicer.org/t/set-input-data-types/819)

<div class="topic-metadata">

**Author:** [@Alba\_Garcia\_de\_la\_Ca](https://discourse.slicer.org/u/Alba_Garcia_de_la_Ca)\
**Replies:** 7\
**Last updated:** [December 1, 2020, 7:45am UTC](https://discourse.slicer.org/t/set-input-data-types/819 "2020-12-01T07:45:52Z")

</div>

Operating system: ubuntu 16.04 / iOS Slicer version: 4.6 Expected behavior: Actual behavior: Good evening, I guess my question is an easy or basic issue. I have been working with inputvolumes which are usually .nii …

---

## [Cmake 3.19.0 : build fails on Linux](https://discourse.slicer.org/t/cmake-3-19-0-build-fails-on-linux/14726)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 6:53am UTC](https://discourse.slicer.org/t/cmake-3-19-0-build-fails-on-linux/14726 "2020-11-30T06:53:12Z")

</div>

Build fails on Arch Linux with cmake 3.19.0 with the errors below. Reverting to cmake 3.18.4 fixes the problem. Not a fundamental issue, FYI. Regards. … … CMake Deprecation Warning at Modules/ThirdParty/GoogleTest/s…

---

## [Can I get the value of this points for VolumeRendering?](https://discourse.slicer.org/t/can-i-get-the-value-of-this-points-for-volumerendering/14742)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 1\
**Last updated:** [November 28, 2020, 3:08am UTC](https://discourse.slicer.org/t/can-i-get-the-value-of-this-points-for-volumerendering/14742 "2020-11-28T03:08:32Z")

</div>

Can I get the value of this points for the module of VolumeRendering with pycode?

---

## [Obtaining the curve of intersection between two polydata](https://discourse.slicer.org/t/obtaining-the-curve-of-intersection-between-two-polydata/14785)

<div class="topic-metadata">

**Author:** [@Anish\_Basnet](https://discourse.slicer.org/u/Anish_Basnet)\
**Replies:** 1\
**Last updated:** [November 26, 2020, 7:32pm UTC](https://discourse.slicer.org/t/obtaining-the-curve-of-intersection-between-two-polydata/14785 "2020-11-26T19:32:44Z")

</div>

Hello everyone, Is there a function in VTK that could determine the curve of intersection between two polydatas? I’d also like to obtain the points that lie in the curve(indicated by the red color in the figure below).…

---

## [How to use volume histogram widget in my module](https://discourse.slicer.org/t/how-to-use-volume-histogram-widget-in-my-module/14782)

<div class="topic-metadata">

**Author:** [@ond12](https://discourse.slicer.org/u/ond12)\
**Replies:** 1\
**Last updated:** [November 26, 2020, 9:37am UTC](https://discourse.slicer.org/t/how-to-use-volume-histogram-widget-in-my-module/14782 "2020-11-26T09:37:33Z")

</div>

Hello, I want to add the “Histogram” in my module I find the module UI use a " ctkCollapsibleGroupBox" and inside a " ctkTransfertFunctionView" but it’s does not work in my module. Can you help me, how can i add this…

---

## [How to use a widget in my module](https://discourse.slicer.org/t/how-to-use-a-widget-in-my-module/14756)

<div class="topic-metadata">

**Author:** [@ond12](https://discourse.slicer.org/u/ond12)\
**Replies:** 1\
**Last updated:** [November 24, 2020, 9:18pm UTC](https://discourse.slicer.org/t/how-to-use-a-widget-in-my-module/14756 "2020-11-24T21:18:46Z")

</div>

Hello, I added a “qMRMLVolumeThresholdWidget” in my module thanks to qt designer. But the slider is grey and i can’t modify the Threshold. How can i interact with a widget this type ? Thanks for your help

---

## [Segment Editor undo queue length](https://discourse.slicer.org/t/segment-editor-undo-queue-length/14766)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 4\
**Last updated:** [November 25, 2020, 6:06pm UTC](https://discourse.slicer.org/t/segment-editor-undo-queue-length/14766 "2020-11-25T18:06:07Z")

</div>

How much memory is used up when the state is saved for Undo in Segment Editor? Sometimes when working with really large datasets (\>10GB) in Segment Editor I will tweak SegmentEditorWidget.setup() to set self.editor.setMa…

---

## [Can 3D slicer support other languages? Or how to add additional language libraries, such as Chinese?](https://discourse.slicer.org/t/can-3d-slicer-support-other-languages-or-how-to-add-additional-language-libraries-such-as-chinese/14751)

<div class="topic-metadata">

**Author:** [@Aitekk](https://discourse.slicer.org/u/Aitekk)\
**Replies:** 1\
**Last updated:** [November 24, 2020, 2:53am UTC](https://discourse.slicer.org/t/can-3d-slicer-support-other-languages-or-how-to-add-additional-language-libraries-such-as-chinese/14751 "2020-11-24T02:53:00Z")

</div>

Is there any way to make slicer support other languages? Such as add an extra language library. We need to translate slicer to Chinese. Slicer is an excellent tool for medical image. If it is compatible with more languag…

---

## [Slicer Internationalization](https://discourse.slicer.org/t/slicer-internationalization/579)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 4\
**Last updated:** [January 30, 2019, 12:31pm UTC](https://discourse.slicer.org/t/slicer-internationalization/579 "2019-01-30T12:31:06Z")

</div>

Overview Following conversation with @marilola that took place during the 25th Slicer project week, I am summarizing here the current state of the Slicer internationalization framework. Prior discussion and description …

---

## [Should we include download of SampleData not available for commercial use?](https://discourse.slicer.org/t/should-we-include-download-of-sampledata-not-available-for-commercial-use/14717)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 3\
**Last updated:** [November 20, 2020, 10:01pm UTC](https://discourse.slicer.org/t/should-we-include-download-of-sampledata-not-available-for-commercial-use/14717 "2020-11-20T22:01:00Z")

</div>

In both Slicer or extensions, datasets with specific restrictions can be distributed. For example, the CTA abdomen (Panoramix) dataset coming from Osirix DICOM image library is available for download through the SampleD…

---

## [CMake generate error due to CMAKE\_DEFAULT\_BUILD\_TYPE](https://discourse.slicer.org/t/cmake-generate-error-due-to-cmake-default-build-type/14682)

<div class="topic-metadata">

**Author:** [@JaceYang](https://discourse.slicer.org/u/JaceYang)\
**Replies:** 1\
**Last updated:** [November 19, 2020, 4:11am UTC](https://discourse.slicer.org/t/cmake-generate-error-due-to-cmake-default-build-type/14682 "2020-11-19T04:11:46Z")

</div>

Hello everyone When I use cmake-gui to build 3dSlicer,I run into this problem.

---

## [Delayed callback when SegmentationNode is added to the scene](https://discourse.slicer.org/t/delayed-callback-when-segmentationnode-is-added-to-the-scene/14674)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 1\
**Last updated:** [November 18, 2020, 10:09pm UTC](https://discourse.slicer.org/t/delayed-callback-when-segmentationnode-is-added-to-the-scene/14674 "2020-11-18T22:09:57Z")

</div>

I’ve created a listener when SegmentationNodes are added to my scene, something like this: @vtk.calldata\_type(vtk.VTK\_OBJECT) def onNodeAdded(caller, event, node): if node.IsA( "vtkMRMLSegmentationNode" ): #…

---

## [Show 3D axis label option](https://discourse.slicer.org/t/show-3d-axis-label-option/14672)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 2:24pm UTC](https://discourse.slicer.org/t/show-3d-axis-label-option/14672 "2020-11-18T14:24:57Z")

</div>

“Show 3D axis label” option requires restart in order to take effect, but it doesn’t warn the user about it, like other options that require restarting. Using the latest stable version 4.11.20200930.

---

## [Looking for Fast Marching segmentation Python Batch Script](https://discourse.slicer.org/t/looking-for-fast-marching-segmentation-python-batch-script/14571)

<div class="topic-metadata">

**Author:** [@epearlstone](https://discourse.slicer.org/u/epearlstone)\
**Replies:** 6\
**Last updated:** [November 17, 2020, 9:14pm UTC](https://discourse.slicer.org/t/looking-for-fast-marching-segmentation-python-batch-script/14571 "2020-11-17T21:14:43Z")

</div>

Hello, I work for DICOM Director, a company that uses slicer modules such as Grow From Seed and Thresholding in our own platform, outside of the Slicer UI. Currently I am looking to integrate the Fast Marching segmentat…

---

## [Support for keyframe based animation](https://discourse.slicer.org/t/support-for-keyframe-based-animation/6885)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 23\
**Last updated:** [November 17, 2020, 5:39pm UTC](https://discourse.slicer.org/t/support-for-keyframe-based-animation/6885 "2020-11-17T17:39:20Z")

</div>

This reminds me of the following project put together by @agirault and @Andinet\_Enquobahrie Edit: Updated link to video publicly available. Edit 2: More details are available on this page: Documentation/…

---

## [Set up different scene for Slicer](https://discourse.slicer.org/t/set-up-different-scene-for-slicer/14605)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 4\
**Last updated:** [November 17, 2020, 12:13am UTC](https://discourse.slicer.org/t/set-up-different-scene-for-slicer/14605 "2020-11-17T00:13:25Z")

</div>

Hi. I want to create a new scene and set it up as principal scene that is because I want to populate a combobox with a list of models (the default scene has some models that I don’t want on the combobox) This code creat…

---

## [How to launch Slicer from command line to view DICOM data sets](https://discourse.slicer.org/t/how-to-launch-slicer-from-command-line-to-view-dicom-data-sets/14592)

<div class="topic-metadata">

**Author:** [@spycolyf](https://discourse.slicer.org/u/spycolyf)\
**Replies:** 0\
**Last updated:** [November 13, 2020, 10:43pm UTC](https://discourse.slicer.org/t/how-to-launch-slicer-from-command-line-to-view-dicom-data-sets/14592 "2020-11-13T22:43:53Z")

</div>

Hello, happy Friday the thirteenth :-). I am looking for the correct command line script to launch and display a set of CT slices, and allow the user to scroll through them. Thanks Doug Porter

---

## [VTK\_TRIANGLE 97 with less than three points, but VTK\_TRIANGLE needs at least three points](https://discourse.slicer.org/t/vtk-triangle-97-with-less-than-three-points-but-vtk-triangle-needs-at-least-three-points/14587)

<div class="topic-metadata">

**Author:** [@Anish\_Basnet](https://discourse.slicer.org/u/Anish_Basnet)\
**Replies:** 1\
**Last updated:** [November 13, 2020, 4:14pm UTC](https://discourse.slicer.org/t/vtk-triangle-97-with-less-than-three-points-but-vtk-triangle-needs-at-least-three-points/14587 "2020-11-13T16:14:21Z")

</div>

Hello everyone, I’d like to find intersection between two different sources. And later on apply it to a poly data that is extracted from a model node and a cube source. I was looking for a way to do it and I found a ex…

---

## [Set slice intersection doesn't work](https://discourse.slicer.org/t/set-slice-intersection-doesnt-work/14534)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 6\
**Last updated:** [November 12, 2020, 5:56pm UTC](https://discourse.slicer.org/t/set-slice-intersection-doesnt-work/14534 "2020-11-12T17:56:24Z")

</div>

This works on the python console: nodes = slicer.util.getNodesByClass('vtkMRMLSliceCompositeNode') for node in nodes:#Corrected this line and the one below because of bad indentation node.SetSliceIntersectionVisibilit…

---

## [Slicer vtkMRMLSegmentationStorageNode in C++](https://discourse.slicer.org/t/slicer-vtkmrmlsegmentationstoragenode-in-c/14515)

<div class="topic-metadata">

**Author:** [@nm19](https://discourse.slicer.org/u/nm19)\
**Replies:** 3\
**Last updated:** [November 11, 2020, 3:53pm UTC](https://discourse.slicer.org/t/slicer-vtkmrmlsegmentationstoragenode-in-c/14515 "2020-11-11T15:53:00Z")

</div>

Hi, I was wondering what slicer.vtkMRMLSegmentationNode() did and how it could be implemented directly in C++. Moreover, I was not able to find its Python implementation in the Github repo. Any pointers would be greatly…

---

## [Create a markups plane programmatically](https://discourse.slicer.org/t/create-a-markups-plane-programmatically/14491)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 2:06am UTC](https://discourse.slicer.org/t/create-a-markups-plane-programmatically/14491 "2020-11-09T02:06:44Z")

</div>

I don’t know how to create a markups plane through code. I tried the following with no success: A = slicer.vtkMRMLMarkupsPlaneNode() A.SetOrigin(\[0,0,0\]) A.SetNormal(\[0,0,1\]) A.SetAxes(\[1,0,0\],\[0,1,0\],\[0,0,1\]) A.Up…

---

## [Interaction handles disappear if markup node becomes invisible](https://discourse.slicer.org/t/interaction-handles-disappear-if-markup-node-becomes-invisible/14492)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 1\
**Last updated:** [November 8, 2020, 6:36pm UTC](https://discourse.slicer.org/t/interaction-handles-disappear-if-markup-node-becomes-invisible/14492 "2020-11-08T18:36:07Z")

</div>

The objetive was to translate and rotate a model using the interaction handles. To do this I was recommended that I do the translation/rotation using the interaction handles to a plane and then to get it’s PointModifiedE…

---

## [MarkupsToModel : should we replace SetCurveIsLoop by SetCurveIsClosed?](https://discourse.slicer.org/t/markupstomodel-should-we-replace-setcurveisloop-by-setcurveisclosed/14488)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 2\
**Last updated:** [November 8, 2020, 5:09pm UTC](https://discourse.slicer.org/t/markupstomodel-should-we-replace-setcurveisloop-by-setcurveisclosed/14488 "2020-11-08T17:09:37Z")

</div>

Building MarkupsToModel with Slicer/VTK9 on Linux failed (I’m aware VTK9 build is not yet ready for use). gcc hinted at using SetCurveIsClosed instead of SetCurveIsLoop in MarkupsToModel/Logic/vtkSlicerMarkupsToModelLog…

---

## [BrainTissueExtension installation problem](https://discourse.slicer.org/t/braintissueextension-installation-problem/14479)

<div class="topic-metadata">

**Author:** [@Ester\_RG](https://discourse.slicer.org/u/Ester_RG)\
**Replies:** 0\
**Last updated:** [November 7, 2020, 8:14pm UTC](https://discourse.slicer.org/t/braintissueextension-installation-problem/14479 "2020-11-07T20:14:58Z")

</div>

The problem I have is that when I try to install the BrainTissueExtension in Extension Wizard, it only recognizes one of the three modules it contains. The problem is that to make use of some of these modules depends on …

---

## [Raw Image Guess extension wrong file dialog](https://discourse.slicer.org/t/raw-image-guess-extension-wrong-file-dialog/14462)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 3\
**Last updated:** [November 6, 2020, 6:11pm UTC](https://discourse.slicer.org/t/raw-image-guess-extension-wrong-file-dialog/14462 "2020-11-06T18:11:59Z")

</div>

Hi, I am using the latest stable 3D Slicer (4.11.20200930), and found a bug in an extension named “Raw Image Guess”. The input file selector dialog opens as a “Save file” dialog, instead of a “Open file” one. A possible…

---

## [How to document Control/Command modifier for keyboard shortcuts?](https://discourse.slicer.org/t/how-to-document-control-command-modifier-for-keyboard-shortcuts/14449)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 6\
**Last updated:** [November 5, 2020, 6:13pm UTC](https://discourse.slicer.org/t/how-to-document-control-command-modifier-for-keyboard-shortcuts/14449 "2020-11-05T18:13:31Z")

</div>

Users seem to have a problem with interpreting our keyboard shortcuts (see for example here) because Windows and Linux’s “Control” key is mapped to “Command” key on Mac. Qt automatically generates shortcut name based on …

---

## [Obtaining the point of intersection between Polydatas](https://discourse.slicer.org/t/obtaining-the-point-of-intersection-between-polydatas/14441)

<div class="topic-metadata">

**Author:** [@Anish\_Basnet](https://discourse.slicer.org/u/Anish_Basnet)\
**Replies:** 0\
**Last updated:** [November 5, 2020, 10:01am UTC](https://discourse.slicer.org/t/obtaining-the-point-of-intersection-between-polydatas/14441 "2020-11-05T10:01:46Z")

</div>

Hello everyone, I’d like to know if there is a possibility to obtain points of intersection between two polydata objects. The Class vtkIntersectionPolyDataFilter has only function that returns the number of points of in…

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

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