# Latest

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

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

**Page:** 184

---

## [Polyline section colors](https://discourse.vtk.org/t/polyline-section-colors/5314)

<div class="topic-metadata">

**Author:** [@Guillaume\_Gillet](https://discourse.vtk.org/u/Guillaume_Gillet)\
**Replies:** 4\
**Last updated:** [March 4, 2021, 9:00am UTC](https://discourse.vtk.org/t/polyline-section-colors/5314 "2021-03-04T09:00:10Z")

</div>

Hello, so i’m a new trainee and for my company i’m studying vtk in order to replace their 3D component, and for that reason i need to display boreholes as polylines, but the fact is that they want me to color each sectio…

---

## [Absolute Values for Depth Image](https://discourse.vtk.org/t/absolute-values-for-depth-image/326)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 6\
**Last updated:** [March 3, 2021, 8:21pm UTC](https://discourse.vtk.org/t/absolute-values-for-depth-image/326 "2021-03-03T20:21:47Z")

</div>

When using the vtk.vtkWindowToImageFilter to produce a buffered image of the distances to the mesh in the rendering scene, is it possible to use the 0-1 depth ranges to recover the true distances from the camera to the m…

---

## [Do clippers in vtk merge or remove duplicate points?](https://discourse.vtk.org/t/do-clippers-in-vtk-merge-or-remove-duplicate-points/5299)

<div class="topic-metadata">

**Author:** [@Waqas\_Bakht](https://discourse.vtk.org/u/Waqas_Bakht)\
**Replies:** 4\
**Last updated:** [March 3, 2021, 7:33pm UTC](https://discourse.vtk.org/t/do-clippers-in-vtk-merge-or-remove-duplicate-points/5299 "2021-03-03T19:33:51Z")

</div>

Wondering if using any of the vtk clippers (poly data clipper, generic dataset clippers, table based data set clipper) remove or merge duplicate points?

---

## [Weird Blurring/Shadowing After Using VtkPolyDataClipper.](https://discourse.vtk.org/t/weird-blurring-shadowing-after-using-vtkpolydataclipper/5223)

<div class="topic-metadata">

**Author:** [@Waqas\_Bakht](https://discourse.vtk.org/u/Waqas_Bakht)\
**Replies:** 2\
**Last updated:** [March 3, 2021, 6:29pm UTC](https://discourse.vtk.org/t/weird-blurring-shadowing-after-using-vtkpolydataclipper/5223 "2021-03-03T18:29:12Z")

</div>

Hello, I am using the VtkPolyDataClipper to cut some Polydata into a few pieces, however, the Clipped Polydata coloring looks a little weird. The Clipped Polydata should be a smaller section of the original but should h…

---

## [Image cursor](https://discourse.vtk.org/t/image-cursor/5295)

<div class="topic-metadata">

**Author:** [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)\
**Replies:** 4\
**Last updated:** [March 3, 2021, 3:38am UTC](https://discourse.vtk.org/t/image-cursor/5295 "2021-03-03T03:38:42Z")

</div>

Hello, I want to create a cursor like the one shown in the image Which class is this exactly, there are numerous cursors in vtk. BTW, I am not using vtkImaegViewer2D, I have my own renderer and I use vtkImaegReslice. …

---

## [Volume Ray Casting Isosurface on CPU](https://discourse.vtk.org/t/volume-ray-casting-isosurface-on-cpu/5294)

<div class="topic-metadata">

**Author:** [@paulojamorim](https://discourse.vtk.org/u/paulojamorim)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 10:46pm UTC](https://discourse.vtk.org/t/volume-ray-casting-isosurface-on-cpu/5294 "2021-03-02T22:46:37Z")

</div>

Hi Everyone, Is there any way to use volume ray casting isosurface on CPU? Like old vtkVolumeRayCastIsosurfaceFunction. Best regards, Paulo Amorim

---

## [Export vtkDataSetMapper to glTF](https://discourse.vtk.org/t/export-vtkdatasetmapper-to-gltf/5292)

<div class="topic-metadata">

**Author:** [@mostapha](https://discourse.vtk.org/u/mostapha)\
**Replies:** 4\
**Last updated:** [March 2, 2021, 7:16pm UTC](https://discourse.vtk.org/t/export-vtkdatasetmapper-to-gltf/5292 "2021-03-02T19:16:16Z")

</div>

Hello everyone! This is my first post here and I hope that I have picked the right category! I’m trying to export an UnstructuredGrid to a glTF file using vtkGLTFExporter and it only generates empty files. I doubted that…

---

## [VtkCellLocator and Java](https://discourse.vtk.org/t/vtkcelllocator-and-java/919)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 17\
**Last updated:** [March 2, 2021, 2:47pm UTC](https://discourse.vtk.org/t/vtkcelllocator-and-java/919 "2021-03-02T14:47:34Z")

</div>

I’ve noticed that several of the methods in vtkCellLocator (as well as some other classes) don’t come over to Java. Are there any plans to improve this in the future?

---

## [Animating glyphs in Blender using BVTKnodes](https://discourse.vtk.org/t/animating-glyphs-in-blender-using-bvtknodes/5298)

<div class="topic-metadata">

**Author:** [@Suraj\_Vibromech](https://discourse.vtk.org/u/Suraj_Vibromech)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 10:25am UTC](https://discourse.vtk.org/t/animating-glyphs-in-blender-using-bvtknodes/5298 "2021-03-02T10:25:06Z")

</div>

Good Day, I have installed BVTKnodes plugin for Blender and have created the streamlines and sphere glyphs as two separate blender meshes. I am creating these by referencing to the paraview filters. Similar to using the…

---

## [Share interactors for window level and width](https://discourse.vtk.org/t/share-interactors-for-window-level-and-width/5296)

<div class="topic-metadata">

**Author:** [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 8:55am UTC](https://discourse.vtk.org/t/share-interactors-for-window-level-and-width/5296 "2021-03-02T08:55:47Z")

</div>

Hello, I have MPR views and like to sync interactors on mouse move to adjust window level/width on all three views while the mouse is moved on any one image. Any idea how to do this? What the pipeline is? I am using v…

---

## [Distributed OpenFoam cases cause Segmentation Fault](https://discourse.vtk.org/t/distributed-openfoam-cases-cause-segmentation-fault/5286)

<div class="topic-metadata">

**Author:** [@Art](https://discourse.vtk.org/u/Art)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 4:44pm UTC](https://discourse.vtk.org/t/distributed-openfoam-cases-cause-segmentation-fault/5286 "2021-03-01T16:44:57Z")

</div>

Dear developers, we have recently moved to a new VTK version, but it causes a segmentation fault if we try opening distributed OpenFOAM cases. We rely on python interface and installed vtk using pip, specifically the 9…

---

## [How to fasten VTK addPoint Loop (Python)](https://discourse.vtk.org/t/how-to-fasten-vtk-addpoint-loop-python/5270)

<div class="topic-metadata">

**Author:** [@Bastian\_Julich](https://discourse.vtk.org/u/Bastian_Julich)\
**Replies:** 2\
**Last updated:** [March 2, 2021, 5:14am UTC](https://discourse.vtk.org/t/how-to-fasten-vtk-addpoint-loop-python/5270 "2021-03-02T05:14:29Z")

</div>

As i am starting to build some basic plotting methods for 3D visualization with VTK for some Data-Visualization, i ran over the following issue: My Dataset is usually about the Size ob 200e6-1000e6 Datapoints (Sensor Va…

---

## [vtkWin32OpenGLRenderWindow resize (memory leak)?](https://discourse.vtk.org/t/vtkwin32openglrenderwindow-resize-memory-leak/5176)

<div class="topic-metadata">

**Author:** [@CharInt0](https://discourse.vtk.org/u/CharInt0)\
**Replies:** 27\
**Last updated:** [March 1, 2021, 9:18pm UTC](https://discourse.vtk.org/t/vtkwin32openglrenderwindow-resize-memory-leak/5176 "2021-03-01T21:18:02Z")

</div>

I am playing with the Win32Cone example because I need to implement a Win32 application: I wanted to add resizing to the window so I simply added in the WndProc function the handling for the WM\_SIZE message: case W…

---

## [Getting area visible in viewer](https://discourse.vtk.org/t/getting-area-visible-in-viewer/5064)

<div class="topic-metadata">

**Author:** [@ljs](https://discourse.vtk.org/u/ljs)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 5:01pm UTC](https://discourse.vtk.org/t/getting-area-visible-in-viewer/5064 "2021-03-01T17:01:05Z")

</div>

Hi, I am working on a viewer for subsurface data (geology). In the app, users can load grids and plot data on the grids. They can zoom in so that only a small part of the grid is visible in the rendering window. I wou…

---

## [Prism (defined by 6 planes) volume crop from other volume.](https://discourse.vtk.org/t/prism-defined-by-6-planes-volume-crop-from-other-volume/5280)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 6\
**Last updated:** [March 1, 2021, 3:35pm UTC](https://discourse.vtk.org/t/prism-defined-by-6-planes-volume-crop-from-other-volume/5280 "2021-03-01T15:35:20Z")

</div>

Dear All, reader.GetOutputPort() have a .mhd image There are 6 planes which is defined by 3 points in which is get the normal of the plane. I want to remove to a volume, a prism (6 faces) delimited by 6 planes. volu…

---

## [Tracking Multiple Actors](https://discourse.vtk.org/t/tracking-multiple-actors/5285)

<div class="topic-metadata">

**Author:** [@Cliff](https://discourse.vtk.org/u/Cliff)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 4:20pm UTC](https://discourse.vtk.org/t/tracking-multiple-actors/5285 "2021-03-01T16:20:23Z")

</div>

Hi all, For an application I’m building I’d like to be able to track the relative pose and position of two vtkActors, I’me sure somewhere in the code there is the information I need but I can’t seem to find it! To clar…

---

## [What is the replacement of the inputport and outputport classes in vtk7.1.1?](https://discourse.vtk.org/t/what-is-the-replacement-of-the-inputport-and-outputport-classes-in-vtk7-1-1/5278)

<div class="topic-metadata">

**Author:** [@Vettle](https://discourse.vtk.org/u/Vettle)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 10:59am UTC](https://discourse.vtk.org/t/what-is-the-replacement-of-the-inputport-and-outputport-classes-in-vtk7-1-1/5278 "2021-03-01T10:59:39Z")

</div>

---

## [Difference between vtkContourFilter, vtkMarchingSquares and vtkMarchingContourFilter](https://discourse.vtk.org/t/difference-between-vtkcontourfilter-vtkmarchingsquares-and-vtkmarchingcontourfilter/5273)

<div class="topic-metadata">

**Author:** [@Nina](https://discourse.vtk.org/u/Nina)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 1:11pm UTC](https://discourse.vtk.org/t/difference-between-vtkcontourfilter-vtkmarchingsquares-and-vtkmarchingcontourfilter/5273 "2021-02-28T13:11:33Z")

</div>

Hi; What is the difference between the three filters: vtkContourFilter, vtkMarchingSquares and vtkMarchingContourFilter. In the documentation, the definition is very similar but what is the difference in terms of precis…

---

## [Using Marching Cube output in IterativeClosestPointTransform](https://discourse.vtk.org/t/using-marching-cube-output-in-iterativeclosestpointtransform/5271)

<div class="topic-metadata">

**Author:** [@Amin](https://discourse.vtk.org/u/Amin)\
**Replies:** 0\
**Last updated:** [February 27, 2021, 8:00pm UTC](https://discourse.vtk.org/t/using-marching-cube-output-in-iterativeclosestpointtransform/5271 "2021-02-27T20:00:51Z")

</div>

Hi, How can I use the result of the Marching cube class in ICP registration?

---

## [Add overlay 3D stl file on 2D image](https://discourse.vtk.org/t/add-overlay-3d-stl-file-on-2d-image/5265)

<div class="topic-metadata">

**Author:** [@Amir\_Hossein\_Zeydi](https://discourse.vtk.org/u/Amir_Hossein_Zeydi)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 5:41pm UTC](https://discourse.vtk.org/t/add-overlay-3d-stl-file-on-2d-image/5265 "2021-02-26T17:41:04Z")

</div>

I added two actor stl files to an imageviewer but the actors are placed behind the 2D image in every view. Is there a way to put the 3D files in front of the 2D image? here is the code: #First STL file reader =…

---

## [suggested improvement for pyramidal elements](https://discourse.vtk.org/t/suggested-improvement-for-pyramidal-elements/5263)

<div class="topic-metadata">

**Author:** [@LucasGasparinoBSC](https://discourse.vtk.org/u/LucasGasparinoBSC)\
**Replies:** 7\
**Last updated:** [February 26, 2021, 3:51pm UTC](https://discourse.vtk.org/t/suggested-improvement-for-pyramidal-elements/5263 "2021-02-26T15:51:24Z")

</div>

Greetings, I’ve started the task of implementing the Biquadratic pyramid in VTK (vtkBiQuadraticPyramid with 14 nodes), and noticed that both vtkQuadraticPyramid and vtkPyramid have issues when computing the Jacobian inv…

---

## [What's the best thing to do (git vtk)](https://discourse.vtk.org/t/whats-the-best-thing-to-do-git-vtk/5261)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 4\
**Last updated:** [February 26, 2021, 3:39pm UTC](https://discourse.vtk.org/t/whats-the-best-thing-to-do-git-vtk/5261 "2021-02-26T15:39:47Z")

</div>

@mwestphal As can be seen from this MR, my branch is quite old and lags behind master by 251 commits. I am a first-time contributor and would like to get advice on the best thing to do here. Should I carry on with new…

---

## [ERROR for VTK 9.0.1 vtkContextDevice2D](https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259)

<div class="topic-metadata">

**Author:** [@xiaocaiji](https://discourse.vtk.org/u/xiaocaiji)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 10:33am UTC](https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259 "2021-02-26T10:33:23Z")

</div>

I build VTK-9.0.1 using CMake 3.19.4. There is the name lists in cmake: Then I successed generating the example CylinderExample but I can’t find vtkContextDevice2D.lib in the folder E:\\codes\\VTK-9.0.1-bin\\lib\\Debug. …

---

## [Refined cell in vtkUniformGrid](https://discourse.vtk.org/t/refined-cell-in-vtkuniformgrid/5246)

<div class="topic-metadata">

**Author:** [@hakostra](https://discourse.vtk.org/u/hakostra)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 10:01pm UTC](https://discourse.vtk.org/t/refined-cell-in-vtkuniformgrid/5246 "2021-02-25T22:01:27Z")

</div>

I create a vtkMultiBlockDataSet consisting of a number of vtkUniformGrid’s. This is the result of an AMR code and I have grids at several levels. I compute the blanking explicitly and use the vtkDataSetAttribute::REFINE…

---

## [Extract field data from .vtu file](https://discourse.vtk.org/t/extract-field-data-from-vtu-file/5254)

<div class="topic-metadata">

**Author:** [@tont\_fe](https://discourse.vtk.org/u/tont_fe)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 10:34am UTC](https://discourse.vtk.org/t/extract-field-data-from-vtu-file/5254 "2021-02-25T10:34:17Z")

</div>

I have a problem trying to extract data from a .vtu file. I have the file and I would like to do some post-processing, in particular I would like to write .npy files for the grid and some variables of interest. I past h…

---

## [Continuing processing after interactor (Python)](https://discourse.vtk.org/t/continuing-processing-after-interactor-python/5241)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 6\
**Last updated:** [February 24, 2021, 8:10pm UTC](https://discourse.vtk.org/t/continuing-processing-after-interactor-python/5241 "2021-02-24T20:10:12Z")

</div>

Dear All, How to process after interactor.Start()? I want to interact with the displayed image (as the interactor) but I want at the same time to process the gotten pointer position and add other images to the camera i…

---

## [Recreate 3D volume rendering from vtk python to vtk.js](https://discourse.vtk.org/t/recreate-3d-volume-rendering-from-vtk-python-to-vtk-js/5248)

<div class="topic-metadata">

**Author:** [@Saptarshi\_Paul](https://discourse.vtk.org/u/Saptarshi_Paul)\
**Replies:** 5\
**Last updated:** [February 24, 2021, 7:08pm UTC](https://discourse.vtk.org/t/recreate-3d-volume-rendering-from-vtk-python-to-vtk-js/5248 "2021-02-24T19:08:53Z")

</div>

Hello everyone, I was able to render a 3d Volume from 2D png image stack using vtk python. I want to create the same thing with vtk.js. Can anyone please guide me how to do that. I would really appreciate any help. Mos…

---

## [Errors in Python in server side of vtk.js](https://discourse.vtk.org/t/errors-in-python-in-server-side-of-vtk-js/5249)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 4:35pm UTC](https://discourse.vtk.org/t/errors-in-python-in-server-side-of-vtk-js/5249 "2021-02-24T16:35:37Z")

</div>

Dear All, Are there some way from server side python handler to display runtime errors? Using pvpython. Thanks, Luís Gonçalves

---

## ["vtkXOpenGLRenderWindow (0x7fffd7237640): Could not find a decent config"](https://discourse.vtk.org/t/vtkxopenglrenderwindow-0x7fffd7237640-could-not-find-a-decent-config/5206)

<div class="topic-metadata">

**Author:** [@fab\_str](https://discourse.vtk.org/u/fab_str)\
**Replies:** 12\
**Last updated:** [February 24, 2021, 12:28pm UTC](https://discourse.vtk.org/t/vtkxopenglrenderwindow-0x7fffd7237640-could-not-find-a-decent-config/5206 "2021-02-24T12:28:16Z")

</div>

I have installed VTK version 8.2 on my WSL1 Ubuntu 20.04.2. I’m running particle tracking simulations, where the final track and geometry should be displayed by the VTK package at the end of the simulation. But instead I…

---

## [vtkGlyph3DMapper on Panel + JupyterLab gives javascript error, blank screen](https://discourse.vtk.org/t/vtkglyph3dmapper-on-panel-jupyterlab-gives-javascript-error-blank-screen/5240)

<div class="topic-metadata">

**Author:** [@LunarLanding](https://discourse.vtk.org/u/LunarLanding)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 12:26am UTC](https://discourse.vtk.org/t/vtkglyph3dmapper-on-panel-jupyterlab-gives-javascript-error-blank-screen/5240 "2021-02-24T00:26:39Z")

</div>

I’m trying to use vtkGlyph3DMapper, however the script below fails on Jupyter Lab + Panel. Is this a problem with the script or with the libraries? Any pointers would be helpful. import vtk import panel as pn pn.extensi…

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

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