# Development

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

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

**Page:** 5

---

## [vtkImageDilateErode3D elliptical footprint is approximated as a square/cube](https://discourse.vtk.org/t/vtkimagedilateerode3d-elliptical-footprint-is-approximated-as-a-square-cube/16086)

<div class="topic-metadata">

**Author:** [@user27182](https://discourse.vtk.org/u/user27182)\
**Replies:** 2\
**Last updated:** [October 8, 2025, 2:28am UTC](https://discourse.vtk.org/t/vtkimagedilateerode3d-elliptical-footprint-is-approximated-as-a-square-cube/16086 "2025-10-08T02:28:47Z")

</div>

vtkImageDilateErode3D uses an elliptical footprint. But, for a 3x3 kernel, it seems that the ellipse is approximated as a square (or cube for 3D). Is this a bug? I would have expected more of a cross (i.e. rounded corner…

---

## [About the various allocation of VTK objects](https://discourse.vtk.org/t/about-the-various-allocation-of-vtk-objects/16067)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.vtk.org/u/CsatiZoltan)\
**Replies:** 6\
**Last updated:** [October 8, 2025, 12:56am UTC](https://discourse.vtk.org/t/about-the-various-allocation-of-vtk-objects/16067 "2025-10-08T00:56:24Z")

</div>

Hi, Could someone explain to me the difference between the following allocations? In the example, I use a VTK array. vtkNew\<vtkDoubleArray\> method1; vtkSmartPointer\<vtkDoubleArray\> method2; auto method3 = vtkDoubleArr…

---

## [Incoming changes to the AMR data model of VTK](https://discourse.vtk.org/t/incoming-changes-to-the-amr-data-model-of-vtk/15802)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 5\
**Last updated:** [September 25, 2025, 9:47am UTC](https://discourse.vtk.org/t/incoming-changes-to-the-amr-data-model-of-vtk/15802 "2025-09-25T09:47:53Z")

</div>

One year ago, @spyridon97 opened this issue to show that the AMR data model was not adapted with the way VTK had been developped and required a refactoring in order to be integrated into modern developpements: https://gi…

---

## [What does macro export serve?](https://discourse.vtk.org/t/what-does-macro-export-serve/16055)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.vtk.org/u/CsatiZoltan)\
**Replies:** 2\
**Last updated:** [September 23, 2025, 9:21am UTC](https://discourse.vtk.org/t/what-does-macro-export-serve/16055 "2025-09-23T09:21:58Z")

</div>

I am developing a VTK module. In the VTK and ParaView examples, and even in the VTK code base, I encounter #include "\<yourModule\>Module.h" // for export macro I noticed that this header is not in the code base, but is…

---

## [VTKHDF vtkStructuredGrid support](https://discourse.vtk.org/t/vtkhdf-vtkstructuredgrid-support/15920)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 4\
**Last updated:** [September 22, 2025, 6:49am UTC](https://discourse.vtk.org/t/vtkhdf-vtkstructuredgrid-support/15920 "2025-09-22T06:49:06Z")

</div>

Of all the base vtk data types, the only one remaining without a discussion or a specification is vtkStructuredGrid While not as important as vtkRectilinearGrid (this is already discussed here https://gitlab.kitware.com…

---

## [Exposing \`vtkImageInterpolator\` border mode to the public API](https://discourse.vtk.org/t/exposing-vtkimageinterpolator-border-mode-to-the-public-api/16046)

<div class="topic-metadata">

**Author:** [@user27182](https://discourse.vtk.org/u/user27182)\
**Replies:** 13\
**Last updated:** [September 21, 2025, 7:11pm UTC](https://discourse.vtk.org/t/exposing-vtkimageinterpolator-border-mode-to-the-public-api/16046 "2025-09-21T19:11:39Z")

</div>

The vtkImageInterpolator class uses an internal border mode with clamp, repeat, and mirror as options. VTK: vtkImageInterpolator Class Reference VTK: Imaging/Core/vtkAbstractImageInterpolator.h File Reference It would b…

---

## [Cmake failed to compile VTK](https://discourse.vtk.org/t/cmake-failed-to-compile-vtk/16039)

<div class="topic-metadata">

**Author:** [@vicissitude123](https://discourse.vtk.org/u/vicissitude123)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 3:28pm UTC](https://discourse.vtk.org/t/cmake-failed-to-compile-vtk/16039 "2025-09-13T15:28:39Z")

</div>

“D:\\VTK\\VTK-9.5.0vs\\CMakeFiles\\c14c112eb5d654db73e73ec13a3372ba\\vtkGaussianBlurPassFS.h.rule;D:\\VTK\\VTK-9.5.0vs\\CMakeFiles\\c14c112eb5d654db73e73ec13a3372ba\\vtkGaussianBlurPassVS.h.rule;D:\\VTK\\VTK-9.5.0vs\\CMakeFiles\\c14c1…

---

## [vtkMeshQuality metrics only valid for certain elements](https://discourse.vtk.org/t/vtkmeshquality-metrics-only-valid-for-certain-elements/16029)

<div class="topic-metadata">

**Author:** [@Mhs\_goud](https://discourse.vtk.org/u/Mhs_goud)\
**Replies:** 2\
**Last updated:** [September 12, 2025, 6:58pm UTC](https://discourse.vtk.org/t/vtkmeshquality-metrics-only-valid-for-certain-elements/16029 "2025-09-12T18:58:29Z")

</div>

Hello, I’m using vtkMeshQuality to evaluate the quality of my meshes. I noticed that some metrics (e.g., Aspect Ratio) are only valid for certain element types, while this can be defined for any element type in practice…

---

## [vtkAbstractWidget this-\>CallbackMapper-\>SetCallbackMethod Exception](https://discourse.vtk.org/t/vtkabstractwidget-this-callbackmapper-setcallbackmethod-exception/16033)

<div class="topic-metadata">

**Author:** [@yuan\_chang](https://discourse.vtk.org/u/yuan_chang)\
**Replies:** 0\
**Last updated:** [September 12, 2025, 9:13am UTC](https://discourse.vtk.org/t/vtkabstractwidget-this-callbackmapper-setcallbackmethod-exception/16033 "2025-09-12T09:13:42Z")

</div>

\#include \<vtkActor.h\> #include \<vtkAxesActor.h\> #include \<vtkCamera.h\> #include \<vtkCommand.h\> #include \<vtkConeSource.h\> #include \<vtkCubeAxesActor.h\> #include \<vtkCubeSource.h\> #include \<vtkNamedColors.h\> #incl…

---

## [How to get crosshair position for three MRI series](https://discourse.vtk.org/t/how-to-get-crosshair-position-for-three-mri-series/16028)

<div class="topic-metadata">

**Author:** [@chekushka.borodin](https://discourse.vtk.org/u/chekushka.borodin)\
**Replies:** 0\
**Last updated:** [September 11, 2025, 8:47am UTC](https://discourse.vtk.org/t/how-to-get-crosshair-position-for-three-mri-series/16028 "2025-09-11T08:47:09Z")

</div>

Hi everyone I am writing a program, but I am stuck at one stage, namely getting the crosshair position by the current slice number in MRI series I did a great job of doing this for the CT series, but that’s probably be…

---

## [Transitioning from VTK-m to Viskores](https://discourse.vtk.org/t/transitioning-from-vtk-m-to-viskores/15599)

<div class="topic-metadata">

**Author:** [@Ryan\_Krattiger](https://discourse.vtk.org/u/Ryan_Krattiger)\
**Replies:** 3\
**Last updated:** [September 10, 2025, 8:30pm UTC](https://discourse.vtk.org/t/transitioning-from-vtk-m-to-viskores/15599 "2025-09-10T20:30:04Z")

</div>

VTK-m has been renamed “Viskores”. This name change coincides with the project being accepted into the High Performance Software Foundation (HPSF) under the Linux Foundation. This is an exciting development and will brin…

---

## [Deprecating \`printf\`-style formatting strings in VTK?](https://discourse.vtk.org/t/deprecating-printf-style-formatting-strings-in-vtk/16001)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 16\
**Last updated:** [September 10, 2025, 12:55am UTC](https://discourse.vtk.org/t/deprecating-printf-style-formatting-strings-in-vtk/16001 "2025-09-10T00:55:48Z")

</div>

Recently, the merge request https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/11940 that modernizes VTK’s use of string-handling functions was merged into VTK. String handling is now faster and more secure. These chang…

---

## [Replace unsafe C functions Proposal](https://discourse.vtk.org/t/replace-unsafe-c-functions-proposal/8530)

<div class="topic-metadata">

**Author:** [@spyridon97](https://discourse.vtk.org/u/spyridon97)\
**Replies:** 23\
**Last updated:** [September 6, 2025, 7:19pm UTC](https://discourse.vtk.org/t/replace-unsafe-c-functions-proposal/8530 "2025-09-06T19:19:35Z")

</div>

There are a couple of categories of unsafe functions that are used throughout VTK/ParaView/kwsys and third-party libraries. For the third-party libraries we can’t do anything, but for VTK/ParaView/kwsys we should replace…

---

## [Partial model loss in array display when the number of triangles is huge.](https://discourse.vtk.org/t/partial-model-loss-in-array-display-when-the-number-of-triangles-is-huge/16015)

<div class="topic-metadata">

**Author:** [@DDS](https://discourse.vtk.org/u/DDS)\
**Replies:** 0\
**Last updated:** [September 5, 2025, 7:05am UTC](https://discourse.vtk.org/t/partial-model-loss-in-array-display-when-the-number-of-triangles-is-huge/16015 "2025-09-05T07:05:44Z")

</div>

I have a STL file which has 983236 triangles. I read it and use vtkAppendPolyData and vtkTransformPolyDataFilter to make a new data for the matrix display. Whe I set nx=ny=nz=7, it was displayed correctly. However when I…

---

## [Why is BoxWidget not part of the vtk.js Widgets3D library?](https://discourse.vtk.org/t/why-is-boxwidget-not-part-of-the-vtk-js-widgets3d-library/15997)

<div class="topic-metadata">

**Author:** [@Pranathi\_Induri](https://discourse.vtk.org/u/Pranathi_Induri)\
**Replies:** 3\
**Last updated:** [September 2, 2025, 4:17pm UTC](https://discourse.vtk.org/t/why-is-boxwidget-not-part-of-the-vtk-js-widgets3d-library/15997 "2025-09-02T16:17:33Z")

</div>

Hi all, While working on vtk.js, I noticed that there is no BoxWidget available in the @kitware/vtk.js/Widgets/Widgets3D package to import directly. In the official vtk.js examples, the BoxWidget is included as a loca…

---

## [ImplicitPlaneWidget dims the volume (gray overlay) — how to make it fully see-through like ImageCroppingWidget?](https://discourse.vtk.org/t/implicitplanewidget-dims-the-volume-gray-overlay-how-to-make-it-fully-see-through-like-imagecroppingwidget/16003)

<div class="topic-metadata">

**Author:** [@Pranathi\_Induri](https://discourse.vtk.org/u/Pranathi_Induri)\
**Replies:** 0\
**Last updated:** [August 29, 2025, 3:21pm UTC](https://discourse.vtk.org/t/implicitplanewidget-dims-the-volume-gray-overlay-how-to-make-it-fully-see-through-like-imagecroppingwidget/16003 "2025-08-29T15:21:22Z")

</div>

VTK.js . I render a volume with vtkImageCroppingWidget (nice clear box). When I add a vtkImplicitPlaneWidget to show a cutting plane, the plane’s face visibly darkens the volume (gray pixels) instead of being fully see-t…

---

## [Proposal: Add array component to \`vtkAlgorithm::SetInputArrayToProcess()\`](https://discourse.vtk.org/t/proposal-add-array-component-to-vtkalgorithm-setinputarraytoprocess/15964)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 10\
**Last updated:** [August 23, 2025, 4:11am UTC](https://discourse.vtk.org/t/proposal-add-array-component-to-vtkalgorithm-setinputarraytoprocess/15964 "2025-08-23T04:11:49Z")

</div>

Proposal I would like to change vtkAlgorithm::SetInputArrayToProcess() to optionally include a component index and add a method to fetch the component (if one has been specified) for a given input array. I would also li…

---

## [Trame + VTK + Plotly Application - vue2 or vue3?](https://discourse.vtk.org/t/trame-vtk-plotly-application-vue2-or-vue3/15954)

<div class="topic-metadata">

**Author:** [@firinini](https://discourse.vtk.org/u/firinini)\
**Replies:** 3\
**Last updated:** [August 15, 2025, 8:42pm UTC](https://discourse.vtk.org/t/trame-vtk-plotly-application-vue2-or-vue3/15954 "2025-08-15T20:42:59Z")

</div>

Hi, I am trying to utilize both the vtk and plotly widgets in my trame application and have issues getting the right dependencies in place. As a layer of abstraction, I tried to install the dependencies for running thi…

---

## [vtkBillboardTextActor3D objects stacking when added to vtkAssembly - SetPosition has no effect](https://discourse.vtk.org/t/vtkbillboardtextactor3d-objects-stacking-when-added-to-vtkassembly-setposition-has-no-effect/15947)

<div class="topic-metadata">

**Author:** [@seuhf321](https://discourse.vtk.org/u/seuhf321)\
**Replies:** 3\
**Last updated:** [August 13, 2025, 11:29pm UTC](https://discourse.vtk.org/t/vtkbillboardtextactor3d-objects-stacking-when-added-to-vtkassembly-setposition-has-no-effect/15947 "2025-08-13T23:29:59Z")

</div>

I’m encountering an issue when using vtkAssembly to group multiple vtkBillboardTextActor3D objects. Despite calling SetPosition() on individual text actors, all labels appear stacked at the same location (typically the a…

---

## [Cannot get the correct AVI frame size after capturing multiple widget contents and outputing the AVI files](https://discourse.vtk.org/t/cannot-get-the-correct-avi-frame-size-after-capturing-multiple-widget-contents-and-outputing-the-avi-files/15945)

<div class="topic-metadata">

**Author:** [@cmodel](https://discourse.vtk.org/u/cmodel)\
**Replies:** 3\
**Last updated:** [August 13, 2025, 2:18am UTC](https://discourse.vtk.org/t/cannot-get-the-correct-avi-frame-size-after-capturing-multiple-widget-contents-and-outputing-the-avi-files/15945 "2025-08-13T02:18:22Z")

</div>

The scenario is as the following: I have separate qt widgets(different view for one object), which uses vtkWindow and vtkRenderer and other classes to display the correct 3D objects. Now I can run the animation action …

---

## [Use of vtkGeometryFilter in vtkDataSetMapper](https://discourse.vtk.org/t/use-of-vtkgeometryfilter-in-vtkdatasetmapper/15740)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.vtk.org/u/pieper)\
**Replies:** 10\
**Last updated:** [August 8, 2025, 9:49pm UTC](https://discourse.vtk.org/t/use-of-vtkgeometryfilter-in-vtkdatasetmapper/15740 "2025-08-08T21:49:53Z")

</div>

I’m displaying cell data on an unstructured grid and noticed a slowdown in rendering as the field changes (geometry is unchanged). Profiling a bit I noticed most of the time is taken in the vtkDataSetMapper to extract t…

---

## [Segfault when using VTK inside docker with EGL - regression](https://discourse.vtk.org/t/segfault-when-using-vtk-inside-docker-with-egl-regression/15939)

<div class="topic-metadata">

**Author:** [@jamesf](https://discourse.vtk.org/u/jamesf)\
**Replies:** 10\
**Last updated:** [August 8, 2025, 4:57pm UTC](https://discourse.vtk.org/t/segfault-when-using-vtk-inside-docker-with-egl-regression/15939 "2025-08-08T16:57:44Z")

</div>

I am running a C++ app that uses VTK compiled with VTK\_OPENGL\_HAS\_EGL=ON inside a docker container with nvidia container runtime. This was working fine with a previous build (git hash 55b8be80a79daa81e57b4e229671c8b1cdc…

---

## [Is a VTK+ITK+Qt stack CI/CD Docker runnner feasible?](https://discourse.vtk.org/t/is-a-vtk-itk-qt-stack-ci-cd-docker-runnner-feasible/15890)

<div class="topic-metadata">

**Author:** [@Daan\_Baas](https://discourse.vtk.org/u/Daan_Baas)\
**Replies:** 5\
**Last updated:** [August 1, 2025, 4:23pm UTC](https://discourse.vtk.org/t/is-a-vtk-itk-qt-stack-ci-cd-docker-runnner-feasible/15890 "2025-08-01T16:23:25Z")

</div>

Hello all, Does anyone around here know whether it is feasible or whether it even makes sense to set up a C++ Continuous Integration/Continuous Delivery(CI/CD) build server that can run inside Docker? “Duh…” I hear th…

---

## [Using Level of Detail (LOD) with vtkGlyph3DMapper for Large Numbers of Spheres](https://discourse.vtk.org/t/using-level-of-detail-lod-with-vtkglyph3dmapper-for-large-numbers-of-spheres/15913)

<div class="topic-metadata">

**Author:** [@Shravan](https://discourse.vtk.org/u/Shravan)\
**Replies:** 0\
**Last updated:** [August 1, 2025, 3:58pm UTC](https://discourse.vtk.org/t/using-level-of-detail-lod-with-vtkglyph3dmapper-for-large-numbers-of-spheres/15913 "2025-08-01T15:58:59Z")

</div>

Objective I’m rendering N instances of a sphere within a bounding box using vtkGlyph3DMapper. The positions are generated procedurally to fill the box, and this part works well. Problem When N becomes large (e.g., tens …

---

## [GetPointCells has different results between activiz and vtk](https://discourse.vtk.org/t/getpointcells-has-different-results-between-activiz-and-vtk/15911)

<div class="topic-metadata">

**Author:** [@INCREADIBLE](https://discourse.vtk.org/u/INCREADIBLE)\
**Replies:** 0\
**Last updated:** [August 1, 2025, 1:27pm UTC](https://discourse.vtk.org/t/getpointcells-has-different-results-between-activiz-and-vtk/15911 "2025-08-01T13:27:50Z")

</div>

Recenty i am moving some code from VTK to Activiz 9.4, and i found some function working strangely, for example: var cellIds = vtkIdList.New(); polyData.GetPointCells(index, cellIds); The order of cellIds from 0 to N…

---

## [Block rotation in QVTKRenderWindowInteractor](https://discourse.vtk.org/t/block-rotation-in-qvtkrenderwindowinteractor/15877)

<div class="topic-metadata">

**Author:** [@sapvi](https://discourse.vtk.org/u/sapvi)\
**Replies:** 5\
**Last updated:** [July 31, 2025, 10:28am UTC](https://discourse.vtk.org/t/block-rotation-in-qvtkrenderwindowinteractor/15877 "2025-07-31T10:28:01Z")

</div>

Hi all. I am trying to find a way to use QVTKRenderWindowInteractor but with the blocked rotation feature. I tried to subclass it in Python and overwrite the left/right click methods but it does not seem to work in any …

---

## [vtk boolean functions](https://discourse.vtk.org/t/vtk-boolean-functions/15876)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)\
**Replies:** 1\
**Last updated:** [July 30, 2025, 6:15pm UTC](https://discourse.vtk.org/t/vtk-boolean-functions/15876 "2025-07-30T18:15:24Z")

</div>

Hi, I was looking at VTK: vtkClipClosedSurface Class Reference code and I started thinking: What if there was a class that received an R3 domain (x,y,z) implicit function (for example vtkPlane) that returns a real val…

---

## [Is vtkDICOMImageReader spacing reading wrong?](https://discourse.vtk.org/t/is-vtkdicomimagereader-spacing-reading-wrong/15879)

<div class="topic-metadata">

**Author:** [@adrian\_sager](https://discourse.vtk.org/u/adrian_sager)\
**Replies:** 1\
**Last updated:** [July 30, 2025, 2:50pm UTC](https://discourse.vtk.org/t/is-vtkdicomimagereader-spacing-reading-wrong/15879 "2025-07-30T14:50:09Z")

</div>

I have a DICOM series sliced axially with: (0020,0037) DS \[1\\0\\0\\0\\1\\0\] # 12, 6 ImageOrientationPatient (0028,0010) US 1024 # 2, 1 Rows (0028,0011) US 18…

---

## [Upcoming changes to statistics algorithms.](https://discourse.vtk.org/t/upcoming-changes-to-statistics-algorithms/15868)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 0\
**Last updated:** [July 26, 2025, 4:01pm UTC](https://discourse.vtk.org/t/upcoming-changes-to-statistics-algorithms/15868 "2025-07-26T16:01:23Z")

</div>

We are starting work to modernize the statistics algorithms. If you have any suggestions or criticisms, please discuss them in this thread. The work is scheduled to take place through September. Step 1: Partitioned Data…

---

## [vtkExtractSelection with empty vtkSelection uninformative error message](https://discourse.vtk.org/t/vtkextractselection-with-empty-vtkselection-uninformative-error-message/15852)

<div class="topic-metadata">

**Author:** [@manik](https://discourse.vtk.org/u/manik)\
**Replies:** 2\
**Last updated:** [July 25, 2025, 3:38pm UTC](https://discourse.vtk.org/t/vtkextractselection-with-empty-vtkselection-uninformative-error-message/15852 "2025-07-25T15:38:59Z")

</div>

Hi, I would like to suggest an improvement in vtkExtractSelection because I had some difficulty understanding a bug in my software: if vtkExtractSelection is updated but the vtkSelection used as inputData is empty (no …

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

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