# Latest

**URL:** https://discourse.vtk.org/latest.md?page=76

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

**Page:** 77

---

## [Questions about interaction](https://discourse.vtk.org/t/questions-about-interaction/10620)

<div class="topic-metadata">

**Author:** [@HWsir](https://discourse.vtk.org/u/HWsir)\
**Replies:** 6\
**Last updated:** [August 3, 2023, 10:37pm UTC](https://discourse.vtk.org/t/questions-about-interaction/10620 "2023-08-03T22:37:42Z")

</div>

I hope to display 3D images on the web side through trame, and set the interaction mode as “Up” with the keyboard, but there is no response. I want to know, once the images are transferred to the web side through trame, …

---

## [About using spdx to handle license and copyright in VTK](https://discourse.vtk.org/t/about-using-spdx-to-handle-license-and-copyright-in-vtk/9647)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 7\
**Last updated:** [August 3, 2023, 3:49pm UTC](https://discourse.vtk.org/t/about-using-spdx-to-handle-license-and-copyright-in-vtk/9647 "2023-08-03T15:49:13Z")

</div>

We recently improved a bit how licenses are handled in ParaView and VTK, and now third party licenses are easily listed, module by module, in the install directory of VTK. While this is a great improvement, we need to l…

---

## [Save curvature values as nifti (.nii) file](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092)

<div class="topic-metadata">

**Author:** [@Kristin](https://discourse.vtk.org/u/Kristin)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 12:09pm UTC](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092 "2023-08-03T12:09:17Z")

</div>

Dear all, I want to save values of the curvature of an object into a nifti (.nii) file. I have a volume object (as stl) which I extracted from a medical image in nifti format using 3D slicer. I computed the curvature va…

---

## [Removing and Re-Adding Cells to vtkPolyData:](https://discourse.vtk.org/t/removing-and-re-adding-cells-to-vtkpolydata/12084)

<div class="topic-metadata">

**Author:** [@ramen-newdals](https://discourse.vtk.org/u/ramen-newdals)\
**Replies:** 1\
**Last updated:** [August 3, 2023, 6:08am UTC](https://discourse.vtk.org/t/removing-and-re-adding-cells-to-vtkpolydata/12084 "2023-08-03T06:08:15Z")

</div>

Hello All, I have a vtkPolyData object where the user will select several input points. Using these points the connected cells will then be deleted from the mesh. I want to make a copy of the removed cells so they can b…

---

## [VTK arm64 install c++](https://discourse.vtk.org/t/vtk-arm64-install-c/12081)

<div class="topic-metadata">

**Author:** [@Artmin](https://discourse.vtk.org/u/Artmin)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 6:03am UTC](https://discourse.vtk.org/t/vtk-arm64-install-c/12081 "2023-08-03T06:03:42Z")

</div>

How to install VTK 9.1 in Xcode 14.3.1 on arm64 processor? I have already tried many ways and it does not work. Maybe there are some options for running on Windows using Visual Studio? Tell me which version of cmake to u…

---

## [Clarifiaction Regarding VTK Garbage Collection:](https://discourse.vtk.org/t/clarifiaction-regarding-vtk-garbage-collection/11964)

<div class="topic-metadata">

**Author:** [@ramen-newdals](https://discourse.vtk.org/u/ramen-newdals)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 5:32am UTC](https://discourse.vtk.org/t/clarifiaction-regarding-vtk-garbage-collection/11964 "2023-08-03T05:32:53Z")

</div>

Hello All, I have a more general question about VTKs architecture and how the VTK garbage collector works. If I have a class and inside the classes private members I use a vtkSmartPointer\<\> to hold a piece of VTK data …

---

## [Bug in vtkGLTFExporter](https://discourse.vtk.org/t/bug-in-vtkgltfexporter/12052)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 15\
**Last updated:** [August 2, 2023, 10:55pm UTC](https://discourse.vtk.org/t/bug-in-vtkgltfexporter/12052 "2023-08-02T22:55:53Z")

</div>

tl;dr vtkGLTFExporter ignores vtkAssembly in its export operation. If I create an assembly with various parts (where each part’s pose is relative to the hierarchy) and pose the assembly root, exporting that to a gltf wil…

---

## [Problem with VTK 9 and KDE Breeze style, anyone seen this?](https://discourse.vtk.org/t/problem-with-vtk-9-and-kde-breeze-style-anyone-seen-this/11836)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 8\
**Last updated:** [August 2, 2023, 5:49pm UTC](https://discourse.vtk.org/t/problem-with-vtk-9-and-kde-breeze-style-anyone-seen-this/11836 "2023-08-02T17:49:45Z")

</div>

Hi folks, curl -sL https://github.com/Kitware/vtk-examples/raw/gh-pages/Tarballs/Cxx/MinimalQtVTKApp.tar | tar xf - cd MinimalQtVTKApp/build cmake .. make ./MinimalQtVTKApp When running this with VTK 9.2.6 and Qt 5.15.…

---

## [vtkCubeAxesActor not participating in demand driven pipeline](https://discourse.vtk.org/t/vtkcubeaxesactor-not-participating-in-demand-driven-pipeline/12079)

<div class="topic-metadata">

**Author:** [@Jessica\_Marquis](https://discourse.vtk.org/u/Jessica_Marquis)\
**Replies:** 0\
**Last updated:** [August 2, 2023, 1:47pm UTC](https://discourse.vtk.org/t/vtkcubeaxesactor-not-participating-in-demand-driven-pipeline/12079 "2023-08-02T13:47:06Z")

</div>

I would like to setup a vtkCubeAxesActor in a demand driven pipeline such that when the input data changes, this axes actor will change along with it. I have tried setting up a mapper with the SetInputConnection function…

---

## [Represent surface voxels using vtkcubesource](https://discourse.vtk.org/t/represent-surface-voxels-using-vtkcubesource/12045)

<div class="topic-metadata">

**Author:** [@Trainee](https://discourse.vtk.org/u/Trainee)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 12:04pm UTC](https://discourse.vtk.org/t/represent-surface-voxels-using-vtkcubesource/12045 "2023-08-02T12:04:21Z")

</div>

Hi, I am trying to represent voxels using vtkcubesource and find it very slow in rendering. The number of cubes are approximately around 100k. here is the code snippet. for( auto k = 0; k\<zsteps; ++k) for(auto j = 0; …

---

## [Unable to Set Transfer2DYAxisArray to "Curvature"](https://discourse.vtk.org/t/unable-to-set-transfer2dyaxisarray-to-curvature/12067)

<div class="topic-metadata">

**Author:** [@DMelenberg](https://discourse.vtk.org/u/DMelenberg)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 6:39am UTC](https://discourse.vtk.org/t/unable-to-set-transfer2dyaxisarray-to-curvature/12067 "2023-08-02T06:39:55Z")

</div>

Dear vtk Community :sunny:, during my project to construct a volume renderer using vtk i am facing the challenge to define the curvature data of the volume as the y-axis of the 2D transfer function. According to vtk do…

---

## [render single slice of a volume with vtkVolume shows no result](https://discourse.vtk.org/t/render-single-slice-of-a-volume-with-vtkvolume-shows-no-result/12069)

<div class="topic-metadata">

**Author:** [@morkar](https://discourse.vtk.org/u/morkar)\
**Replies:** 3\
**Last updated:** [August 2, 2023, 4:31am UTC](https://discourse.vtk.org/t/render-single-slice-of-a-volume-with-vtkvolume-shows-no-result/12069 "2023-08-02T04:31:34Z")

</div>

hey! im using vtk 9.2 to render 3d volumes with the following code auto mapper = vtkSmartPointer\<vtkOpenGLGPUVolumeRayCastMapper\>::New(); mapper-\>SetInputConnection(imagedata-\>GetOutputPort()); auto actor = vtkSmartPo…

---

## [Numpy to VTI](https://discourse.vtk.org/t/numpy-to-vti/12032)

<div class="topic-metadata">

**Author:** [@Jakob\_Troidl](https://discourse.vtk.org/u/Jakob_Troidl)\
**Replies:** 4\
**Last updated:** [August 1, 2023, 3:55pm UTC](https://discourse.vtk.org/t/numpy-to-vti/12032 "2023-08-01T15:55:25Z")

</div>

I want to convert a 3D numpy array into a .vti file (folder based), that is readable by this example. So far, I’ve used: from pyevtk.hl import imageToVTK import numpy as np array = np.ones((100, 100, 100)) imageToVTK(…

---

## [advice for display mask image](https://discourse.vtk.org/t/advice-for-display-mask-image/12072)

<div class="topic-metadata">

**Author:** [@yi\_zhang](https://discourse.vtk.org/u/yi_zhang)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 9:21am UTC](https://discourse.vtk.org/t/advice-for-display-mask-image/12072 "2023-08-01T09:21:17Z")

</div>

I have a question to consult. I added the segmtioned binary blood vessel image (0 is the black background, 255 is the segmtioned blood vessel) to the display interface through vtkImageActor, and the red blood vessel ima…

---

## [Specifing vtkDataSet::GetScalarRange()](https://discourse.vtk.org/t/specifing-vtkdataset-getscalarrange/2844)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 7\
**Last updated:** [August 1, 2023, 4:17am UTC](https://discourse.vtk.org/t/specifing-vtkdataset-getscalarrange/2844 "2023-08-01T04:17:42Z")

</div>

Current Implementation: .vtk UnstrucredGrid file of 2D mesh that contains multiple point and cell scalar fields Example Fields: material (cell), grid function solution (point) Goal: Set the scalar range of a mapper’…

---

## [Color Mask Overlay support in vtkResliceImageViewer??](https://discourse.vtk.org/t/color-mask-overlay-support-in-vtkresliceimageviewer/4471)

<div class="topic-metadata">

**Author:** [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 2:46am UTC](https://discourse.vtk.org/t/color-mask-overlay-support-in-vtkresliceimageviewer/4471 "2023-08-01T02:46:04Z")

</div>

I have an MRI volume data as well as a corresponding binary mask volume that defines certain sub regions of interest in the original MRI volume. Can I use my binary mask volume as a color overlay on top of vtkResliceImag…

---

## [Discovering the LPS vs RAS convention of a data file](https://discourse.vtk.org/t/discovering-the-lps-vs-ras-convention-of-a-data-file/12070)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 1:54am UTC](https://discourse.vtk.org/t/discovering-the-lps-vs-ras-convention-of-a-data-file/12070 "2023-08-01T01:54:58Z")

</div>

Hi, related to this other post, I am having some VTK/P files that contains some tractography streamline data. I ignore whether the tool that produced this followed an LPS or RAS convention. Is there a tag or specific …

---

## [Can't write vtkFieldData to vtkImageData/VTI file using vtkXMLImageWriter](https://discourse.vtk.org/t/cant-write-vtkfielddata-to-vtkimagedata-vti-file-using-vtkxmlimagewriter/12057)

<div class="topic-metadata">

**Author:** [@millerjammer](https://discourse.vtk.org/u/millerjammer)\
**Replies:** 4\
**Last updated:** [July 31, 2023, 9:36pm UTC](https://discourse.vtk.org/t/cant-write-vtkfielddata-to-vtkimagedata-vti-file-using-vtkxmlimagewriter/12057 "2023-07-31T21:36:34Z")

</div>

Hello - I am trying to write some simple text strings to a vti file, like author, description, etc. It looks like vtkFieldData is the way to go but I seem to be missing some critical piece of knowledge. I created the …

---

## [16 bit or 32 bit texture support?](https://discourse.vtk.org/t/16-bit-or-32-bit-texture-support/12061)

<div class="topic-metadata">

**Author:** [@Aaron\_K](https://discourse.vtk.org/u/Aaron_K)\
**Replies:** 5\
**Last updated:** [July 31, 2023, 2:43pm UTC](https://discourse.vtk.org/t/16-bit-or-32-bit-texture-support/12061 "2023-07-31T14:43:08Z")

</div>

Hello, I have a working offscreen rendering class using VTK version 8.1.2 that loads in a mesh and a texture, sets up an offscreen window, renders it, and pulls the image out of the back buffer. So far so good. However,…

---

## [Can the vtkImageTracerWidget be used with vtkResliceImageViewer?](https://discourse.vtk.org/t/can-the-vtkimagetracerwidget-be-used-with-vtkresliceimageviewer/12065)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 11:57am UTC](https://discourse.vtk.org/t/can-the-vtkimagetracerwidget-be-used-with-vtkresliceimageviewer/12065 "2023-07-31T11:57:57Z")

</div>

I use vtkResliceImageViewer to read DICOM data and display it, but when I doodle with vtkImageTracerWidget, it doesn’t work, why? import vtk from globalVariables import getDirPath reader = vtk.vtkDICOMImageReader() read…

---

## [ComputeFiniteScalarRange in LoadVolume is too Slow...is it able to optimize or not use the ScalarRange?](https://discourse.vtk.org/t/computefinitescalarrange-in-loadvolume-is-too-slow-is-it-able-to-optimize-or-not-use-the-scalarrange/12064)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 6:25am UTC](https://discourse.vtk.org/t/computefinitescalarrange-in-loadvolume-is-too-slow-is-it-able-to-optimize-or-not-use-the-scalarrange/12064 "2023-07-31T06:25:45Z")

</div>

ComputeFiniteScalarRange in LoadVolume is too Slow…is it able to optimize or not use the ScalarRange?

---

## [vtk.js volume picker](https://discourse.vtk.org/t/vtk-js-volume-picker/12050)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.vtk.org/u/mazurkin.daniel)\
**Replies:** 4\
**Last updated:** [July 31, 2023, 2:57am UTC](https://discourse.vtk.org/t/vtk-js-volume-picker/12050 "2023-07-31T02:57:07Z")

</div>

Hello, I am faced with the task of adapting VolumePicker for vtk.js from vtk so that it is possible to select a point on the volume that is rendered using VolumeRendering. Please tell me where to start, namely, the follo…

---

## [CMAKE can't find Python3 because Development.Module is missing.](https://discourse.vtk.org/t/cmake-cant-find-python3-because-development-module-is-missing/11901)

<div class="topic-metadata">

**Author:** [@EnderWiggin14](https://discourse.vtk.org/u/EnderWiggin14)\
**Replies:** 1\
**Last updated:** [July 29, 2023, 8:38pm UTC](https://discourse.vtk.org/t/cmake-cant-find-python3-because-development-module-is-missing/11901 "2023-07-29T20:38:22Z")

</div>

I’m trying to compile ElmerFEMGUI with VTK as a dependency; however, VTK’s cmake files are failing to find the Developmentm.Module requirement. The executable is found. The error call stack is as follows CMake Error at…

---

## [VTK static lib bug report about vtkInformationXXKey when using more than one copy of vtk libs](https://discourse.vtk.org/t/vtk-static-lib-bug-report-about-vtkinformationxxkey-when-using-more-than-one-copy-of-vtk-libs/12034)

<div class="topic-metadata">

**Author:** [@LimingZhou](https://discourse.vtk.org/u/LimingZhou)\
**Replies:** 11\
**Last updated:** [July 29, 2023, 8:24pm UTC](https://discourse.vtk.org/t/vtk-static-lib-bug-report-about-vtkinformationxxkey-when-using-more-than-one-copy-of-vtk-libs/12034 "2023-07-29T20:24:44Z")

</div>

I have problem running my exe linked against static vtk libs, involving such as vtkImageSlice. The case is I have a project consisting of a core lib and a test exe. The core lib links against vtk static libs and the test…

---

## [vtk.js LinePlot](https://discourse.vtk.org/t/vtk-js-lineplot/10711)

<div class="topic-metadata">

**Author:** [@LSCoder](https://discourse.vtk.org/u/LSCoder)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 7:45pm UTC](https://discourse.vtk.org/t/vtk-js-lineplot/10711 "2023-07-28T19:45:10Z")

</div>

I’m new to vtk.js and after taking a look at vtk documentation I found the LinePlot example but I could not find that for vtk.js. Does anyone know if there is something similar already implemented for vtk.js that I can u…

---

## [Does the VTKCommand InteractionEvent also gets triggered when we use the mouse wheel?](https://discourse.vtk.org/t/does-the-vtkcommand-interactionevent-also-gets-triggered-when-we-use-the-mouse-wheel/12055)

<div class="topic-metadata">

**Author:** [@adityaDas](https://discourse.vtk.org/u/adityaDas)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 7:20pm UTC](https://discourse.vtk.org/t/does-the-vtkcommand-interactionevent-also-gets-triggered-when-we-use-the-mouse-wheel/12055 "2023-07-28T19:20:54Z")

</div>

I am using the callback function that is supposed to get triggered every time there is an interaction with the objects in the scene. For that, I am using the VTKCommand InteractionEvent. However, what I have noticed is t…

---

## [Color Transfer Function with indexed colors for vtkImageSlice vtk.js](https://discourse.vtk.org/t/color-transfer-function-with-indexed-colors-for-vtkimageslice-vtk-js/12054)

<div class="topic-metadata">

**Author:** [@Andrzej\_Marciniak](https://discourse.vtk.org/u/Andrzej_Marciniak)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 4:20pm UTC](https://discourse.vtk.org/t/color-transfer-function-with-indexed-colors-for-vtkimageslice-vtk-js/12054 "2023-07-28T16:20:15Z")

</div>

I need to display the segmentation of MRI volume with use of Freesurfer LUT color table. In my case, only selected regions are represented with different label values (integers) - the data array contains unevenly distri…

---

## [Slowly rendering widget from 3D Slicer in wasm.](https://discourse.vtk.org/t/slowly-rendering-widget-from-3d-slicer-in-wasm/11778)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.vtk.org/u/mazurkin.daniel)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 1:59pm UTC](https://discourse.vtk.org/t/slowly-rendering-widget-from-3d-slicer-in-wasm/11778 "2023-07-28T13:59:15Z")

</div>

Hello, I have built a widget display from 3D Slicer in WebAssembly (you can check out the instructions at this link Instruction by 3dSlicer - Google Docs), but when rendering, it all happens quite slowly. Can you please …

---

## [vtk.js can't display dicom files](https://discourse.vtk.org/t/vtk-js-cant-display-dicom-files/12037)

<div class="topic-metadata">

**Author:** [@t1413194910](https://discourse.vtk.org/u/t1413194910)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 2:01am UTC](https://discourse.vtk.org/t/vtk-js-cant-display-dicom-files/12037 "2023-07-28T02:01:31Z")

</div>

What’s causing this? Is it the dicom file?

---

## [How to use property UseImageActor of ResliceCursorRepresentation class](https://discourse.vtk.org/t/how-to-use-property-useimageactor-of-reslicecursorrepresentation-class/12048)

<div class="topic-metadata">

**Author:** [@quantiehan](https://discourse.vtk.org/u/quantiehan)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 1:12am UTC](https://discourse.vtk.org/t/how-to-use-property-useimageactor-of-reslicecursorrepresentation-class/12048 "2023-07-28T01:12:30Z")

</div>

The default value of UseImageActor is zero. If set to 1, the image will not be displayed. Why I try it, The reason is that the same window width and window level result in a significant difference in grayscale display …

[Previous page](https://discourse.vtk.org/latest.md?page=75)

[Next page](https://discourse.vtk.org/latest.md?page=77)
