# Latest

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

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

**Page:** 92

---

## [How to use multiple timers and multiple callbacks simultaneously?](https://discourse.vtk.org/t/how-to-use-multiple-timers-and-multiple-callbacks-simultaneously/7636)

<div class="topic-metadata">

**Author:** [@count](https://discourse.vtk.org/u/count)\
**Replies:** 3\
**Last updated:** [April 10, 2023, 7:35am UTC](https://discourse.vtk.org/t/how-to-use-multiple-timers-and-multiple-callbacks-simultaneously/7636 "2023-04-10T07:35:05Z")

</div>

Hello. I’m writing a 3D image block viewer in Python with pyvtk. I’m adding some short animations triggered by keyboard. And there, I encounter a situation that multiple repeating timers could fire simultaneously, and …

---

## [vuetify in trame](https://discourse.vtk.org/t/vuetify-in-trame/11150)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 10:38am UTC](https://discourse.vtk.org/t/vuetify-in-trame/11150 "2023-04-09T10:38:43Z")

</div>

How do I convert tooltip in vuetify to trame language This way of writing of mine is problematic, when I run the program, the button disappears, how can I fix it？

---

## [Picking cells inside polygon drawn with the mouse](https://discourse.vtk.org/t/picking-cells-inside-polygon-drawn-with-the-mouse/8503)

<div class="topic-metadata">

**Author:** [@mdc93](https://discourse.vtk.org/u/mdc93)\
**Replies:** 3\
**Last updated:** [April 8, 2023, 9:23pm UTC](https://discourse.vtk.org/t/picking-cells-inside-polygon-drawn-with-the-mouse/8503 "2023-04-08T21:23:09Z")

</div>

Hi there, I am developing an application based on acquiring a STL mesh with a laser line sensor. The mesh is used to plan a robot path to perform some operations based on an interaction with the user. I mean, once the …

---

## [Temporal pipeline (updating TIME\_RANGE and use of caches)](https://discourse.vtk.org/t/temporal-pipeline-updating-time-range-and-use-of-caches/11166)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 5:04pm UTC](https://discourse.vtk.org/t/temporal-pipeline-updating-time-range-and-use-of-caches/11166 "2023-04-08T17:04:42Z")

</div>

Hi Developers I am making a client-server solution streaming vtkImageData and vtkPolyData using IGTLink. I would like to have a module, which exposes downstream TIME\_STEPS = \[currentTime\] and TIME\_RANGE = \[currentTime, …

---

## [Is it possible to build vtkGuiSupportQt in webassembly?](https://discourse.vtk.org/t/is-it-possible-to-build-vtkguisupportqt-in-webassembly/11076)

<div class="topic-metadata">

**Author:** [@wh0395](https://discourse.vtk.org/u/wh0395)\
**Replies:** 5\
**Last updated:** [April 7, 2023, 11:22am UTC](https://discourse.vtk.org/t/is-it-possible-to-build-vtkguisupportqt-in-webassembly/11076 "2023-04-07T11:22:22Z")

</div>

I try to build vtk with qt in webassembly, this is my build command \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* begain of command \*\*\*\*\*\*\*\*\*\*\*\*\* emcmake cmake …\\vtk-v9.1.0 -G “MinGW Makefiles” -DBUILD\_SHARED\_LIBS:BOOL=OFF -DCMAKE\_BUILD\_TYPE:STRING…

---

## [Correctly generate vtu files for polyhedral mesh.](https://discourse.vtk.org/t/correctly-generate-vtu-files-for-polyhedral-mesh/11151)

<div class="topic-metadata">

**Author:** [@dwuuum](https://discourse.vtk.org/u/dwuuum)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 2:45pm UTC](https://discourse.vtk.org/t/correctly-generate-vtu-files-for-polyhedral-mesh/11151 "2023-04-06T14:45:35Z")

</div>

Hello everyone, I would like to generate a vtu file similar to the image in the webpage. But when I use ugrid-\>InsertNextCell, I find that every time a new cell is generated, I need to specify the points of the face.…

---

## [Apply threshold for vtkImagePlaneWidget visualization](https://discourse.vtk.org/t/apply-threshold-for-vtkimageplanewidget-visualization/11145)

<div class="topic-metadata">

**Author:** [@Peter](https://discourse.vtk.org/u/Peter)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 12:41pm UTC](https://discourse.vtk.org/t/apply-threshold-for-vtkimageplanewidget-visualization/11145 "2023-04-06T12:41:17Z")

</div>

Hi! Currently I am using vtkImagePlaneWidget to visualize a NIFTI volume. I am simply using the following methods to define the appearance: imagePlaneWidget\[i\]-\>GetColorMap()-\>SetLookupTable(NULL); imagePlaneWidg…

---

## [vtkContourTriangulator (Triangulation failed)](https://discourse.vtk.org/t/vtkcontourtriangulator-triangulation-failed/11127)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 6\
**Last updated:** [April 6, 2023, 12:54pm UTC](https://discourse.vtk.org/t/vtkcontourtriangulator-triangulation-failed/11127 "2023-04-06T12:54:39Z")

</div>

I found an example where the filter seems to fail (but not clear to me why) - I wonder if there is a fix…: from vedo import \* pts = np.array(\[ \[1.96, 2.48, -1.34\], \[1.89, 2.34, -1.33\], \[1.74, 2.41, -1.35\], …

---

## [Face a crash problem in using "vtkProperty-\>Deepcopy()"](https://discourse.vtk.org/t/face-a-crash-problem-in-using-vtkproperty-deepcopy/11135)

<div class="topic-metadata">

**Author:** [@Yola](https://discourse.vtk.org/u/Yola)\
**Replies:** 0\
**Last updated:** [April 5, 2023, 6:31am UTC](https://discourse.vtk.org/t/face-a-crash-problem-in-using-vtkproperty-deepcopy/11135 "2023-04-05T06:31:16Z")

</div>

I want to highlight the actor when I press my mouse’s left button. So I wrote a subclass of vtkInteractorStyle. The code lists here: void ModelViewerInteractor::OnLeftButtonDown() { vtkNew\<vtkNamedColors\> colors; …

---

## [docker1](https://discourse.vtk.org/t/docker1/11129)

<div class="topic-metadata">

**Author:** [@jane](https://discourse.vtk.org/u/jane)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 12:09am UTC](https://discourse.vtk.org/t/docker1/11129 "2023-04-05T00:09:28Z")

</div>

I used docker to pull the image directly, but the error after running it, as follows:

---

## [docker](https://discourse.vtk.org/t/docker/11106)

<div class="topic-metadata">

**Author:** [@jane](https://discourse.vtk.org/u/jane)\
**Replies:** 3\
**Last updated:** [April 5, 2023, 12:03am UTC](https://discourse.vtk.org/t/docker/11106 "2023-04-05T00:03:37Z")

</div>

Hello! When I configure a docker image, I encounter the following problems, how can I solve them? \[root@iZwz9d0nxbox77l0r5cu81Z TD\]# docker run -it --rm -p 8080:80 trame-app Restarting Apache httpd web server apache2 …

---

## [there seems to be a problem with the vtkContourTriangulator example on the official website](https://discourse.vtk.org/t/there-seems-to-be-a-problem-with-the-vtkcontourtriangulator-example-on-the-official-website/11116)

<div class="topic-metadata">

**Author:** [@qq769747518](https://discourse.vtk.org/u/qq769747518)\
**Replies:** 1\
**Last updated:** [April 4, 2023, 4:27pm UTC](https://discourse.vtk.org/t/there-seems-to-be-a-problem-with-the-vtkcontourtriangulator-example-on-the-official-website/11116 "2023-04-04T16:27:54Z")

</div>

I want to use vtkContourTriangulator，But there seems to be a problem with the vtkContourTriangulator example on the official website, which does not show the filtered results，The sample URL is “https://kitware.github.io/…

---

## [Volume rendering with a React-Flask architecture](https://discourse.vtk.org/t/volume-rendering-with-a-react-flask-architecture/11130)

<div class="topic-metadata">

**Author:** [@Antoine\_Pik](https://discourse.vtk.org/u/Antoine_Pik)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 1:39pm UTC](https://discourse.vtk.org/t/volume-rendering-with-a-react-flask-architecture/11130 "2023-04-04T13:39:42Z")

</div>

Hello everyone, for a project I need to be able to display 3D volumes in a website using vtk.js, these volumes are stored in hdf5 files (h5 file extension). The architecture of my site is a React-Flask architecture. De…

---

## [What should I do to obtain such a display result？](https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [April 4, 2023, 11:37am UTC](https://discourse.vtk.org/t/what-should-i-do-to-obtain-such-a-display-result/11125 "2023-04-04T11:37:33Z")

</div>

I don’t know how to generate a single color image.

---

## [\`getPickedPositions\`: Get positions outside of data points (i.e. extrapolation)](https://discourse.vtk.org/t/getpickedpositions-get-positions-outside-of-data-points-i-e-extrapolation/11118)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 2\
**Last updated:** [April 4, 2023, 8:56am UTC](https://discourse.vtk.org/t/getpickedpositions-get-positions-outside-of-data-points-i-e-extrapolation/11118 "2023-04-04T08:56:38Z")

</div>

When I use getPickedPositions from vtkPointPicker, it seems it can only return positions which are within a certain distance to the available data points. Is there a way to get positions from all locations? I want to be…

---

## [Modifying a filter's output array?](https://discourse.vtk.org/t/modifying-a-filters-output-array/1820)

<div class="topic-metadata">

**Author:** [@TravStu22](https://discourse.vtk.org/u/TravStu22)\
**Replies:** 5\
**Last updated:** [April 3, 2023, 10:46pm UTC](https://discourse.vtk.org/t/modifying-a-filters-output-array/1820 "2023-04-03T22:46:55Z")

</div>

Hi. I like the scaling behavior I get when using the vtk.vtkDistanceToCamera() filter on my point cloud that’s zoomed out. It keeps my points visible. But I’d like it to quit this scaling when I zoom in. Basically I thin…

---

## [Python vtkUnstructuredGrid create vtu file with quad and triangle](https://discourse.vtk.org/t/python-vtkunstructuredgrid-create-vtu-file-with-quad-and-triangle/11110)

<div class="topic-metadata">

**Author:** [@nahid1412](https://discourse.vtk.org/u/nahid1412)\
**Replies:** 1\
**Last updated:** [April 3, 2023, 7:33pm UTC](https://discourse.vtk.org/t/python-vtkunstructuredgrid-create-vtu-file-with-quad-and-triangle/11110 "2023-04-03T19:33:40Z")

</div>

Hello community, how do create a .vtu file with quad and triangle elements? I want to convert a FEM input file to a .vtu file. I have tried to create a python code, but I only get either a .vtu file with only quad or t…

---

## [Provide Your Thoughts on Kitware's Training Courses](https://discourse.vtk.org/t/provide-your-thoughts-on-kitwares-training-courses/11012)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 1\
**Last updated:** [April 3, 2023, 3:18pm UTC](https://discourse.vtk.org/t/provide-your-thoughts-on-kitwares-training-courses/11012 "2023-04-03T15:18:38Z")

</div>

Kitware is looking for input about our paid public training courses. Our goal is to offer the highest quality, most relevant training material to help users and developers become experts with our popular open source soft…

---

## [vtkImplicitSelectionLoop and sharp corners - potential bug?](https://discourse.vtk.org/t/vtkimplicitselectionloop-and-sharp-corners-potential-bug/11105)

<div class="topic-metadata">

**Author:** [@ugis](https://discourse.vtk.org/u/ugis)\
**Replies:** 3\
**Last updated:** [April 3, 2023, 3:02pm UTC](https://discourse.vtk.org/t/vtkimplicitselectionloop-and-sharp-corners-potential-bug/11105 "2023-04-03T15:02:11Z")

</div>

Hi Developers, I am trying to get around the issue, which was observed already 3 years ago (vtkImplicitSelectionLoop does not work as expected). To shortly summarize, the issue is that vtkImplicitSelectionLoop works poo…

---

## [problem with build vtk9.2.6 to wasm](https://discourse.vtk.org/t/problem-with-build-vtk9-2-6-to-wasm/11096)

<div class="topic-metadata">

**Author:** [@wh0395](https://discourse.vtk.org/u/wh0395)\
**Replies:** 4\
**Last updated:** [April 3, 2023, 2:14am UTC](https://discourse.vtk.org/t/problem-with-build-vtk9-2-6-to-wasm/11096 "2023-04-03T02:14:38Z")

</div>

I follow the instructions here to build vtk9.2.6 to wasm the building process is fine. but when I build the Cone example, it generate link errors below. warning: undefined symbol: glPointSize (referenced by top-level …

---

## [Update on Vulkan Support](https://discourse.vtk.org/t/update-on-vulkan-support/2819)

<div class="topic-metadata">

**Author:** [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Replies:** 19\
**Last updated:** [April 1, 2023, 4:22pm UTC](https://discourse.vtk.org/t/update-on-vulkan-support/2819 "2023-04-01T16:22:04Z")

</div>

Is there any kind of roadmap or update on supporting either macOS Metal or Vulkan in VTK? Time is marching on and at some point sooner rather that later those of us trying to support macOS will have a decision to make re…

---

## [How to use VTK with QT support](https://discourse.vtk.org/t/how-to-use-vtk-with-qt-support/11094)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 9\
**Last updated:** [April 1, 2023, 4:14pm UTC](https://discourse.vtk.org/t/how-to-use-vtk-with-qt-support/11094 "2023-04-01T16:14:21Z")

</div>

I have a vtk pipeline running OK (source + filter + mapper + actor + renderer OK). Then, I built VTK with Qt support : seems OK + I can run the Examples/GUI/Qt/SimpleView example. Then, in my vtk pipeline, I’ve just …

---

## [A strange slice during MPR](https://discourse.vtk.org/t/a-strange-slice-during-mpr/11099)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [April 1, 2023, 2:38pm UTC](https://discourse.vtk.org/t/a-strange-slice-during-mpr/11099 "2023-04-01T14:38:30Z")

</div>

My goal is to have two sets of mpr images. The driven mpr completely follows the active mpr. I synchronize vtkResliceCursor to complete the synchronization, but some unexpected images may appear at certain locations. W…

---

## [Integrating vtk.wasm with angular](https://discourse.vtk.org/t/integrating-vtk-wasm-with-angular/11007)

<div class="topic-metadata">

**Author:** [@wayne-christopher-an](https://discourse.vtk.org/u/wayne-christopher-an)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 11:44pm UTC](https://discourse.vtk.org/t/integrating-vtk-wasm-with-angular/11007 "2023-03-31T23:44:09Z")

</div>

I have an app that uses vtk.js inside angular, and it’s working well. I am trying to migrate to vtk.wasm and am wondering if there are any examples available of integrating angular and vtk.wasm. I think I’m having prob…

---

## [How to build and test VTK with Qt ?](https://discourse.vtk.org/t/how-to-build-and-test-vtk-with-qt/11087)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 3:47pm UTC](https://discourse.vtk.org/t/how-to-build-and-test-vtk-with-qt/11087 "2023-03-31T15:47:25Z")

</div>

How to build and test VTK with Qt ? ~/build\> cmake -DVTK\_GROUP\_ENABLE\_Qt=YES -DVTK\_BUILD\_EXAMPLES=ON … But \<VTK\_ROOT\>/Examples/GUI/Qt/SimpleView/CMakeLists.txt has not been compiled: I can not test / run SimpleView exa…

---

## [vtkPolyData crash](https://discourse.vtk.org/t/vtkpolydata-crash/11081)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 5\
**Last updated:** [March 31, 2023, 3:42pm UTC](https://discourse.vtk.org/t/vtkpolydata-crash/11081 "2023-03-31T15:42:16Z")

</div>

I have a crash when I try to create a vtkPolyData. I guess this is a problem of the way I do things. Here is my CMakelists: \>\> cat CMakeLists.txt cmake\_minimum\_required (VERSION 3.20) # Define project project(debugVT…

---

## [Mapping between different coordinate systems](https://discourse.vtk.org/t/mapping-between-different-coordinate-systems/11095)

<div class="topic-metadata">

**Author:** [@Lukasz\_Skrzeszewski](https://discourse.vtk.org/u/Lukasz_Skrzeszewski)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 2:38pm UTC](https://discourse.vtk.org/t/mapping-between-different-coordinate-systems/11095 "2023-03-31T14:38:32Z")

</div>

I am trying to hook up to interactor, instance of vtkRenderWindowInteractor, callbacks onMouseMove, onMouseWheel and so on. I have noticed that the position returned in the event is in a different coordinate system than…

---

## [Is there a way to call rendering in other threads in vtk?](https://discourse.vtk.org/t/is-there-a-way-to-call-rendering-in-other-threads-in-vtk/11088)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 3\
**Last updated:** [March 31, 2023, 1:44pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-call-rendering-in-other-threads-in-vtk/11088 "2023-03-31T13:44:59Z")

</div>

Similar to the signal and slot mechanism in qt, you can put functions in other threads into the event loop

---

## [I need to visualize a project in Paraview](https://discourse.vtk.org/t/i-need-to-visualize-a-project-in-paraview/11103)

<div class="topic-metadata">

**Author:** [@Tomas\_Rakutis](https://discourse.vtk.org/u/Tomas_Rakutis)\
**Replies:** 0\
**Last updated:** [March 31, 2023, 8:25am UTC](https://discourse.vtk.org/t/i-need-to-visualize-a-project-in-paraview/11103 "2023-03-31T08:25:48Z")

</div>

I’m trying to visualize vector fields with stream lines and symbols (vtkStreamTracer + vtkGlyphs), Vector - velocity. I need to properly choose the starting points, draw the flow lines through them and the symbol, colore…

---

## [Usage of setFileVersion method](https://discourse.vtk.org/t/usage-of-setfileversion-method/10861)

<div class="topic-metadata">

**Author:** [@Ackhyon](https://discourse.vtk.org/u/Ackhyon)\
**Replies:** 3\
**Last updated:** [March 31, 2023, 7:06am UTC](https://discourse.vtk.org/t/usage-of-setfileversion-method/10861 "2023-03-31T07:06:37Z")

</div>

Hi there, First of all, thanks for providing this very useful toolkit! I have a question regarding the way to write legacy PolyData files at the old 4.2 format: I am trying to call the SetFileVersion method of the vtkD…

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

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