# Development

**URL:** https://discourse.vtk.org/c/development/7.md?page=17

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

**Page:** 18

---

## [ProteinRibbons - twisting](https://discourse.vtk.org/t/proteinribbons-twisting/12459)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 12:26pm UTC](https://discourse.vtk.org/t/proteinribbons-twisting/12459 "2023-10-23T12:26:23Z")

</div>

I have an interest in understanding more about ProteinRibbons. I came across this example. https://examples.vtk.org/site/Cxx/Visualization/ProteinRibbons/ I built the example and started looking at the generated ribbo…

---

## [vtkAxesActor can't diaplay properly](https://discourse.vtk.org/t/vtkaxesactor-cant-diaplay-properly/12519)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 0\
**Last updated:** [October 23, 2023, 7:41am UTC](https://discourse.vtk.org/t/vtkaxesactor-cant-diaplay-properly/12519 "2023-10-23T07:41:46Z")

</div>

Hi, guys, The axes and cone should be appear at the same position, but after reset camera, the axes can’t be display, if you zoom out, out, until it contains axes origin position, it will be appear. if you comment out…

---

## [Speedup iterative closest point using line search](https://discourse.vtk.org/t/speedup-iterative-closest-point-using-line-search/11611)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 9\
**Last updated:** [October 11, 2023, 9:48pm UTC](https://discourse.vtk.org/t/speedup-iterative-closest-point-using-line-search/11611 "2023-10-11T21:48:14Z")

</div>

I am considering parallelizing the heavy part of finding the closest point and introducing line-search to speed-up vtkIterativeClosestPointTransform. Has this been done before - or any thoughts on this?

---

## [vtkSMPThreadLocal abstract types](https://discourse.vtk.org/t/vtksmpthreadlocal-abstract-types/12479)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 5\
**Last updated:** [October 20, 2023, 5:54pm UTC](https://discourse.vtk.org/t/vtksmpthreadlocal-abstract-types/12479 "2023-10-20T17:54:33Z")

</div>

Hi Developers I have been using vtkSMPThreadLocal and vtkSMPThreadLocalObject to some extent and always with a great speed-up. The snippets below are used for a collection of fast registration algorithms for vtkPolyDat…

---

## [Demonstration of the point-to-plane metric for registration](https://discourse.vtk.org/t/demonstration-of-the-point-to-plane-metric-for-registration/12517)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [October 20, 2023, 5:43pm UTC](https://discourse.vtk.org/t/demonstration-of-the-point-to-plane-metric-for-registration/12517 "2023-10-20T17:43:26Z")

</div>

Hi Developers I have made a small demo project (overnight) demonstrating registration of vtkPolyData using the point-to-plane metric. I have made this following the VTK directory structure. The metric requires either n…

---

## [Unexpected Interaction Behavior with InteractorStyleTrackballCamera and BalloonWidget](https://discourse.vtk.org/t/unexpected-interaction-behavior-with-interactorstyletrackballcamera-and-balloonwidget/12475)

<div class="topic-metadata">

**Author:** [@Remi777](https://discourse.vtk.org/u/Remi777)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 4:22pm UTC](https://discourse.vtk.org/t/unexpected-interaction-behavior-with-interactorstyletrackballcamera-and-balloonwidget/12475 "2023-10-12T16:22:35Z")

</div>

Hi All, I recently began using the vtkBalloonWidget in my c++ application, and I noticed that when it’s enabled, navigation with vtkInteractorStyleTrackballCamera continues until the mouse button is released. This behav…

---

## [Basic Vizualization](https://discourse.vtk.org/t/basic-vizualization/12478)

<div class="topic-metadata">

**Author:** [@Rafael\_Scatena](https://discourse.vtk.org/u/Rafael_Scatena)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 9:05pm UTC](https://discourse.vtk.org/t/basic-vizualization/12478 "2023-10-12T21:05:11Z")

</div>

I am following imageimport exemple but I can’t visualize the image… // VTK #include \<vtkSmartPointer.h\> #include \<vtkDICOMImageReader.h\> #include \<vtkImageViewer2.h\> #include \<vtkRenderWindow.h\> …

---

## [Open Image with ITK and send it to VTK importer](https://discourse.vtk.org/t/open-image-with-itk-and-send-it-to-vtk-importer/12477)

<div class="topic-metadata">

**Author:** [@Rafael\_Scatena](https://discourse.vtk.org/u/Rafael_Scatena)\
**Replies:** 2\
**Last updated:** [October 12, 2023, 8:58pm UTC](https://discourse.vtk.org/t/open-image-with-itk-and-send-it-to-vtk-importer/12477 "2023-10-12T20:58:28Z")

</div>

I want to open a .dcm file with ITK and send the information to VTK but I am not being able to do it. Here is my coode: // Define the image type using ITK using PixelType = unsigned short; using ImageType = …

---

## [java wrapper vtkWrapJava-xxx.exe issue](https://discourse.vtk.org/t/java-wrapper-vtkwrapjava-xxx-exe-issue/12428)

<div class="topic-metadata">

**Author:** [@Julien](https://discourse.vtk.org/u/Julien)\
**Replies:** 8\
**Last updated:** [October 11, 2023, 11:26am UTC](https://discourse.vtk.org/t/java-wrapper-vtkwrapjava-xxx-exe-issue/12428 "2023-10-11T11:26:09Z")

</div>

Hello Everyone, I am using VTK via the Java binding and I ran into a few oddities about the Java API. For instance, I am trying to use a vtkHigherOrderCurve, and was expecting to access the ParametricCoords in Java. T…

---

## [Issues locating cells in vtkUnstructuredGrid](https://discourse.vtk.org/t/issues-locating-cells-in-vtkunstructuredgrid/12414)

<div class="topic-metadata">

**Author:** [@pgallo](https://discourse.vtk.org/u/pgallo)\
**Replies:** 8\
**Last updated:** [October 10, 2023, 1:21pm UTC](https://discourse.vtk.org/t/issues-locating-cells-in-vtkunstructuredgrid/12414 "2023-10-10T13:21:07Z")

</div>

I have a vtkUnstructuredGrid that can contain 0D, 1D, 2D or 3D cells, and we need to return the cell containing a 3D point given as input. This works fine for 3D cells, but for 0D/1D/2D we need a tolerance because otherw…

---

## [Adding transform to vtkDataSet](https://discourse.vtk.org/t/adding-transform-to-vtkdataset/12396)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 10\
**Last updated:** [October 10, 2023, 11:25am UTC](https://discourse.vtk.org/t/adding-transform-to-vtkdataset/12396 "2023-10-10T11:25:15Z")

</div>

I am working with registration and multiple vtkObject’s all inheriting from vtkDataSet. Currently, I add orientations as field data. It is really heavy to transform data explicitly and I would like to have a property on …

---

## [Algorithm interface (non-pipelined)](https://discourse.vtk.org/t/algorithm-interface-non-pipelined/12417)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 7\
**Last updated:** [October 9, 2023, 8:44pm UTC](https://discourse.vtk.org/t/algorithm-interface-non-pipelined/12417 "2023-10-09T20:44:27Z")

</div>

Hi Developers I am making some algorithms, which are meant for assignment to a filter. More precisely registration algorithms, which I will use in homemade vtkContinuousRegistrationFilter inheriting from vtkTemporalAlg…

---

## [Temporal filters - example using registration](https://discourse.vtk.org/t/temporal-filters-example-using-registration/12311)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 17\
**Last updated:** [October 9, 2023, 5:12pm UTC](https://discourse.vtk.org/t/temporal-filters-example-using-registration/12311 "2023-10-09T17:12:01Z")

</div>

Hi Developers I believe that I have something cool that be of use for other developers using VTK for real-time temporal processing. The changes consists of the following Common/Transforms: class VTK\_EXPORT vtkLinearD…

---

## [Zero lights vs zero-intensity light](https://discourse.vtk.org/t/zero-lights-vs-zero-intensity-light/12457)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 5:11pm UTC](https://discourse.vtk.org/t/zero-lights-vs-zero-intensity-light/12457 "2023-10-09T17:11:56Z")

</div>

I’ve encountered a strange artifact. I’ve introduced a simple sphere (metallic = 0, roughness = 1). I’ve added an hdr environment that definitely adds illumination to the sphere. Here’s what’s odd. I’m exploring the qu…

---

## [Incorrect result of boolean difference](https://discourse.vtk.org/t/incorrect-result-of-boolean-difference/12422)

<div class="topic-metadata">

**Author:** [@Arnav-2004](https://discourse.vtk.org/u/Arnav-2004)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 7:44am UTC](https://discourse.vtk.org/t/incorrect-result-of-boolean-difference/12422 "2023-10-09T07:44:03Z")

</div>

import vtk cube1 = vtk.vtkCubeSource() cube1.SetXLength(1.1) cube1.SetYLength(10) cube1.SetZLength(10) cube1.Update() tri\_filter1 = vtk.vtkTriangleFilter() tri\_filter1.SetInputData(cube1.GetOutput()) tri\_filter1.Update…

---

## [Turn environment map to z-up](https://discourse.vtk.org/t/turn-environment-map-to-z-up/12432)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 3\
**Last updated:** [October 6, 2023, 2:21pm UTC](https://discourse.vtk.org/t/turn-environment-map-to-z-up/12432 "2023-10-06T14:21:54Z")

</div>

I’m adding environment maps for the first time. I work in a z-up world. When I simply naively add an equirectangular map as environment map (and skybox), it’s clear that the world in the skybox and in observed in the ref…

---

## [Contribution ? Via github or gitlab](https://discourse.vtk.org/t/contribution-via-github-or-gitlab/12431)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 1\
**Last updated:** [October 5, 2023, 10:16pm UTC](https://discourse.vtk.org/t/contribution-via-github-or-gitlab/12431 "2023-10-05T22:16:58Z")

</div>

To contribute to the VTK project, should one do that via gitlab or the github mirror ?

---

## [VTK 9.3.0 Release Cycle](https://discourse.vtk.org/t/vtk-9-3-0-release-cycle/11598)

<div class="topic-metadata">

**Author:** [@willdunklin](https://discourse.vtk.org/u/willdunklin)\
**Replies:** 5\
**Last updated:** [October 5, 2023, 7:22am UTC](https://discourse.vtk.org/t/vtk-9-3-0-release-cycle/11598 "2023-10-05T07:22:49Z")

</div>

Hi all, It’s about time for another VTK release. The CI dashboards have been stabilizing fairly well and it seems like a good time to start cutting a release. Tentative dates: Jun 15: branch and create rc1 Jun 22: r…

---

## [vtkDICOMReader - Cache series/speed up files loading](https://discourse.vtk.org/t/vtkdicomreader-cache-series-speed-up-files-loading/11235)

<div class="topic-metadata">

**Author:** [@eightysix](https://discourse.vtk.org/u/eightysix)\
**Replies:** 6\
**Last updated:** [October 4, 2023, 12:12pm UTC](https://discourse.vtk.org/t/vtkdicomreader-cache-series-speed-up-files-loading/11235 "2023-10-04T12:12:56Z")

</div>

I’m opening a study with multiple series using vtkDICOMDirectory and vtkDICOMReader. Everything works well, but opening a series each time causes a delay because the files need to be loaded from scratch (using reader-\>S…

---

## [Translation and Rotation an object in VTK](https://discourse.vtk.org/t/translation-and-rotation-an-object-in-vtk/12394)

<div class="topic-metadata">

**Author:** [@kimia\_ghodoosi](https://discourse.vtk.org/u/kimia_ghodoosi)\
**Replies:** 3\
**Last updated:** [October 4, 2023, 11:16am UTC](https://discourse.vtk.org/t/translation-and-rotation-an-object-in-vtk/12394 "2023-10-04T11:16:56Z")

</div>

Hi everyoone! I want to translate an object along with the object’s axises (X, Y, Z) and also rotate it along the cycles around X, Y and Z axises. My interactor is QVTKInteractor not renderWindowInteractor(I mean I want…

---

## [Issue when applying vtkLookupTable](https://discourse.vtk.org/t/issue-when-applying-vtklookuptable/12402)

<div class="topic-metadata">

**Author:** [@eightysix](https://discourse.vtk.org/u/eightysix)\
**Replies:** 2\
**Last updated:** [October 2, 2023, 10:55pm UTC](https://discourse.vtk.org/t/issue-when-applying-vtklookuptable/12402 "2023-10-02T22:55:53Z")

</div>

I’m applying a vtkLookupTable via vtkImageSlice-\>GetProperty()-\>SetLookupTable(lut): lut-\>SetNumberOfColors(256); lut-\>SetValueRange(0, 255); lut-\>SetRange(0, 255); lut-\>SetNumberOfTableValues(256); for (int i …

---

## [Adapt window level and width after using vtkImageConvolve](https://discourse.vtk.org/t/adapt-window-level-and-width-after-using-vtkimageconvolve/12397)

<div class="topic-metadata">

**Author:** [@eightysix](https://discourse.vtk.org/u/eightysix)\
**Replies:** 3\
**Last updated:** [October 2, 2023, 1:11pm UTC](https://discourse.vtk.org/t/adapt-window-level-and-width-after-using-vtkimageconvolve/12397 "2023-10-02T13:11:02Z")

</div>

I’ve been able to apply a sharpening filter using vtkImageConvolve, but it seems this operation also alters the windowing scale. I have to use a different WW/WL to achieve the same appearance I have with non-sharpened im…

---

## [About a FFT implementation in VTK-m](https://discourse.vtk.org/t/about-a-fft-implementation-in-vtk-m/12382)

<div class="topic-metadata">

**Author:** [@Louis\_Gombert](https://discourse.vtk.org/u/Louis_Gombert)\
**Replies:** 1\
**Last updated:** [October 1, 2023, 8:46pm UTC](https://discourse.vtk.org/t/about-a-fft-implementation-in-vtk-m/12382 "2023-10-01T20:46:00Z")

</div>

Hello, recently while working on the Paraview Digital Signal Processing plugin I’ve been wondering about a VTK-m FFT implementation. In fact, for several DSP algorithms, the performance bottleneck is going from time doma…

---

## [VTK pipeline performance and ghost cells](https://discourse.vtk.org/t/vtk-pipeline-performance-and-ghost-cells/12264)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 4\
**Last updated:** [September 29, 2023, 3:45pm UTC](https://discourse.vtk.org/t/vtk-pipeline-performance-and-ghost-cells/12264 "2023-09-29T15:45:24Z")

</div>

Here is how the VTK pipeline handles ghost cells. Source can produce data with up to N level of ghost cells Filter request M level of ghost cells During the RequestUpdateExtent pass, M is forwarded to the Source During…

---

## [Does anyone use vtkSDL2RenderWindowInteractor outside of webassembly?](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 2:07pm UTC](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386 "2023-09-28T14:07:20Z")

</div>

I’m thinking of renaming vtkSDL2RenderWindowInteractor → vtkWebAssemblyRenderWindowInteractor because SDL2 is an implementation detail. We might want to change the implementation to use something WASI specific in the fut…

---

## [IN vtk 9.2 vtkResliceImageViewer add mask find some programs](https://discourse.vtk.org/t/in-vtk-9-2-vtkresliceimageviewer-add-mask-find-some-programs/12380)

<div class="topic-metadata">

**Author:** [@zhang](https://discourse.vtk.org/u/zhang)\
**Replies:** 0\
**Last updated:** [September 28, 2023, 5:39am UTC](https://discourse.vtk.org/t/in-vtk-9-2-vtkresliceimageviewer-add-mask-find-some-programs/12380 "2023-09-28T05:39:47Z")

</div>

when the red ball int the front ， adjusting the slice to backward , the ball is still not move ，but when i adjusting the slice to forward . the slice reach a position，the ball will be covered;

---

## [Position changed after read and write](https://discourse.vtk.org/t/position-changed-after-read-and-write/12371)

<div class="topic-metadata">

**Author:** [@yellowfisher](https://discourse.vtk.org/u/yellowfisher)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 2:45am UTC](https://discourse.vtk.org/t/position-changed-after-read-and-write/12371 "2023-09-27T02:45:55Z")

</div>

hello everyone, I use the code below to read a segmentation file and then convert image data to surface polydata ,write to .vtp file. The code works fine.Then i open the origin .nii.gz file and the generated vtp file in…

---

## [vtk dataset plotting is not working as expected.](https://discourse.vtk.org/t/vtk-dataset-plotting-is-not-working-as-expected/12353)

<div class="topic-metadata">

**Author:** [@Samjoe](https://discourse.vtk.org/u/Samjoe)\
**Replies:** 0\
**Last updated:** [September 24, 2023, 10:45am UTC](https://discourse.vtk.org/t/vtk-dataset-plotting-is-not-working-as-expected/12353 "2023-09-24T10:45:38Z")

</div>

Hello, I have created a vtk viewer to view FEA results . But some plots are not showing as they should be. If I load the vtk file in paraview it plots correctly but not in my viewer. The equivalent stress plot…

---

## [Trouble with rendering VTKImageData in VTKImageViewer2 and VTKLineWidget2](https://discourse.vtk.org/t/trouble-with-rendering-vtkimagedata-in-vtkimageviewer2-and-vtklinewidget2/12347)

<div class="topic-metadata">

**Author:** [@mdeepakcdac](https://discourse.vtk.org/u/mdeepakcdac)\
**Replies:** 2\
**Last updated:** [September 24, 2023, 10:32am UTC](https://discourse.vtk.org/t/trouble-with-rendering-vtkimagedata-in-vtkimageviewer2-and-vtklinewidget2/12347 "2023-09-24T10:32:14Z")

</div>

I’m working on a project that involves loading medical image data in VTK (Visualization Toolkit), Qt, cpp and rendering it using VTKImageViewer2. Additionally, I need to draw a line on the displayed image using VTKLineWi…

---

## [OpenUSD Support](https://discourse.vtk.org/t/openusd-support/12198)

<div class="topic-metadata">

**Author:** [@tbirdso](https://discourse.vtk.org/u/tbirdso)\
**Replies:** 9\
**Last updated:** [September 23, 2023, 1:34am UTC](https://discourse.vtk.org/t/openusd-support/12198 "2023-09-23T01:34:33Z")

</div>

I would like to understand the VTK community’s perspective on potential support for the OpenUSD standard. This thread was prompted by discussion at today’s VTK.js developers meeting. Overview Universal Scene Description …

[Previous page](https://discourse.vtk.org/c/development/7.md?page=16)

[Next page](https://discourse.vtk.org/c/development/7.md?page=18)
