# Latest

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

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

**Page:** 160

---

## [VTK support for Qt](https://discourse.vtk.org/t/vtk-support-for-qt/6909)

<div class="topic-metadata">

**Author:** [@SurajJadhav](https://discourse.vtk.org/u/SurajJadhav)\
**Replies:** 1\
**Last updated:** [October 19, 2021, 4:30am UTC](https://discourse.vtk.org/t/vtk-support-for-qt/6909 "2021-10-19T04:30:50Z")

</div>

I m using Ubuntu 20.04 and Qt5.13.2. I was using VTK 7.1 till now and had generated QVTKWidgetPlugin.so file to be used in Qt. Now I have upgraded my VTK to latest version 9.1.0 and I have seen in multiple posts that QV…

---

## [Display topographic data as latitude, longitude and elevation?](https://discourse.vtk.org/t/display-topographic-data-as-latitude-longitude-and-elevation/6899)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 4\
**Last updated:** [October 18, 2021, 4:59pm UTC](https://discourse.vtk.org/t/display-topographic-data-as-latitude-longitude-and-elevation/6899 "2021-10-18T16:59:53Z")

</div>

My VTK C++ app reads GMT grid files that contain latitude/longitude (degrees) and corresponding elevation (meters) into a VtkPointArray, where x is longitude, y is latitude and z is depth. However the elevation range (z-…

---

## [Memory leak in QVTK widget and PCL visualizer](https://discourse.vtk.org/t/memory-leak-in-qvtk-widget-and-pcl-visualizer/6881)

<div class="topic-metadata">

**Author:** [@SurajJadhav](https://discourse.vtk.org/u/SurajJadhav)\
**Replies:** 3\
**Last updated:** [October 18, 2021, 10:17am UTC](https://discourse.vtk.org/t/memory-leak-in-qvtk-widget-and-pcl-visualizer/6881 "2021-10-18T10:17:16Z")

</div>

I m using Ubuntu 20.04 with Qt5.12 for developing a QT project which uses a QVTK widget to display a 3D PCL visualiser. I m facing memory leak issues after defining the visualiser and vtk widget relationship. The header …

---

## [vtkGeoTransform and vtkGeoProjection - how the heck to use them?](https://discourse.vtk.org/t/vtkgeotransform-and-vtkgeoprojection-how-the-heck-to-use-them/6898)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 2\
**Last updated:** [October 16, 2021, 9:20pm UTC](https://discourse.vtk.org/t/vtkgeotransform-and-vtkgeoprojection-how-the-heck-to-use-them/6898 "2021-10-16T21:20:51Z")

</div>

My vtk-8 C++ app reads GMT grid files that contain latitude/longitude (degrees) and elevation (meters) into a VtkPointArray. I would like to display the data in various map projections, including Universal Transverse Mer…

---

## [vtk app CPU usage 100%.](https://discourse.vtk.org/t/vtk-app-cpu-usage-100/6894)

<div class="topic-metadata">

**Author:** [@BeyondXinXin](https://discourse.vtk.org/u/BeyondXinXin)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 9:37am UTC](https://discourse.vtk.org/t/vtk-app-cpu-usage-100/6894 "2021-10-15T09:37:21Z")

</div>

After modify vtkCubeAxesActor TitleText colour,CPU usage 100%. Set the uniform color and everything is normal class Callback : public vtkCommand { public: vtkTypeMacro(Callback, vtkCommand); static Callback \*New…

---

## [The KeyPressEvent event cannot be acquired and processed in the emscripten environment](https://discourse.vtk.org/t/the-keypressevent-event-cannot-be-acquired-and-processed-in-the-emscripten-environment/6891)

<div class="topic-metadata">

**Author:** [@Kevin\_Jiang](https://discourse.vtk.org/u/Kevin_Jiang)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 7:17am UTC](https://discourse.vtk.org/t/the-keypressevent-event-cannot-be-acquired-and-processed-in-the-emscripten-environment/6891 "2021-10-15T07:17:50Z")

</div>

I recently followed your vtkDearImGUIInjector project and built it under emscripten.My development environment is： VTK： git clone https://gitlab.kitware.com/vtk/VTK.git git checkout b39f9bfb Emscripten： 1.39.10 I s…

---

## [Anyone tried QQmlVTKPlugin in VTK 9.1?](https://discourse.vtk.org/t/anyone-tried-qqmlvtkplugin-in-vtk-9-1/6852)

<div class="topic-metadata">

**Author:** [@Cameron](https://discourse.vtk.org/u/Cameron)\
**Replies:** 1\
**Last updated:** [October 15, 2021, 7:04am UTC](https://discourse.vtk.org/t/anyone-tried-qqmlvtkplugin-in-vtk-9-1/6852 "2021-10-15T07:04:08Z")

</div>

I wanted to use QtQuick + QML as the frontend and VTK as the backend. I found out that VTK 9.1 has implemented QQmlVTKPlugin. So I would like to try it. See https://vtk.org/doc/nightly/html/classQQmlVTKPlugin.html#deta…

---

## [How to downlod the input file of official example?](https://discourse.vtk.org/t/how-to-downlod-the-input-file-of-official-example/5577)

<div class="topic-metadata">

**Author:** [@lessismore](https://discourse.vtk.org/u/lessismore)\
**Replies:** 4\
**Last updated:** [October 15, 2021, 6:46am UTC](https://discourse.vtk.org/t/how-to-downlod-the-input-file-of-official-example/5577 "2021-10-15T06:46:37Z")

</div>

I am a new user of vtk,and learn a lot from official example.However I have a trouble in reading example that can’t find the address of input file of official example. I hope someone can help me,thank you.

---

## [loguru link error on macOS 10.12](https://discourse.vtk.org/t/loguru-link-error-on-macos-10-12/6859)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 2\
**Last updated:** [October 14, 2021, 2:53pm UTC](https://discourse.vtk.org/t/loguru-link-error-on-macos-10-12/6859 "2021-10-14T14:53:30Z")

</div>

Hi all, One, and only one, of my bots has this build error: Undefined symbols for architecture x86\_64: "vtkloguru::vstrprintf(char const\*, \_\_va\_list\_tag\*)", referenced from: vtkLogger::LogScopeRAII::LogScopeRAI…

---

## [Visualize user made .ply properties with paraview](https://discourse.vtk.org/t/visualize-user-made-ply-properties-with-paraview/6886)

<div class="topic-metadata">

**Author:** [@Benjamin\_Fouquet](https://discourse.vtk.org/u/Benjamin_Fouquet)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 1:06pm UTC](https://discourse.vtk.org/t/visualize-user-made-ply-properties-with-paraview/6886 "2021-10-14T13:06:54Z")

</div>

Hello there, I have a .ply file with a user-defined property for each vertex. The property is a float value that is supposed to show the intensity of a particular vertex. Is there any elegant way to display this value i…

---

## [Point Cloud Cutting with no results](https://discourse.vtk.org/t/point-cloud-cutting-with-no-results/6855)

<div class="topic-metadata">

**Author:** [@dwventer](https://discourse.vtk.org/u/dwventer)\
**Replies:** 4\
**Last updated:** [October 14, 2021, 8:54am UTC](https://discourse.vtk.org/t/point-cloud-cutting-with-no-results/6855 "2021-10-14T08:54:05Z")

</div>

I’m stuck trying to slice a vtkCutter through my vtkPolyData object. Normally this is not a problem but for some reason, I’m getting no results from the cutter on datasets where I need to use vtkVertexGlyphFilter on the …

---

## [Example for extracting a single cell from a polydata into a new dataset](https://discourse.vtk.org/t/example-for-extracting-a-single-cell-from-a-polydata-into-a-new-dataset/6858)

<div class="topic-metadata">

**Author:** [@raphael-bresson](https://discourse.vtk.org/u/raphael-bresson)\
**Replies:** 2\
**Last updated:** [October 13, 2021, 8:48pm UTC](https://discourse.vtk.org/t/example-for-extracting-a-single-cell-from-a-polydata-into-a-new-dataset/6858 "2021-10-13T20:48:34Z")

</div>

Hi, could anyone provide me with an example for doing the following operation: Let’s say I have a polydata. I want to extract one cell (knowing its ID) into a new dataset (which I will then display as a wireframe to h…

---

## [getCell not working ?](https://discourse.vtk.org/t/getcell-not-working/6857)

<div class="topic-metadata">

**Author:** [@raphael-bresson](https://discourse.vtk.org/u/raphael-bresson)\
**Replies:** 2\
**Last updated:** [October 13, 2021, 2:53pm UTC](https://discourse.vtk.org/t/getcell-not-working/6857 "2021-10-13T14:53:55Z")

</div>

Hi, I’m running vtk.js 20.0. I have a polydata p. I first build the cells: p.buildCells() Then I try to get a Cell: p.getCell(0) And I get the error: CELL\_FACTORY\[cellInfo.cellType\] is undefined My cell Type is VTK\_…

---

## [How to get the cell ids of mesh intersected with line using vtk ?](https://discourse.vtk.org/t/how-to-get-the-cell-ids-of-mesh-intersected-with-line-using-vtk/6798)

<div class="topic-metadata">

**Author:** [@Muhammad\_Ahmed](https://discourse.vtk.org/u/Muhammad_Ahmed)\
**Replies:** 1\
**Last updated:** [October 13, 2021, 4:04am UTC](https://discourse.vtk.org/t/how-to-get-the-cell-ids-of-mesh-intersected-with-line-using-vtk/6798 "2021-10-13T04:04:52Z")

</div>

I have a code for mesh generated myself and I have a defined line too. I want to use vtk to extract all the cells which are intersected with line. How do I access my data in vtk and what functions should I use to find in…

---

## [How to send python backend actor object data to vtk.js in HTML for rendering in web-browser?](https://discourse.vtk.org/t/how-to-send-python-backend-actor-object-data-to-vtk-js-in-html-for-rendering-in-web-browser/6799)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 5\
**Last updated:** [October 12, 2021, 7:23pm UTC](https://discourse.vtk.org/t/how-to-send-python-backend-actor-object-data-to-vtk-js-in-html-for-rendering-in-web-browser/6799 "2021-10-12T19:23:10Z")

</div>

Hello everyone, I was trying to create a 3D web-viewer with the help of the Django framework. In the backend, I am using python ITK and VTK packages to read a series of DICOM images. And then I am passing the generated…

---

## [How to get 2D plane area?](https://discourse.vtk.org/t/how-to-get-2d-plane-area/6807)

<div class="topic-metadata">

**Author:** [@Dgg820502](https://discourse.vtk.org/u/Dgg820502)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 10:50am UTC](https://discourse.vtk.org/t/how-to-get-2d-plane-area/6807 "2021-10-12T10:50:29Z")

</div>

Dear friends, The following is my python code for generating the 2D area of a contour by randomly cutting a 3D figure. I have used vtkCutter and vtkImageReslice functions, but no ideal which function should use to get …

---

## [Smoothing vtkMarchingSquare output](https://discourse.vtk.org/t/smoothing-vtkmarchingsquare-output/4354)

<div class="topic-metadata">

**Author:** [@CDevel](https://discourse.vtk.org/u/CDevel)\
**Replies:** 9\
**Last updated:** [October 12, 2021, 7:33am UTC](https://discourse.vtk.org/t/smoothing-vtkmarchingsquare-output/4354 "2021-10-12T07:33:40Z")

</div>

Greetings to all. I have search around the net and the forum to find a way to smooth the output of vtkMarchingSquares but I am in dead end I think. I have implemented a Dicom Viewer with RTStruct and RTDose support. At …

---

## [Where to find examples in the VTKUserGuide book?](https://discourse.vtk.org/t/where-to-find-examples-in-the-vtkuserguide-book/6797)

<div class="topic-metadata">

**Author:** [@Lyna-Tlncgbnn](https://discourse.vtk.org/u/Lyna-Tlncgbnn)\
**Replies:** 1\
**Last updated:** [October 12, 2021, 1:34am UTC](https://discourse.vtk.org/t/where-to-find-examples-in-the-vtkuserguide-book/6797 "2021-10-12T01:34:50Z")

</div>

where to find the examples like The following example (Figure 4–5) demonstrates the use of texture mapping (see VTK/Examples/Rendering/Tcl/TPlane.tcl). I can\`t find it

---

## [vtk.js Poly line selecting actors](https://discourse.vtk.org/t/vtk-js-poly-line-selecting-actors/6724)

<div class="topic-metadata">

**Author:** [@Jiayi](https://discourse.vtk.org/u/Jiayi)\
**Replies:** 4\
**Last updated:** [October 11, 2021, 8:42pm UTC](https://discourse.vtk.org/t/vtk-js-poly-line-selecting-actors/6724 "2021-10-11T20:42:45Z")

</div>

Dear vtk js, I am trying to implement a tool with polyline selections, but I came across some issues. The tool should allow users to: Draw a closed polyline. (Done, using the PolyLineWidget) Highlight all the actors w…

---

## [Detect the collosion of models, and change model outlook realtime](https://discourse.vtk.org/t/detect-the-collosion-of-models-and-change-model-outlook-realtime/6778)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 6\
**Last updated:** [October 11, 2021, 3:51am UTC](https://discourse.vtk.org/t/detect-the-collosion-of-models-and-change-model-outlook-realtime/6778 "2021-10-11T03:51:42Z")

</div>

Hi: Thanks for your reading. There are a question confused me, there are a femur model, and probe model. I control the probe to grind the femur. I can capture the collision caused by probe and femur. BUT I want to chang…

---

## [Building VTK for arm64 architecture](https://discourse.vtk.org/t/building-vtk-for-arm64-architecture/6524)

<div class="topic-metadata">

**Author:** [@SurajJadhav](https://discourse.vtk.org/u/SurajJadhav)\
**Replies:** 7\
**Last updated:** [October 11, 2021, 3:44am UTC](https://discourse.vtk.org/t/building-vtk-for-arm64-architecture/6524 "2021-10-11T03:44:50Z")

</div>

How can I build VTK 8.2.0 for arm64 architecture? Previously I have done it for x86\_64 machine and it worked fine. Now I m moving to arm64 machine but I see no options in CMake during building for arm64. Is there any ref…

---

## [3D reconstruction](https://discourse.vtk.org/t/3d-reconstruction/6791)

<div class="topic-metadata">

**Author:** [@Lyna-Tlncgbnn](https://discourse.vtk.org/u/Lyna-Tlncgbnn)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 1:38am UTC](https://discourse.vtk.org/t/3d-reconstruction/6791 "2021-10-09T01:38:47Z")

</div>

How can I use CT dicom Images to reconstruct it， i use python

---

## [Thicker lines on Cube and/or applying TubeFilter to CubeSource?](https://discourse.vtk.org/t/thicker-lines-on-cube-and-or-applying-tubefilter-to-cubesource/6727)

<div class="topic-metadata">

**Author:** [@anonymous\_iguana](https://discourse.vtk.org/u/anonymous_iguana)\
**Replies:** 4\
**Last updated:** [October 8, 2021, 9:35pm UTC](https://discourse.vtk.org/t/thicker-lines-on-cube-and-or-applying-tubefilter-to-cubesource/6727 "2021-10-08T21:35:24Z")

</div>

Hi there, I’m trying to thicken the lines of a wireframe cube so that the boundaries are more visible when viewed against an MRI image. I read that the setLineWidth is not supported by WebGL, so I have been trying to us…

---

## [How to Use vtkAppendArcLength Filter with vtkPolyLine](https://discourse.vtk.org/t/how-to-use-vtkappendarclength-filter-with-vtkpolyline/6788)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 5:04pm UTC](https://discourse.vtk.org/t/how-to-use-vtkappendarclength-filter-with-vtkpolyline/6788 "2021-10-08T17:04:49Z")

</div>

I have several vtkPolyLine objects created from Plot on Intersection Curves filter. How can I use the vtkAppendArcLength filter to add arc\_length to its PointData? For instance, in ParaView, I am trying to get the follo…

---

## [ShapeWidget Example failure](https://discourse.vtk.org/t/shapewidget-example-failure/6658)

<div class="topic-metadata">

**Author:** [@seattlewayne](https://discourse.vtk.org/u/seattlewayne)\
**Replies:** 5\
**Last updated:** [October 8, 2021, 5:09pm UTC](https://discourse.vtk.org/t/shapewidget-example-failure/6658 "2021-10-08T17:09:01Z")

</div>

The ShapeWidget Example doesn’t seem to work. It generates the console error: Uncaught TypeError: Cannot read properties of undefined (reading 'setVisible') Does anyone know how long this has been broken? Are there any…

---

## [vtk camera Pitch \> 87 degree resets view-up](https://discourse.vtk.org/t/vtk-camera-pitch-87-degree-resets-view-up/6786)

<div class="topic-metadata">

**Author:** [@santiago](https://discourse.vtk.org/u/santiago)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 10:25am UTC](https://discourse.vtk.org/t/vtk-camera-pitch-87-degree-resets-view-up/6786 "2021-10-08T10:25:54Z")

</div>

Hi All, I am using vtkCamea Pitch() for getting Coronal and Lateral view of a bone model. But when I use Pitch value \> 87 I get below warning. vtkRenderer.cxx:1164 WARN| vtkOpenGLRenderer (00000291DB33D650): Resettin…

---

## [Merging points of neighbour cells with vtkCleanPolyData](https://discourse.vtk.org/t/merging-points-of-neighbour-cells-with-vtkcleanpolydata/6782)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 8:00am UTC](https://discourse.vtk.org/t/merging-points-of-neighbour-cells-with-vtkcleanpolydata/6782 "2021-10-08T08:00:03Z")

</div>

Hi, I wish to extract the outer surface of a shape made of hexahedron. vtkGeometryFilter unfortunately can’t do it because these hexahedron are not sharing points. @will.schroeder suggested to use vtkCleanPolyData :…

---

## [Extraction and fusion of connected domains](https://discourse.vtk.org/t/extraction-and-fusion-of-connected-domains/6781)

<div class="topic-metadata">

**Author:** [@buyierfei](https://discourse.vtk.org/u/buyierfei)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 6:29am UTC](https://discourse.vtk.org/t/extraction-and-fusion-of-connected-domains/6781 "2021-10-08T06:29:18Z")

</div>

After analyzing the connected domain of a 3D volume data, several labeled connected domains are obtained. How to obtain the volume data of the corresponding connected domain through the label? What should I do if I want …

---

## [How to pass data between VTK and netgen directly WITHOUT writing/reading files?](https://discourse.vtk.org/t/how-to-pass-data-between-vtk-and-netgen-directly-without-writing-reading-files/6776)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [October 7, 2021, 5:03pm UTC](https://discourse.vtk.org/t/how-to-pass-data-between-vtk-and-netgen-directly-without-writing-reading-files/6776 "2021-10-07T17:03:51Z")

</div>

I knew how to exchange data by file,but it is verbose,so how to pass data to each other directly without writing/reading files?

---

## [Drawing perfectly uniform stipple lines.](https://discourse.vtk.org/t/drawing-perfectly-uniform-stipple-lines/6768)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 15\
**Last updated:** [October 7, 2021, 12:22pm UTC](https://discourse.vtk.org/t/drawing-perfectly-uniform-stipple-lines/6768 "2021-10-07T12:22:33Z")

</div>

Hello everyone, I was wondering if I could get some help with rendering stippled lines. I’m currently using a vtkActor attached to a PolyDataMapper of which I customise the Shader property in order to get the desired ef…

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

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