# Support

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

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

**Page:** 97

---

## [vtkRenderWindowInteractor::CreateRepeatingTimer stops during interaction](https://discourse.vtk.org/t/vtkrenderwindowinteractor-createrepeatingtimer-stops-during-interaction/6431)

<div class="topic-metadata">

**Author:** [@PWeissenbacher](https://discourse.vtk.org/u/PWeissenbacher)\
**Replies:** 4\
**Last updated:** [September 9, 2021, 11:22am UTC](https://discourse.vtk.org/t/vtkrenderwindowinteractor-createrepeatingtimer-stops-during-interaction/6431 "2021-09-09T11:22:43Z")

</div>

Hello VTK Community. When creating a repeating timer with a callback function, here a very simple case: void timerFunc(vtkObject\* caller, unsigned long eid, void\* clientdata, void\* calldata); // Somewhere in main() i…

---

## [Using the CannyEdgeDetector example to create an image stencil with vtkPolyDataToImageStencil](https://discourse.vtk.org/t/using-the-cannyedgedetector-example-to-create-an-image-stencil-with-vtkpolydatatoimagestencil/6582)

<div class="topic-metadata">

**Author:** [@lauramurgatroyd](https://discourse.vtk.org/u/lauramurgatroyd)\
**Replies:** 1\
**Last updated:** [September 8, 2021, 3:19pm UTC](https://discourse.vtk.org/t/using-the-cannyedgedetector-example-to-create-an-image-stencil-with-vtkpolydatatoimagestencil/6582 "2021-09-08T15:19:21Z")

</div>

Hi, I am trying to extend the CannyEdgeDetector example to make an image stencil, and from that make a mask (image data). I have used vtkPolyDataToImageStencil() to turn the polydata created with the CannyEdgeDetector …

---

## [VTK 8.2 Python and VSCode](https://discourse.vtk.org/t/vtk-8-2-python-and-vscode/704)

<div class="topic-metadata">

**Author:** [@borisb](https://discourse.vtk.org/u/borisb)\
**Replies:** 14\
**Last updated:** [September 8, 2021, 2:43pm UTC](https://discourse.vtk.org/t/vtk-8-2-python-and-vscode/704 "2021-09-08T14:43:39Z")

</div>

Hi, I am unable to get VTK Python autocompletion to work properly using VS Code. I am using VTK Python 8.2 with VSCode 1.33 on Windows 10 64 bits. Using import vtk, I get the following result: My Python environmen…

---

## [Changing input data of a pipeline has no effect](https://discourse.vtk.org/t/changing-input-data-of-a-pipeline-has-no-effect/6577)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 3\
**Last updated:** [September 8, 2021, 2:11pm UTC](https://discourse.vtk.org/t/changing-input-data-of-a-pipeline-has-no-effect/6577 "2021-09-08T14:11:33Z")

</div>

Hi there! I have a setup where I use a vtkImageData object with 2 components generated from my own data source. The first of the 2 components is fed into my color transfer function and the second into my opacity functio…

---

## [Qt with VTK and Loading Files](https://discourse.vtk.org/t/qt-with-vtk-and-loading-files/6569)

<div class="topic-metadata">

**Author:** [@Adam\_Hendry](https://discourse.vtk.org/u/Adam_Hendry)\
**Replies:** 4\
**Last updated:** [September 8, 2021, 12:44pm UTC](https://discourse.vtk.org/t/qt-with-vtk-and-loading-files/6569 "2021-09-08T12:44:59Z")

</div>

I’ve seen some pyvista questions posted here, so I’m posting my question. I am trying to create a Qt GUI with pyvista and would like to implement Progress Bars when loading large file stacks. I have succeeded with the co…

---

## [vtkEventQtSlotConnect: Slot not being called](https://discourse.vtk.org/t/vtkeventqtslotconnect-slot-not-being-called/6566)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 1\
**Last updated:** [September 8, 2021, 10:34am UTC](https://discourse.vtk.org/t/vtkeventqtslotconnect-slot-not-being-called/6566 "2021-09-08T10:34:09Z")

</div>

Hey there, I am using Qt with vtk. I recently created a plot (vkPlotPoints inside a vtkChartXY inside a vtkContextView). Next I want to do something within my code when a user selects points within the plot. I found the…

---

## [Problem with VTK Chart interaction with PyQt](https://discourse.vtk.org/t/problem-with-vtk-chart-interaction-with-pyqt/6561)

<div class="topic-metadata">

**Author:** [@hhebb](https://discourse.vtk.org/u/hhebb)\
**Replies:** 2\
**Last updated:** [September 8, 2021, 4:53am UTC](https://discourse.vtk.org/t/problem-with-vtk-chart-interaction-with-pyqt/6561 "2021-09-08T04:53:04Z")

</div>

I’m trying to Draw VTK ChartXY using QVTKRenderWindowInteractor because my program is designed to use PyQt. Problem is, showing chart is good but, i can't interact with the chart for example, zoom, pan, hovering. When i …

---

## [Help converting Picking cxx example to python](https://discourse.vtk.org/t/help-converting-picking-cxx-example-to-python/6545)

<div class="topic-metadata">

**Author:** [@Drew](https://discourse.vtk.org/u/Drew)\
**Replies:** 4\
**Last updated:** [September 8, 2021, 2:05am UTC](https://discourse.vtk.org/t/help-converting-picking-cxx-example-to-python/6545 "2021-09-08T02:05:23Z")

</div>

Hello, I am attempting to convert the CellPicking Cxx example to Python but it is not quite working. I think it is something simple yet I am missing it. Below is the python code that I have currently. It runs but clickin…

---

## [Apply vtkTubeFilter() to edges of an vtkUnstructuredGrid](https://discourse.vtk.org/t/apply-vtktubefilter-to-edges-of-an-vtkunstructuredgrid/6576)

<div class="topic-metadata">

**Author:** [@Drew](https://discourse.vtk.org/u/Drew)\
**Replies:** 1\
**Last updated:** [September 7, 2021, 10:37pm UTC](https://discourse.vtk.org/t/apply-vtktubefilter-to-edges-of-an-vtkunstructuredgrid/6576 "2021-09-07T22:37:24Z")

</div>

Hello, I would like to create tubes around the edges of an vtkUnstructuredGrid. The vtkTubeFilter() is what I have used previously but that requires having the edges which I would get from vtkExtractEdges(). However, I …

---

## [vtkCollisionDetectionFilter minimum distance between surfaces](https://discourse.vtk.org/t/vtkcollisiondetectionfilter-minimum-distance-between-surfaces/6558)

<div class="topic-metadata">

**Author:** [@ferdymercury](https://discourse.vtk.org/u/ferdymercury)\
**Replies:** 7\
**Last updated:** [September 7, 2021, 12:52pm UTC](https://discourse.vtk.org/t/vtkcollisiondetectionfilter-minimum-distance-between-surfaces/6558 "2021-09-07T12:52:48Z")

</div>

Hello, I am using the vtkCollisionDetectionFilter to know if two meshes intersect or not. This works fine (GetNumberOfContacts). In the case where they do not interesect, I would be interested in calculating the minimu…

---

## [vtkParallelCoordinatesView coloring lines based on scalar value](https://discourse.vtk.org/t/vtkparallelcoordinatesview-coloring-lines-based-on-scalar-value/6531)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 1\
**Last updated:** [September 7, 2021, 10:40am UTC](https://discourse.vtk.org/t/vtkparallelcoordinatesview-coloring-lines-based-on-scalar-value/6531 "2021-09-07T10:40:24Z")

</div>

Hello all, based on this example I created a rendering of some data as a parallel coordinates plot using the vtkParallelCoordinatesView. In a different plot where I plot a point cloud I was able to set the color for eac…

---

## [Morphing Algorithms in VTK.](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 6\
**Last updated:** [September 7, 2021, 2:25am UTC](https://discourse.vtk.org/t/morphing-algorithms-in-vtk/5494 "2021-09-07T02:25:03Z")

</div>

Dear All, Has VTK, Morphing filters/algorithms embedded or that can be used? Thanks, Luís Gonçalves

---

## [How to write groups of cells in unstructured grid](https://discourse.vtk.org/t/how-to-write-groups-of-cells-in-unstructured-grid/6565)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 0\
**Last updated:** [September 6, 2021, 5:02pm UTC](https://discourse.vtk.org/t/how-to-write-groups-of-cells-in-unstructured-grid/6565 "2021-09-06T17:02:53Z")

</div>

I have to write vtk files using vtk library to write unstructured grids. And I need to create groups of cells according to type of cells (triangles, linees, etc) or materials (beams, shells, iron, etc…). Moreover, I woul…

---

## [Cannot import \`\_build\_paths\`](https://discourse.vtk.org/t/cannot-import-build-paths/6555)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 6\
**Last updated:** [September 6, 2021, 3:14pm UTC](https://discourse.vtk.org/t/cannot-import-build-paths/6555 "2021-09-06T15:14:20Z")

</div>

I am building VTK from source on Windows 10 using Ninja. After building, however, I cannot import vtk as it cannot import the \_build\_paths. Here is my setup: Hardware OS: Windows 10 Enterprise, x64-bit, Build 1909 CPU…

---

## [I encountered an error when using QT and VTK](https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559)

<div class="topic-metadata">

**Author:** [@loufear](https://discourse.vtk.org/u/loufear)\
**Replies:** 6\
**Last updated:** [September 6, 2021, 8:01am UTC](https://discourse.vtk.org/t/i-encountered-an-error-when-using-qt-and-vtk/6559 "2021-09-06T08:01:38Z")

</div>

ERROR: In D:\\VTK-8.2.0\\Rendering\\OpenGL2\\vtkTextureObject.cxx, line 1991 vtkTextureObject (000001F475680680): failed at glCopyTexImage2D 33191 1 OpenGL errors detected 0 : (1282) Invalid operation

---

## [MSMPI vs Intel MPI](https://discourse.vtk.org/t/msmpi-vs-intel-mpi/6549)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 8\
**Last updated:** [September 6, 2021, 6:20am UTC](https://discourse.vtk.org/t/msmpi-vs-intel-mpi/6549 "2021-09-06T06:20:07Z")

</div>

What is the difference between MSMPI and Intel MPI? Can I use Intel MPI with VTK?

---

## [Building VTK on Windows](https://discourse.vtk.org/t/building-vtk-on-windows/6485)

<div class="topic-metadata">

**Author:** [@Adam\_Hendry](https://discourse.vtk.org/u/Adam_Hendry)\
**Replies:** 18\
**Last updated:** [September 5, 2021, 2:53am UTC](https://discourse.vtk.org/t/building-vtk-on-windows/6485 "2021-09-05T02:53:10Z")

</div>

I have been trying to build VTK on Windows 10 with Python wrappings for the last week. I would like to add all dependencies that would make 99.99% of utilities VTK offers run as fast as possible. My system is: Hardware O…

---

## [List of Compatible/Incompatible Dependencies](https://discourse.vtk.org/t/list-of-compatible-incompatible-dependencies/6551)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 3\
**Last updated:** [September 4, 2021, 4:55pm UTC](https://discourse.vtk.org/t/list-of-compatible-incompatible-dependencies/6551 "2021-09-04T16:55:51Z")

</div>

Is there a complete list of all VTK optional/required dependencies and which versions are possible (i.e. compatible/incompatible)?

---

## [Deleting / Exiting DataObjectTreeIterators](https://discourse.vtk.org/t/deleting-exiting-dataobjecttreeiterators/6547)

<div class="topic-metadata">

**Author:** [@csniker](https://discourse.vtk.org/u/csniker)\
**Replies:** 0\
**Last updated:** [September 3, 2021, 4:19pm UTC](https://discourse.vtk.org/t/deleting-exiting-dataobjecttreeiterators/6547 "2021-09-03T16:19:46Z")

</div>

I am using VTK in Python. I am using a DataObjectTreeIterator to traverse a MultiBlockDataSet by calling NewTreeIterator(). It appears to be working as expected, but I have two questions about improving performance: Fir…

---

## [Decimating a lego-like collection of cubes](https://discourse.vtk.org/t/decimating-a-lego-like-collection-of-cubes/6544)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 2:43pm UTC](https://discourse.vtk.org/t/decimating-a-lego-like-collection-of-cubes/6544 "2021-09-03T14:43:57Z")

</div>

TL;DR : Would you suggest a good algorithm for reducing the number of polygons of a lego-like structure ? I am trying to reduce the number of polygons of a vtkUnstructuredGrid containing hexahedrons which are actually l…

---

## [automatically adding vertex cells](https://discourse.vtk.org/t/automatically-adding-vertex-cells/6534)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 6\
**Last updated:** [September 3, 2021, 10:25am UTC](https://discourse.vtk.org/t/automatically-adding-vertex-cells/6534 "2021-09-03T10:25:42Z")

</div>

Hello, I am building a PolyData including just vertex cells, i.e. isolated points. I have the point coordinates so I easily create the points, but I cannot find an example (possibly in Python) explaining how to add one v…

---

## [vtkImageViewer2's renderer has no actor](https://discourse.vtk.org/t/vtkimageviewer2s-renderer-has-no-actor/6540)

<div class="topic-metadata">

**Author:** [@jjjkk](https://discourse.vtk.org/u/jjjkk)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 8:56am UTC](https://discourse.vtk.org/t/vtkimageviewer2s-renderer-has-no-actor/6540 "2021-09-03T08:56:11Z")

</div>

I use qt and vtk to visualize dicom file. And it works well. But when I want to add picker to my program I found imageViewer-\>GetRenderer()-\>GetActors() is empty, so I can’t pick anything. But the dicom picture can be …

---

## [Finding Transformation Angle according to a custom axis](https://discourse.vtk.org/t/finding-transformation-angle-according-to-a-custom-axis/6533)

<div class="topic-metadata">

**Author:** [@smoothumut](https://discourse.vtk.org/u/smoothumut)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 5:45am UTC](https://discourse.vtk.org/t/finding-transformation-angle-according-to-a-custom-axis/6533 "2021-09-03T05:45:31Z")

</div>

It is hard for me to explain my problem. I have a rectangular prism and it is placed in coordinate system with a random orientation the rectangular prism has its own normal vector, short plane vector(short edge axis) an…

---

## [Using vtkMultiProcessController.Allreduce() in Python to ignore null search results](https://discourse.vtk.org/t/using-vtkmultiprocesscontroller-allreduce-in-python-to-ignore-null-search-results/6536)

<div class="topic-metadata">

**Author:** [@csniker](https://discourse.vtk.org/u/csniker)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 8:44pm UTC](https://discourse.vtk.org/t/using-vtkmultiprocesscontroller-allreduce-in-python-to-ignore-null-search-results/6536 "2021-09-02T20:44:29Z")

</div>

I am trying to wrangle a parallelized computation using VTK methods (it is in Paraview if that helps anyone, but I believe the core question is purely VTK). I have been able to use the example here https://blog.kitware.c…

---

## [QVTKWidget.h after VTK 7.1.1 install](https://discourse.vtk.org/t/qvtkwidget-h-after-vtk-7-1-1-install/6507)

<div class="topic-metadata">

**Author:** [@Daniel\_Schimpf](https://discourse.vtk.org/u/Daniel_Schimpf)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 6:03pm UTC](https://discourse.vtk.org/t/qvtkwidget-h-after-vtk-7-1-1-install/6507 "2021-09-01T18:03:40Z")

</div>

Hello, I installed VTK 7.1.1 on two systems (raspberry pi os and ubuntu 16). On the first system (raspberry pi os) everything works fine and my project builds in qt with cmake. Now I want to move the project to another …

---

## [vtkPolyDataToImageStencil wrong output almost random](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-wrong-output-almost-random/6521)

<div class="topic-metadata">

**Author:** [@Ervis](https://discourse.vtk.org/u/Ervis)\
**Replies:** 6\
**Last updated:** [September 1, 2021, 1:19pm UTC](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-wrong-output-almost-random/6521 "2021-09-01T13:19:27Z")

</div>

Hi I am using ActiViz.Net 64 v5.8.0 I am having an issue with vtkPolyDataToImageStencil where the output seems to have either extra lines or holes. I have attempted to combine vtkPolyDataToImageStencil with vtkImageSten…

---

## [Python binaries with support for CameraOrientationWidget](https://discourse.vtk.org/t/python-binaries-with-support-for-cameraorientationwidget/6527)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 12:12pm UTC](https://discourse.vtk.org/t/python-binaries-with-support-for-cameraorientationwidget/6527 "2021-09-01T12:12:05Z")

</div>

I’m trying to run the https://kitware.github.io/vtk-examples/site/Python/Widgets/CameraOrientationWidget/ example with vtk 9.0.3 installed from conda-forge on windows. This results in an AttributeError: module ‘vtkmod…

---

## [convert python mesh object to vtkPolyData](https://discourse.vtk.org/t/convert-python-mesh-object-to-vtkpolydata/6512)

<div class="topic-metadata">

**Author:** [@ferdymercury](https://discourse.vtk.org/u/ferdymercury)\
**Replies:** 4\
**Last updated:** [September 1, 2021, 10:05am UTC](https://discourse.vtk.org/t/convert-python-mesh-object-to-vtkpolydata/6512 "2021-09-01T10:05:55Z")

</div>

Hello, In Python, I have an object of the following type: your\_mesh \<stl.mesh.Mesh object at 0x7fb108f06160\> \>\>\> your\_mesh.points array(\[\[ 250., -475., -100., -250., -475., -100., -250., -475., 1900.\], \[ 250., -…

---

## [pvtu : number of pieces and relationship to parallel visualisation in Paraview](https://discourse.vtk.org/t/pvtu-number-of-pieces-and-relationship-to-parallel-visualisation-in-paraview/6522)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [August 31, 2021, 9:51pm UTC](https://discourse.vtk.org/t/pvtu-number-of-pieces-and-relationship-to-parallel-visualisation-in-paraview/6522 "2021-08-31T21:51:11Z")

</div>

I am learning about vtu/pvtu I am testing out deal.ii which save data as vtu/pvtu, only one piece is being written out per snapshot. I plan to test out visualizing the data set on a 4 node cluster (each with GPU) and w…

---

## [Python 3D volume rendering problem which I pass series of LSM Dicom image.](https://discourse.vtk.org/t/python-3d-volume-rendering-problem-which-i-pass-series-of-lsm-dicom-image/6503)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 3\
**Last updated:** [August 31, 2021, 9:01pm UTC](https://discourse.vtk.org/t/python-3d-volume-rendering-problem-which-i-pass-series-of-lsm-dicom-image/6503 "2021-08-31T21:01:12Z")

</div>

Hello guys, I am trying to visualize series of dicomized microscope LSM into 3D visualization using the VTK python package. I wrote the below code which works perfectly for the CT Dicom image but not for the LSM image. …

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

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