# Support

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

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

**Page:** 52

---

## [Questions about the vtkAnimationScene](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227)

<div class="topic-metadata">

**Author:** [@tong\_yang](https://discourse.vtk.org/u/tong_yang)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 7:39am UTC](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227 "2023-04-17T07:39:15Z")

</div>

Hello, I want to make a video by vtkAnimationScene. I have referenced this link https://kitware.github.io/vtk-examples/site/Cxx/Utilities/AnimationScene/. When I ran this code in the qt window, there was a problem of b…

---

## [QVTKInteractor cannot control the event loop](https://discourse.vtk.org/t/qvtkinteractor-cannot-control-the-event-loop/8152)

<div class="topic-metadata">

**Author:** [@aveek-brahmachari](https://discourse.vtk.org/u/aveek-brahmachari)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 4:58am UTC](https://discourse.vtk.org/t/qvtkinteractor-cannot-control-the-event-loop/8152 "2023-04-17T04:58:03Z")

</div>

With a vtkGenericOpenGLRenderWindow, I am trying to use the interactor style vtkInteractorStyleTrackballCamera along with vtkCallbackCommand and added an observer to vtkDistanceWidget. I see that the vtkCallbackComman…

---

## [QVTKOpenGLNativeWidget rise unhandled exception (Qt6Core.dll) in debug mode](https://discourse.vtk.org/t/qvtkopenglnativewidget-rise-unhandled-exception-qt6core-dll-in-debug-mode/11132)

<div class="topic-metadata">

**Author:** [@antoine1](https://discourse.vtk.org/u/antoine1)\
**Replies:** 5\
**Last updated:** [April 16, 2023, 2:45pm UTC](https://discourse.vtk.org/t/qvtkopenglnativewidget-rise-unhandled-exception-qt6core-dll-in-debug-mode/11132 "2023-04-16T14:45:01Z")

</div>

Hello, I have a little problem with VTK and QT. In my QT ui, i added a QVTKOpenGLNativeWidget. If i execute the code, which use this widget to plot, in release mode every things is ok and work perfectly but if i execu…

---

## [Error while reading .vtk files with cpp](https://discourse.vtk.org/t/error-while-reading-vtk-files-with-cpp/11156)

<div class="topic-metadata">

**Author:** [@Zhiying](https://discourse.vtk.org/u/Zhiying)\
**Replies:** 16\
**Last updated:** [April 15, 2023, 11:50am UTC](https://discourse.vtk.org/t/error-while-reading-vtk-files-with-cpp/11156 "2023-04-15T11:50:54Z")

</div>

Hello all, I am using the C++ interface to read the cell-type arrays in the .vtk files. However, there exists a problem that I can only read one variable in the files. Here is the part of my codes. std::string inputFil…

---

## [Volume quality worsens when pressing mouse down and rotating](https://discourse.vtk.org/t/volume-quality-worsens-when-pressing-mouse-down-and-rotating/11215)

<div class="topic-metadata">

**Author:** [@MKRangers](https://discourse.vtk.org/u/MKRangers)\
**Replies:** 0\
**Last updated:** [April 14, 2023, 11:04pm UTC](https://discourse.vtk.org/t/volume-quality-worsens-when-pressing-mouse-down-and-rotating/11215 "2023-04-14T23:04:29Z")

</div>

Hi, I’m rendering some volume in my application. I noticed a phenomenon of volume quality inconsistency with and without holding down mouse button. Without pressing down the button: With pressing down the button, i…

---

## [Except cell scalar value as color,are there any other way to highlight/mark a cell when it is clicked?](https://discourse.vtk.org/t/except-cell-scalar-value-as-color-are-there-any-other-way-to-highlight-mark-a-cell-when-it-is-clicked/11165)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 4\
**Last updated:** [April 14, 2023, 1:19am UTC](https://discourse.vtk.org/t/except-cell-scalar-value-as-color-are-there-any-other-way-to-highlight-mark-a-cell-when-it-is-clicked/11165 "2023-04-14T01:19:51Z")

</div>

Hello,I want to highlight a cell when it is clicked,and I knew that the scalar value can be used.The question is that if doing it like this,the two faces of same cell can’t have different colors which is is must-have fea…

---

## [vtkImageStencil hangs when run in AWS EC2 instance, but runs fast locally with identical input data](https://discourse.vtk.org/t/vtkimagestencil-hangs-when-run-in-aws-ec2-instance-but-runs-fast-locally-with-identical-input-data/11108)

<div class="topic-metadata">

**Author:** [@Josh\_Shubert](https://discourse.vtk.org/u/Josh_Shubert)\
**Replies:** 7\
**Last updated:** [April 12, 2023, 7:55pm UTC](https://discourse.vtk.org/t/vtkimagestencil-hangs-when-run-in-aws-ec2-instance-but-runs-fast-locally-with-identical-input-data/11108 "2023-04-12T19:55:07Z")

</div>

Hello, I have some code that uses the vtkImageStencil algorithm to create some 3d binary masks from the intersection between a 3d mesh and a 3d medical image. I run this code locally and it works exactly as expected, a…

---

## [Volume Rendering Stereo Depth](https://discourse.vtk.org/t/volume-rendering-stereo-depth/11204)

<div class="topic-metadata">

**Author:** [@theGunner24](https://discourse.vtk.org/u/theGunner24)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 10:23am UTC](https://discourse.vtk.org/t/volume-rendering-stereo-depth/11204 "2023-04-13T10:23:50Z")

</div>

Hello everyone, I’m trying to read the Z-buffer during volume rendering. Thanks to similar topic (Zbuffer with Volume Rendering) I know I have to switch mapper to RenderToImage mode. Currently I move frame to DirectX by…

---

## [Python VTK and pyInstaller](https://discourse.vtk.org/t/python-vtk-and-pyinstaller/418)

<div class="topic-metadata">

**Author:** [@mat](https://discourse.vtk.org/u/mat)\
**Replies:** 7\
**Last updated:** [April 13, 2023, 4:49am UTC](https://discourse.vtk.org/t/python-vtk-and-pyinstaller/418 "2023-04-13T04:49:57Z")

</div>

Hi all, I am trying to make a portable python vtk reader with pyInstaller. All tested computers have the same OS (windows 7 SP1) but on most of them it doesn’t work. Here is a test script named “VTK-TEST.py” (a simple …

---

## [error when including #include \<vtkNetCDFReader.h\>](https://discourse.vtk.org/t/error-when-including-include-vtknetcdfreader-h/11196)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 7:53pm UTC](https://discourse.vtk.org/t/error-when-including-include-vtknetcdfreader-h/11196 "2023-04-12T19:53:44Z")

</div>

Im trying to create a c++ program that uses Netcdf when i add this include #include \<vtkNetCDFReader.h\> i keep getting this error 1\>C:\\Users-—\\Desktop\\BOLTgui\\BOLT\\vtk\\Utilities\\KWSys\\vtksys\\process.h(6,10): fatal err…

---

## [Custom InteractorStyle for View2DProxy](https://discourse.vtk.org/t/custom-interactorstyle-for-view2dproxy/11188)

<div class="topic-metadata">

**Author:** [@maya](https://discourse.vtk.org/u/maya)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:53pm UTC](https://discourse.vtk.org/t/custom-interactorstyle-for-view2dproxy/11188 "2023-04-12T18:53:22Z")

</div>

Hi, I’m trying to implement a custom InteractorStyle based on the InteractorStyleManipulator to enable manipulators to be activated on different key bindings from the provided configurations (namely the spacebar). I’m us…

---

## [using cell data for vtkThreshold](https://discourse.vtk.org/t/using-cell-data-for-vtkthreshold/11195)

<div class="topic-metadata">

**Author:** [@jsesse](https://discourse.vtk.org/u/jsesse)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:34pm UTC](https://discourse.vtk.org/t/using-cell-data-for-vtkthreshold/11195 "2023-04-12T18:34:01Z")

</div>

Hi. I am trying to use vtkThreshold to extract cells from a polydata set. I would like the threshold to be based on the cell label (from the data array of cells) instead of on the point labels. I have tried the following…

---

## [Generation Java Source for SOA Data Array Template --\> Class empty](https://discourse.vtk.org/t/generation-java-source-for-soa-data-array-template-class-empty/11137)

<div class="topic-metadata">

**Author:** [@aschmit](https://discourse.vtk.org/u/aschmit)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 12:01pm UTC](https://discourse.vtk.org/t/generation-java-source-for-soa-data-array-template-class-empty/11137 "2023-04-12T12:01:02Z")

</div>

Hello everyone, I have tried to generate a vtk java 9.2.0 with SOA Data Array Template but i have found the class vtkSOADataArrayTemplate.java whose is empty, so i can’t use it. Could you help me? Thank you a lot Ale…

---

## [There are gaps in the plane cut out by vtkCutter](https://discourse.vtk.org/t/there-are-gaps-in-the-plane-cut-out-by-vtkcutter/11121)

<div class="topic-metadata">

**Author:** [@w7v](https://discourse.vtk.org/u/w7v)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 11:42am UTC](https://discourse.vtk.org/t/there-are-gaps-in-the-plane-cut-out-by-vtkcutter/11121 "2023-04-12T11:42:16Z")

</div>

There are gaps in the plane cut out by vtkCutter, which is not the case in ParaView for the same model in ParaView:

---

## [how to learn](https://discourse.vtk.org/t/how-to-learn/11175)

<div class="topic-metadata">

**Author:** [@zzy123456](https://discourse.vtk.org/u/zzy123456)\
**Replies:** 4\
**Last updated:** [April 12, 2023, 4:49am UTC](https://discourse.vtk.org/t/how-to-learn/11175 "2023-04-12T04:49:29Z")

</div>

Hi, I want to learn vtk, where do I start?

---

## [How to export colors of vtk lookuptable with vtkOBJExporter](https://discourse.vtk.org/t/how-to-export-colors-of-vtk-lookuptable-with-vtkobjexporter/11181)

<div class="topic-metadata">

**Author:** [@Wagner\_Ramalho](https://discourse.vtk.org/u/Wagner_Ramalho)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 7:18pm UTC](https://discourse.vtk.org/t/how-to-export-colors-of-vtk-lookuptable-with-vtkobjexporter/11181 "2023-04-11T19:18:01Z")

</div>

I was looking for a way to export colors generated by lookuptable from scalars to a mtl file and found vtkOBJExporter. The mtl receive the object with color setted by actor.GetProperty().SetColor, but dont receive colors…

---

## [about vtkresliceimage picker](https://discourse.vtk.org/t/about-vtkresliceimage-picker/11180)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 10:11am UTC](https://discourse.vtk.org/t/about-vtkresliceimage-picker/11180 "2023-04-11T10:11:59Z")

</div>

I use the vtkResliceCursorWidget and vtkResliceCursorLineRepresentation to complete an mpr program. How can I obtain the image coordinates of the re cut image through the picker or window coordinates.

---

## [How to render two transparent polydata with overlapping parts？](https://discourse.vtk.org/t/how-to-render-two-transparent-polydata-with-overlapping-parts/11172)

<div class="topic-metadata">

**Author:** [@Jawanz](https://discourse.vtk.org/u/Jawanz)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 9:33am UTC](https://discourse.vtk.org/t/how-to-render-two-transparent-polydata-with-overlapping-parts/11172 "2023-04-10T09:33:58Z")

</div>

Hello. I am rendering two transparent polydata with overlapping parts in C++. These two polydata are 2D and have the same color and transparency, but the rendered results have deepened in the overlapping area. Is there …

---

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

---

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

---

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

---

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

---

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

---

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

---

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

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

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