# Latest

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

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

**Page:** 169

---

## [Integrate itk with vtk and vtk.web protocols and running via pvpython](https://discourse.vtk.org/t/integrate-itk-with-vtk-and-vtk-web-protocols-and-running-via-pvpython/6248)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 4\
**Last updated:** [July 30, 2021, 7:48am UTC](https://discourse.vtk.org/t/integrate-itk-with-vtk-and-vtk-web-protocols-and-running-via-pvpython/6248 "2021-07-30T07:48:50Z")

</div>

Hi all, I am running this code over here for multiviews of cone and sphere. Instead of using paraview web protocols I’m using vtk protocols. It is working fine. I’m using pvpython of Paraview v5.9.0 from https://www…

---

## [VTK 9.0.3](https://discourse.vtk.org/t/vtk-9-0-3/6128)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 13\
**Last updated:** [July 30, 2021, 4:41am UTC](https://discourse.vtk.org/t/vtk-9-0-3/6128 "2021-07-30T04:41:01Z")

</div>

VTK 9.0.3 is now released. This fixes the VTK\_DEBUG\_LEAKS flag in the official wheels as compared to 9.0.2.

---

## [Is there any api like vtkStreamTracer in vtk-js?](https://discourse.vtk.org/t/is-there-any-api-like-vtkstreamtracer-in-vtk-js/6192)

<div class="topic-metadata">

**Author:** [@ITs-WHY](https://discourse.vtk.org/u/ITs-WHY)\
**Replies:** 3\
**Last updated:** [July 29, 2021, 5:57pm UTC](https://discourse.vtk.org/t/is-there-any-api-like-vtkstreamtracer-in-vtk-js/6192 "2021-07-29T17:57:22Z")

</div>

I want to draw 3d streamline in vtk-js,now I’ve got points and Velocities for each point, but I can’t find the api vtkStreamTracer in vtk-js,what should I use except wasm?

---

## [A bug of EdgeVisibilityOn in windows](https://discourse.vtk.org/t/a-bug-of-edgevisibilityon-in-windows/6237)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 4\
**Last updated:** [July 29, 2021, 12:05pm UTC](https://discourse.vtk.org/t/a-bug-of-edgevisibilityon-in-windows/6237 "2021-07-29T12:05:09Z")

</div>

Currently, I want to plot a line in image. My code is: import vtk from vtk.util.numpy\_support import vtk\_to\_numpy, numpy\_to\_vtk import numpy as np def numpyToVTK(data): if len(data.shape) == 2: data = data\[…

---

## [Special Feature Edges on Transparent Model?](https://discourse.vtk.org/t/special-feature-edges-on-transparent-model/6262)

<div class="topic-metadata">

**Author:** [@TravStu22](https://discourse.vtk.org/u/TravStu22)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 9:08pm UTC](https://discourse.vtk.org/t/special-feature-edges-on-transparent-model/6262 "2021-07-28T21:08:56Z")

</div>

Hi, Imagine we are rendering a cube (vtkPolyData) along with its boundary edges (vtkFeatureEdges). We can’t see the edges on the back of the cube because the cube is occluding it. That’s good. Let’s say we make the cube…

---

## [Volume Masking](https://discourse.vtk.org/t/volume-masking/6261)

<div class="topic-metadata">

**Author:** [@MAdelElbayumi](https://discourse.vtk.org/u/MAdelElbayumi)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 6:32pm UTC](https://discourse.vtk.org/t/volume-masking/6261 "2021-07-28T18:32:12Z")

</div>

I have a volume and a labelmap and using paintfilter, I got this labelmap drawn on the volume with red, I want to use the labelmap as a binary mask for the volume. I want to only show the cells of the volume at the la…

---

## [How does VTKMassProperties compute volume?](https://discourse.vtk.org/t/how-does-vtkmassproperties-compute-volume/6256)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 2\
**Last updated:** [July 28, 2021, 6:20pm UTC](https://discourse.vtk.org/t/how-does-vtkmassproperties-compute-volume/6256 "2021-07-28T18:20:13Z")

</div>

Hello, What is the math behind the volume computation performed in VTKMassProperties? Also what does Volume - X, Y and Z mean? (I could see a research paper being cited, but can someone explain in a layman terms?) Tha…

---

## [The result of Boolean operation returns non-manifold surfaces](https://discourse.vtk.org/t/the-result-of-boolean-operation-returns-non-manifold-surfaces/4018)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 12\
**Last updated:** [July 28, 2021, 2:56pm UTC](https://discourse.vtk.org/t/the-result-of-boolean-operation-returns-non-manifold-surfaces/4018 "2021-07-28T14:56:19Z")

</div>

Hello everybody, I have a question. I am using vtkBooleanOperationPolyDataFilter to make holes in a polydata using a cylinder. The result looks good. But when I go to blender, I get a warning that the result is not mani…

---

## [VTK not found in python after conda install](https://discourse.vtk.org/t/vtk-not-found-in-python-after-conda-install/6251)

<div class="topic-metadata">

**Author:** [@sandwich](https://discourse.vtk.org/u/sandwich)\
**Replies:** 7\
**Last updated:** [July 28, 2021, 1:16pm UTC](https://discourse.vtk.org/t/vtk-not-found-in-python-after-conda-install/6251 "2021-07-28T13:16:53Z")

</div>

I am attempting to install and run mayavi through python using conda on windows 10. I have run: According to conda, I have vtk 8.2.0 installed after running these commands. However, after attempting to start mayavi by…

---

## [ReInitialize the web-project-templates-master example](https://discourse.vtk.org/t/reinitialize-the-web-project-templates-master-example/6259)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 11:05am UTC](https://discourse.vtk.org/t/reinitialize-the-web-project-templates-master-example/6259 "2021-07-28T11:05:59Z")

</div>

Dear All, How to reinitialize the web-project-templates-master example? After interact with the example I want to reinitialize the example to initial state. I want to run \_\_init(self) and @exportRpc("vtk.initialize")…

---

## [Triangle-triangle intersection detects incorrect intersection.](https://discourse.vtk.org/t/triangle-triangle-intersection-detects-incorrect-intersection/6258)

<div class="topic-metadata">

**Author:** [@antomaxi](https://discourse.vtk.org/u/antomaxi)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 9:00am UTC](https://discourse.vtk.org/t/triangle-triangle-intersection-detects-incorrect-intersection/6258 "2021-07-28T09:00:52Z")

</div>

Hello, I am new here so please let me know if I placed this topic in the wrong category. Context: I have been studying the following paper on Triangle-triangle intersection testing : https://hal.inria.fr/inria-0007210…

---

## [vtkGeometryFIlter does not support vtkMultiBockDataSet containing mixed polydata/unstructured grid content](https://discourse.vtk.org/t/vtkgeometryfilter-does-not-support-vtkmultibockdataset-containing-mixed-polydata-unstructured-grid-content/6238)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 9\
**Last updated:** [July 28, 2021, 6:50am UTC](https://discourse.vtk.org/t/vtkgeometryfilter-does-not-support-vtkmultibockdataset-containing-mixed-polydata-unstructured-grid-content/6238 "2021-07-28T06:50:47Z")

</div>

Hello!! I’m working with vtkMultiBlockDataSets that contain both ctkPolyData and vtkUnstructuredGrid blocks. I find that neither vtkGeometryFilter nor vtkDataSetSurfaceFIlter support such a dataset. These filters work …

---

## [Designing a CSS-styled representation for vtkDataAssembly](https://discourse.vtk.org/t/designing-a-css-styled-representation-for-vtkdataassembly/6190)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 8\
**Last updated:** [July 27, 2021, 3:31am UTC](https://discourse.vtk.org/t/designing-a-css-styled-representation-for-vtkdataassembly/6190 "2021-07-27T03:31:53Z")

</div>

This started as a ParaView discussion on visual properties for partitioned datasets, but seems more appropriate here. Problem statement Complex composite datasets do not get fine-grained control of their visual style. P…

---

## [Import multiple data array from unstructured file into a polydata(cpp)](https://discourse.vtk.org/t/import-multiple-data-array-from-unstructured-file-into-a-polydata-cpp/6255)

<div class="topic-metadata">

**Author:** [@lhy11009](https://discourse.vtk.org/u/lhy11009)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 11:53pm UTC](https://discourse.vtk.org/t/import-multiple-data-array-from-unstructured-file-into-a-polydata-cpp/6255 "2021-07-27T23:53:10Z")

</div>

I am a new user of VTK, everything is working before I get this problem. First, let me apologize for the dumb question I am asking here. What I want to do is reading in an Unstructured dataset from a file, and put them …

---

## [VTK Synchronized MPR behavior issue(Re-initiating)](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue-re-initiating/6246)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 1\
**Last updated:** [July 27, 2021, 8:19pm UTC](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue-re-initiating/6246 "2021-07-27T20:19:25Z")

</div>

Hi all, I wanted to link the 3 views axial, coronal and sagittal views so that when mouse interaction takes place on one view, it simultaneously updates the other views. Things I’ve tried… I have tried the following e…

---

## [On key press, cannot read 'getViewportByReference' of undefined](https://discourse.vtk.org/t/on-key-press-cannot-read-getviewportbyreference-of-undefined/6233)

<div class="topic-metadata">

**Author:** [@Nicolas\_Schmidt](https://discourse.vtk.org/u/Nicolas_Schmidt)\
**Replies:** 3\
**Last updated:** [July 27, 2021, 6:53pm UTC](https://discourse.vtk.org/t/on-key-press-cannot-read-getviewportbyreference-of-undefined/6233 "2021-07-27T18:53:44Z")

</div>

I am implementing a simulation results viewer within a react app and am really liking vtk.js so far. At the moment I’m running into an error and hoping to get a little assistance. I was using vtkFullScreenRenderer, but …

---

## [VTK android compilation fails to find OpenGL librairies](https://discourse.vtk.org/t/vtk-android-compilation-fails-to-find-opengl-librairies/5443)

<div class="topic-metadata">

**Author:** [@Charles](https://discourse.vtk.org/u/Charles)\
**Replies:** 2\
**Last updated:** [July 27, 2021, 3:06pm UTC](https://discourse.vtk.org/t/vtk-android-compilation-fails-to-find-opengl-librairies/5443 "2021-07-27T15:06:30Z")

</div>

Hello, I’m currently trying to manually cross compile VTK for the arm64-v8a android ABI but the compilation process fails to find backend librairies (OpenGL for rendering). I tried many VTK versions (v8.2.0, v9.0.0, v7.…

---

## [how to switching interactorStyle?](https://discourse.vtk.org/t/how-to-switching-interactorstyle/5135)

<div class="topic-metadata">

**Author:** [@jhp](https://discourse.vtk.org/u/jhp)\
**Replies:** 1\
**Last updated:** [July 26, 2021, 12:18pm UTC](https://discourse.vtk.org/t/how-to-switching-interactorstyle/5135 "2021-07-26T12:18:46Z")

</div>

3 objects receive the trackballcamera event (simultaneous rotation). Select object #1. (pickingInteratorStyle definition) Only object 1 is rotated. (trackballActor applied) After deselecting object 1, the 3 objects rota…

---

## [How Can I add Reslice Image from Volume to Volume?? (MFC)](https://discourse.vtk.org/t/how-can-i-add-reslice-image-from-volume-to-volume-mfc/6243)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.vtk.org/u/kookoo9999)\
**Replies:** 1\
**Last updated:** [July 26, 2021, 9:32am UTC](https://discourse.vtk.org/t/how-can-i-add-reslice-image-from-volume-to-volume-mfc/6243 "2021-07-26T09:32:55Z")

</div>

I try to add the Reslice Image(2D,Axial,Coronal,Sagittal) to Volume(3D) I think as I get the Reslice Image from Volume , I add actor(Reslice) to Volume . but Situation is this picture…

---

## [how to adjust the volume position base on image slice](https://discourse.vtk.org/t/how-to-adjust-the-volume-position-base-on-image-slice/2512)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 3\
**Last updated:** [July 26, 2021, 5:06am UTC](https://discourse.vtk.org/t/how-to-adjust-the-volume-position-base-on-image-slice/2512 "2021-07-26T05:06:42Z")

</div>

Hi, My program can render image slice(sagittal, coronal and axial orientation) from DICOM data and the volume base on the DICOM data in a window. But the volume position is not what I want. It’s outside of the slice bo…

---

## [Create connectivity of STL](https://discourse.vtk.org/t/create-connectivity-of-stl/6241)

<div class="topic-metadata">

**Author:** [@omarElsayed](https://discourse.vtk.org/u/omarElsayed)\
**Replies:** 0\
**Last updated:** [July 25, 2021, 7:53pm UTC](https://discourse.vtk.org/t/create-connectivity-of-stl/6241 "2021-07-25T19:53:42Z")

</div>

Hi all, I am new to VTK. I managed to load an STL file successfully. I would like to convert the stl into a surface mesh vertex-\>edge-\>triangle and vice versa. Is there a direct pipeline/filer that can help in generatin…

---

## [Clip Polydata along a round surface](https://discourse.vtk.org/t/clip-polydata-along-a-round-surface/6228)

<div class="topic-metadata">

**Author:** [@m.zouari](https://discourse.vtk.org/u/m.zouari)\
**Replies:** 5\
**Last updated:** [July 24, 2021, 6:01pm UTC](https://discourse.vtk.org/t/clip-polydata-along-a-round-surface/6228 "2021-07-24T18:01:16Z")

</div>

Hello! So i have this 2 pipes combination, and what im trying to do, is to seperate the second pipe out of the first one, to get 2 pipes ( the one on the base should be a perfect cylinder and the other should have a …

---

## [Crop widget handles moves only when dragging horizontally](https://discourse.vtk.org/t/crop-widget-handles-moves-only-when-dragging-horizontally/5762)

<div class="topic-metadata">

**Author:** [@ronzim](https://discourse.vtk.org/u/ronzim)\
**Replies:** 12\
**Last updated:** [July 23, 2021, 9:23am UTC](https://discourse.vtk.org/t/crop-widget-handles-moves-only-when-dragging-horizontally/5762 "2021-07-23T09:23:39Z")

</div>

Hi, I have a problem with crop widget in vtk.js and I cannot find if my bug or vtk.js bug. I try to explain: when dragging an handle, it seems that only the X movement of the mouse has an effect, while dragging in the …

---

## [How to draw a rectangle that can move and rotate around x，y, z ?](https://discourse.vtk.org/t/how-to-draw-a-rectangle-that-can-move-and-rotate-around-x-y-z/6231)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [July 23, 2021, 9:16am UTC](https://discourse.vtk.org/t/how-to-draw-a-rectangle-that-can-move-and-rotate-around-x-y-z/6231 "2021-07-23T09:16:59Z")

</div>

How to draw a rectangle like this:

---

## [Mesh edges visible through a thin object - how to remove?](https://discourse.vtk.org/t/mesh-edges-visible-through-a-thin-object-how-to-remove/6208)

<div class="topic-metadata">

**Author:** [@michaelhogg](https://discourse.vtk.org/u/michaelhogg)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 6:47am UTC](https://discourse.vtk.org/t/mesh-edges-visible-through-a-thin-object-how-to-remove/6208 "2021-07-23T06:47:02Z")

</div>

Hi all, I have a polydata object that is thin in some regions. When I show edges, the edges on the back side of the object are visible. You can see this in the attached image. This does not happen in Paraview, so I assu…

---

## [Keeping axes tick marks on screen, and refining axes tick marks](https://discourse.vtk.org/t/keeping-axes-tick-marks-on-screen-and-refining-axes-tick-marks/6229)

<div class="topic-metadata">

**Author:** [@srivastavaayurv](https://discourse.vtk.org/u/srivastavaayurv)\
**Replies:** 4\
**Last updated:** [July 23, 2021, 6:23am UTC](https://discourse.vtk.org/t/keeping-axes-tick-marks-on-screen-and-refining-axes-tick-marks/6229 "2021-07-23T06:23:36Z")

</div>

Overview I am currently using a vtkCubeAxesActor to serve as an axes system for my data set. I am wondering if it is possible to keep the axis tick marks visible on the screen at all times while viewing zooming into the…

---

## [Detecting visible mesh faces in a scene rendered outside of VTK](https://discourse.vtk.org/t/detecting-visible-mesh-faces-in-a-scene-rendered-outside-of-vtk/6214)

<div class="topic-metadata">

**Author:** [@tsnoble](https://discourse.vtk.org/u/tsnoble)\
**Replies:** 26\
**Last updated:** [July 22, 2021, 4:23pm UTC](https://discourse.vtk.org/t/detecting-visible-mesh-faces-in-a-scene-rendered-outside-of-vtk/6214 "2021-07-22T16:23:08Z")

</div>

Hi, I’m currently attempting to select all faces of a mesh visible to a camera in a scene rendered through Qt & Ogre. Ogre doesn’t seem to provide much in the way of this, and I’m already loading the mesh into a vtkPoly…

---

## [VTK Synchronized MPR behavior issue.](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue/6225)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 0\
**Last updated:** [July 22, 2021, 2:04pm UTC](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue/6225 "2021-07-22T14:04:46Z")

</div>

Hi all, I wanted to link the 3 views axial, coronal and sagittal views so that when mouse interaction takes place on one view, it simultaneously updates the other views. Things I’ve tried… I have tried the following e…

---

## [Xcode cannot open renderer](https://discourse.vtk.org/t/xcode-cannot-open-renderer/6219)

<div class="topic-metadata">

**Author:** [@fmilicchio](https://discourse.vtk.org/u/fmilicchio)\
**Replies:** 0\
**Last updated:** [July 21, 2021, 4:24pm UTC](https://discourse.vtk.org/t/xcode-cannot-open-renderer/6219 "2021-07-21T16:24:32Z")

</div>

Hello all, I am using for the first time VTK (9.0.1 from anaconda) on a macOS machine (11.4), and I seem to be unable to open the renderer window, or better, something happens, I see the icon, but it closes immediately. …

---

## [Functions in different versions](https://discourse.vtk.org/t/functions-in-different-versions/6205)

<div class="topic-metadata">

**Author:** [@yuantangjin](https://discourse.vtk.org/u/yuantangjin)\
**Replies:** 9\
**Last updated:** [July 21, 2021, 3:41am UTC](https://discourse.vtk.org/t/functions-in-different-versions/6205 "2021-07-21T03:41:13Z")

</div>

I found an open source code on GitHub. This code was developed earlier, so he called the method in the “vtkXMLPUnstructuredGridWriter.h” file in the VTK5.0.3 version, but I encountered many problems installing the old ve…

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

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