# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=119

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

**Page:** 120

---

## [Porting FreeCAD to VTK 9.0](https://discourse.vtk.org/t/porting-freecad-to-vtk-9-0/4404)

<div class="topic-metadata">

**Author:** [@Richard\_Shaw](https://discourse.vtk.org/u/Richard_Shaw)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 8:13pm UTC](https://discourse.vtk.org/t/porting-freecad-to-vtk-9-0/4404 "2020-10-12T20:13:05Z")

</div>

I’m only the Fedora packager for FreeCAD and amateur C++ programmer, but I am asking if we can get some help porting FreeCAD to VTK 9.0 I think we have it down to just a few problem areas. Please see the thread\[1\] in th…

---

## [Test interaction](https://discourse.vtk.org/t/test-interaction/4223)

<div class="topic-metadata">

**Author:** [@aeslaughter](https://discourse.vtk.org/u/aeslaughter)\
**Replies:** 1\
**Last updated:** [October 9, 2020, 4:51pm UTC](https://discourse.vtk.org/t/test-interaction/4223 "2020-10-09T16:51:01Z")

</div>

How can you simulate mouse and button presses correctly to test custom interaction? I would like to output an image, simulate mouse/buttons etc., then output another image so I can test that custom interaction commands …

---

## [vtkSphereWidget2 in vtkGenericOpenGLRenderWindow](https://discourse.vtk.org/t/vtkspherewidget2-in-vtkgenericopenglrenderwindow/4379)

<div class="topic-metadata">

**Author:** [@mallikarjun49](https://discourse.vtk.org/u/mallikarjun49)\
**Replies:** 5\
**Last updated:** [October 9, 2020, 5:02am UTC](https://discourse.vtk.org/t/vtkspherewidget2-in-vtkgenericopenglrenderwindow/4379 "2020-10-09T05:02:51Z")

</div>

Hi, I am trying to use vtkGenericOpenGLRenderWindow instead of vtkRenderWindow in the example given for VtkSphereWidget2(https://lorensen.github.io/VTKExamples/site/Cxx/Widgets/SphereWidget2/) ,I don’t see any renderWin…

---

## [VTK Build in ios OpenGL Error 1282](https://discourse.vtk.org/t/vtk-build-in-ios-opengl-error-1282/4304)

<div class="topic-metadata">

**Author:** [@wonki](https://discourse.vtk.org/u/wonki)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 5:52pm UTC](https://discourse.vtk.org/t/vtk-build-in-ios-opengl-error-1282/4304 "2020-10-08T17:52:16Z")

</div>

Hello~ I’m freshman at researching volume rendering of medical data. I’m stuck at error of opengl long time… Help me please. Build VTK Tag 8.2 for ios by cmake. I set the build option like this VTK\_IOS\_BUILD to true …

---

## [Blank image with vtkImageMapToColors, works in vtk8](https://discourse.vtk.org/t/blank-image-with-vtkimagemaptocolors-works-in-vtk8/4374)

<div class="topic-metadata">

**Author:** [@Nil](https://discourse.vtk.org/u/Nil)\
**Replies:** 5\
**Last updated:** [October 8, 2020, 4:21pm UTC](https://discourse.vtk.org/t/blank-image-with-vtkimagemaptocolors-works-in-vtk8/4374 "2020-10-08T16:21:45Z")

</div>

This code, based on the ImageMapToColors example, does what I want in vtk8, but it produces a blank image on vtk9. width = 15 height = 15 data = np.arange(width \* height, dtype='float32').reshape((width, height)) data\_…

---

## [VTK uses hard-coded path to freetype.so resulting in failure of cross-compiling](https://discourse.vtk.org/t/vtk-uses-hard-coded-path-to-freetype-so-resulting-in-failure-of-cross-compiling/4377)

<div class="topic-metadata">

**Author:** [@left4taco](https://discourse.vtk.org/u/left4taco)\
**Replies:** 1\
**Last updated:** [October 8, 2020, 1:59pm UTC](https://discourse.vtk.org/t/vtk-uses-hard-coded-path-to-freetype-so-resulting-in-failure-of-cross-compiling/4377 "2020-10-08T13:59:19Z")

</div>

Hi there. Recently we started using PCL in our application. Everything worked well on the x86\_64 side. Our next step is to cross-compile our application to aarch64 and this is where the problem raised. A little backgro…

---

## [Half border pixels in viewer](https://discourse.vtk.org/t/half-border-pixels-in-viewer/4371)

<div class="topic-metadata">

**Author:** [@Nil](https://discourse.vtk.org/u/Nil)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 3:27pm UTC](https://discourse.vtk.org/t/half-border-pixels-in-viewer/4371 "2020-10-07T15:27:45Z")

</div>

Wanting to understand why there are thin/half border voxels in the viewer, I filled this bug report 3 months ago. Moreover, I just found the ImageMapToColors example which shows the same behavior. tl;dr as we can see in …

---

## [Storing Meta data with a vtk file](https://discourse.vtk.org/t/storing-meta-data-with-a-vtk-file/4373)

<div class="topic-metadata">

**Author:** [@jrwrigh](https://discourse.vtk.org/u/jrwrigh)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 3:20pm UTC](https://discourse.vtk.org/t/storing-meta-data-with-a-vtk-file/4373 "2020-10-07T15:20:30Z")

</div>

I’ve written a suite of tools that take in raw arrays of data from a file, combine it with an associated mesh, and then write out a vtk file. I’d like to write meta data to the output vtk file that says where the origina…

---

## [vtk 9.0 hangs with visual c++2015 hanging in building code](https://discourse.vtk.org/t/vtk-9-0-hangs-with-visual-c-2015-hanging-in-building-code/4359)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 7\
**Last updated:** [October 7, 2020, 7:48am UTC](https://discourse.vtk.org/t/vtk-9-0-hangs-with-visual-c-2015-hanging-in-building-code/4359 "2020-10-07T07:48:33Z")

</div>

Hello, I have a doubt to upgrade my project to vtk 9.0. It was working all well with vtk 8.11. Then I compiled all in vtk 9 and itk 4 again. The build is correct and I changed the cmake of my project as: find\_package(…

---

## [Is there any tools to find correspondence between two meshes in vtk?](https://discourse.vtk.org/t/is-there-any-tools-to-find-correspondence-between-two-meshes-in-vtk/4341)

<div class="topic-metadata">

**Author:** [@xiaozhi\_zhu](https://discourse.vtk.org/u/xiaozhi_zhu)\
**Replies:** 5\
**Last updated:** [October 6, 2020, 7:55pm UTC](https://discourse.vtk.org/t/is-there-any-tools-to-find-correspondence-between-two-meshes-in-vtk/4341 "2020-10-06T19:55:51Z")

</div>

Hi everyone, I am a beginner in this area and hope to find some help here. Currently, I try to find a point-to-point correspondence between two meshes with each one being a 3D mesh of vascular. Two meshes are from diffe…

---

## [Deleting vertices based on normal vector](https://discourse.vtk.org/t/deleting-vertices-based-on-normal-vector/4362)

<div class="topic-metadata">

**Author:** [@rjs44](https://discourse.vtk.org/u/rjs44)\
**Replies:** 5\
**Last updated:** [October 6, 2020, 6:26pm UTC](https://discourse.vtk.org/t/deleting-vertices-based-on-normal-vector/4362 "2020-10-06T18:26:09Z")

</div>

I have a triangular mesh containing vertices that I would like to filter. I am able to filter based on the scalar values of the mean curvature, using vtkThreshold with Python3: curvatureFilter = vtk.vtkCurvatures() curv…

---

## [vtk lighting problem when source inside an object](https://discourse.vtk.org/t/vtk-lighting-problem-when-source-inside-an-object/4329)

<div class="topic-metadata">

**Author:** [@archimedes](https://discourse.vtk.org/u/archimedes)\
**Replies:** 3\
**Last updated:** [October 6, 2020, 5:49pm UTC](https://discourse.vtk.org/t/vtk-lighting-problem-when-source-inside-an-object/4329 "2020-10-06T17:49:00Z")

</div>

On my Pythgon38 Windows10 platform, I am rejigging my solarsystem simulator from OpenGL to VTK. To illuminate the scene from the origin, I have placed a pair of 180deg coned spotlights back to back. With the help of co…

---

## [vtkDistributedDataFilter hangs when used with SetMinimumGhostLevel to 1](https://discourse.vtk.org/t/vtkdistributeddatafilter-hangs-when-used-with-setminimumghostlevel-to-1/4364)

<div class="topic-metadata">

**Author:** [@myousefi2016](https://discourse.vtk.org/u/myousefi2016)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 4:08pm UTC](https://discourse.vtk.org/t/vtkdistributeddatafilter-hangs-when-used-with-setminimumghostlevel-to-1/4364 "2020-10-06T16:08:51Z")

</div>

I’m trying to distribute my vtkUnstructuredGrid objects that are in the order of 1 GB ~ 10 GB by using vtkDistributedDataFilter. It’s interesting that I don’t have any problem with small files by using the same pipeline …

---

## [How to get the world coordinate along with a mouse cursor.](https://discourse.vtk.org/t/how-to-get-the-world-coordinate-along-with-a-mouse-cursor/4355)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 1:01am UTC](https://discourse.vtk.org/t/how-to-get-the-world-coordinate-along-with-a-mouse-cursor/4355 "2020-10-06T01:01:04Z")

</div>

Hi All. I have a question about how to get the world coordinate along with a mouse cursor. □ Background: I’m using the vtkRenderWindow to the Picture control on the MFC project. And I’m trying to get the world coordi…

---

## [How to define a semitransparent mask instead of transparent](https://discourse.vtk.org/t/how-to-define-a-semitransparent-mask-instead-of-transparent/4330)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 5\
**Last updated:** [October 5, 2020, 9:19am UTC](https://discourse.vtk.org/t/how-to-define-a-semitransparent-mask-instead-of-transparent/4330 "2020-10-05T09:19:24Z")

</div>

Hello, I have a doubt. I have a volume and I add seeds to apply region growing and those areas selected become transparent by adding the mask in vtkGPUVolumeRayCastMapper. It works well. But I wonder if there is an opti…

---

## [Slice from vtkImagereslice has additional black edges](https://discourse.vtk.org/t/slice-from-vtkimagereslice-has-additional-black-edges/4333)

<div class="topic-metadata">

**Author:** [@Amnesie](https://discourse.vtk.org/u/Amnesie)\
**Replies:** 13\
**Last updated:** [October 4, 2020, 10:42pm UTC](https://discourse.vtk.org/t/slice-from-vtkimagereslice-has-additional-black-edges/4333 "2020-10-04T22:42:16Z")

</div>

Hi eveyone, I have a 3D-volume ,its size is as following: witdth:180mm,X height:100mm,Y depth:300 mm,Z it likes a fallen cuboid. At begining camera faces to xy-plane which means 180\*100 mm. Now I want to extract a…

---

## [SSAO square artifacts & shimmer](https://discourse.vtk.org/t/ssao-square-artifacts-shimmer/4352)

<div class="topic-metadata">

**Author:** [@fraseyboo](https://discourse.vtk.org/u/fraseyboo)\
**Replies:** 0\
**Last updated:** [October 4, 2020, 7:31pm UTC](https://discourse.vtk.org/t/ssao-square-artifacts-shimmer/4352 "2020-10-04T19:31:27Z")

</div>

So I’m implementing some of the more advanced rendering techniques exposed with the release of VTK 9.0 and whilst a lot of the Physically Based Rendering works incredibly well I’m currently experiencing an issue with the…

---

## [vtkMarchingCubes / vtkDiscreteMarchingCubes does not produce a closed mesh surface](https://discourse.vtk.org/t/vtkmarchingcubes-vtkdiscretemarchingcubes-does-not-produce-a-closed-mesh-surface/4312)

<div class="topic-metadata">

**Author:** [@bertikrueger](https://discourse.vtk.org/u/bertikrueger)\
**Replies:** 5\
**Last updated:** [October 4, 2020, 4:40am UTC](https://discourse.vtk.org/t/vtkmarchingcubes-vtkdiscretemarchingcubes-does-not-produce-a-closed-mesh-surface/4312 "2020-10-04T04:40:05Z")

</div>

Hello Everyone. I have a simple three dimensional vtkImageData object representing a voxelgrid: If a voxel at an index (i, j, k) is set, the entry is 1 ( voxelImageData\[idx(x, y, z)\] = 1), if the voxel at this index …

---

## [Extract polydata attributes 2D view/render/capture screenshot](https://discourse.vtk.org/t/extract-polydata-attributes-2d-view-render-capture-screenshot/4291)

<div class="topic-metadata">

**Author:** [@Juan\_C\_Prieto](https://discourse.vtk.org/u/Juan_C_Prieto)\
**Replies:** 2\
**Last updated:** [October 4, 2020, 4:00am UTC](https://discourse.vtk.org/t/extract-polydata-attributes-2d-view-render-capture-screenshot/4291 "2020-10-04T04:00:26Z")

</div>

Hello, I am trying to extract polydata attributes and save them in 2D images. In other words, take an input mesh and generate renderings from different view points. I use the vtkCellLocator to find intersections using …

---

## [3dConnexion (TDx) support in VTK on Windows?](https://discourse.vtk.org/t/3dconnexion-tdx-support-in-vtk-on-windows/1645)

<div class="topic-metadata">

**Author:** [@geoffw](https://discourse.vtk.org/u/geoffw)\
**Replies:** 5\
**Last updated:** [October 4, 2020, 2:37am UTC](https://discourse.vtk.org/t/3dconnexion-tdx-support-in-vtk-on-windows/1645 "2020-10-04T02:37:30Z")

</div>

Hi, We are very interested in using 3DConnexion’s 3d mice in our software. I was excited to find that it was supported in vtk. However, looking at the build files, it seems perhaps it is not supported on windows. Settin…

---

## [Questions about using vtkOpenGLHardwareSelector](https://discourse.vtk.org/t/questions-about-using-vtkopenglhardwareselector/4334)

<div class="topic-metadata">

**Author:** [@geoffw](https://discourse.vtk.org/u/geoffw)\
**Replies:** 2\
**Last updated:** [October 4, 2020, 2:36am UTC](https://discourse.vtk.org/t/questions-about-using-vtkopenglhardwareselector/4334 "2020-10-04T02:36:05Z")

</div>

Hi, We are using vtkOPenGLHardwareSelector as a base class for our own hardware cell picker. (While it seems like there are some hardware-accelerated prop pickers, we don’t see a hardware cell picker, so we wrote our ow…

---

## [VTK 9.0 Offscreen Rendering](https://discourse.vtk.org/t/vtk-9-0-offscreen-rendering/3379)

<div class="topic-metadata">

**Author:** [@akaszynski](https://discourse.vtk.org/u/akaszynski)\
**Replies:** 1\
**Last updated:** [October 4, 2020, 1:31am UTC](https://discourse.vtk.org/t/vtk-9-0-offscreen-rendering/3379 "2020-10-04T01:31:49Z")

</div>

Hello, I’m seeing a significant slowdown when rending offscreen with VTK 9.0: ren\_win.SetOffScreenRendering(1) The rendered image looks better than the ones from \<VTK9.0, however for testing purposes the renders are t…

---

## [Trying to render a series of dicom images belongs to MRI and Fluorescence but i am getting just white screen](https://discourse.vtk.org/t/trying-to-render-a-series-of-dicom-images-belongs-to-mri-and-fluorescence-but-i-am-getting-just-white-screen/4338)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 9\
**Last updated:** [October 3, 2020, 12:42pm UTC](https://discourse.vtk.org/t/trying-to-render-a-series-of-dicom-images-belongs-to-mri-and-fluorescence-but-i-am-getting-just-white-screen/4338 "2020-10-03T12:42:11Z")

</div>

Hello there, I wrote a simple program to render a series of dicom images and it shows a good result for a CT images (exp: CT.dcm) but when i run the same code for series of MRI (MRI.dcm) or Fluorescence (F.dcm) images, …

---

## [Project build fails when CUDA compiler is used](https://discourse.vtk.org/t/project-build-fails-when-cuda-compiler-is-used/4342)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 0\
**Last updated:** [October 3, 2020, 9:33am UTC](https://discourse.vtk.org/t/project-build-fails-when-cuda-compiler-is-used/4342 "2020-10-03T09:33:22Z")

</div>

Hello, When I try to compile my Qt/VTK project with CUDA enabled I get following errors. VTK has enabled VTKm modules, both VTK and VTK-m are on the most recent master-commit. VTK: 84a585724586b265065f6c47332c4b928e31…

---

## [Enabling Cuda throws error in VTK Build via VS2017](https://discourse.vtk.org/t/enabling-cuda-throws-error-in-vtk-build-via-vs2017/3843)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 24\
**Last updated:** [October 1, 2020, 6:08pm UTC](https://discourse.vtk.org/t/enabling-cuda-throws-error-in-vtk-build-via-vs2017/3843 "2020-10-01T18:08:45Z")

</div>

Hello When I build VTK (VTKm and AcceleratorsVTKm enabled) with following options set in CMake on Windows using Visual Studio 2017 Community the build crashes with an error directive: Error: When VTK-m is built with CU…

---

## [ExtractSurface: does resulting mesh fit the points exactly?](https://discourse.vtk.org/t/extractsurface-does-resulting-mesh-fit-the-points-exactly/4336)

<div class="topic-metadata">

**Author:** [@marcSteiner](https://discourse.vtk.org/u/marcSteiner)\
**Replies:** 0\
**Last updated:** [October 2, 2020, 6:42am UTC](https://discourse.vtk.org/t/extractsurface-does-resulting-mesh-fit-the-points-exactly/4336 "2020-10-02T06:42:09Z")

</div>

Hi there, I have a point set I wish to triangulate. Do the VTK methods {ExtractSurface, Poisson, Powercrust} create meshes that go exactly through the input points? Also, my point set has a rather complex topology: it r…

---

## [Disabling Rotate and Zoom in vtkInteractorStyleImage](https://discourse.vtk.org/t/disabling-rotate-and-zoom-in-vtkinteractorstyleimage/4327)

<div class="topic-metadata">

**Author:** [@frenchnq](https://discourse.vtk.org/u/frenchnq)\
**Replies:** 7\
**Last updated:** [October 2, 2020, 2:01am UTC](https://discourse.vtk.org/t/disabling-rotate-and-zoom-in-vtkinteractorstyleimage/4327 "2020-10-02T02:01:05Z")

</div>

I’m working on a C# window forms project and trying to disable the zoom and rotate methods of my rendered window. I’m currently using the vtkInteractorStyleImage for my interactor, but haven’t been successful in overrid…

---

## [how to get difference between two volumetric meshes to calculate the deformation distance for each node](https://discourse.vtk.org/t/how-to-get-difference-between-two-volumetric-meshes-to-calculate-the-deformation-distance-for-each-node/4325)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 1\
**Last updated:** [October 1, 2020, 9:35pm UTC](https://discourse.vtk.org/t/how-to-get-difference-between-two-volumetric-meshes-to-calculate-the-deformation-distance-for-each-node/4325 "2020-10-01T21:35:26Z")

</div>

I have created a volumetric mesh using gmsh and then exported it as a .vtk file format (i.e. as an unstructured grid). Then fed this into a vtk program and add different deformations (i.e. scaling, rotate, translation) t…

---

## [Crash Using Vtk in QML](https://discourse.vtk.org/t/crash-using-vtk-in-qml/4250)

<div class="topic-metadata">

**Author:** [@eustache](https://discourse.vtk.org/u/eustache)\
**Replies:** 2\
**Last updated:** [October 1, 2020, 1:51pm UTC](https://discourse.vtk.org/t/crash-using-vtk-in-qml/4250 "2020-10-01T13:51:06Z")

</div>

When migrating from qt5.9 vtk8 ubuntu 16 to qt5.15 vtk8 ubuntu 20 we started to have crashes within VTK when rendering the scene. We are using Using vtk debug it looks like it’s pointing to this line: https://gitla…

---

## [Extract Surface from a signed distance field](https://discourse.vtk.org/t/extract-surface-from-a-signed-distance-field/4332)

<div class="topic-metadata">

**Author:** [@a-jp1](https://discourse.vtk.org/u/a-jp1)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 12:39pm UTC](https://discourse.vtk.org/t/extract-surface-from-a-signed-distance-field/4332 "2020-10-01T12:39:19Z")

</div>

Hi, I have some code given to me that provides the signed distance at the cell centres of an unstructured mesh, the signed distance represents the distance to the surface of some initial geometry, also provided. I’ve b…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=118)

[Next page](https://discourse.vtk.org/c/support/6.md?page=120)
