# Latest

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

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

**Page:** 168

---

## [vtk.js for openfoam data](https://discourse.vtk.org/t/vtk-js-for-openfoam-data/6334)

<div class="topic-metadata">

**Author:** [@lbs1163](https://discourse.vtk.org/u/lbs1163)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 3:48pm UTC](https://discourse.vtk.org/t/vtk-js-for-openfoam-data/6334 "2021-08-09T15:48:21Z")

</div>

Hello, I’m trying to implement web-based OpenFOAM GUI with vtk.js visualization. I managed to show the polygons by creating JSON and sending it to client (browser) using the below python code. https://github.com/Kitwar…

---

## [example's input data not found.](https://discourse.vtk.org/t/examples-input-data-not-found/6308)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 9\
**Last updated:** [August 9, 2021, 2:28pm UTC](https://discourse.vtk.org/t/examples-input-data-not-found/6308 "2021-08-09T14:28:42Z")

</div>

Hi, everyone. when I try to run exampe “./Examples/GUI/Qt/FourPaneViewer” failed I know I need a dicom file , but I can not find a dcm file in the src-dir, will anyone give me a suggestion? thanks. 2021-08-06 16:24:33…

---

## [Curious about VTK CI hardware configuration](https://discourse.vtk.org/t/curious-about-vtk-ci-hardware-configuration/6338)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 2:15pm UTC](https://discourse.vtk.org/t/curious-about-vtk-ci-hardware-configuration/6338 "2021-08-09T14:15:48Z")

</div>

I’ve been looking at this https://gitlab.kitware.com/vtk/vtk/-/ci/editor I’m curious to know some configuration details of the machines that aren’t “renderless”. The renderless ones are likely configured to build VTK a…

---

## [How to select a geometrical face and highligts it.](https://discourse.vtk.org/t/how-to-select-a-geometrical-face-and-highligts-it/6311)

<div class="topic-metadata">

**Author:** [@John\_Sunly](https://discourse.vtk.org/u/John_Sunly)\
**Replies:** 2\
**Last updated:** [August 9, 2021, 10:23am UTC](https://discourse.vtk.org/t/how-to-select-a-geometrical-face-and-highligts-it/6311 "2021-08-09T10:23:17Z")

</div>

Dear vtk.js: My target is to show an geometry shape on web (from reading \*.obj or \*.vtp). when user picks one of the geoetrical faces, the selected face is highligted. my strategy is to append cell data that is the geo…

---

## [vtkStructuredGrid() and vtkStructuredGrid.FindCell()](https://discourse.vtk.org/t/vtkstructuredgrid-and-vtkstructuredgrid-findcell/6306)

<div class="topic-metadata">

**Author:** [@joag](https://discourse.vtk.org/u/joag)\
**Replies:** 2\
**Last updated:** [August 9, 2021, 6:54am UTC](https://discourse.vtk.org/t/vtkstructuredgrid-and-vtkstructuredgrid-findcell/6306 "2021-08-09T06:54:22Z")

</div>

Dear vtk-users, During an internship at the Max Planck Institute for Plasma physics I have used your library a lot for interpolating from a structured grid of the fusion device we have here which has a very complicated …

---

## [Building VTK with Qt support - VTK looks in the wrong place for qmlplugindump](https://discourse.vtk.org/t/building-vtk-with-qt-support-vtk-looks-in-the-wrong-place-for-qmlplugindump/6325)

<div class="topic-metadata">

**Author:** [@rbaleksandar](https://discourse.vtk.org/u/rbaleksandar)\
**Replies:** 3\
**Last updated:** [August 8, 2021, 7:37pm UTC](https://discourse.vtk.org/t/building-vtk-with-qt-support-vtk-looks-in-the-wrong-place-for-qmlplugindump/6325 "2021-08-08T19:37:09Z")

</div>

I have installed Qt 5.15 via the official installer and not the package manager of my Xubuntu 20.04. According to cmake all the required cmake variables are set (Qt5\_DIR, Qt5Core\_DIR etc.). The build goes without any is…

---

## [Cant color by scalars after warpscalar filter merge](https://discourse.vtk.org/t/cant-color-by-scalars-after-warpscalar-filter-merge/6328)

<div class="topic-metadata">

**Author:** [@aivamyko](https://discourse.vtk.org/u/aivamyko)\
**Replies:** 0\
**Last updated:** [August 8, 2021, 1:51pm UTC](https://discourse.vtk.org/t/cant-color-by-scalars-after-warpscalar-filter-merge/6328 "2021-08-08T13:51:12Z")

</div>

Hello, i’ve been trying to color my object the same as i done it in paraview (image below), but after i used merge ColorByArrayComponent doesnt seem to work anymore. Can someone help ? I think i need to use color on warp…

---

## [OBJ to parallel VTP files](https://discourse.vtk.org/t/obj-to-parallel-vtp-files/6318)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [August 7, 2021, 12:02am UTC](https://discourse.vtk.org/t/obj-to-parallel-vtp-files/6318 "2021-08-07T00:02:10Z")

</div>

I am attempting to split up a high res mesh into 4 parts for parallel rendering in paraview on a cluster of 4 GPUs My attempt at creating the parallel \*.vtp file only resulted in a single portion visible so this leads m…

---

## [VTK-9.0.3, VTKExample-Infovis/Cxx skipped, InfovisBoost missing, 32 tests failed](https://discourse.vtk.org/t/vtk-9-0-3-vtkexample-infovis-cxx-skipped-infovisboost-missing-32-tests-failed/6224)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://discourse.vtk.org/u/Wile_E_Coyote)\
**Replies:** 16\
**Last updated:** [August 6, 2021, 5:30pm UTC](https://discourse.vtk.org/t/vtk-9-0-3-vtkexample-infovis-cxx-skipped-infovisboost-missing-32-tests-failed/6224 "2021-08-06T17:30:07Z")

</div>

This is Ubuntu 20.04.2 LTS / x86\_64 / gcc 9.3.0 here. I built the “VTK-9.0.3”. The “make test” reports: “2116 - VTKExample-Infovis/Cxx (Skipped)” Looking into the “Examples/Infovis/Cxx/CMakeLists.txt” file, I find th…

---

## [ImageData/PolyData XML writer: how save a lookup table associated to a cell data array](https://discourse.vtk.org/t/imagedata-polydata-xml-writer-how-save-a-lookup-table-associated-to-a-cell-data-array/6302)

<div class="topic-metadata">

**Author:** [@bva99](https://discourse.vtk.org/u/bva99)\
**Replies:** 3\
**Last updated:** [August 6, 2021, 2:55pm UTC](https://discourse.vtk.org/t/imagedata-polydata-xml-writer-how-save-a-lookup-table-associated-to-a-cell-data-array/6302 "2021-08-06T14:55:39Z")

</div>

I associated a simple lookup table to the cellarray of an image data. After generating a vtkPolyData from the vtkImageData using vtkImageDataGeometryFilter, it is possible to write the resulting output either to a legac…

---

## [GUISupportQtQuickCxx Failed Error regular expression found in output. Regex=\[Failed Image Test\]](https://discourse.vtk.org/t/guisupportqtquickcxx-failed-error-regular-expression-found-in-output-regex-failed-image-test/6303)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 1:19pm UTC](https://discourse.vtk.org/t/guisupportqtquickcxx-failed-error-regular-expression-found-in-output-regex-failed-image-test/6303 "2021-08-06T13:19:33Z")

</div>

Hi, everyone, I build vtk master on ubuntu2004 with Qt5.15.2(install with Qt’s online .run file). when i run ctest I get error message like below. anyone would like get me some advice to dig out why it wrong? very thank…

---

## [Emails from CDash](https://discourse.vtk.org/t/emails-from-cdash/6289)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 11\
**Last updated:** [August 6, 2021, 6:46am UTC](https://discourse.vtk.org/t/emails-from-cdash/6289 "2021-08-06T06:46:38Z")

</div>

After a VTK commit is made, CDash sends out emails to the committer if any build or test failures occur in nightly builds. This was enabled presumably to help point out errors that may have been introduce, but typically …

---

## [RogueResearch buildbots errors](https://discourse.vtk.org/t/rogueresearch-buildbots-errors/6307)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 6:32am UTC](https://discourse.vtk.org/t/rogueresearch-buildbots-errors/6307 "2021-08-06T06:32:09Z")

</div>

So I’ve just done a bit of triage on my vtk cdash submissions and there are lots of new errors & warnings there that should be fixed. It would take me most of a day to git blame every one of them and contact the person …

---

## [build success but test failed based on master with Qt5.15.2 on ubuntu2004](https://discourse.vtk.org/t/build-success-but-test-failed-based-on-master-with-qt5-15-2-on-ubuntu2004/6298)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 5\
**Last updated:** [August 6, 2021, 1:55am UTC](https://discourse.vtk.org/t/build-success-but-test-failed-based-on-master-with-qt5-15-2-on-ubuntu2004/6298 "2021-08-06T01:55:19Z")

</div>

Hi, there. I build the vtk source on branch master with Qt5.15.2 on ubuntu2004. when I run the test app, it failed like below information. anyone know how can I make the test run successful? very thanks. eton@9u:…

---

## [VTK online courses in October](https://discourse.vtk.org/t/vtk-online-courses-in-october/6296)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 3:27pm UTC](https://discourse.vtk.org/t/vtk-online-courses-in-october/6296 "2021-08-05T15:27:28Z")

</div>

VTK online courses coming up in October, CET times. VTK User: VTK User Training | Kitware Europe VTK Advanced: VTK Advanced Training | Kitware Europe VTK Python: VTK Python Training | Kitware Europe This will be the …

---

## [vtkCellLocator - line intersection(end point of the line)](https://discourse.vtk.org/t/vtkcelllocator-line-intersection-end-point-of-the-line/6295)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 10:44am UTC](https://discourse.vtk.org/t/vtkcelllocator-line-intersection-end-point-of-the-line/6295 "2021-08-05T10:44:13Z")

</div>

Hi, I’m trying to find an intersected point on a poly date with a line. one of end points of the line is the triangle’s vertex. I want to do not consider the triangle’s vertex as an intersected point. As below, S…

---

## [Problem in SetInputConnection.](https://discourse.vtk.org/t/problem-in-setinputconnection/6290)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [August 3, 2021, 11:25pm UTC](https://discourse.vtk.org/t/problem-in-setinputconnection/6290 "2021-08-03T23:25:06Z")

</div>

Dear All, Taking in account the code below: unsigned char \*image3; //contains the raw image vtkNew\<vtkImageConnectivityFilter\> connectivity; vtkSmartPointer\<vtkImageData\> image4 = vtkSmartPointer\<vtkImageData\>…

---

## [Npm Link for vtk.js](https://discourse.vtk.org/t/npm-link-for-vtk-js/6283)

<div class="topic-metadata">

**Author:** [@Nicolas\_Schmidt](https://discourse.vtk.org/u/Nicolas_Schmidt)\
**Replies:** 2\
**Last updated:** [August 3, 2021, 9:45pm UTC](https://discourse.vtk.org/t/npm-link-for-vtk-js/6283 "2021-08-03T21:45:03Z")

</div>

I’d like to contribute a PR that addresses this issue: Draft PR here: Before submitting my PR, I’d like to try out the code I’ve written locally in my project to make sure it works. I’m running into a problem where I…

---

## [3D Mesh & Texture](https://discourse.vtk.org/t/3d-mesh-texture/6286)

<div class="topic-metadata">

**Author:** [@herman](https://discourse.vtk.org/u/herman)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 5:41am UTC](https://discourse.vtk.org/t/3d-mesh-texture/6286 "2021-08-03T05:41:45Z")

</div>

I have a height map(with NAN value) and a 2d image. Part of my code: vtkSmartPointer imageImport = vtkSmartPointer::New(); imageImport-\>SetDataSpacing(1, 1, 1); imageImport-\>SetDataOrigin(0, 0, 0); imageImport-\>Set…

---

## [2D arc fillet using VTK](https://discourse.vtk.org/t/2d-arc-fillet-using-vtk/6268)

<div class="topic-metadata">

**Author:** [@NameRakes](https://discourse.vtk.org/u/NameRakes)\
**Replies:** 6\
**Last updated:** [August 2, 2021, 11:37pm UTC](https://discourse.vtk.org/t/2d-arc-fillet-using-vtk/6268 "2021-08-02T23:37:15Z")

</div>

Hi, I would like to add a fillet (or an arc) at the sharp corners of 2D polygons (square, rectangle) etc. Is the following approach correct, say for a square? Especially, is the use of vtkPolyData::CopyCells in step 3 co…

---

## [(Lack of) Documentation and Examples of Parallel (MPI) VTK](https://discourse.vtk.org/t/lack-of-documentation-and-examples-of-parallel-mpi-vtk/6215)

<div class="topic-metadata">

**Author:** [@jrwrigh](https://discourse.vtk.org/u/jrwrigh)\
**Replies:** 2\
**Last updated:** [August 2, 2021, 3:11pm UTC](https://discourse.vtk.org/t/lack-of-documentation-and-examples-of-parallel-mpi-vtk/6215 "2021-08-02T15:11:41Z")

</div>

I’ve noticed that there are no parallel vtk demonstrations other than what’s presented in these pair of blogs. Even then, they are focused on Python implementation and on “low level” uses of it (ie. basics of sending dat…

---

## [Efficient way to find the closest point to a plane from polydata.](https://discourse.vtk.org/t/efficient-way-to-find-the-closest-point-to-a-plane-from-polydata/6282)

<div class="topic-metadata">

**Author:** [@Miguel\_Socorro](https://discourse.vtk.org/u/Miguel_Socorro)\
**Replies:** 2\
**Last updated:** [August 2, 2021, 1:45pm UTC](https://discourse.vtk.org/t/efficient-way-to-find-the-closest-point-to-a-plane-from-polydata/6282 "2021-08-02T13:45:08Z")

</div>

Hello I have a polydata and I need to find the closest point of that polydata to a given plane. One way to do this is to go through all the points and calculate their distance to the plane, but it is inefficient. Does So…

---

## [Parallel VTK to separate \<Points\> and \<Cells\> from \<PointData\> and \<CellData\> in 2 files?](https://discourse.vtk.org/t/parallel-vtk-to-separate-points-and-cells-from-pointdata-and-celldata-in-2-files/6245)

<div class="topic-metadata">

**Author:** [@PouriaG](https://discourse.vtk.org/u/PouriaG)\
**Replies:** 1\
**Last updated:** [August 2, 2021, 8:17am UTC](https://discourse.vtk.org/t/parallel-vtk-to-separate-points-and-cells-from-pointdata-and-celldata-in-2-files/6245 "2021-08-02T08:17:29Z")

</div>

Hello all, I am using vtk/paraview to process transient simulation data over a set of nodes that do not move over time. So far I have copied the same cells and points data over different files corresponding to each time…

---

## [Bus Error when updating vtkPolyData in timed loop](https://discourse.vtk.org/t/bus-error-when-updating-vtkpolydata-in-timed-loop/6230)

<div class="topic-metadata">

**Author:** [@olympionex](https://discourse.vtk.org/u/olympionex)\
**Replies:** 9\
**Last updated:** [August 1, 2021, 11:54pm UTC](https://discourse.vtk.org/t/bus-error-when-updating-vtkpolydata-in-timed-loop/6230 "2021-08-01T23:54:46Z")

</div>

I am using code based on the VTK server example here (vtk.js) to create a Remote View application. My actual code is here: # Python 3 server examplefrom http.server import BaseHTTPRequestHandler, HTTPS - Pastebin.com …

---

## [Using VTK shared libraries in (CERN) ROOT](https://discourse.vtk.org/t/using-vtk-shared-libraries-in-cern-root/6236)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://discourse.vtk.org/u/Wile_E_Coyote)\
**Replies:** 22\
**Last updated:** [August 1, 2021, 9:43am UTC](https://discourse.vtk.org/t/using-vtk-shared-libraries-in-cern-root/6236 "2021-08-01T09:43:40Z")

</div>

I have recently (quite accidentally) got interested in VTK. I am trying to use its shared libraries from inside of ROOT. The current status is that I can dynamically load VTK libraries in a ROOT interactive session and…

---

## [cmake showing warning while configuring](https://discourse.vtk.org/t/cmake-showing-warning-while-configuring/6276)

<div class="topic-metadata">

**Author:** [@Asif\_Hossain](https://discourse.vtk.org/u/Asif_Hossain)\
**Replies:** 1\
**Last updated:** [July 31, 2021, 9:14pm UTC](https://discourse.vtk.org/t/cmake-showing-warning-while-configuring/6276 "2021-07-31T21:14:58Z")

</div>

I am getting the following warning when i try to configure Vtk 9.0.3 in CMake.Myoperating sysytem is Ubuntu 20.04 Warning at Rendering/OpenGL2/CMakeLists.txt:359 (message): X11::Xcursor not found; custom cursors will b…

---

## [Self-intersection check](https://discourse.vtk.org/t/self-intersection-check/6274)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 1\
**Last updated:** [July 31, 2021, 9:54am UTC](https://discourse.vtk.org/t/self-intersection-check/6274 "2021-07-31T09:54:35Z")

</div>

Hi, I’m trying to create a poly data consists of triangle components. In my case, it is essential that the poly data guarantees do not have self-intersection. I tried to find self-intersection by a triangle.Intersecti…

---

## [TextActor in multi viewport](https://discourse.vtk.org/t/textactor-in-multi-viewport/6269)

<div class="topic-metadata">

**Author:** [@windhair10](https://discourse.vtk.org/u/windhair10)\
**Replies:** 1\
**Last updated:** [July 30, 2021, 8:53pm UTC](https://discourse.vtk.org/t/textactor-in-multi-viewport/6269 "2021-07-30T20:53:55Z")

</div>

I’m coding for a multi viewport framework,(2\*2), want to add a short text message in each viewport using vtkTextActor, but find the SetDisplayPosition is based on the RendererWindow coordinate, which means the position o…

---

## [Is there any way to use vtkImageViewer2 in QT project?](https://discourse.vtk.org/t/is-there-any-way-to-use-vtkimageviewer2-in-qt-project/6266)

<div class="topic-metadata">

**Author:** [@jjjkk](https://discourse.vtk.org/u/jjjkk)\
**Replies:** 1\
**Last updated:** [July 30, 2021, 4:47pm UTC](https://discourse.vtk.org/t/is-there-any-way-to-use-vtkimageviewer2-in-qt-project/6266 "2021-07-30T16:47:47Z")

</div>

I read the example about how to use vtk in qt. But it seems that I can just add a renderwinodws to QVTKWidget. But vtkImageViewer2 is not Inherhit from renderwinodw. I really want to use the function like SetSlice in vt…

---

## [HTTPSceneLoader onReady being called once for each object](https://discourse.vtk.org/t/httpsceneloader-onready-being-called-once-for-each-object/6252)

<div class="topic-metadata">

**Author:** [@Nicolas\_Schmidt](https://discourse.vtk.org/u/Nicolas_Schmidt)\
**Replies:** 2\
**Last updated:** [July 30, 2021, 1:43pm UTC](https://discourse.vtk.org/t/httpsceneloader-onready-being-called-once-for-each-object/6252 "2021-07-30T13:43:13Z")

</div>

Using the HTTPSceneLoader onReady function as in this codesandbox results in sceneImporter’s onReady function (line 227) being called multiple times. It looks like it’s being called 1 per object in the scene, but the who…

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

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