# Latest

**URL:** https://discourse.vtk.org/latest.md?page=163

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

**Page:** 164

---

## [Plot 3D Alpha Shape](https://discourse.vtk.org/t/plot-3d-alpha-shape/6584)

<div class="topic-metadata">

**Author:** [@Adam\_Hendry](https://discourse.vtk.org/u/Adam_Hendry)\
**Replies:** 6\
**Last updated:** [September 9, 2021, 5:12pm UTC](https://discourse.vtk.org/t/plot-3d-alpha-shape/6584 "2021-09-09T17:12:29Z")

</div>

Problem I am trying to implement Edelsbrunner’s Algorithm for the alpha shape of a 3D point cloud in python as presented in this SO post. However, I’m having trouble plotting results. Half my sphere looks good, and the …

---

## [Display Lines that not completely appear while export a render window](https://discourse.vtk.org/t/display-lines-that-not-completely-appear-while-export-a-render-window/6595)

<div class="topic-metadata">

**Author:** [@Nicolas\_Lenoir](https://discourse.vtk.org/u/Nicolas_Lenoir)\
**Replies:** 0\
**Last updated:** [September 9, 2021, 4:36pm UTC](https://discourse.vtk.org/t/display-lines-that-not-completely-appear-while-export-a-render-window/6595 "2021-09-09T16:36:40Z")

</div>

Hello everyone, I have some trouble with my export of a vtkRenderWindow. In fact I create a box with text and this box sometimes will not completely appear in the export image as in this example. Does any one have a…

---

## [VTK class for pvd files](https://discourse.vtk.org/t/vtk-class-for-pvd-files/6589)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 3\
**Last updated:** [September 9, 2021, 12:27pm UTC](https://discourse.vtk.org/t/vtk-class-for-pvd-files/6589 "2021-09-09T12:27:15Z")

</div>

Is there any c++ class in vtk to write .pvd files?

---

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

---

## [Possible to morph 3D models?](https://discourse.vtk.org/t/possible-to-morph-3d-models/6520)

<div class="topic-metadata">

**Author:** [@oguzhantopsakal](https://discourse.vtk.org/u/oguzhantopsakal)\
**Replies:** 3\
**Last updated:** [September 8, 2021, 1:10pm UTC](https://discourse.vtk.org/t/possible-to-morph-3d-models/6520 "2021-09-08T13:10:07Z")

</div>

I would like to know if vtk.js or any of the Kitware products can be used to morph 3D models on webpage either manually or programmatically? Could you direct me to any documentation or examples? Thank you!

---

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

---

## [Serve data to vtk.js frontend](https://discourse.vtk.org/t/serve-data-to-vtk-js-frontend/6563)

<div class="topic-metadata">

**Author:** [@jordvink](https://discourse.vtk.org/u/jordvink)\
**Replies:** 2\
**Last updated:** [September 8, 2021, 9:23am UTC](https://discourse.vtk.org/t/serve-data-to-vtk-js-frontend/6563 "2021-09-08T09:23:16Z")

</div>

Hi all, I’m trying to figure out the best way to serve a user’s .vtp file to a vtk.js frontend. I am creating a Django application in which different users can view their own data in vtk.js. I have been looking at the v…

---

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

---

## [vtk BoxWidget coordinates](https://discourse.vtk.org/t/vtk-boxwidget-coordinates/6572)

<div class="topic-metadata">

**Author:** [@Ana\_Margarida\_Mota](https://discourse.vtk.org/u/Ana_Margarida_Mota)\
**Replies:** 0\
**Last updated:** [September 7, 2021, 6:05pm UTC](https://discourse.vtk.org/t/vtk-boxwidget-coordinates/6572 "2021-09-07T18:05:06Z")

</div>

Hello! I define boxWidget-\>PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax). Than, When I try to “read” again the same coordinates, the values are completely different and I can’t understand why…? I am sending here part…

---

## [SimpleVTK Java example crashing on MacOS](https://discourse.vtk.org/t/simplevtk-java-example-crashing-on-macos/6472)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 5\
**Last updated:** [September 7, 2021, 3:06pm UTC](https://discourse.vtk.org/t/simplevtk-java-example-crashing-on-macos/6472 "2021-09-07T15:06:42Z")

</div>

Hi, I ran the SimpleVTK example and encountered either crashes or warnings depending on the Java version. Are there existing workarounds to let VTK display java panels on MacOS + Java 14? Not sure this may help, but 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…

---

## [VTK.js blank screen](https://discourse.vtk.org/t/vtk-js-blank-screen/6336)

<div class="topic-metadata">

**Author:** [@jordvink](https://discourse.vtk.org/u/jordvink)\
**Replies:** 4\
**Last updated:** [September 6, 2021, 10:07am UTC](https://discourse.vtk.org/t/vtk-js-blank-screen/6336 "2021-09-06T10:07:32Z")

</div>

I am trying to get the VTK.js examples to work in my Django Project and the webpack produces the js code (attached). However, when I load this code in my html template I get a blank (responsive) window. Any idea what I a…

---

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

---

## ["Display data histogram" Breaks on Windows](https://discourse.vtk.org/t/display-data-histogram-breaks-on-windows/6554)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 4\
**Last updated:** [September 6, 2021, 5:56am UTC](https://discourse.vtk.org/t/display-data-histogram-breaks-on-windows/6554 "2021-09-06T05:56:44Z")

</div>

Opening a DICOM stack, visualizing as a Volume, and then opening the Color Map Editor and choosing Dislay data histogram causes ParaView to crash (program hangs and then shuts down unexpectedly). System Hardware OS: …

---

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

[Previous page](https://discourse.vtk.org/latest.md?page=162)

[Next page](https://discourse.vtk.org/latest.md?page=164)
