# Development

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

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

**Page:** 19

---

## [Deprecating vtkCompositePolyDataMapper2 in favor of vtkCompositePolyDataMapper](https://discourse.vtk.org/t/deprecating-vtkcompositepolydatamapper2-in-favor-of-vtkcompositepolydatamapper/11381)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 14\
**Last updated:** [September 22, 2023, 3:31pm UTC](https://discourse.vtk.org/t/deprecating-vtkcompositepolydatamapper2-in-favor-of-vtkcompositepolydatamapper/11381 "2023-09-22T15:31:57Z")

</div>

vtkCompositePolyDataMapper2 is used almost everywhere (in ParaView, VTK apps) for composite polydata rendering instead of vtkCompositePolyDataMapper. It is smart enough to internally use as few mappers as possible instea…

---

## [Test for simple polygon](https://discourse.vtk.org/t/test-for-simple-polygon/12287)

<div class="topic-metadata">

**Author:** [@Ron84](https://discourse.vtk.org/u/Ron84)\
**Replies:** 0\
**Last updated:** [September 14, 2023, 5:17pm UTC](https://discourse.vtk.org/t/test-for-simple-polygon/12287 "2023-09-14T17:17:16Z")

</div>

Does VTK have any method to test if a polygon is not simple? Or do I have to implement it for myself? It seems that vtkPolygon does not have anything like that. But why not?

---

## [Examine VTK Stack](https://discourse.vtk.org/t/examine-vtk-stack/12278)

<div class="topic-metadata">

**Author:** [@Larry](https://discourse.vtk.org/u/Larry)\
**Replies:** 1\
**Last updated:** [September 13, 2023, 8:38pm UTC](https://discourse.vtk.org/t/examine-vtk-stack/12278 "2023-09-13T20:38:35Z")

</div>

How can you effectively set a breakpoint in your debugger to examine the stack when encountering an error in VTK?

---

## [What is state of the art: Unicode file names on Windows](https://discourse.vtk.org/t/what-is-state-of-the-art-unicode-file-names-on-windows/1821)

<div class="topic-metadata">

**Author:** [@efahl](https://discourse.vtk.org/u/efahl)\
**Replies:** 64\
**Last updated:** [September 13, 2023, 9:45am UTC](https://discourse.vtk.org/t/what-is-state-of-the-art-unicode-file-names-on-windows/1821 "2023-09-13T09:45:57Z")

</div>

Sitting here in the US on a Windows 10 box with LANG set to en\_US.UTF-8, I tried to load an image from a Swiss patient with an ß in the file name. VTK couldn’t open the file - “file not found”, so after playing around w…

---

## [Registration between a volume and a mesh](https://discourse.vtk.org/t/registration-between-a-volume-and-a-mesh/12260)

<div class="topic-metadata">

**Author:** [@Limz90](https://discourse.vtk.org/u/Limz90)\
**Replies:** 0\
**Last updated:** [September 8, 2023, 9:55am UTC](https://discourse.vtk.org/t/registration-between-a-volume-and-a-mesh/12260 "2023-09-08T09:55:19Z")

</div>

Hello, I have a vtkvolume object and got from it a mesh\_1 through marchingcubes; then I copied that mesh and applied a translation, let’s name it mesh\_2. So my probelm is that when i’m using vtkIterativeClosestPointTra…

---

## [Volume Clipping](https://discourse.vtk.org/t/volume-clipping/12252)

<div class="topic-metadata">

**Author:** [@JEEVIGYAY\_SRIVASTAVA](https://discourse.vtk.org/u/JEEVIGYAY_SRIVASTAVA)\
**Replies:** 0\
**Last updated:** [September 6, 2023, 1:02pm UTC](https://discourse.vtk.org/t/volume-clipping/12252 "2023-09-06T13:02:27Z")

</div>

How to set mitkImage as InputData to vtkSmartVolumeMapper without converting mitkImage to vtkImageData. I am taking vtkImageData from mitkImage and then Clipping vtkImageData using plane defined from vtkPlane. Instead of…

---

## [Member visibility when writing new VTK classes](https://discourse.vtk.org/t/member-visibility-when-writing-new-vtk-classes/12208)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 3\
**Last updated:** [September 4, 2023, 10:19am UTC](https://discourse.vtk.org/t/member-visibility-when-writing-new-vtk-classes/12208 "2023-09-04T10:19:35Z")

</div>

As VTK tries to be as retrocompatible as possible with extensive deprecation mechanism, VTK developers often struggle with the amount of work needed to cleanly deprecate protected members (non-virtual methods and variabl…

---

## [About avoiding public virtual method in VTK](https://discourse.vtk.org/t/about-avoiding-public-virtual-method-in-vtk/12240)

<div class="topic-metadata">

**Author:** [@toddy](https://discourse.vtk.org/u/toddy)\
**Replies:** 5\
**Last updated:** [September 2, 2023, 3:45am UTC](https://discourse.vtk.org/t/about-avoiding-public-virtual-method-in-vtk/12240 "2023-09-02T03:45:23Z")

</div>

Mod note: This was initially an answer of: https://discourse.vtk.org/t/member-visibility-when-writing-new-vtk-classes/12208/8 In addition I think all public methods should be non-virtual and call protected virtual meth…

---

## [Coordinate for vtkImageReslice](https://discourse.vtk.org/t/coordinate-for-vtkimagereslice/12229)

<div class="topic-metadata">

**Author:** [@learn\_forever](https://discourse.vtk.org/u/learn_forever)\
**Replies:** 3\
**Last updated:** [September 3, 2023, 2:39pm UTC](https://discourse.vtk.org/t/coordinate-for-vtkimagereslice/12229 "2023-09-03T14:39:47Z")

</div>

Hi Experts, Usually we use vtkImageViewer2 to show DICOM image. In this case, the display bounds for the image actor is something like \[0, MaxX, 0, MaxY, 0, MaxZ\]. But if we use vtkImageReslice to cut the DICOM image d…

---

## [vtkResliceImageViewer Mode Oblique bug](https://discourse.vtk.org/t/vtkresliceimageviewer-mode-oblique-bug/8944)

<div class="topic-metadata">

**Author:** [@NicolasPerdu](https://discourse.vtk.org/u/NicolasPerdu)\
**Replies:** 5\
**Last updated:** [September 1, 2023, 12:58am UTC](https://discourse.vtk.org/t/vtkresliceimageviewer-mode-oblique-bug/8944 "2023-09-01T00:58:11Z")

</div>

Hello, I am using VTK 9.2 on windows 10 with MSVC 2019 with the code : vtkObject::GlobalWarningDisplayOff(); vtkOpenGLRenderWindow::SetGlobalMaximumNumberOfMultiSamples(0); std::string inputFilename = "C:\\\\…

---

## [vtkPointSource & vtkPoints](https://discourse.vtk.org/t/vtkpointsource-vtkpoints/12082)

<div class="topic-metadata">

**Author:** [@totte\_karlsson](https://discourse.vtk.org/u/totte_karlsson)\
**Replies:** 4\
**Last updated:** [August 31, 2023, 7:38am UTC](https://discourse.vtk.org/t/vtkpointsource-vtkpoints/12082 "2023-08-31T07:38:45Z")

</div>

Hi, I’m working on a tool to select points, using the rubberband interactor. However, question is about basic vtk data types. In the vtkRubberband select example, the data is generated like this vtkNew\<vtkPointSourc…

---

## [Handle time series of PartitionedDataSetCollection ?](https://discourse.vtk.org/t/handle-time-series-of-partitioneddatasetcollection/12089)

<div class="topic-metadata">

**Author:** [@untereiner](https://discourse.vtk.org/u/untereiner)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 8:13am UTC](https://discourse.vtk.org/t/handle-time-series-of-partitioneddatasetcollection/12089 "2023-08-30T08:13:39Z")

</div>

Hi, I have simulation results that have the structure below (simplified): PVD file (list of .vtm files): time step 0 : 0.vtm VTM file (list of vtu files): - block0/subblock0/rank0.vtu - block0/subblock0/rank1.vtu …

---

## [Zooming in on the surface results in stripes](https://discourse.vtk.org/t/zooming-in-on-the-surface-results-in-stripes/12133)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 9\
**Last updated:** [August 29, 2023, 2:50am UTC](https://discourse.vtk.org/t/zooming-in-on-the-surface-results-in-stripes/12133 "2023-08-29T02:50:41Z")

</div>

Zooming in on the surface results in stripes, see the picture, how to solve it

---

## [Increase the image quality (server side rendering)](https://discourse.vtk.org/t/increase-the-image-quality-server-side-rendering/12207)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.vtk.org/u/dbtruong)\
**Replies:** 0\
**Last updated:** [August 28, 2023, 9:21am UTC](https://discourse.vtk.org/t/increase-the-image-quality-server-side-rendering/12207 "2023-08-28T09:21:04Z")

</div>

Hi all, I am developing a web viewer application to view dicom 3D images using vtk-python as server side rendering. How can I increase the image quality when rendering?

---

## [ANARI 1.0, VTK, USD, rendering improvements, physically based renders](https://discourse.vtk.org/t/anari-1-0-vtk-usd-rendering-improvements-physically-based-renders/12203)

<div class="topic-metadata">

**Author:** [@abk](https://discourse.vtk.org/u/abk)\
**Replies:** 1\
**Last updated:** [August 28, 2023, 7:22am UTC](https://discourse.vtk.org/t/anari-1-0-vtk-usd-rendering-improvements-physically-based-renders/12203 "2023-08-28T07:22:47Z")

</div>

I am looking for some rendered images, videos that were created in the last 1 year using VTK that show photoreal renders with features such as HDRI, image based lighting, ambient occlusion, ray tracing, global illuminati…

---

## [vtkTexture not supporting 3D Texture?](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886)

<div class="topic-metadata">

**Author:** [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Replies:** 2\
**Last updated:** [August 23, 2023, 1:50pm UTC](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886 "2023-08-23T13:50:59Z")

</div>

Hi, I am supposed to use a 3d texture in my vtk application and use the same in shaders. Is this possible? I read somewhere that VTK do not support 3d textures. Is that true?

---

## [vtkGLTFImporter loads textures upside down](https://discourse.vtk.org/t/vtkgltfimporter-loads-textures-upside-down/12113)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 8\
**Last updated:** [August 23, 2023, 8:47am UTC](https://discourse.vtk.org/t/vtkgltfimporter-loads-textures-upside-down/12113 "2023-08-23T08:47:29Z")

</div>

It appears that when vtkGLTFImporter reads texture data (at least texture data stored in a buffer as opposed to an external image file), the textures are upside down. I’ve created and attached a small glTF file. It incl…

---

## [Problem in VTK 8.2 with defaultFormat() and QVTKOpenGLWidget on Windows 10/Intel](https://discourse.vtk.org/t/problem-in-vtk-8-2-with-defaultformat-and-qvtkopenglwidget-on-windows-10-intel/998)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 40\
**Last updated:** [August 21, 2023, 1:11pm UTC](https://discourse.vtk.org/t/problem-in-vtk-8-2-with-defaultformat-and-qvtkopenglwidget-on-windows-10-intel/998 "2023-08-21T13:11:16Z")

</div>

Hi all, I’m in the process of porting our application to VTK 8.2.0, so switching to the new QVTKOpenGLWidget where possible (and staying with QVTKOpenGLNativeWidget where necessary). I’m struggling with a problem I’m s…

---

## [vtkCellLocator's FindCellsAlongLine Method on elements oriented at an angle in a plane.](https://discourse.vtk.org/t/vtkcelllocators-findcellsalongline-method-on-elements-oriented-at-an-angle-in-a-plane/12051)

<div class="topic-metadata">

**Author:** [@Sai\_Chaitanya\_Rodda](https://discourse.vtk.org/u/Sai_Chaitanya_Rodda)\
**Replies:** 1\
**Last updated:** [August 21, 2023, 4:44am UTC](https://discourse.vtk.org/t/vtkcelllocators-findcellsalongline-method-on-elements-oriented-at-an-angle-in-a-plane/12051 "2023-08-21T04:44:54Z")

</div>

Hello Everyone, I have been using the FindCellsAlongLine method to find any cells which intersect my given line. But this method fails for geometries which are oriented at an angle. For example, I have a geometry which…

---

## [vtkGLTFImporter; rotating from y-up to z-up](https://discourse.vtk.org/t/vtkgltfimporter-rotating-from-y-up-to-z-up/12077)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 4\
**Last updated:** [August 20, 2023, 11:51pm UTC](https://discourse.vtk.org/t/vtkgltfimporter-rotating-from-y-up-to-z-up/12077 "2023-08-20T23:51:13Z")

</div>

glTF documents its internal coordinate space is y-up. This will be true for any portable glTF file. If I’m working in a domain that is z-up, I need to rotate the model from y-up to z-up. So, here’s the circumstances: I…

---

## [Python 3.6 and 3.7 EOL](https://discourse.vtk.org/t/python-3-6-and-3-7-eol/7402)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 4\
**Last updated:** [August 16, 2023, 11:35am UTC](https://discourse.vtk.org/t/python-3-6-and-3-7-eol/7402 "2023-08-16T11:35:46Z")

</div>

So Python 3.6 is EOL this month. We still notionally support 3.4 (though even 3.5 isn’t actively tested), so is it OK to change this: set(vtk\_python\_min\_version "3.4") set(vtk\_python\_version\_support "3.6") to: set(vtk…

---

## [Unit Testing Approach for Vtk.js](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142)

<div class="topic-metadata">

**Author:** [@ranjeet\_aey](https://discourse.vtk.org/u/ranjeet_aey)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 5:45pm UTC](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142 "2023-08-14T17:45:44Z")

</div>

I’m trying to implement unit testing for my vtk.js code but not able to perform it for loading stl models. Is there any example for unit testing in vtk.js

---

## [Rebase any topic created before 2023.07.25](https://discourse.vtk.org/t/rebase-any-topic-created-before-2023-07-25/12093)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 9:58pm UTC](https://discourse.vtk.org/t/rebase-any-topic-created-before-2023-07-25/12093 "2023-08-07T21:58:41Z")

</div>

Following the introduction of the SPDX related improvements (MR-10320), it is now required to rebase existing topics. Failure to do so will lead in KitwareRobot reporting CI has not completed successfully; please see th…

---

## [How to keep the texture clear while moving camera towards it](https://discourse.vtk.org/t/how-to-keep-the-texture-clear-while-moving-camera-towards-it/12111)

<div class="topic-metadata">

**Author:** [@LiuEECS](https://discourse.vtk.org/u/LiuEECS)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 10:08am UTC](https://discourse.vtk.org/t/how-to-keep-the-texture-clear-while-moving-camera-towards-it/12111 "2023-08-07T10:08:31Z")

</div>

I use the given example file RectGrid2.vtk as input file, and I construct a capping cylidner in the input file’s coordinates using a vtkImplicitBoolean as vtkActor’s input.But I find the texture of the cylinder is not cl…

---

## [Interpolation On Points](https://discourse.vtk.org/t/interpolation-on-points/12102)

<div class="topic-metadata">

**Author:** [@A.M\_Shahpouri](https://discourse.vtk.org/u/A.M_Shahpouri)\
**Replies:** 0\
**Last updated:** [August 5, 2023, 2:22pm UTC](https://discourse.vtk.org/t/interpolation-on-points/12102 "2023-08-05T14:22:25Z")

</div>

Hello I have a vtkImagedata (in this code : ContourData) which the value of inside points have 100 and on border 200 and outsides are 0. vtkNew\<vtkImageResliceMapper\> ContoureResliceMappers; ContoureResliceMappers-\>Set…

---

## [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…

---

## [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…

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

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