# Development

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

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

**Page:** 65

---

## [Is there a way to add a vector for the fiducials?](https://discourse.slicer.org/t/is-there-a-way-to-add-a-vector-for-the-fiducials/20574)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 3\
**Last updated:** [November 11, 2021, 5:50am UTC](https://discourse.slicer.org/t/is-there-a-way-to-add-a-vector-for-the-fiducials/20574 "2021-11-11T05:50:44Z")

</div>

Hi, Is there a way to add a vector for the fiducial. Regards, Saima Safdar

---

## [Slicer template based build environment using docker](https://discourse.slicer.org/t/slicer-template-based-build-environment-using-docker/20398)

<div class="topic-metadata">

**Author:** [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Replies:** 9\
**Last updated:** [November 11, 2021, 5:40am UTC](https://discourse.slicer.org/t/slicer-template-based-build-environment-using-docker/20398 "2021-11-11T05:40:18Z")

</div>

Hi, I am very new in Docker build environment setup can you please explain me how to setup and use docker baed environment. I have gone through GitHub - Slicer/SlicerBuildEnvironment: A repository of scripts to set up …

---

## [Trying to diagnose an issue with VirtualGL and Slicer](https://discourse.slicer.org/t/trying-to-diagnose-an-issue-with-virtualgl-and-slicer/17685)

<div class="topic-metadata">

**Author:** [@DRC](https://discourse.slicer.org/u/DRC)\
**Replies:** 28\
**Last updated:** [October 19, 2021, 6:29pm UTC](https://discourse.slicer.org/t/trying-to-diagnose-an-issue-with-virtualgl-and-slicer/17685 "2021-10-19T18:29:58Z")

</div>

I am the principal developer and sole maintainer of VirtualGL, a Linux OpenGL remote display framework. Without going into too much gory detail about how VirtualGL works, suffice it to say that one particular VirtualGL …

---

## [Speeding up Slicer builds with CCache](https://discourse.slicer.org/t/speeding-up-slicer-builds-with-ccache/20497)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Replies:** 9\
**Last updated:** [November 9, 2021, 1:42pm UTC](https://discourse.slicer.org/t/speeding-up-slicer-builds-with-ccache/20497 "2021-11-09T13:42:32Z")

</div>

Building 3D Slicer is a very slow process. I’ve been experimenting with CCache to try speeding the process up and came up with this PR #5998. Here some background information for this idea. What is CCache? Ccache is a c…

---

## [ROI on slice intersection - no new volume](https://discourse.slicer.org/t/roi-on-slice-intersection-no-new-volume/20403)

<div class="topic-metadata">

**Author:** [@Thibaut\_Faller](https://discourse.slicer.org/u/Thibaut_Faller)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 9:40am UTC](https://discourse.slicer.org/t/roi-on-slice-intersection-no-new-volume/20403 "2021-11-09T09:40:54Z")

</div>

Dear all, Currently, I am using a ROI to crop the volume rendering in the 3D view : the volume array is not changed, only the rendering. I would like to have a similar behavior in the 2D views: only see the portion of …

---

## [Surface module maker API for numpy array](https://discourse.slicer.org/t/surface-module-maker-api-for-numpy-array/20465)

<div class="topic-metadata">

**Author:** [@txuh](https://discourse.slicer.org/u/txuh)\
**Replies:** 6\
**Last updated:** [November 8, 2021, 9:10pm UTC](https://discourse.slicer.org/t/surface-module-maker-api-for-numpy-array/20465 "2021-11-08T21:10:37Z")

</div>

I have a input 3D volume data (binary 0/1) . I know “surface module maker” works pretty well for me in 3D slicer. Now I am trying to build an API. The input is the numpy 3D array (0/1) and output is the surface module VT…

---

## [Delete control point / delete fiducial pop-up - confirm box?](https://discourse.slicer.org/t/delete-control-point-delete-fiducial-pop-up-confirm-box/20430)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 26\
**Last updated:** [November 8, 2021, 5:39pm UTC](https://discourse.slicer.org/t/delete-control-point-delete-fiducial-pop-up-confirm-box/20430 "2021-11-08T17:39:59Z")

</div>

This kinda harkens back to some discussions here and there with @muratmaga and others here regarding placing control points and the right-click pop-up menu. I rename and delete control points placed in the 3D view a lot,…

---

## [SlicerANTs antsRegistration in Slicer](https://discourse.slicer.org/t/slicerants-antsregistration-in-slicer/17842)

<div class="topic-metadata">

**Author:** [@simonoxen](https://discourse.slicer.org/u/simonoxen)\
**Replies:** 14\
**Last updated:** [November 8, 2021, 5:01pm UTC](https://discourse.slicer.org/t/slicerants-antsregistration-in-slicer/17842 "2021-11-08T17:01:00Z")

</div>

Hi, Just made a PR to ExtensionsIndex to add SlicerANTs extension, which implements antsRegistration. Probably needs some fixes, but it’s currently functional. This effort is based on the following: ANTs has publica…

---

## [Avoid recenter during vtkMRMLSliceLogic::FitSliceToAll](https://discourse.slicer.org/t/avoid-recenter-during-vtkmrmlslicelogic-fitslicetoall/20496)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 5\
**Last updated:** [November 8, 2021, 11:28am UTC](https://discourse.slicer.org/t/avoid-recenter-during-vtkmrmlslicelogic-fitslicetoall/20496 "2021-11-08T11:28:59Z")

</div>

Hi all, I am wondering if I could do a modification of vtkMRMLSliceLogic::FitSliceToVolume to add a Boolean to avoid recenter and only adjust de FOV. Would it sounds good to you? The final objective is to have it expos…

---

## [Create new vtkMRMLModelHierarchyNode() and add models](https://discourse.slicer.org/t/create-new-vtkmrmlmodelhierarchynode-and-add-models/401)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 16\
**Last updated:** [November 8, 2021, 3:37am UTC](https://discourse.slicer.org/t/create-new-vtkmrmlmodelhierarchynode-and-add-models/401 "2021-11-08T03:37:45Z")

</div>

Hi slicers, This is a simple question: I have a modelNodeA and modelNodeB. Using Python, I would like to create a modelHierarchyNode and add my two model nodes inside. Can you please give me a hint? Best, Fernando

---

## [Get histogram of vector volume](https://discourse.slicer.org/t/get-histogram-of-vector-volume/20473)

<div class="topic-metadata">

**Author:** [@toyama](https://discourse.slicer.org/u/toyama)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 3:46am UTC](https://discourse.slicer.org/t/get-histogram-of-vector-volume/20473 "2021-11-04T03:46:18Z")

</div>

I tried to get the histogram of the R, A, and S axes of the DVF of the contour thing by modifying the code that you taught me before. However, I wrote the following code, but an error occurred. I would like to know …

---

## [Automatic test with --disable-cli-modules doesn't load dependencies](https://discourse.slicer.org/t/automatic-test-with-disable-cli-modules-doesnt-load-dependencies/20478)

<div class="topic-metadata">

**Author:** [@simonoxen](https://discourse.slicer.org/u/simonoxen)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 3:37am UTC](https://discourse.slicer.org/t/automatic-test-with-disable-cli-modules-doesnt-load-dependencies/20478 "2021-11-04T03:37:24Z")

</div>

Automatic tests use the --disable-cli-modules flag and the --additional-module-paths specifying cli modules. This reuslts however in the cli modules not being loaded (and thus the test failing for modules which depend on…

---

## [Change interaction speed in 3D view](https://discourse.slicer.org/t/change-interaction-speed-in-3d-view/20275)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 14\
**Last updated:** [November 3, 2021, 11:31pm UTC](https://discourse.slicer.org/t/change-interaction-speed-in-3d-view/20275 "2021-11-03T23:31:04Z")

</div>

Hi, I’m looking for a way to change view movement/rotation speed. The problem is that when I change camera aspect ratio in 3D view (by adding transform-\>scale to camera) I can see that interaction along scaled axis bec…

---

## [Add a menu to sliceController](https://discourse.slicer.org/t/add-a-menu-to-slicecontroller/20472)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 6:22pm UTC](https://discourse.slicer.org/t/add-a-menu-to-slicecontroller/20472 "2021-11-03T18:22:22Z")

</div>

Hi. This is my code to add a menu to the Red Slice controller: toolButton = qt.QToolButton() toolButton = qt.QToolButton() toolButton.setText('T') slicer.app.layoutManager().sliceWidget("Red").sliceController().barLayo…

---

## [Extension build failing for macos](https://discourse.slicer.org/t/extension-build-failing-for-macos/20438)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 6\
**Last updated:** [November 3, 2021, 8:32am UTC](https://discourse.slicer.org/t/extension-build-failing-for-macos/20438 "2021-11-03T08:32:18Z")

</div>

Hi I have noticed several fails in macos build of my extension, maybe this is happening for others. see CDash It basically says “Unable to find executable” For Windows and linux there is no problem at all.

---

## [Embedded Qlabel as a Slicer app layout](https://discourse.slicer.org/t/embedded-qlabel-as-a-slicer-app-layout/20453)

<div class="topic-metadata">

**Author:** [@Srijeet\_Chatterjee](https://discourse.slicer.org/u/Srijeet_Chatterjee)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 7:03am UTC](https://discourse.slicer.org/t/embedded-qlabel-as-a-slicer-app-layout/20453 "2021-11-03T07:03:10Z")

</div>

Hello everyone, Hope it’s going good! Currently, I am using slicer to display some images(or video) on a Qlabel. It seems to work fine, but I want to embedd the Qlabel window on the slicer layout, instead of any one of…

---

## [Module build type](https://discourse.slicer.org/t/module-build-type/20448)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 5:32am UTC](https://discourse.slicer.org/t/module-build-type/20448 "2021-11-03T05:32:21Z")

</div>

Hello all. I built my module by extension wizard in build type : debug of Slicer Master(S4D). and I added my moudle(moduel build type:debug) (in S4D) and checked moudle done well. but I coudn’t add my module to Slicer…

---

## [“Notes” module?](https://discourse.slicer.org/t/notes-module/20455)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 5\
**Last updated:** [November 2, 2021, 8:30pm UTC](https://discourse.slicer.org/t/notes-module/20455 "2021-11-02T20:30:11Z")

</div>

Would there be any interest in a general purpose “notes” module? I often wind up taking notes on a scan during segmenting, threshold ranges used for this (anatomical) feature or that, and so on. It seems like a quick and…

---

## [Build failure on Mac using git:// protocol](https://discourse.slicer.org/t/build-failure-on-mac-using-git-protocol/20460)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 6:54pm UTC](https://discourse.slicer.org/t/build-failure-on-mac-using-git-protocol/20460 "2021-11-02T18:54:40Z")

</div>

I haven’t built from scratch (clean) in a while, so apologies if this was mentioned elsewhere (didn’t see it in a quick search). It looks like as of Nov 2, the “brownout” of the git:// protocol is beginning. Cloning of …

---

## [macOS build #error "Unknown architecture !" associated with DynamicModeler/Logic/FastMarching](https://discourse.slicer.org/t/macos-build-error-unknown-architecture-associated-with-dynamicmodeler-logic-fastmarching/20463)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 6:48pm UTC](https://discourse.slicer.org/t/macos-build-error-unknown-architecture-associated-with-dynamicmodeler-logic-fastmarching/20463 "2021-11-02T18:48:56Z")

</div>

I get as far as: In file included from /opt/SB/debug/SurfaceToolbox/DynamicModeler/Logic/FastMarching/gw\_core/../gw\_maths/GW\_Maths.h:13: /opt/SB/debug/SurfaceToolbox/DynamicModeler/Logic/FastMarching/gw\_core/../gw\_maths…

---

## [Image after registration doesn't have the same dimension of the fixed image](https://discourse.slicer.org/t/image-after-registration-doesnt-have-the-same-dimension-of-the-fixed-image/20442)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 2\
**Last updated:** [November 1, 2021, 8:40pm UTC](https://discourse.slicer.org/t/image-after-registration-doesnt-have-the-same-dimension-of-the-fixed-image/20442 "2021-11-01T20:40:21Z")

</div>

Hi, I’m going to register a moving image to a fixed image and save the registered in a file. I load the two images in two nodes, do the registration (Elastix), and then call the SetAndObserveTransformNodeID on moving i…

---

## [Volume with negative spacing turns in strange behaviour (bug?)](https://discourse.slicer.org/t/volume-with-negative-spacing-turns-in-strange-behaviour-bug/20408)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 7\
**Last updated:** [October 29, 2021, 11:54am UTC](https://discourse.slicer.org/t/volume-with-negative-spacing-turns-in-strange-behaviour-bug/20408 "2021-10-29T11:54:43Z")

</div>

Hi, When I try to add volume with negative spacing in X direction to Slicer I get strange behavior. For example here is the python code to generate volume and add it to the Slicer (based on example in script repo): no…

---

## [Add\_subdirectory() fails with ‘-features=no%anachronisms’](https://discourse.slicer.org/t/add-subdirectory-fails-with-features-no-anachronisms/20395)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 10:34pm UTC](https://discourse.slicer.org/t/add-subdirectory-fails-with-features-no-anachronisms/20395 "2021-10-27T22:34:52Z")

</div>

I started working on my own loadable module based on Extension Wizard. My module has a subfolder containing a library that my module depends on. This library is a CMake project. But in my module’s CMakeLists.txt, the lin…

---

## [Export segmentation to file API](https://discourse.slicer.org/t/export-segmentation-to-file-api/20302)

<div class="topic-metadata">

**Author:** [@Karam\_AbuGhalieh](https://discourse.slicer.org/u/Karam_AbuGhalieh)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 6:29pm UTC](https://discourse.slicer.org/t/export-segmentation-to-file-api/20302 "2021-10-22T18:29:13Z")

</div>

is there a way to use the export segmentation functionality without opening Slicer, I have a folder of many segmented .nii file and I am looking for a script that can convert it to .obj file.

---

## [Intuitive volume presets](https://discourse.slicer.org/t/intuitive-volume-presets/20227)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 12\
**Last updated:** [October 22, 2021, 9:08pm UTC](https://discourse.slicer.org/t/intuitive-volume-presets/20227 "2021-10-22T21:08:19Z")

</div>

Following Make volume presets more accessible · Issue #5951 · Slicer/Slicer · GitHub I implemented the following solution using the right click menu of the slice views: Is this something you consider useful? If yes …

---

## [How to build module dependencies with CMakeLists.txt?](https://discourse.slicer.org/t/how-to-build-module-dependencies-with-cmakelists-txt/20371)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 3\
**Last updated:** [October 27, 2021, 3:57am UTC](https://discourse.slicer.org/t/how-to-build-module-dependencies-with-cmakelists-txt/20371 "2021-10-27T03:57:14Z")

</div>

Consider an extension with two modules Wheel and Car : . ├── CMakeLists.txt ├── Car │ ├── CMakeLists.txt │ ├── Widgets │ │ ├── CMakeLists.txt │ │ ├── qSlicerCarFooBarWidget.cxx │ │ └── qSlicerCarFooBarWi…

---

## [The difference between Slicer and SlicerCore?](https://discourse.slicer.org/t/the-difference-between-slicer-and-slicercore/20327)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 4\
**Last updated:** [October 26, 2021, 11:01am UTC](https://discourse.slicer.org/t/the-difference-between-slicer-and-slicercore/20327 "2021-10-26T11:01:05Z")

</div>

The application is divided into two parts: Slicer and SlicerCore; qSlicerApplication is a subclass of qSlicerCoreApplication, and qSlicerAbstractModule is a subclass of qSlicerAbstractCoreModule. What is the intention b…

---

## [Presenting two modules that combine steps for \*common\* arterial segmentation](https://discourse.slicer.org/t/presenting-two-modules-that-combine-steps-for-common-arterial-segmentation/20312)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 5\
**Last updated:** [October 26, 2021, 7:34am UTC](https://discourse.slicer.org/t/presenting-two-modules-that-combine-steps-for-common-arterial-segmentation/20312 "2021-10-26T07:34:56Z")

</div>

Here are two small modules that combine the different usual steps to segment small portions of arteries on CT angioscans, with an ultimate goal of extracting centerlines. They do not target ‘head to toe’ segmentations. T…

---

## [Displaying custom VTK class inherited from \`vtkDataSet\`](https://discourse.slicer.org/t/displaying-custom-vtk-class-inherited-from-vtkdataset/20350)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 3:56am UTC](https://discourse.slicer.org/t/displaying-custom-vtk-class-inherited-from-vtkdataset/20350 "2021-10-26T03:56:00Z")

</div>

Hi, I’m implementing a class inherited directly from vtkDataSet. When displayng it looks like in the picture (I do not explicitely set all the points but rather XYZ surface and Z spacings vector and thus I save RAM): …

---

## [Setting up the Optitrack Motive =\> PLUS =\> Slicer IGT Watchdog](https://discourse.slicer.org/t/setting-up-the-optitrack-motive-plus-slicer-igt-watchdog/20280)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Replies:** 7\
**Last updated:** [October 25, 2021, 12:55pm UTC](https://discourse.slicer.org/t/setting-up-the-optitrack-motive-plus-slicer-igt-watchdog/20280 "2021-10-25T12:55:21Z")

</div>

Hi everyone :wave:, We’re using Optitrack DUO for to track tools in our setup. The PLUS server is set up to attach to a running motive and send only valid transforms to Slicer. We see a problem that on the Slicer side …

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

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