# Latest

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

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

**Page:** 209

---

## [VTK 9.0.1 source tar ball appears to be truncated](https://discourse.vtk.org/t/vtk-9-0-1-source-tar-ball-appears-to-be-truncated/3652)

<div class="topic-metadata">

**Author:** [@opoplawski](https://discourse.vtk.org/u/opoplawski)\
**Replies:** 5\
**Last updated:** [June 27, 2020, 3:13am UTC](https://discourse.vtk.org/t/vtk-9-0-1-source-tar-ball-appears-to-be-truncated/3652 "2020-06-27T03:13:53Z")

</div>

It appears that the VTK 9.0.1 source tar ball appears to be truncated. Everything after: ThirdParty/vtkm/vtkvtkm/vtk-m/benchmarking/Benchmarker.h ThirdParty/vtkm/vtkvtkm/vtk-m/benchmarking/CMakeLists.txt ThirdParty/v…

---

## [MSVC static runtime option /MT is overwritten by /MD](https://discourse.vtk.org/t/msvc-static-runtime-option-mt-is-overwritten-by-md/3651)

<div class="topic-metadata">

**Author:** [@sdobashi](https://discourse.vtk.org/u/sdobashi)\
**Replies:** 2\
**Last updated:** [June 27, 2020, 12:17am UTC](https://discourse.vtk.org/t/msvc-static-runtime-option-mt-is-overwritten-by-md/3651 "2020-06-27T00:17:45Z")

</div>

Hello, VTK developers When building the latest version of VTK (Commit: 318abc9fda820b3c1619a13008182c84d09ae5b6) MSVC static runtime option /MT was overwritten by /MD. This issue is not observed for VTK 9.0.1 release…

---

## [Proposal: meta-programmed matrix operations?](https://discourse.vtk.org/t/proposal-meta-programmed-matrix-operations/3579)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 4\
**Last updated:** [June 26, 2020, 5:27pm UTC](https://discourse.vtk.org/t/proposal-meta-programmed-matrix-operations/3579 "2020-06-26T17:27:17Z")

</div>

Hi, I recently needed a few matrix operations for a filter where I am using ranges. In order to be able to feed those objects in vtkMath, there needs to be templated versions of each operation. It is pretty straightforw…

---

## [Cutting/slicing for XML Unstructured Grid Data](https://discourse.vtk.org/t/cutting-slicing-for-xml-unstructured-grid-data/3653)

<div class="topic-metadata">

**Author:** [@sugeng](https://discourse.vtk.org/u/sugeng)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 7:06am UTC](https://discourse.vtk.org/t/cutting-slicing-for-xml-unstructured-grid-data/3653 "2020-06-26T07:06:16Z")

</div>

Dear All, I have a main code for cutting/slicing process using vtkCutter below. The code in general is working well but the only problem is the scalar values obtained from the input file are not correctly captured by v…

---

## [Locate cell containing a point](https://discourse.vtk.org/t/locate-cell-containing-a-point/3588)

<div class="topic-metadata">

**Author:** [@SimonFuet](https://discourse.vtk.org/u/SimonFuet)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 6:17am UTC](https://discourse.vtk.org/t/locate-cell-containing-a-point/3588 "2020-06-26T06:17:45Z")

</div>

Hi I’m trying to locate a point (with xyz coordinates) in a grid (i.e. find the cell containing that point). It can be any type of grid: image data, structured, explicit structured, unstructured. My goal is to get inter…

---

## [Constants/enums in Activiz](https://discourse.vtk.org/t/constants-enums-in-activiz/3637)

<div class="topic-metadata">

**Author:** [@MMoussa](https://discourse.vtk.org/u/MMoussa)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 4:25am UTC](https://discourse.vtk.org/t/constants-enums-in-activiz/3637 "2020-06-26T04:25:58Z")

</div>

How do I get access to constants like VTK\_HEXAHEDRON from within Activiz (C# wrapper)? Thank you.

---

## [reading ascii stl files with QVTK](https://discourse.vtk.org/t/reading-ascii-stl-files-with-qvtk/3622)

<div class="topic-metadata">

**Author:** [@mat](https://discourse.vtk.org/u/mat)\
**Replies:** 7\
**Last updated:** [June 26, 2020, 3:40am UTC](https://discourse.vtk.org/t/reading-ascii-stl-files-with-qvtk/3622 "2020-06-26T03:40:58Z")

</div>

Hello, I am trying to make a script work on ubuntu 18.04, with python 3.6, vtk 9.0.0 and Pyside2. vtkSTLReader can read both binary and ascii files when used with a vtkRenderWindowInteractor . But, when I use a QVTKRen…

---

## [VTK 8.9 - Many (Multi) View Camera Capture Methods?](https://discourse.vtk.org/t/vtk-8-9-many-multi-view-camera-capture-methods/3617)

<div class="topic-metadata">

**Author:** [@staumrel](https://discourse.vtk.org/u/staumrel)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 3:28am UTC](https://discourse.vtk.org/t/vtk-8-9-many-multi-view-camera-capture-methods/3617 "2020-06-26T03:28:50Z")

</div>

I’m currently working on integrating stereoscopic displays with some software developed using VTK (built heavily off of ParaView and in Qt, as well). I’m pretty new to graphics programming, so I may be missing some obvio…

---

## [How to manually create a polyData with multi line segments in vtk.js](https://discourse.vtk.org/t/how-to-manually-create-a-polydata-with-multi-line-segments-in-vtk-js/3636)

<div class="topic-metadata">

**Author:** [@meihuisu](https://discourse.vtk.org/u/meihuisu)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 12:55am UTC](https://discourse.vtk.org/t/how-to-manually-create-a-polydata-with-multi-line-segments-in-vtk-js/3636 "2020-06-26T00:55:20Z")

</div>

I am writing a reader reading a multi-segment text file for Generic Mapping Tools. It contains many 3-tuples const polydata = vtkPolyData.newInstance({ name: data.pieces\[idx\] }); const pts = data.vset\[idx\];…

---

## [Generate Rotational Maximum Intensity Projections](https://discourse.vtk.org/t/generate-rotational-maximum-intensity-projections/3650)

<div class="topic-metadata">

**Author:** [@divya\_chou](https://discourse.vtk.org/u/divya_chou)\
**Replies:** 1\
**Last updated:** [June 25, 2020, 4:11pm UTC](https://discourse.vtk.org/t/generate-rotational-maximum-intensity-projections/3650 "2020-06-25T16:11:21Z")

</div>

I have been redirected here from ITK discourse. I am very new to using ITK, and am working using SITK on Python. I have 3D PET scans. From each 3D matrix, I have generated 2 MIPs at 90 degrees - Sagittal and Coronal. Th…

---

## [vtkSelectEnclosedPoints detects wrong Points inside which should be on the border](https://discourse.vtk.org/t/vtkselectenclosedpoints-detects-wrong-points-inside-which-should-be-on-the-border/3641)

<div class="topic-metadata">

**Author:** [@ElCamino](https://discourse.vtk.org/u/ElCamino)\
**Replies:** 3\
**Last updated:** [June 25, 2020, 4:09pm UTC](https://discourse.vtk.org/t/vtkselectenclosedpoints-detects-wrong-points-inside-which-should-be-on-the-border/3641 "2020-06-25T16:09:56Z")

</div>

Hi everybody, I´m trying to do a simplified collision detection between two polydata (.stl) objects in Python. I want to know if one object is inside the other object. I followed the “CellsInsideObject” Example: “https:…

---

## [Rotate all three cursors synchronously for vtkResliceImageViewer](https://discourse.vtk.org/t/rotate-all-three-cursors-synchronously-for-vtkresliceimageviewer/3648)

<div class="topic-metadata">

**Author:** [@NewProggie](https://discourse.vtk.org/u/NewProggie)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 2:05pm UTC](https://discourse.vtk.org/t/rotate-all-three-cursors-synchronously-for-vtkresliceimageviewer/3648 "2020-06-25T14:05:30Z")

</div>

I am using three different vtkResliceImageViewer based viewers for axial, coronal and sagittal views for medical images and like to synchronously rotate all three cursors (or rather planes). I found vtkImageOrthoPlanes w…

---

## [how to clip a model in vtkjs](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628)

<div class="topic-metadata">

**Author:** [@xuexl](https://discourse.vtk.org/u/xuexl)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 12:40am UTC](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628 "2020-06-25T00:40:46Z")

</div>

There are some tools for clipping in vtk(c++), When i search for the same tools in vtkjs, i find none in the API. Are the part of all API that viewing on the web ? and there are not documentation of vtkjs.

---

## [build stand alone visitbridge with vtk](https://discourse.vtk.org/t/build-stand-alone-visitbridge-with-vtk/3619)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 4\
**Last updated:** [June 24, 2020, 9:51pm UTC](https://discourse.vtk.org/t/build-stand-alone-visitbridge-with-vtk/3619 "2020-06-24T21:51:39Z")

</div>

I would like to build standalone visitbridge with vtk and vtk bindings?. Is that possible? I feel like I want more but not the whole paraview “kitchen sink” more how much would the interface have to change? generally …

---

## [Status of \`mun\`](https://discourse.vtk.org/t/status-of-mun/3562)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 4\
**Last updated:** [June 24, 2020, 3:10pm UTC](https://discourse.vtk.org/t/status-of-mun/3562 "2020-06-24T15:10:02Z")

</div>

It appears as though the mun buildbot machine has fallen ill. We’ll be working to restore it in the coming week or two, but in the meantime this means that VTK is without Windows testing. Please be careful.

---

## [A question about converting unstructured grid to explicit structured grid](https://discourse.vtk.org/t/a-question-about-converting-unstructured-grid-to-explicit-structured-grid/3632)

<div class="topic-metadata">

**Author:** [@rodrigomologni](https://discourse.vtk.org/u/rodrigomologni)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 2:15pm UTC](https://discourse.vtk.org/t/a-question-about-converting-unstructured-grid-to-explicit-structured-grid/3632 "2020-06-24T14:15:01Z")

</div>

I have a question about converting unstructured grid to explicit structured using vtkUnstructuredGridToExplicitStructuredGrid: Two errors are shown when I run this code using SetWholeExtent: \>\>\> converter = vtk.vtkUnst…

---

## [vtkRenderWindow segfault when accessing Interactor variable](https://discourse.vtk.org/t/vtkrenderwindow-segfault-when-accessing-interactor-variable/3576)

<div class="topic-metadata">

**Author:** [@Pietersielie](https://discourse.vtk.org/u/Pietersielie)\
**Replies:** 1\
**Last updated:** [June 24, 2020, 11:57am UTC](https://discourse.vtk.org/t/vtkrenderwindow-segfault-when-accessing-interactor-variable/3576 "2020-06-24T11:57:48Z")

</div>

Hi everyone, Not sure if this is the correct venue, so please forgive my inexperience. I have an application that uses VTK with QT, on Ubuntu 20.04 LTS. It compiles just fine and most of the application works. However,…

---

## [Write multiple timesteps for Multiblockdataset](https://discourse.vtk.org/t/write-multiple-timesteps-for-multiblockdataset/3611)

<div class="topic-metadata">

**Author:** [@Sprychipper](https://discourse.vtk.org/u/Sprychipper)\
**Replies:** 1\
**Last updated:** [June 23, 2020, 7:44pm UTC](https://discourse.vtk.org/t/write-multiple-timesteps-for-multiblockdataset/3611 "2020-06-23T19:44:28Z")

</div>

Hello , how do i create a multiblock dataset with multiple timesteps/steps. I have looked at the documentation and API without any success. I used the following example as basis \[CompositeDataSet\] https://lorensen.gith…

---

## [Fail to use vtk on mac 10.15](https://discourse.vtk.org/t/fail-to-use-vtk-on-mac-10-15/3195)

<div class="topic-metadata">

**Author:** [@sjtu-xx](https://discourse.vtk.org/u/sjtu-xx)\
**Replies:** 2\
**Last updated:** [June 23, 2020, 9:51am UTC](https://discourse.vtk.org/t/fail-to-use-vtk-on-mac-10-15/3195 "2020-06-23T09:51:50Z")

</div>

I’m trying to use vtk on my macbook(13inch, catalina 10.15.4). But when I try to use QVTKOpenGLNativeWidget, it complained that “2020-05-02 14:22:05.581 ( 0.410s) \[ 62F0D5\]vtkOpenGLRenderWindow.c:582 ERR| …

---

## [Volume rendering significantly slower in C++ compared to Python](https://discourse.vtk.org/t/volume-rendering-significantly-slower-in-c-compared-to-python/3503)

<div class="topic-metadata">

**Author:** [@harold.absalom](https://discourse.vtk.org/u/harold.absalom)\
**Replies:** 4\
**Last updated:** [June 23, 2020, 8:09am UTC](https://discourse.vtk.org/t/volume-rendering-significantly-slower-in-c-compared-to-python/3503 "2020-06-23T08:09:56Z")

</div>

I am trying to render a volume, read from an NRRD file. This is using VTK 8.2. The file is about 700MB, and simply loading it and displaying it in Python seems to happen quite quickly, with the first frame rendering unde…

---

## [VTK9 - Black viewport when using rubber band style](https://discourse.vtk.org/t/vtk9-black-viewport-when-using-rubber-band-style/3515)

<div class="topic-metadata">

**Author:** [@panicbuttonvfx](https://discourse.vtk.org/u/panicbuttonvfx)\
**Replies:** 9\
**Last updated:** [June 23, 2020, 2:55am UTC](https://discourse.vtk.org/t/vtk9-black-viewport-when-using-rubber-band-style/3515 "2020-06-23T02:55:04Z")

</div>

Hi, When using any sort of rubber band style (e.g. vtkInteractorStyleRubberBandZoom, vtkInteractorStyleRubberBandPick, etc…), the viewport turns black while dragging (the marquee selection line is visible), and goes bac…

---

## [Zbuffer for python](https://discourse.vtk.org/t/zbuffer-for-python/3614)

<div class="topic-metadata">

**Author:** [@Mayank\_Srivastava](https://discourse.vtk.org/u/Mayank_Srivastava)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 4:08pm UTC](https://discourse.vtk.org/t/zbuffer-for-python/3614 "2020-06-22T16:08:24Z")

</div>

Hello, I working on creating 3D depth image using vtk in python. I did find Zbuffer which does the same but could only find the c++ code. Can anyone help me with getting python code for Zbuffer as I’m new to vtk. Thank…

---

## [Volume rendering issue](https://discourse.vtk.org/t/volume-rendering-issue/3435)

<div class="topic-metadata">

**Author:** [@Sandra](https://discourse.vtk.org/u/Sandra)\
**Replies:** 6\
**Last updated:** [June 22, 2020, 11:17am UTC](https://discourse.vtk.org/t/volume-rendering-issue/3435 "2020-06-22T11:17:00Z")

</div>

Mapping data for volume rendering gives strange results when the max value is set to something lower than the highest value in the vtk-file. The volume that is supposed to be shown is there, but there is also a “ghost-…

---

## [OpenGL delay load issue](https://discourse.vtk.org/t/opengl-delay-load-issue/3610)

<div class="topic-metadata">

**Author:** [@FS\_K](https://discourse.vtk.org/u/FS_K)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 9:11am UTC](https://discourse.vtk.org/t/opengl-delay-load-issue/3610 "2020-06-22T09:11:30Z")

</div>

I’m using VTK 8.2 and I want to use OpenGL delay load to be able to switch in software rendering when necessary. I followed the steps described here: https://vtk.org/doc/nightly/html/vtkTestOpenGLVersion\_8h.html#a863adb…

---

## [Creating a VR HUD](https://discourse.vtk.org/t/creating-a-vr-hud/3606)

<div class="topic-metadata">

**Author:** [@AlexG](https://discourse.vtk.org/u/AlexG)\
**Replies:** 0\
**Last updated:** [June 22, 2020, 6:39am UTC](https://discourse.vtk.org/t/creating-a-vr-hud/3606 "2020-06-22T06:39:46Z")

</div>

Hi, I am creating a heatmap and want to display the values of the vtkLookupTable as a color bar. Therefore i use the vtkScalarBarActor. The problem is that i do not know how to position it properly so that it does not h…

---

## [VTK 8.2.0 + Qt Quick + MSVC 2017 issue](https://discourse.vtk.org/t/vtk-8-2-0-qt-quick-msvc-2017-issue/1266)

<div class="topic-metadata">

**Author:** [@JoseJaramillo](https://discourse.vtk.org/u/JoseJaramillo)\
**Replies:** 2\
**Last updated:** [June 22, 2020, 3:23am UTC](https://discourse.vtk.org/t/vtk-8-2-0-qt-quick-msvc-2017-issue/1266 "2020-06-22T03:23:06Z")

</div>

Hi everyone, A couple months ago I reported this bug in Gitlab ( \[https://gitlab.kitware.com/vtk/vtk/issues/17579\] ) but I haven’t received any answer yet, so if someone of you can pinpoint why might this be happening I…

---

## [Getting size of vtkTextActor in python](https://discourse.vtk.org/t/getting-size-of-vtktextactor-in-python/3578)

<div class="topic-metadata">

**Author:** [@Nibba2018](https://discourse.vtk.org/u/Nibba2018)\
**Replies:** 3\
**Last updated:** [June 21, 2020, 2:29pm UTC](https://discourse.vtk.org/t/getting-size-of-vtktextactor-in-python/3578 "2020-06-21T14:29:47Z")

</div>

Hello everyone, I would like to know the width and height of a vtkTextActor in python. According to the documentation, the GetSize and GetBoundingBox should provide me the height and width and those said methods require v…

---

## [Why single click works, but double click does not?](https://discourse.vtk.org/t/why-single-click-works-but-double-click-does-not/3599)

<div class="topic-metadata">

**Author:** [@rodrigomologni](https://discourse.vtk.org/u/rodrigomologni)\
**Replies:** 2\
**Last updated:** [June 20, 2020, 1:44am UTC](https://discourse.vtk.org/t/why-single-click-works-but-double-click-does-not/3599 "2020-06-20T01:44:51Z")

</div>

Would anyone know to tell me why single click works, but double click does not, please? import vtk def left\_button(obj, e): print(e) source = vtk.vtkSphereSource() mapper = vtk.vtkPolyDataMapper() mapper.SetInput…

---

## [LightViz launching not working](https://discourse.vtk.org/t/lightviz-launching-not-working/3595)

<div class="topic-metadata">

**Author:** [@emmanuel\_madarassou](https://discourse.vtk.org/u/emmanuel_madarassou)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 2:19pm UTC](https://discourse.vtk.org/t/lightviz-launching-not-working/3595 "2020-06-19T14:19:54Z")

</div>

Hi everyone I’m having trouble making the PVW LightViz application working. Can someone help me with this error please ? Do I need to copy some vtk files ? I tried to npm install but it didn’t fix it.

---

## [How to set a transparent Button on QVTKWidget based on QT](https://discourse.vtk.org/t/how-to-set-a-transparent-button-on-qvtkwidget-based-on-qt/3586)

<div class="topic-metadata">

**Author:** [@lllaa](https://discourse.vtk.org/u/lllaa)\
**Replies:** 2\
**Last updated:** [June 19, 2020, 7:47am UTC](https://discourse.vtk.org/t/how-to-set-a-transparent-button-on-qvtkwidget-based-on-qt/3586 "2020-06-19T07:47:06Z")

</div>

Just like this pic shows.Although I set the button rgba(x,x,x,40) which is transparent in my code,the button named “Adjust” is not transparent in the blue QVTKWidget .

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

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