# Latest

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

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

**Page:** 155

---

## [Building VTK for Mac M1+ARM : Undefined symbols: \_JAWT\_GetAWT](https://discourse.vtk.org/t/building-vtk-for-mac-m1-arm-undefined-symbols-jawt-getawt/7181)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 12\
**Last updated:** [November 17, 2021, 11:18am UTC](https://discourse.vtk.org/t/building-vtk-for-mac-m1-arm-undefined-symbols-jawt-getawt/7181 "2021-11-17T11:18:25Z")

</div>

Hi, I am trying to build VTK 9.1.0-rc2 on a Mac M1 with an ARM64. I am blocked at \[ 38%\] Linking CXX shared library ../../lib/java/vtk-Darwin-arm64/libvtkRenderingCoreJava.jnilib Undefined symbols for architecture arm6…

---

## [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\]

---

## [ArrowSource, but not centered at (0, 0, 0)](https://discourse.vtk.org/t/arrowsource-but-not-centered-at-0-0-0/7182)

<div class="topic-metadata">

**Author:** [@anonymous\_iguana](https://discourse.vtk.org/u/anonymous_iguana)\
**Replies:** 11\
**Last updated:** [November 16, 2021, 8:10pm UTC](https://discourse.vtk.org/t/arrowsource-but-not-centered-at-0-0-0/7182 "2021-11-16T20:10:37Z")

</div>

Hello! In vtk.js, there is an ArrowSource, which creates a nice arrow made up of a cylinder and cone. However, it is always centered at (0, 0, 0) and I would like this arrow to be offset on the side of a volume not cent…

---

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

---

## [Extending widgetstate with new fields](https://discourse.vtk.org/t/extending-widgetstate-with-new-fields/7133)

<div class="topic-metadata">

**Author:** [@emil-peter](https://discourse.vtk.org/u/emil-peter)\
**Replies:** 3\
**Last updated:** [November 16, 2021, 7:18pm UTC](https://discourse.vtk.org/t/extending-widgetstate-with-new-fields/7133 "2021-11-16T19:18:01Z")

</div>

I’m currently extending the existing image cropping widget with some extra additions of my own. My question is now how I would go by extending the existing state with an extra field. Normally I would go by making a Stat…

---

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

---

## [Could we have a new VTK 9.x release soon?](https://discourse.vtk.org/t/could-we-have-a-new-vtk-9-x-release-soon/5464)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 25\
**Last updated:** [November 16, 2021, 4:20pm UTC](https://discourse.vtk.org/t/could-we-have-a-new-vtk-9-x-release-soon/5464 "2021-11-16T16:20:04Z")

</div>

Hi all, While tracking down something recently, I noticed the current VTK release (9.0.1) doesn’t actually compile out-of-the-box on recent macOS / Xcode because of: /VTK-9.0.1/ThirdParty/hdf5/vtkhdf5/src/H5Fsuper.c:13…

---

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

---

## [Edge rendering issues](https://discourse.vtk.org/t/edge-rendering-issues/7175)

<div class="topic-metadata">

**Author:** [@a-u](https://discourse.vtk.org/u/a-u)\
**Replies:** 4\
**Last updated:** [November 16, 2021, 7:59am UTC](https://discourse.vtk.org/t/edge-rendering-issues/7175 "2021-11-16T07:59:03Z")

</div>

Hi there, I’m struggling with the following problem - model edges are not rendered properly in concave regions. Is there something I’m missing here (like a setting that can be tuned) or is it some kind of an intrinsic l…

---

## [Solutions for vtkCollection API issues](https://discourse.vtk.org/t/solutions-for-vtkcollection-api-issues/6787)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 26\
**Last updated:** [November 16, 2021, 12:15am UTC](https://discourse.vtk.org/t/solutions-for-vtkcollection-api-issues/6787 "2021-11-16T00:15:55Z")

</div>

Hi, I’ve filed an issue outlining problems with the current set of vtkCollection APIs that are exposed. The issue states the problem and this thread is meant to discuss possible solutions (conclusions will go back to th…

---

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

---

## [Make vtk filter update only certain aspects of output](https://discourse.vtk.org/t/make-vtk-filter-update-only-certain-aspects-of-output/7167)

<div class="topic-metadata">

**Author:** [@Ebrahim\_Ebrahim](https://discourse.vtk.org/u/Ebrahim_Ebrahim)\
**Replies:** 2\
**Last updated:** [November 15, 2021, 4:14pm UTC](https://discourse.vtk.org/t/make-vtk-filter-update-only-certain-aspects-of-output/7167 "2021-11-15T16:14:30Z")

</div>

I’m making a “source” object, similar to vtkSphereSource, so I have set up the requestData method to construct and return a vtkPolyData (“return” in the sense of filling the output parameter outData) Now every time I m…

---

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

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

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