# Support

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

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

**Page:** 26

---

## [There was an array out of bounds when interacting with vtkLabelPlacementMapper](https://discourse.vtk.org/t/there-was-an-array-out-of-bounds-when-interacting-with-vtklabelplacementmapper/13853)

<div class="topic-metadata">

**Author:** [@jie\_baoer](https://discourse.vtk.org/u/jie_baoer)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 10:09pm UTC](https://discourse.vtk.org/t/there-was-an-array-out-of-bounds-when-interacting-with-vtklabelplacementmapper/13853 "2024-05-13T22:09:02Z")

</div>

Hi all,I used vtkStringArray, vtkPointSetToLabelHierarchy, and vtkLabelPlacementMapper to display the cell number, which worked fine, but occasionally crashed when rotating the camera. Has anyone experienced the same pr…

---

## [In CMake, how to get the Qt install (include dir, libraries, etc) associated with vtkGUISupportQt?](https://discourse.vtk.org/t/in-cmake-how-to-get-the-qt-install-include-dir-libraries-etc-associated-with-vtkguisupportqt/13865)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 2:30pm UTC](https://discourse.vtk.org/t/in-cmake-how-to-get-the-qt-install-include-dir-libraries-etc-associated-with-vtkguisupportqt/13865 "2024-05-12T14:30:56Z")

</div>

In CMake, how to get the Qt install (include dir, libraries, etc) associated with vtkGUISupportQt? Basically, I use a library (PCL) that is based on vtkGUISupportQt. find\_package(PCL 1.7.1 COMPONENTS visualization REQU…

---

## [How to control vtkCubeAxesActor tick spacing?](https://discourse.vtk.org/t/how-to-control-vtkcubeaxesactor-tick-spacing/9794)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 12:31pm UTC](https://discourse.vtk.org/t/how-to-control-vtkcubeaxesactor-tick-spacing/9794 "2024-05-12T12:31:25Z")

</div>

I am using vtkCubeAxesActor (VTK-9.2.0) to enclose a topographic surface. Depending on scene zoom, the axis ticks and their labels are sometimes too crowded. E.g. in this view, the ticks and their labels are spaced too …

---

## [Coordinate system transformation](https://discourse.vtk.org/t/coordinate-system-transformation/13848)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 9\
**Last updated:** [May 9, 2024, 6:28pm UTC](https://discourse.vtk.org/t/coordinate-system-transformation/13848 "2024-05-09T18:28:55Z")

</div>

Hello! I want to create 3-2-1 alignment based on pane-line-point. I created plane, line and point based on user select point(best-fit algorithm). Now i want to transform my whole coordinate system, i tried to use vtktra…

---

## [does VTK support Cut 1 mesh into 2 meshes at the PickedPoint(by a plane on its normal) on the ? any demo? thanks!](https://discourse.vtk.org/t/does-vtk-support-cut-1-mesh-into-2-meshes-at-the-pickedpoint-by-a-plane-on-its-normal-on-the-any-demo-thanks/13858)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 1:10pm UTC](https://discourse.vtk.org/t/does-vtk-support-cut-1-mesh-into-2-meshes-at-the-pickedpoint-by-a-plane-on-its-normal-on-the-any-demo-thanks/13858 "2024-05-08T13:10:56Z")

</div>

does VTK support Cut 1 mesh into 2 meshes at the PickedPoint(by a plane on its normal) on the ? any demo? thanks! and how to revert it back in order to support redo&undo?

---

## [How to run the python examples ?](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855)

<div class="topic-metadata">

**Author:** [@chiyandetaotie](https://discourse.vtk.org/u/chiyandetaotie)\
**Replies:** 4\
**Last updated:** [May 8, 2024, 11:04am UTC](https://discourse.vtk.org/t/how-to-run-the-python-examples/13855 "2024-05-08T11:04:16Z")

</div>

I am a newer. I do not know how to download the python examples.I want to run the example (https://examples.vtk.org/site/Python/VisualizationAlgorithms/CutStructuredGrid/) on my computer. But I can not find the data (fi…

---

## [where can i find postxyz.bin and postq.bin in the LOxSeeds example?](https://discourse.vtk.org/t/where-can-i-find-postxyz-bin-and-postq-bin-in-the-loxseeds-example/13842)

<div class="topic-metadata">

**Author:** [@MissStrickland](https://discourse.vtk.org/u/MissStrickland)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 11:14pm UTC](https://discourse.vtk.org/t/where-can-i-find-postxyz-bin-and-postq-bin-in-the-loxseeds-example/13842 "2024-05-07T23:14:14Z")

</div>

where can i find postxyz.bin and postq.bin in the LOxSeeds example?

---

## [Zbuffer with Volume Rendering](https://discourse.vtk.org/t/zbuffer-with-volume-rendering/2772)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.vtk.org/u/Alex1)\
**Replies:** 9\
**Last updated:** [May 7, 2024, 10:56am UTC](https://discourse.vtk.org/t/zbuffer-with-volume-rendering/2772 "2024-05-07T10:56:09Z")

</div>

Hello everyone, I’m trying to read the Zbuffer / depth buffer during volume rendering. For this I use renWin-\> GetZbufferData (x1, y1, x2, y2) and if I look at the values, there are all values equal to 1. If I have the…

---

## [how to set vtkScalarBarActor title's font?](https://discourse.vtk.org/t/how-to-set-vtkscalarbaractor-titles-font/13839)

<div class="topic-metadata">

**Author:** [@Yang\_Tianxi](https://discourse.vtk.org/u/Yang_Tianxi)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 5:38am UTC](https://discourse.vtk.org/t/how-to-set-vtkscalarbaractor-titles-font/13839 "2024-05-07T05:38:49Z")

</div>

My VTK’s version is 9.1, I set vtkScalarBarActor’s title, but can’t set the title’s font, I check the conresponding header file, there is no funciton provided for setting title’s font, some code like below to set the …

---

## [can not import vtk when build in master brach](https://discourse.vtk.org/t/can-not-import-vtk-when-build-in-master-brach/13809)

<div class="topic-metadata">

**Author:** [@chenray844](https://discourse.vtk.org/u/chenray844)\
**Replies:** 8\
**Last updated:** [May 7, 2024, 12:56am UTC](https://discourse.vtk.org/t/can-not-import-vtk-when-build-in-master-brach/13809 "2024-05-07T00:56:51Z")

</div>

when build vtk with python3.10.12 at commit 0288764b4b on ubuntu 22.04.4, build is ok, but when import vtk in python, raise error as follows In \[1\]: import vtk -----------------------------------------------------------…

---

## [No opacity from VtkImageData](https://discourse.vtk.org/t/no-opacity-from-vtkimagedata/13819)

<div class="topic-metadata">

**Author:** [@bansan](https://discourse.vtk.org/u/bansan)\
**Replies:** 1\
**Last updated:** [May 3, 2024, 2:18pm UTC](https://discourse.vtk.org/t/no-opacity-from-vtkimagedata/13819 "2024-05-03T14:18:25Z")

</div>

Hi, I would like to open a vti image and show it according to SimpleRayCast C++ example. At first, I successfully ran SimpleRayCast. I tried to open a vti file instead. The size \[-0.003;+0.003\[, \[-0.003;+0.003\[, \[0;+0…

---

## [Special handling of NaN values during interpolation / edge splitting](https://discourse.vtk.org/t/special-handling-of-nan-values-during-interpolation-edge-splitting/13703)

<div class="topic-metadata">

**Author:** [@pgallo](https://discourse.vtk.org/u/pgallo)\
**Replies:** 5\
**Last updated:** [May 3, 2024, 6:57am UTC](https://discourse.vtk.org/t/special-handling-of-nan-values-during-interpolation-edge-splitting/13703 "2024-05-03T06:57:55Z")

</div>

Hi, I’d like some guidance on the following problem. I’m working with datasets that use NaN values to represent missing results for some points/cells in a vtkUnstructuredGrid. During common operations such as clipping …

---

## [2D pixel data to 3D binary masks](https://discourse.vtk.org/t/2d-pixel-data-to-3d-binary-masks/13834)

<div class="topic-metadata">

**Author:** [@constifer](https://discourse.vtk.org/u/constifer)\
**Replies:** 1\
**Last updated:** [May 3, 2024, 6:54am UTC](https://discourse.vtk.org/t/2d-pixel-data-to-3d-binary-masks/13834 "2024-05-03T06:54:16Z")

</div>

Hello everyone, I’ve been trying to convert some json files which contain cardiac contours in pixel coords into binary masks with VTK. The json contours were made using an unknown shareware we no longer have access to, a…

---

## [Creating a simple polyline VTKHDF](https://discourse.vtk.org/t/creating-a-simple-polyline-vtkhdf/13828)

<div class="topic-metadata">

**Author:** [@Nikolaos\_Beratlis](https://discourse.vtk.org/u/Nikolaos_Beratlis)\
**Replies:** 3\
**Last updated:** [May 3, 2024, 6:19am UTC](https://discourse.vtk.org/t/creating-a-simple-polyline-vtkhdf/13828 "2024-05-03T06:19:18Z")

</div>

I have created a simple legacy VTK for a bunch of lines as shown below: # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA POINTS 4 float 0 0 0 1 1 0 1 2 0 2 0 0 LINES 2 8 3 0 1 3 3 4 2 0 I want to create the…

---

## [Working through this constrained vtkDelaunay2D example: One line confuses me](https://discourse.vtk.org/t/working-through-this-constrained-vtkdelaunay2d-example-one-line-confuses-me/13830)

<div class="topic-metadata">

**Author:** [@djames](https://discourse.vtk.org/u/djames)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 7:58am UTC](https://discourse.vtk.org/t/working-through-this-constrained-vtkdelaunay2d-example-one-line-confuses-me/13830 "2024-05-02T07:58:03Z")

</div>

This example script linked below generates a surface with a vtk-shaped hole using vtkDelaunay2D. I think I understand the all of the script except for line 94: polys.InsertNextCell(28) The script generates outer points …

---

## [vtkDistanceRepresentation handle positions not updated during Pan/Zoom](https://discourse.vtk.org/t/vtkdistancerepresentation-handle-positions-not-updated-during-pan-zoom/13829)

<div class="topic-metadata">

**Author:** [@tchen87](https://discourse.vtk.org/u/tchen87)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 6:41pm UTC](https://discourse.vtk.org/t/vtkdistancerepresentation-handle-positions-not-updated-during-pan-zoom/13829 "2024-05-01T18:41:12Z")

</div>

I have been able to reproduce this issue in the FourPaneViewer example (https://gitlab.kitware.com/vtk/vtk/-/tree/v9.3.0/Examples/GUI/Qt/FourPaneViewer ) If you have a distance widget added to a scene and have interacte…

---

## [generic SetArrayComponent in a filter pipeline](https://discourse.vtk.org/t/generic-setarraycomponent-in-a-filter-pipeline/13827)

<div class="topic-metadata">

**Author:** [@omdaniel](https://discourse.vtk.org/u/omdaniel)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 1:50pm UTC](https://discourse.vtk.org/t/generic-setarraycomponent-in-a-filter-pipeline/13827 "2024-05-01T13:50:54Z")

</div>

I have celldata with a multi-component scalar and I cannot figure out how to set the component to use early in a filter pipeline, some filters have a setcomponent method like the contour filter but many others do not. Is…

---

## [How to add two vtkDataArray objects of same type in vtk python?](https://discourse.vtk.org/t/how-to-add-two-vtkdataarray-objects-of-same-type-in-vtk-python/13811)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.vtk.org/u/dbtruong)\
**Replies:** 6\
**Last updated:** [May 1, 2024, 4:17am UTC](https://discourse.vtk.org/t/how-to-add-two-vtkdataarray-objects-of-same-type-in-vtk-python/13811 "2024-05-01T04:17:06Z")

</div>

Hello all, How to add two vtkDataArray objects of same type in vtk python? Is there any vtk-class to do this? Thanks.

---

## [Ploting "infinite" plane](https://discourse.vtk.org/t/ploting-infinite-plane/13796)

<div class="topic-metadata">

**Author:** [@Miguelrevine](https://discourse.vtk.org/u/Miguelrevine)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 6:44pm UTC](https://discourse.vtk.org/t/ploting-infinite-plane/13796 "2024-04-30T18:44:36Z")

</div>

Hi everyone! I have a doubt, currently I’m developing a feature for my application that displays a plane given 3 points, obviously I can’t draw an infinite plane and my solution was a quad cell (3 given points + one afte…

---

## [Disable shift-drag (translate) in TrackballActor interaction style](https://discourse.vtk.org/t/disable-shift-drag-translate-in-trackballactor-interaction-style/13823)

<div class="topic-metadata">

**Author:** [@Charles\_G\_Waldman](https://discourse.vtk.org/u/Charles_G_Waldman)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 6:38pm UTC](https://discourse.vtk.org/t/disable-shift-drag-translate-in-trackballactor-interaction-style/13823 "2024-04-30T18:38:10Z")

</div>

While in “TrackballActor” interaction style, I would like to allow users to rotate objects around their centers, but not drag them out of position (shift-click), is there an easy way to achieve this?

---

## [VTK Avalonia Rendering Mode](https://discourse.vtk.org/t/vtk-avalonia-rendering-mode/13805)

<div class="topic-metadata">

**Author:** [@EstivalDawn](https://discourse.vtk.org/u/EstivalDawn)\
**Replies:** 0\
**Last updated:** [April 28, 2024, 8:26am UTC](https://discourse.vtk.org/t/vtk-avalonia-rendering-mode/13805 "2024-04-28T08:26:46Z")

</div>

Hi, I am trying to use VTK in Avalonia for Windows application development (Avalonia version: 11.0.10, VTK version: 9.3). According to HelloVTKAvalonia provided in official Examples, I need to set RenderingMode to Wgl: .…

---

## [VTK python wheel cannot import dlls or doesn't generate pyi](https://discourse.vtk.org/t/vtk-python-wheel-cannot-import-dlls-or-doesnt-generate-pyi/13769)

<div class="topic-metadata">

**Author:** [@Sai\_Chaitanya\_Rodda](https://discourse.vtk.org/u/Sai_Chaitanya_Rodda)\
**Replies:** 2\
**Last updated:** [April 27, 2024, 8:43pm UTC](https://discourse.vtk.org/t/vtk-python-wheel-cannot-import-dlls-or-doesnt-generate-pyi/13769 "2024-04-27T20:43:40Z")

</div>

Hello All, I am currently building VTK from source with flag VTK\_WHEEL\_BUILD as on to make my own python wheel. However, the python wheel created is not usable. I have to either specify the vtk dll paths in my python pr…

---

## [VTK 9.3.0 iOS compile errors](https://discourse.vtk.org/t/vtk-9-3-0-ios-compile-errors/13474)

<div class="topic-metadata">

**Author:** [@HenryHu](https://discourse.vtk.org/u/HenryHu)\
**Replies:** 1\
**Last updated:** [April 27, 2024, 7:07pm UTC](https://discourse.vtk.org/t/vtk-9-3-0-ios-compile-errors/13474 "2024-04-27T19:07:27Z")

</div>

Errors when compile the VTK 9.3.0 for iOS, using Mac book pro with M2 Max cpu. The CMake Config The Errors Please help me.Thank you very much.

---

## [VTK9.3.0 , cross compile cloud not export qt quick plugin](https://discourse.vtk.org/t/vtk9-3-0-cross-compile-cloud-not-export-qt-quick-plugin/13767)

<div class="topic-metadata">

**Author:** [@nocanstillbb](https://discourse.vtk.org/u/nocanstillbb)\
**Replies:** 1\
**Last updated:** [April 27, 2024, 6:57pm UTC](https://discourse.vtk.org/t/vtk9-3-0-cross-compile-cloud-not-export-qt-quick-plugin/13767 "2024-04-27T18:57:36Z")

</div>

vtk export qt quick plugin is using qmlplugindump but qmlplugindump unable to support cross-compile . see : There are no plugin.qmltypes files with the plugins · Issue #108 · qml-box2d/qml-box2d · GitHub root@7bbad3…

---

## [PIP packages with EGL?](https://discourse.vtk.org/t/pip-packages-with-egl/9745)

<div class="topic-metadata">

**Author:** [@Ingmar](https://discourse.vtk.org/u/Ingmar)\
**Replies:** 12\
**Last updated:** [April 27, 2024, 6:55pm UTC](https://discourse.vtk.org/t/pip-packages-with-egl/9745 "2024-04-27T18:55:46Z")

</div>

I am using VTK offscreen rendering with EGL via Files :: Anaconda.org (e.g. linux-64/vtk-9.2.2-egl\_py38h6ab77d2\_4.tar.bz2), which works great. However sometimes I would also like to set this up via pip, however AFAIK vt…

---

## [Drawing Multiple 2D text at 3D position](https://discourse.vtk.org/t/drawing-multiple-2d-text-at-3d-position/13084)

<div class="topic-metadata">

**Author:** [@Alucard](https://discourse.vtk.org/u/Alucard)\
**Replies:** 7\
**Last updated:** [April 26, 2024, 3:44pm UTC](https://discourse.vtk.org/t/drawing-multiple-2d-text-at-3d-position/13084 "2024-04-26T15:44:37Z")

</div>

I need to draw Multiple 2D text with a 3D position. It can go up to a couple of thousand of text label. I tried using vtkCaptionActor2D, it is doing what i am looking for, but it is very slow. I also made some test, usi…

---

## [link error:libvtkCommonDataModel-9.3.so.9.3: undefined reference to \`vtkpugixml::xml\_attribute\_iterator::operator!](https://discourse.vtk.org/t/link-error-libvtkcommondatamodel-9-3-so-9-3-undefined-reference-to-vtkpugixml-operator/13745)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 8\
**Last updated:** [April 26, 2024, 12:54pm UTC](https://discourse.vtk.org/t/link-error-libvtkcommondatamodel-9-3-so-9-3-undefined-reference-to-vtkpugixml-operator/13745 "2024-04-26T12:54:54Z")

</div>

My configuration : ubuntu 22.04,linking stage gives this error: \[ 98%\] Built target WrapJava \[ 99%\] Built target PythonInterpreter \[ 99%\] Linking CXX executable ../../bin/vtkProbeOpenGLVersion-9.3 /usr/bin/ld: ../../lib…

---

## [VTK qt configuration on Ubuntu](https://discourse.vtk.org/t/vtk-qt-configuration-on-ubuntu/12387)

<div class="topic-metadata">

**Author:** [@Massi](https://discourse.vtk.org/u/Massi)\
**Replies:** 4\
**Last updated:** [April 25, 2024, 3:58pm UTC](https://discourse.vtk.org/t/vtk-qt-configuration-on-ubuntu/12387 "2024-04-25T15:58:29Z")

</div>

Hello, I’m trying to setup VTK with Qt5. Do I need qt5Qml + Qt5Quick if I just want to create a small project to display DICOM images. I’m asking that because I have these errors which are blocking me from configuring m…

---

## [HyperTreeGrid multicomponent scalar for time?](https://discourse.vtk.org/t/hypertreegrid-multicomponent-scalar-for-time/13750)

<div class="topic-metadata">

**Author:** [@omdaniel](https://discourse.vtk.org/u/omdaniel)\
**Replies:** 4\
**Last updated:** [April 25, 2024, 7:11am UTC](https://discourse.vtk.org/t/hypertreegrid-multicomponent-scalar-for-time/13750 "2024-04-25T07:11:42Z")

</div>

I have a HyperTreeGrid that has the identical tree structure for many time slices and I am wondering if using a multicomponent scalar would be a flexible way to associate the data at different times with the static tree.…

---

## [Is it possible to load GLTF files using multithreading without blocking the rendering?](https://discourse.vtk.org/t/is-it-possible-to-load-gltf-files-using-multithreading-without-blocking-the-rendering/13783)

<div class="topic-metadata">

**Author:** [@callback00](https://discourse.vtk.org/u/callback00)\
**Replies:** 0\
**Last updated:** [April 24, 2024, 8:58am UTC](https://discourse.vtk.org/t/is-it-possible-to-load-gltf-files-using-multithreading-without-blocking-the-rendering/13783 "2024-04-24T08:58:50Z")

</div>

I want to load two GLTF models, one simple and one complex. Since the complex model takes a long time to load, I use multithreading to load it. However, I found that after the simple model is loaded and rendered, I’m una…

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

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