# Development

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

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

**Page:** 26

---

## [Again clarification about quad node ordering](https://discourse.vtk.org/t/again-clarification-about-quad-node-ordering/10094)

<div class="topic-metadata">

**Author:** [@philippeVerney](https://discourse.vtk.org/u/philippeVerney)\
**Replies:** 0\
**Last updated:** [December 6, 2022, 5:28pm UTC](https://discourse.vtk.org/t/again-clarification-about-quad-node-ordering/10094 "2022-12-06T17:28:18Z")

</div>

Hi all, Following Clarification about quad node ordering, I made some experiments and here is a snapshot This image shows two surfaces where the colors correspond to the Y component of the normal computed by the vtk…

---

## [Image viewer / points - Dicom dataset.](https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050)

<div class="topic-metadata">

**Author:** [@St\_Luk](https://discourse.vtk.org/u/St_Luk)\
**Replies:** 1\
**Last updated:** [December 3, 2022, 4:26am UTC](https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050 "2022-12-03T04:26:55Z")

</div>

Hi everyone, I need to take manually some coordinates from a dataset DICOM. The idea is developed some image viewer to see the images and then with the cursor place two points and generate a json file of them. Is it po…

---

## [vtkCompositeDataSet::ShallowCopy and vtkCompositeDataSet::RecursiveShallowCopy](https://discourse.vtk.org/t/vtkcompositedataset-shallowcopy-and-vtkcompositedataset-recursiveshallowcopy/9338)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 13\
**Last updated:** [December 2, 2022, 4:05pm UTC](https://discourse.vtk.org/t/vtkcompositedataset-shallowcopy-and-vtkcompositedataset-recursiveshallowcopy/9338 "2022-12-02T16:05:55Z")

</div>

In vtkCompositeDataSet, there is two shallow copy methods, ShallowCopy and RecursiveShallowCopy. ShallowCopy only shallow copy the structure of the composite but do not shallow copy the dataset in the leafs, it actually…

---

## [vtkImageDifference does not detect image differences](https://discourse.vtk.org/t/vtkimagedifference-does-not-detect-image-differences/9726)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 10\
**Last updated:** [December 2, 2022, 3:59pm UTC](https://discourse.vtk.org/t/vtkimagedifference-does-not-detect-image-differences/9726 "2022-12-02T15:59:41Z")

</div>

vtkImageDifference seems to detect zero or much less differences than VTK 9.1. I ran into this issue while working on migrating from VTK9.1 to VTK 9.2: all image tests seemed to succeed except for one that expected diffe…

---

## [Bug in documentation figure on wedge node ordering](https://discourse.vtk.org/t/bug-in-documentation-figure-on-wedge-node-ordering/9946)

<div class="topic-metadata">

**Author:** [@philippeVerney](https://discourse.vtk.org/u/philippeVerney)\
**Replies:** 4\
**Last updated:** [December 2, 2022, 4:30am UTC](https://discourse.vtk.org/t/bug-in-documentation-figure-on-wedge-node-ordering/9946 "2022-12-02T04:30:30Z")

</div>

Hi all, Following this Paraview question, I think there is a bug on the wedge node ordering on this figure in the VTK documentation. Indeed, on this figure, the first face 012 points inwards using right hand rule. How…

---

## [How can I display special .nii file (with timeline) in sequence](https://discourse.vtk.org/t/how-can-i-display-special-nii-file-with-timeline-in-sequence/10038)

<div class="topic-metadata">

**Author:** [@Sterben\_01](https://discourse.vtk.org/u/Sterben_01)\
**Replies:** 0\
**Last updated:** [December 2, 2022, 3:19am UTC](https://discourse.vtk.org/t/how-can-i-display-special-nii-file-with-timeline-in-sequence/10038 "2022-12-02T03:19:57Z")

</div>

Hi. I’m a beginner for VTK. Right now I have an special .nii file which is 2D but has timeline. I had tried use vtkNIFTIImageReader + vtkImageActor + vtkRender + vtkRenderWindow to display this file as an image sequence…

---

## [Clarification about quad node ordering](https://discourse.vtk.org/t/clarification-about-quad-node-ordering/10023)

<div class="topic-metadata">

**Author:** [@philippeVerney](https://discourse.vtk.org/u/philippeVerney)\
**Replies:** 4\
**Last updated:** [December 1, 2022, 12:19pm UTC](https://discourse.vtk.org/t/clarification-about-quad-node-ordering/10023 "2022-12-01T12:19:58Z")

</div>

Hi all, Looking at the vtkQuad documentation, I can read: vtkQuad is defined by the four points (0,1,2,3) in counterclockwise order I am wondering what “in counterclockwise order” formally/rigorously means. Indeed,…

---

## [Unnecessary VTK API change](https://discourse.vtk.org/t/unnecessary-vtk-api-change/9929)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 22\
**Last updated:** [November 30, 2022, 1:37pm UTC](https://discourse.vtk.org/t/unnecessary-vtk-api-change/9929 "2022-11-30T13:37:05Z")

</div>

There have been some breaking changes in vtkThreshold API that did not bring any value to VTK users. This is annoying, because discovering and fixing issues costs us time and there is zero benefit. It makes things even w…

---

## [Failed to use discretizable ColorTransferFunction to set alpha for specific value](https://discourse.vtk.org/t/failed-to-use-discretizable-colortransferfunction-to-set-alpha-for-specific-value/9998)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 12:23pm UTC](https://discourse.vtk.org/t/failed-to-use-discretizable-colortransferfunction-to-set-alpha-for-specific-value/9998 "2022-11-30T12:23:17Z")

</div>

As the title describe, I want to set the cell with zero field data to total opactity, but It doesn’t work, here is the simple code I have tried, can anybody help me, thanks! void simpleVtk() { vtkNew\<vtkPoints\> points;…

---

## [About the configuration or Reader/Writers that support multiple file formats](https://discourse.vtk.org/t/about-the-configuration-or-reader-writers-that-support-multiple-file-formats/9951)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 6\
**Last updated:** [November 28, 2022, 8:48am UTC](https://discourse.vtk.org/t/about-the-configuration-or-reader-writers-that-support-multiple-file-formats/9951 "2022-11-28T08:48:56Z")

</div>

In VTK, they are a few reader/writers that internally supports multiple file formats. eg: vtkGLTFReader supports .gltf and .glb vtkOCCTReader supports .stp and .igs However, the actual reading of these files is usual…

---

## [PBR Materials in a MultiblockDataset](https://discourse.vtk.org/t/pbr-materials-in-a-multiblockdataset/9816)

<div class="topic-metadata">

**Author:** [@Thiago\_Neves](https://discourse.vtk.org/u/Thiago_Neves)\
**Replies:** 4\
**Last updated:** [November 28, 2022, 8:32am UTC](https://discourse.vtk.org/t/pbr-materials-in-a-multiblockdataset/9816 "2022-11-28T08:32:42Z")

</div>

Is it possible to have a different pbr material for each block in a multiblock dataset? Im trying to have a multiblock with different textures in each block. I was able to change the colors using vtkCompositePolyDataMap…

---

## [How does vtk read files in a database](https://discourse.vtk.org/t/how-does-vtk-read-files-in-a-database/9975)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.vtk.org/u/miniminic)\
**Replies:** 0\
**Last updated:** [November 28, 2022, 7:36am UTC](https://discourse.vtk.org/t/how-does-vtk-read-files-in-a-database/9975 "2022-11-28T07:36:32Z")

</div>

For example, if I store a stl file into a database, I know that vtkSTLReader can read local stl files, but I don’t want to localize the stl file in my database, does vtk have a way to read it.Thanks.

---

## [VTK9.2 + Qt5.12 + Windows build (no python) runtime error: qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""](https://discourse.vtk.org/t/vtk9-2-qt5-12-windows-build-no-python-runtime-error-qt-qpa-plugin-could-not-find-the-qt-platform-plugin-windows-in/9425)

<div class="topic-metadata">

**Author:** [@fab672000](https://discourse.vtk.org/u/fab672000)\
**Replies:** 5\
**Last updated:** [November 22, 2022, 7:51pm UTC](https://discourse.vtk.org/t/vtk9-2-qt5-12-windows-build-no-python-runtime-error-qt-qpa-plugin-could-not-find-the-qt-platform-plugin-windows-in/9425 "2022-11-22T19:51:58Z")

</div>

Hi, I built successfully vtk 9.2 rc2 since a while with a default config to whitch I added opengl2 support for rendering imaging and volumes, also have working multiple versions of qt that all build fine and on my path a…

---

## [Would 3x3 matrix multiplication be faster on vtk using Laderman's algorithm?](https://discourse.vtk.org/t/would-3x3-matrix-multiplication-be-faster-on-vtk-using-ladermans-algorithm/9884)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 3:15pm UTC](https://discourse.vtk.org/t/would-3x3-matrix-multiplication-be-faster-on-vtk-using-ladermans-algorithm/9884 "2022-11-21T15:15:53Z")

</div>

Here is stackoverflow related question: Please look at the second answer. Here is the current implementation on vtk: https://gitlab.kitware.com/vtk/vtk/-/blob/master/Common/Core/vtkMath.cxx#L1610 Thank you for the a…

---

## [Potential vtkUnstructuredGrid::ShallowCopy from vtkUnstructuredGridBase crash](https://discourse.vtk.org/t/potential-vtkunstructuredgrid-shallowcopy-from-vtkunstructuredgridbase-crash/9898)

<div class="topic-metadata">

**Author:** [@Bengt](https://discourse.vtk.org/u/Bengt)\
**Replies:** 0\
**Last updated:** [November 20, 2022, 6:40pm UTC](https://discourse.vtk.org/t/potential-vtkunstructuredgrid-shallowcopy-from-vtkunstructuredgridbase-crash/9898 "2022-11-20T18:40:32Z")

</div>

We’re using a vtkMappedUnstructuredGrid for our input data. One of our filters takes our type as input, adds data and is supposed to output a regular vtkUnstructuredGrid. We ran into a crash situation with this scenario …

---

## [gitlab CI/CD for Visual Studio 2019](https://discourse.vtk.org/t/gitlab-ci-cd-for-visual-studio-2019/9833)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 2\
**Last updated:** [November 17, 2022, 6:46pm UTC](https://discourse.vtk.org/t/gitlab-ci-cd-for-visual-studio-2019/9833 "2022-11-17T18:46:07Z")

</div>

Hi guys, sorry it’s slighty off ‘vtk’ topic… I am trying to get a gitlab CI/CD pipeline going, and I really struggle getting my project built using Windows/Visual Studio 2019. I notice that VTK has runners using VS 20…

---

## [Custom file format for VTK](https://discourse.vtk.org/t/custom-file-format-for-vtk/9855)

<div class="topic-metadata">

**Author:** [@AndreAhmed](https://discourse.vtk.org/u/AndreAhmed)\
**Replies:** 10\
**Last updated:** [November 17, 2022, 3:01pm UTC](https://discourse.vtk.org/t/custom-file-format-for-vtk/9855 "2022-11-17T15:01:41Z")

</div>

Hello, I have a custom file format and I do conversion to VTK to to let VTK render my mesh, I would like to avoid such conversion from my mesh to VTK and from VTK to my mesh. Is there a suitable solution so that I inje…

---

## [Find the nearest triangle from a selected point](https://discourse.vtk.org/t/find-the-nearest-triangle-from-a-selected-point/9837)

<div class="topic-metadata">

**Author:** [@Henrik](https://discourse.vtk.org/u/Henrik)\
**Replies:** 5\
**Last updated:** [November 16, 2022, 2:14pm UTC](https://discourse.vtk.org/t/find-the-nearest-triangle-from-a-selected-point/9837 "2022-11-16T14:14:05Z")

</div>

Hey guys, i’m very new into VTK and using the 5.8. I already archieved to build a small 3D Plotter to open and view some .stl files. Now i’m trying to implementate a function that calculates me the nearest triangle from…

---

## [Concave polygon, issue with solid representation and vtkDelaunay2D](https://discourse.vtk.org/t/concave-polygon-issue-with-solid-representation-and-vtkdelaunay2d/9823)

<div class="topic-metadata">

**Author:** [@ugis](https://discourse.vtk.org/u/ugis)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 11:08am UTC](https://discourse.vtk.org/t/concave-polygon-issue-with-solid-representation-and-vtkdelaunay2d/9823 "2022-11-15T11:08:53Z")

</div>

Dear developers, I was trying to test some functionality with a simple concave polygon but hit the following issue - after I draw the desired shape, only the wireframe is correct, but solid representation does not show …

---

## [Two viewer of same scene in VTK](https://discourse.vtk.org/t/two-viewer-of-same-scene-in-vtk/9822)

<div class="topic-metadata">

**Author:** [@Heydar](https://discourse.vtk.org/u/Heydar)\
**Replies:** 0\
**Last updated:** [November 15, 2022, 9:12am UTC](https://discourse.vtk.org/t/two-viewer-of-same-scene-in-vtk/9822 "2022-11-15T09:12:47Z")

</div>

The VTK library really is powerful . The question that I could not handle was how we could just create a scene with 2 cameras! , I found that we should create 2 renderers(from other question/answer), so we should add all…

---

## [Seg faults on Render() call](https://discourse.vtk.org/t/seg-faults-on-render-call/9803)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 5\
**Last updated:** [November 13, 2022, 4:15pm UTC](https://discourse.vtk.org/t/seg-faults-on-render-call/9803 "2022-11-13T16:15:32Z")

</div>

I’m getting seg fault in my Ubuntu system: vtk version : 9.2.2 python version : 3.9.13 (main, Aug 25 2022, 23:26:10) \[GCC 11.2.0\] python interpreter: /home/musy/soft/anaconda3/bin/python system : Lin…

---

## [New/Customizable way to load data](https://discourse.vtk.org/t/new-customizable-way-to-load-data/9558)

<div class="topic-metadata">

**Author:** [@alexy.pellegrini](https://discourse.vtk.org/u/alexy.pellegrini)\
**Replies:** 12\
**Last updated:** [November 2, 2022, 1:48pm UTC](https://discourse.vtk.org/t/new-customizable-way-to-load-data/9558 "2022-11-02T13:48:53Z")

</div>

Hi everyone, I’m currently working on a new and more generic way to load data for VTK readers. Current status of data loading in VTK In VTK, all readers have at least the SetFileName. Some of them such as legacy reader…

---

## [vtkPointSetToLabelHierarchy labels not being displayed](https://discourse.vtk.org/t/vtkpointsettolabelhierarchy-labels-not-being-displayed/9692)

<div class="topic-metadata">

**Author:** [@keesh0](https://discourse.vtk.org/u/keesh0)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 1:45am UTC](https://discourse.vtk.org/t/vtkpointsettolabelhierarchy-labels-not-being-displayed/9692 "2022-10-29T01:45:21Z")

</div>

Hello, I have a nice polygonal anatomical model export to VTP format. Paraview is employed to help visualize the surface model. All is well. I wish to add labels to certain “key points” or possibly specific cells. I…

---

## [Python 3.11 Windows - builds and runs OK](https://discourse.vtk.org/t/python-3-11-windows-builds-and-runs-ok/9666)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 8\
**Last updated:** [October 27, 2022, 1:46pm UTC](https://discourse.vtk.org/t/python-3-11-windows-builds-and-runs-ok/9666 "2022-10-27T13:46:25Z")

</div>

I just built VTK (master) with Python 3.11 in Windows with no problems.Thanks to those involved in making sure everything works @ben.boeckel @dgobbi and any others. Also tested using a few VTK Examples. Is it my imaginat…

---

## [How to read and render the file which format is dae using VTK](https://discourse.vtk.org/t/how-to-read-and-render-the-file-which-format-is-dae-using-vtk/9673)

<div class="topic-metadata">

**Author:** [@zyxgis](https://discourse.vtk.org/u/zyxgis)\
**Replies:** 2\
**Last updated:** [October 27, 2022, 7:08am UTC](https://discourse.vtk.org/t/how-to-read-and-render-the-file-which-format-is-dae-using-vtk/9673 "2022-10-27T07:08:50Z")

</div>

i have a file which format is dae (COLLADA), i want to render it with VTK, but i cannot find the related classes, how to solve the problem?

---

## [Draggable label over qvtkWidget](https://discourse.vtk.org/t/draggable-label-over-qvtkwidget/9670)

<div class="topic-metadata">

**Author:** [@Manju](https://discourse.vtk.org/u/Manju)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 5:03am UTC](https://discourse.vtk.org/t/draggable-label-over-qvtkwidget/9670 "2022-10-25T05:03:04Z")

</div>

I am working with Qt creator 7.0.2 with Cpp for developing an application which involves image editing and enhancement. I’m currently using a qvtkWidget to display the image. I need to place a draggable and resizable lab…

---

## [Cleanup warnings in current vtk 9 plans?](https://discourse.vtk.org/t/cleanup-warnings-in-current-vtk-9-plans/9586)

<div class="topic-metadata">

**Author:** [@fab672000](https://discourse.vtk.org/u/fab672000)\
**Replies:** 19\
**Last updated:** [October 20, 2022, 4:04pm UTC](https://discourse.vtk.org/t/cleanup-warnings-in-current-vtk-9-plans/9586 "2022-10-20T16:04:40Z")

</div>

Hi, so I am currently building vtk 9.2 from sources and noted a lot of warnings (\>1000 warnings in release mode when building with vs2022 !) during the build are happening, most often due to unferenced formal parameters…

---

## [Convert 2d polydata data(2d mesh) to 3d mesh with cell data](https://discourse.vtk.org/t/convert-2d-polydata-data-2d-mesh-to-3d-mesh-with-cell-data/9645)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 2\
**Last updated:** [October 20, 2022, 3:08am UTC](https://discourse.vtk.org/t/convert-2d-polydata-data-2d-mesh-to-3d-mesh-with-cell-data/9645 "2022-10-20T03:08:23Z")

</div>

I have a polydata created by points(with z-value 0) and polys, and cell attribute data, How can I convert this 2d polydata data(2d mesh) to 3d mesh use the scalar attribute data. I hope you can give me some suggestions a…

---

## [Trouble when Introducing VTK 9.2.2 to winui3 C++](https://discourse.vtk.org/t/trouble-when-introducing-vtk-9-2-2-to-winui3-c/9622)

<div class="topic-metadata">

**Author:** [@pronaman](https://discourse.vtk.org/u/pronaman)\
**Replies:** 0\
**Last updated:** [October 17, 2022, 2:55am UTC](https://discourse.vtk.org/t/trouble-when-introducing-vtk-9-2-2-to-winui3-c/9622 "2022-10-17T02:55:31Z")

</div>

I am currently working with QT/QML. The product I am programming is only for windows based. so, I am going to use winui3 (not considering WPF, WinForms, and MFC. they are not easy to use C++ or very old). As you probabl…

---

## [Can VTK 8.2 link with Qt qml?](https://discourse.vtk.org/t/can-vtk-8-2-link-with-qt-qml/9563)

<div class="topic-metadata">

**Author:** [@mh0223](https://discourse.vtk.org/u/mh0223)\
**Replies:** 5\
**Last updated:** [October 13, 2022, 1:29pm UTC](https://discourse.vtk.org/t/can-vtk-8-2-link-with-qt-qml/9563 "2022-10-13T13:29:22Z")

</div>

Hi, I started developing vtk project with Qt version 5. I literally started it, so I loaded vtk library on Qt but I don’t know How to load renderWindow in qml file. How can I load vtkrenderwindow on qml file and manipu…

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

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