# Support

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

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

**Page:** 142

---

## ["Solidification algorithm" with fill holes filter issue -- Python](https://discourse.vtk.org/t/solidification-algorithm-with-fill-holes-filter-issue-python/2508)

<div class="topic-metadata">

**Author:** [@pierrou28](https://discourse.vtk.org/u/pierrou28)\
**Replies:** 2\
**Last updated:** [January 28, 2020, 3:22pm UTC](https://discourse.vtk.org/t/solidification-algorithm-with-fill-holes-filter-issue-python/2508 "2020-01-28T15:22:13Z")

</div>

Hello everyone, I’m new to VTK, I want to create a “Solidification Algorithm” to close a surface using Fill Holes Filter. My problem is that the filter seems to be apply only on each polydata even after the merge. I’v…

---

## [Extract Voxel Information From vtkVoxelModeller](https://discourse.vtk.org/t/extract-voxel-information-from-vtkvoxelmodeller/2492)

<div class="topic-metadata">

**Author:** [@chris](https://discourse.vtk.org/u/chris)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 7:41pm UTC](https://discourse.vtk.org/t/extract-voxel-information-from-vtkvoxelmodeller/2492 "2020-01-27T19:41:58Z")

</div>

Hey at all, i’m new here and i don’t know if this is the right place for my question. But i googled now for several days and can’t find a solution. So i’m stuck without help … My task is to (3D)-voxel a simple mesh and…

---

## [Docs for python wrapper](https://discourse.vtk.org/t/docs-for-python-wrapper/2497)

<div class="topic-metadata">

**Author:** [@JDJD](https://discourse.vtk.org/u/JDJD)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 7:12pm UTC](https://discourse.vtk.org/t/docs-for-python-wrapper/2497 "2020-01-27T19:12:30Z")

</div>

Does anyone know where I can find the docs for the VTK Python wrapper? I can only find docs for the C++ version and installation instructions for the python wrapper!

---

## [Custom ParticleReader?](https://discourse.vtk.org/t/custom-particlereader/2473)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.vtk.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [January 26, 2020, 3:30pm UTC](https://discourse.vtk.org/t/custom-particlereader/2473 "2020-01-26T15:30:25Z")

</div>

Hello! I am new to this forum and new to C programming in general, but having a lot of fun, so please bear with me. Currently I am working with this great example: https://lorensen.github.io/VTKExamples/site/Cxx/IO/Pa…

---

## [How to select Serial/TBB/CUDA devices when using the vtkm Accelerators in vtk?](https://discourse.vtk.org/t/how-to-select-serial-tbb-cuda-devices-when-using-the-vtkm-accelerators-in-vtk/2487)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 5\
**Last updated:** [January 25, 2020, 12:02pm UTC](https://discourse.vtk.org/t/how-to-select-serial-tbb-cuda-devices-when-using-the-vtkm-accelerators-in-vtk/2487 "2020-01-25T12:02:02Z")

</div>

Hello, I’m using the vtkm Accelerators in vtk but I can’t find a way to select which device (Serial/TBB/Cuda) the filters should use. In vtkm I use the following approach (The code snipped below shows how I select the …

---

## [Seed widget with custom callback to get coordinates of dicom images](https://discourse.vtk.org/t/seed-widget-with-custom-callback-to-get-coordinates-of-dicom-images/2484)

<div class="topic-metadata">

**Author:** [@Pooja](https://discourse.vtk.org/u/Pooja)\
**Replies:** 1\
**Last updated:** [January 25, 2020, 11:50am UTC](https://discourse.vtk.org/t/seed-widget-with-custom-callback-to-get-coordinates-of-dicom-images/2484 "2020-01-25T11:50:31Z")

</div>

Hello, I need to get coordinates of dicom image using VTK and QT. I tried SeedWidgetWithCustomCallback example from VTK examples. It gives me x, y coordinates of QWidget render window (OVTKWidget or QVTKOpengl). My di…

---

## [Seed Widget and Seed Representation](https://discourse.vtk.org/t/seed-widget-and-seed-representation/2475)

<div class="topic-metadata">

**Author:** [@MarKara](https://discourse.vtk.org/u/MarKara)\
**Replies:** 2\
**Last updated:** [January 25, 2020, 1:51am UTC](https://discourse.vtk.org/t/seed-widget-and-seed-representation/2475 "2020-01-25T01:51:06Z")

</div>

Hi vtk users and developers I’m using Seed widget to create and move points around. The problem is point picking after they are created. If I have two points close next to each other (they don’t overlap) and press on th…

---

## [Receive the click-event made on a ControlPoint defining a ColorTransferFunction](https://discourse.vtk.org/t/receive-the-click-event-made-on-a-controlpoint-defining-a-colortransferfunction/2486)

<div class="topic-metadata">

**Author:** [@MissMac](https://discourse.vtk.org/u/MissMac)\
**Replies:** 0\
**Last updated:** [January 23, 2020, 2:36pm UTC](https://discourse.vtk.org/t/receive-the-click-event-made-on-a-controlpoint-defining-a-colortransferfunction/2486 "2020-01-23T14:36:29Z")

</div>

Hello there, I would like to be able to perform different tasks, depending on how the user clicks on a control point used define a ColorTransferfunction in a XYChart? Adding an Observer works to receive the CurrentPoin…

---

## [Tetrahedra intersection](https://discourse.vtk.org/t/tetrahedra-intersection/2479)

<div class="topic-metadata">

**Author:** [@Fabio](https://discourse.vtk.org/u/Fabio)\
**Replies:** 3\
**Last updated:** [January 22, 2020, 4:39pm UTC](https://discourse.vtk.org/t/tetrahedra-intersection/2479 "2020-01-22T16:39:12Z")

</div>

Hi, how can I intersect two tetrahedra with vtk? (if it is possible …)

---

## [Can I set a surface thickness just like the solidify in blender software?](https://discourse.vtk.org/t/can-i-set-a-surface-thickness-just-like-the-solidify-in-blender-software/2458)

<div class="topic-metadata">

**Author:** [@3dprintingdoctor](https://discourse.vtk.org/u/3dprintingdoctor)\
**Replies:** 3\
**Last updated:** [January 20, 2020, 11:26pm UTC](https://discourse.vtk.org/t/can-i-set-a-surface-thickness-just-like-the-solidify-in-blender-software/2458 "2020-01-20T23:26:56Z")

</div>

Can I set a surface thickness just like the solidify in blender software?

---

## [Getting original image coordinates from vtkimagereslice output](https://discourse.vtk.org/t/getting-original-image-coordinates-from-vtkimagereslice-output/2123)

<div class="topic-metadata">

**Author:** [@Sateesh.m](https://discourse.vtk.org/u/Sateesh.m)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 9:40pm UTC](https://discourse.vtk.org/t/getting-original-image-coordinates-from-vtkimagereslice-output/2123 "2020-01-20T21:40:11Z")

</div>

Hi, My goal is to get the coordinates of image after using vtkresliceimage. My steps: Used vtkresliceimageviewer to display images in axial, sagittal, coronal orientation. Using vtkimagereslice class outputs from…

---

## [How can I split a polyline into its linear segments?](https://discourse.vtk.org/t/how-can-i-split-a-polyline-into-its-linear-segments/2434)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 6\
**Last updated:** [January 20, 2020, 8:12pm UTC](https://discourse.vtk.org/t/how-can-i-split-a-polyline-into-its-linear-segments/2434 "2020-01-20T20:12:51Z")

</div>

A simple question that hopefully can be answered with a single link: How to split a polyline into its n linear segments? Let’s be given a polyline like the one that results from the PolyLine example. Is there a vtk fil…

---

## [How to configure cmake to include Accelerators?](https://discourse.vtk.org/t/how-to-configure-cmake-to-include-accelerators/2452)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 7\
**Last updated:** [January 20, 2020, 7:53pm UTC](https://discourse.vtk.org/t/how-to-configure-cmake-to-include-accelerators/2452 "2020-01-20T19:53:59Z")

</div>

I’m trying to use the vtkm accelerators in my VS2017 project but I’m having difficulty figuring out how to configure cmake… Background, I built vtk from a git clone of master and include the Accelerators and TBB. Thi…

---

## [Internal Compiler Error building vtk on Windows](https://discourse.vtk.org/t/internal-compiler-error-building-vtk-on-windows/2423)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 8\
**Last updated:** [January 20, 2020, 7:40pm UTC](https://discourse.vtk.org/t/internal-compiler-error-building-vtk-on-windows/2423 "2020-01-20T19:40:19Z")

</div>

Hello, I am building vtk from git clone on Windows using VS2017 and I’m getting a ‘C1001 - An internal compiler error has occurred in the compiler’ error in tracer.hpp while building the IOMotionFX project. The error …

---

## [Update vtkSelectVisiblePoints filter](https://discourse.vtk.org/t/update-vtkselectvisiblepoints-filter/2454)

<div class="topic-metadata">

**Author:** [@michael23](https://discourse.vtk.org/u/michael23)\
**Replies:** 2\
**Last updated:** [January 20, 2020, 11:26am UTC](https://discourse.vtk.org/t/update-vtkselectvisiblepoints-filter/2454 "2020-01-20T11:26:25Z")

</div>

Hello, I am using vtkSelectVisiblePoints and vtkLabeledDataMapper to label visible points. Unfortunately, the labels actor with the vtkSelectVisiblePoints filter must be added last to the renderer in order to get the c…

---

## [Can I calculate the normal of a closed area](https://discourse.vtk.org/t/can-i-calculate-the-normal-of-a-closed-area/2457)

<div class="topic-metadata">

**Author:** [@3dprintingdoctor](https://discourse.vtk.org/u/3dprintingdoctor)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 4:00am UTC](https://discourse.vtk.org/t/can-i-calculate-the-normal-of-a-closed-area/2457 "2020-01-20T04:00:13Z")

</div>

Can I calculate the normal of a closed 3d area. Such as the picked area from a sphere.

---

## [vtkXdmfReader not working in Python on Ubuntu](https://discourse.vtk.org/t/vtkxdmfreader-not-working-in-python-on-ubuntu/2450)

<div class="topic-metadata">

**Author:** [@Patrick\_Mineault](https://discourse.vtk.org/u/Patrick_Mineault)\
**Replies:** 1\
**Last updated:** [January 19, 2020, 1:16am UTC](https://discourse.vtk.org/t/vtkxdmfreader-not-working-in-python-on-ubuntu/2450 "2020-01-19T01:16:27Z")

</div>

I am trying to use the vtkXdmfReader in Python to read a file. I was able to make this work on Windows with a pre-built Windows version of vtk without a hitch. Now I am trying this on Ubuntu and although vtk and its pyt…

---

## [compatibility between vtk8.1 and Ubuntu14](https://discourse.vtk.org/t/compatibility-between-vtk8-1-and-ubuntu14/2445)

<div class="topic-metadata">

**Author:** [@Charles\_Chen](https://discourse.vtk.org/u/Charles_Chen)\
**Replies:** 2\
**Last updated:** [January 17, 2020, 9:32am UTC](https://discourse.vtk.org/t/compatibility-between-vtk8-1-and-ubuntu14/2445 "2020-01-17T09:32:12Z")

</div>

Hi all, I’d like to know if VTK-8.1 can work on Ubuntu 14, or where can I find the compatibility matrix between VTK and Ubuntu? Thanks in advance~

---

## [vtkStripper not joining contiguous lines to form a single vtkPolyLine.](https://discourse.vtk.org/t/vtkstripper-not-joining-contiguous-lines-to-form-a-single-vtkpolyline/2402)

<div class="topic-metadata">

**Author:** [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Replies:** 3\
**Last updated:** [January 16, 2020, 5:11pm UTC](https://discourse.vtk.org/t/vtkstripper-not-joining-contiguous-lines-to-form-a-single-vtkpolyline/2402 "2020-01-16T17:11:46Z")

</div>

Here is the rendering of three vtkLines: Now I use vtkStripper in the hopes of getting a single vtkPolyLine: vtkSmartPointer\<vtkPolyData\> poly = vtkSmartPointer\<vtkPolyData\>::New(); poly-\>SetPoints( points );…

---

## [VTK with PySide2 is not working](https://discourse.vtk.org/t/vtk-with-pyside2-is-not-working/2439)

<div class="topic-metadata">

**Author:** [@ian.liu88](https://discourse.vtk.org/u/ian.liu88)\
**Replies:** 1\
**Last updated:** [January 16, 2020, 3:03pm UTC](https://discourse.vtk.org/t/vtk-with-pyside2-is-not-working/2439 "2020-01-16T15:03:10Z")

</div>

The following example is not working properly: import sys import PySide2 from PySide2.QtWidgets import QApplication from vtkmodules.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor from vtkmodules.vtkFilt…

---

## [How to change the colors of objects in VTK when using vtkAppendPolyData?](https://discourse.vtk.org/t/how-to-change-the-colors-of-objects-in-vtk-when-using-vtkappendpolydata/2431)

<div class="topic-metadata">

**Author:** [@ymmx](https://discourse.vtk.org/u/ymmx)\
**Replies:** 3\
**Last updated:** [January 16, 2020, 10:29am UTC](https://discourse.vtk.org/t/how-to-change-the-colors-of-objects-in-vtk-when-using-vtkappendpolydata/2431 "2020-01-16T10:29:53Z")

</div>

I’m trying to modify the color of each object that I’ve placed in a vtkAppendPolyData but I get weird colors. I mean the object is not in one color but each face of it has a different color. I would like to have one c…

---

## [centos7 vtkOpenGLRenderWindow cmake error](https://discourse.vtk.org/t/centos7-vtkopenglrenderwindow-cmake-error/2280)

<div class="topic-metadata">

**Author:** [@yan](https://discourse.vtk.org/u/yan)\
**Replies:** 1\
**Last updated:** [January 16, 2020, 6:46am UTC](https://discourse.vtk.org/t/centos7-vtkopenglrenderwindow-cmake-error/2280 "2020-01-16T06:46:21Z")

</div>

hello, when i ccmake 8.2.0 with offscreen window in centos7. i install freeglut and osmesa, ccmake some configure: VTK\_HAS\_OSMESA=ON VTK\_OPENGL\_HAS\_EGL = ON VTK\_OPENGL\_USE\_GLES = ON VTK\_PYTHON\_VERSION =3.6 VTK\_MODUL…

---

## [vtkCornerAnnotation and tabulation](https://discourse.vtk.org/t/vtkcornerannotation-and-tabulation/2428)

<div class="topic-metadata">

**Author:** [@Romain](https://discourse.vtk.org/u/Romain)\
**Replies:** 0\
**Last updated:** [January 15, 2020, 10:48am UTC](https://discourse.vtk.org/t/vtkcornerannotation-and-tabulation/2428 "2020-01-15T10:48:13Z")

</div>

Hi, I create a vtkCornerAnnotation with some text including tabulation but the tabulation are not shown. This an example how I use vtkCornerAnnoation: std::stringstring ss; ss \<\< u8"My perfect text with some \\t tabula…

---

## [VTK is slow when I have a lot of actors (\>10000)](https://discourse.vtk.org/t/vtk-is-slow-when-i-have-a-lot-of-actors-10000/2421)

<div class="topic-metadata">

**Author:** [@ymmx](https://discourse.vtk.org/u/ymmx)\
**Replies:** 3\
**Last updated:** [January 15, 2020, 9:11am UTC](https://discourse.vtk.org/t/vtk-is-slow-when-i-have-a-lot-of-actors-10000/2421 "2020-01-15T09:11:33Z")

</div>

I’m trying to display a lot of actors in VTK but the rendering is very slow. I’m wondering if I used VTK correctly to display that much actors. In the code I have a mouse interactor which change the color of the selec…

---

## [Tick lines with vtkScalarBarActor](https://discourse.vtk.org/t/tick-lines-with-vtkscalarbaractor/2268)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 6\
**Last updated:** [January 15, 2020, 3:27am UTC](https://discourse.vtk.org/t/tick-lines-with-vtkscalarbaractor/2268 "2020-01-15T03:27:36Z")

</div>

Is it possible to draw tick lines with the vtkScalarBarActor? Every example I’ve seen with VTK does not have tick lines. It’s odd to me that the method vtkScalarBarActor.SetDrawTickLabels exists to draw the labels but no…

---

## [How to remove artifact patches from a surface mesh?](https://discourse.vtk.org/t/how-to-remove-artifact-patches-from-a-surface-mesh/2376)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 3\
**Last updated:** [January 15, 2020, 12:06am UTC](https://discourse.vtk.org/t/how-to-remove-artifact-patches-from-a-surface-mesh/2376 "2020-01-15T00:06:03Z")

</div>

Happy New Year, to whom it applies! :champagne: I occasionally come across artifacts as indicated by the yellow ellipse below: Small surface patches that are connected with the main surface body by a single point only. …

---

## [Error using VTK with PyInstaller](https://discourse.vtk.org/t/error-using-vtk-with-pyinstaller/1625)

<div class="topic-metadata">

**Author:** [@Antoine](https://discourse.vtk.org/u/Antoine)\
**Replies:** 5\
**Last updated:** [January 14, 2020, 1:54pm UTC](https://discourse.vtk.org/t/error-using-vtk-with-pyinstaller/1625 "2020-01-14T13:54:02Z")

</div>

Hello, I have an application in Python 3.7, with PyQt 5.13.0 and VTK 8.1.2. I use PyInstaller 3.5 to create an executable. The application works with my computer but not with the others on which I tested. I have these e…

---

## [Is it possible to get the ZMap from the Point cloud data?](https://discourse.vtk.org/t/is-it-possible-to-get-the-zmap-from-the-point-cloud-data/2418)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 12:00pm UTC](https://discourse.vtk.org/t/is-it-possible-to-get-the-zmap-from-the-point-cloud-data/2418 "2020-01-14T12:00:35Z")

</div>

Hi all. I have a question about the ZMap and the Point cloud data. Because the Point cloud is in mm, there is no distortion in the image, even if the X and Y resolution are different. However, the ZMap in pixels has a…

---

## [Representing 4D image data with VTK](https://discourse.vtk.org/t/representing-4d-image-data-with-vtk/2401)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 6\
**Last updated:** [January 13, 2020, 7:04pm UTC](https://discourse.vtk.org/t/representing-4d-image-data-with-vtk/2401 "2020-01-13T19:04:53Z")

</div>

Hi everyone, I would like to know if it’s possible to represent 4D data as a vtkImageData. As far as I understand, vtkImageData can only be used to encode 3D (i.e: voxel information) but I was wondering if there’s a way…

---

## [Overlay two images](https://discourse.vtk.org/t/overlay-two-images/2412)

<div class="topic-metadata">

**Author:** [@Hello\_World](https://discourse.vtk.org/u/Hello_World)\
**Replies:** 0\
**Last updated:** [January 11, 2020, 3:32pm UTC](https://discourse.vtk.org/t/overlay-two-images/2412 "2020-01-11T15:32:05Z")

</div>

Hello, I have two medical scans in the .nrrd (and optional .nii) format and open them with simpleITK and vtkReader as vtkImageData. The first one is an MRI of the brain and the other is a segmented tumor. They both have…

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

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