# Support

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

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

**Page:** 91

---

## [VTKOBBTree::InsideOrOutside Strange running time](https://discourse.vtk.org/t/vtkobbtree-insideoroutside-strange-running-time/7193)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 1\
**Last updated:** [November 17, 2021, 11:06am UTC](https://discourse.vtk.org/t/vtkobbtree-insideoroutside-strange-running-time/7193 "2021-11-17T11:06:38Z")

</div>

Hi, teams. I have used vtkobbtree::InsideOrOutside to detect the intersection of two polys. Then I made a tree for poly\_a, and detect if poly\_b.point(i) is in poly\_a. Here is the problem, If b is far away from a, (c…

---

## [Performance loss migration to VTK9 and Qt6](https://discourse.vtk.org/t/performance-loss-migration-to-vtk9-and-qt6/7202)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 8:51am UTC](https://discourse.vtk.org/t/performance-loss-migration-to-vtk9-and-qt6/7202 "2021-11-17T08:51:55Z")

</div>

Hello, I am in the process of migrating software that was running on qt5 with QML (use of framebuffers …) and VTK 8.1 to Qt6 and VTK 9.1. VTK9 adds QQmlVTKPlugin for easy integration into qml code, so I use this solutio…

---

## [Can I access the vtKImageData pixel value code using array subscript method?](https://discourse.vtk.org/t/can-i-access-the-vtkimagedata-pixel-value-code-using-array-subscript-method/7190)

<div class="topic-metadata">

**Author:** [@loufear](https://discourse.vtk.org/u/loufear)\
**Replies:** 3\
**Last updated:** [November 17, 2021, 1:34am UTC](https://discourse.vtk.org/t/can-i-access-the-vtkimagedata-pixel-value-code-using-array-subscript-method/7190 "2021-11-17T01:34:42Z")

</div>

like ((int\*)(src-\>GetScalarPointer()))\[n\]

---

## [Fast 3D point cloud animation](https://discourse.vtk.org/t/fast-3d-point-cloud-animation/7083)

<div class="topic-metadata">

**Author:** [@brnk](https://discourse.vtk.org/u/brnk)\
**Replies:** 3\
**Last updated:** [November 16, 2021, 7:58pm UTC](https://discourse.vtk.org/t/fast-3d-point-cloud-animation/7083 "2021-11-16T19:58:20Z")

</div>

I want to visualize a polyData object of type vtkPolyData as a 3D point cloud and update it in an animation. The size, opacity, and the color of each point should be linked to the magnitude which is set as polyData-\>GetP…

---

## [CMakeLists Doesn't Find Version](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143)

<div class="topic-metadata">

**Author:** [@daredevil71120](https://discourse.vtk.org/u/daredevil71120)\
**Replies:** 6\
**Last updated:** [November 16, 2021, 7:05pm UTC](https://discourse.vtk.org/t/cmakelists-doesnt-find-version/7143 "2021-11-16T19:05:44Z")

</div>

Hello, I am trying to compile VTK through CMake on Windows. I keep getting this error: "CMake Error at CMakeLists.txt:18 (include): include could not find requested file: VTKDetermineVersion CMake Error at CMakeList…

---

## [Error Building VTK for Android](https://discourse.vtk.org/t/error-building-vtk-for-android/6803)

<div class="topic-metadata">

**Author:** [@cmengich](https://discourse.vtk.org/u/cmengich)\
**Replies:** 9\
**Last updated:** [November 16, 2021, 6:30pm UTC](https://discourse.vtk.org/t/error-building-vtk-for-android/6803 "2021-11-16T18:30:47Z")

</div>

I am currently trying to build vtk for android using these commands: cmake -S vtk-master -B vtk-android-build -DVTK\_ANDROID\_BUILD=ON cmake --build vtk-android-build The build is with the vtk version from the master bra…

---

## [vtkInformation issues](https://discourse.vtk.org/t/vtkinformation-issues/7016)

<div class="topic-metadata">

**Author:** [@naffrancois](https://discourse.vtk.org/u/naffrancois)\
**Replies:** 2\
**Last updated:** [November 16, 2021, 5:32pm UTC](https://discourse.vtk.org/t/vtkinformation-issues/7016 "2021-11-16T17:32:28Z")

</div>

Dear all, I am trying to use vtkInformation in order to set values to newly created actors so that I can reference them later in an easier way. I am using VTK 9.1 with Java wrappers on ubuntu 18.04. I am not so sure how…

---

## [Error while compiling ASL](https://discourse.vtk.org/t/error-while-compiling-asl/7180)

<div class="topic-metadata">

**Author:** [@Ganesh314159](https://discourse.vtk.org/u/Ganesh314159)\
**Replies:** 4\
**Last updated:** [November 16, 2021, 2:58pm UTC](https://discourse.vtk.org/t/error-while-compiling-asl/7180 "2021-11-16T14:58:37Z")

</div>

Well, I was compiling ASL using cmake and got Following error CMake Error at /usr/lib64/cmake/vtk/vtkDetectLibraryType.cmake:23 (message): The \`PATH\` argument is required. …

---

## [Is there any way to get the ids of the cells which are picked by using AreaPicker?](https://discourse.vtk.org/t/is-there-any-way-to-get-the-ids-of-the-cells-which-are-picked-by-using-areapicker/7185)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [November 16, 2021, 4:20am UTC](https://discourse.vtk.org/t/is-there-any-way-to-get-the-ids-of-the-cells-which-are-picked-by-using-areapicker/7185 "2021-11-16T04:20:31Z")

</div>

Hello, I want to color the picked cells of origin actor,rather then to create a new actor to represent the picked cells,is there any way to get the ids of picked cells in original actor?

---

## [Help Understanding Update() in VTK9](https://discourse.vtk.org/t/help-understanding-update-in-vtk9/7120)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 2\
**Last updated:** [November 15, 2021, 10:37pm UTC](https://discourse.vtk.org/t/help-understanding-update-in-vtk9/7120 "2021-11-15T22:37:11Z")

</div>

I am working on updating vmtk a library that heavily depends on VTK to use vtk9. I was able to get things building, but ran into a problem where it seems like calling Update() causes an abort. I am aware of changes to …

---

## [install VTK ,missing liblzo2.so.2, even I had liblzo.so and .a in /usr/lib/x86\_64-linux-gnu](https://discourse.vtk.org/t/install-vtk-missing-liblzo2-so-2-even-i-had-liblzo-so-and-a-in-usr-lib-x86-64-linux-gnu/7055)

<div class="topic-metadata">

**Author:** [@user1](https://discourse.vtk.org/u/user1)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 9:08pm UTC](https://discourse.vtk.org/t/install-vtk-missing-liblzo2-so-2-even-i-had-liblzo-so-and-a-in-usr-lib-x86-64-linux-gnu/7055 "2021-11-15T21:08:53Z")

</div>

install VTK ,missing liblzo2.so.2, even I had liblzo.so and liblzo2.a in /usr/lib/x86\_64-linux-gnu; how to install liblzo2.so.2

---

## [How to include vtk dll in my self projection?](https://discourse.vtk.org/t/how-to-include-vtk-dll-in-my-self-projection/6985)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [November 15, 2021, 9:05pm UTC](https://discourse.vtk.org/t/how-to-include-vtk-dll-in-my-self-projection/6985 "2021-11-15T21:05:24Z")

</div>

I want to use vtk in my team projection. I firstly install vtk, and collect the necessary dll, and the fold is: Thirdparty VTK bin Debug xxx.dll ... R…

---

## [vtkSmartVolumeMapper with vtkImageData and IndependentComponentsOn/Off faint images](https://discourse.vtk.org/t/vtksmartvolumemapper-with-vtkimagedata-and-independentcomponentson-off-faint-images/7156)

<div class="topic-metadata">

**Author:** [@ARSanderson](https://discourse.vtk.org/u/ARSanderson)\
**Replies:** 12\
**Last updated:** [November 15, 2021, 8:27pm UTC](https://discourse.vtk.org/t/vtksmartvolumemapper-with-vtkimagedata-and-independentcomponentson-off-faint-images/7156 "2021-11-15T20:27:29Z")

</div>

I am using VTK 9 master for this work. I set up an off screen rendering pipeline using the vtkSmartVolumeMapper to render a vtkImageData. In the first case I set two scalars so have the color and opacity LUT independent…

---

## [How to evaluate Iterative Closest Point Transform?](https://discourse.vtk.org/t/how-to-evaluate-iterative-closest-point-transform/7178)

<div class="topic-metadata">

**Author:** [@Amin](https://discourse.vtk.org/u/Amin)\
**Replies:** 0\
**Last updated:** [November 15, 2021, 4:43pm UTC](https://discourse.vtk.org/t/how-to-evaluate-iterative-closest-point-transform/7178 "2021-11-15T16:43:37Z")

</div>

Hello, I am using ICP to register two surfaces. Is there any way to see how the optimizer reduces the metric (Metric versus iteration)? or at least the initial and final metric values? Thanks,

---

## [How to get the data out of a .vtu file?](https://discourse.vtk.org/t/how-to-get-the-data-out-of-a-vtu-file/7153)

<div class="topic-metadata">

**Author:** [@Ilmu011](https://discourse.vtk.org/u/Ilmu011)\
**Replies:** 2\
**Last updated:** [November 15, 2021, 10:33am UTC](https://discourse.vtk.org/t/how-to-get-the-data-out-of-a-vtu-file/7153 "2021-11-15T10:33:58Z")

</div>

I have some data from a 3D-Lidar scan in a.vtu file (a snapshot of a single frame) and I’d like to be able to access them in a programming environment (This is why I am using VTK). I am talking PRIMITIVE access (e.g. a s…

---

## [VTK 9.1 Edge actor overlay vs VTK 8.1](https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109)

<div class="topic-metadata">

**Author:** [@Flagada](https://discourse.vtk.org/u/Flagada)\
**Replies:** 1\
**Last updated:** [November 15, 2021, 9:58am UTC](https://discourse.vtk.org/t/vtk-9-1-edge-actor-overlay-vs-vtk-8-1/7109 "2021-11-15T09:58:00Z")

</div>

Hi ! I’ve tested the new 9.1.0 version and the good news is that one problem I mentioned in a previous post is well solved (https://discourse.vtk.org/t/hidden-edges-are-visible-on-vtk-9-0-0) I’m glad I can update my sof…

---

## [Resize QQuickVtkRenderWIndow](https://discourse.vtk.org/t/resize-qquickvtkrenderwindow/7176)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 0\
**Last updated:** [November 15, 2021, 8:18am UTC](https://discourse.vtk.org/t/resize-qquickvtkrenderwindow/7176 "2021-11-15T08:18:27Z")

</div>

Hello Is it possible to resize a QQuickVtkRenderWIndow without making it the size of the qml applicationWindow ? Thanks

---

## [How to get an oblique 2d image from a 3d ct-images using vtk via python](https://discourse.vtk.org/t/how-to-get-an-oblique-2d-image-from-a-3d-ct-images-using-vtk-via-python/7174)

<div class="topic-metadata">

**Author:** [@Sara\_Tayyebi](https://discourse.vtk.org/u/Sara_Tayyebi)\
**Replies:** 0\
**Last updated:** [November 15, 2021, 5:29am UTC](https://discourse.vtk.org/t/how-to-get-an-oblique-2d-image-from-a-3d-ct-images-using-vtk-via-python/7174 "2021-11-15T05:29:27Z")

</div>

Hello. I want to get an oblique 2d image from a 3d ct-images using vtk via python. I want to extract a plane from my angle in coronal plane, that passes from spesific points, and access a specific oblique plane. I want …

---

## [vtk plane widget in qtquick, Qt 5](https://discourse.vtk.org/t/vtk-plane-widget-in-qtquick-qt-5/7172)

<div class="topic-metadata">

**Author:** [@kshahim](https://discourse.vtk.org/u/kshahim)\
**Replies:** 0\
**Last updated:** [November 14, 2021, 8:01pm UTC](https://discourse.vtk.org/t/vtk-plane-widget-in-qtquick-qt-5/7172 "2021-11-14T20:01:28Z")

</div>

I am trying to add a vtkPlaneWidget to vtkGenericOpenGLRenderWindow placed on QQuickFramebufferObject I can see placing widget works perfectly, but the interaction with the plane widget does not work, the interaction …

---

## [Extract velocity field from streamlines](https://discourse.vtk.org/t/extract-velocity-field-from-streamlines/7169)

<div class="topic-metadata">

**Author:** [@Francesco\_Montanaro](https://discourse.vtk.org/u/Francesco_Montanaro)\
**Replies:** 0\
**Last updated:** [November 14, 2021, 2:54pm UTC](https://discourse.vtk.org/t/extract-velocity-field-from-streamlines/7169 "2021-11-14T14:54:22Z")

</div>

I have a Streamtracer object which contains the streamlines of an UnstructuredGrid. I need to extract the velocity associated with each point of the streamlines. To compute the velocity of the i-th point I was thinking…

---

## [How to read VTK file](https://discourse.vtk.org/t/how-to-read-vtk-file/7164)

<div class="topic-metadata">

**Author:** [@HungBuiTien](https://discourse.vtk.org/u/HungBuiTien)\
**Replies:** 0\
**Last updated:** [November 13, 2021, 2:38am UTC](https://discourse.vtk.org/t/how-to-read-vtk-file/7164 "2021-11-13T02:38:16Z")

</div>

Hello everyone, I’m a newbie with VTK. I have a VTK file (type: DATASET RECTILINEAR\_GRID). I want to read the file as a NumPy array in Python. Can anyone help me, please? Thanks in advance. This is my vtk file: Example.v…

---

## [vtkAbstractArray::Resize behaviour](https://discourse.vtk.org/t/vtkabstractarray-resize-behaviour/7160)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 2\
**Last updated:** [November 12, 2021, 6:17pm UTC](https://discourse.vtk.org/t/vtkabstractarray-resize-behaviour/7160 "2021-11-12T18:17:18Z")

</div>

The vtkAbstractArray::Resize() method states: So indeed, when I resize an array I get So what should I do if I have an array with existing data which I want to preserve, but create additional space beyond it. After r…

---

## [vtkCellPicker can not pick vtk.vtkActor](https://discourse.vtk.org/t/vtkcellpicker-can-not-pick-vtk-vtkactor/7114)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 6\
**Last updated:** [November 12, 2021, 3:19pm UTC](https://discourse.vtk.org/t/vtkcellpicker-can-not-pick-vtk-vtkactor/7114 "2021-11-12T15:19:34Z")

</div>

There is vtk.vtkImageActor and vtk.vtkActor in the vtkRenderer. I want to pick the actor in the mouse move event with vtkCellPicker. I can pick vtkImageActor, but it is failed to pick vtkActor. The completed code is: im…

---

## [Use of vtkOrientationMarkerWidget with QQuickVtkRenderItem](https://discourse.vtk.org/t/use-of-vtkorientationmarkerwidget-with-qquickvtkrenderitem/7149)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 10:15am UTC](https://discourse.vtk.org/t/use-of-vtkorientationmarkerwidget-with-qquickvtkrenderitem/7149 "2021-11-11T10:15:41Z")

</div>

Hello, I’m using the QQmlVTKPlugin to render VTK9 via Qt6 QML. So my actors are renderer with a QQuickVTKRenderItem. I want to add a vtkAxesActor inside a vtkOrientationMarkerWidget in my scene. But I don’t have a vtkRe…

---

## [vtkAbstractArray - InsertTuple() and InsertValue()](https://discourse.vtk.org/t/vtkabstractarray-inserttuple-and-insertvalue/7141)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 19\
**Last updated:** [November 11, 2021, 10:08pm UTC](https://discourse.vtk.org/t/vtkabstractarray-inserttuple-and-insertvalue/7141 "2021-11-11T22:08:28Z")

</div>

I have a problem where I need to insert additional tuples (and/or values) in subclasses of vtkAbstractArray, i.e. vtkDataArray or vtkStringArray etc. The data should be truly inserted, i.e. if I insert “x” into (0,1,2,3…

---

## [Cylinder basic example doesn't work](https://discourse.vtk.org/t/cylinder-basic-example-doesnt-work/7118)

<div class="topic-metadata">

**Author:** [@Ilmu011](https://discourse.vtk.org/u/Ilmu011)\
**Replies:** 5\
**Last updated:** [November 11, 2021, 12:22pm UTC](https://discourse.vtk.org/t/cylinder-basic-example-doesnt-work/7118 "2021-11-11T12:22:55Z")

</div>

I am trying to run this: https://kitware.github.io/vtk-examples/site/Cxx/GeometricObjects/CylinderExample/ basic example, but it doesn’t work. The program compiles with no errors, but at execution, I only get an empty w…

---

## [How to colorise unstructured grid by values (discrete or continious)](https://discourse.vtk.org/t/how-to-colorise-unstructured-grid-by-values-discrete-or-continious/7137)

<div class="topic-metadata">

**Author:** [@user2](https://discourse.vtk.org/u/user2)\
**Replies:** 2\
**Last updated:** [November 11, 2021, 4:57am UTC](https://discourse.vtk.org/t/how-to-colorise-unstructured-grid-by-values-discrete-or-continious/7137 "2021-11-11T04:57:42Z")

</div>

Hi , i’m new to VTK. Result of creating and plotting UnstructeredGrid is left image How can i obtain result close to right image? Do i have to render or to colorise Grid, how to add color legend? Reading docs without …

---

## [vtkProjectedTerrainPath usage](https://discourse.vtk.org/t/vtkprojectedterrainpath-usage/7144)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 10:37pm UTC](https://discourse.vtk.org/t/vtkprojectedterrainpath-usage/7144 "2021-11-10T22:37:34Z")

</div>

Hello, we are trying to use vtkProjectedTerrainPath to vertically project a polyline onto a digital elevation model, but our input terrain data is a vtkStructuredGrid and a 2D height image is required instead (see docume…

---

## [DICOM with vtkImageViewer2()](https://discourse.vtk.org/t/dicom-with-vtkimageviewer2/7140)

<div class="topic-metadata">

**Author:** [@Kamil](https://discourse.vtk.org/u/Kamil)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 7:37pm UTC](https://discourse.vtk.org/t/dicom-with-vtkimageviewer2/7140 "2021-11-10T19:37:22Z")

</div>

I have questions regarding DICOM visualisation orientation in vtkImageViewer2(). Just before I start, I read some other posts and I looked at the these websites: https://www.slicer.org/wiki/Coordinate\_systems https://…

---

## [Using 3Dxconnection space mouse (tdx), events are not triggering and device not working](https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138)

<div class="topic-metadata">

**Author:** [@cebugdev](https://discourse.vtk.org/u/cebugdev)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 4:09pm UTC](https://discourse.vtk.org/t/using-3dxconnection-space-mouse-tdx-events-are-not-triggering-and-device-not-working/7138 "2021-11-10T16:09:27Z")

</div>

Hi, we are planning to integrate 3DX spacemouse device to our VTK based QT application, I followed the tutorial from here https://gitlab.kitware.com/lenlen/vtk/-/blob/b50286296b8cca5265f9c947f6c3deec12d65f23/Rendering/O…

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

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