# Latest

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

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

**Page:** 251

---

## [vtkTDxInteractorStyleCamera](https://discourse.vtk.org/t/vtktdxinteractorstylecamera/834)

<div class="topic-metadata">

**Author:** [@domel](https://discourse.vtk.org/u/domel)\
**Replies:** 1\
**Last updated:** [May 4, 2019, 12:16pm UTC](https://discourse.vtk.org/t/vtktdxinteractorstylecamera/834 "2019-05-04T12:16:25Z")

</div>

Hi, I am trying to use my 3DCONNEXION SpaceMouse Enterprise Kit. I am following the example for vtkTDxInteractorStyleCamera. However, only zoom in/out works (like wheel on mouse) and nothing else. Rotation/Panning is en…

---

## [hard crash on vtk 8](https://discourse.vtk.org/t/hard-crash-on-vtk-8/894)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 5\
**Last updated:** [May 3, 2019, 1:29pm UTC](https://discourse.vtk.org/t/hard-crash-on-vtk-8/894 "2019-05-03T13:29:52Z")

</div>

We currently have an app that runs on vtk 6.3, using Java, and we’re working on getting things to run on 8.1.2. We’ve built the new libs, and updated DYLD\_LIBRARY\_PATHs accordingly to point to the new jnilibs. I’m gett…

---

## [how to read the windows level / width from the dicom metadata from vtkDICOMImageReader](https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 1\
**Last updated:** [May 3, 2019, 12:27pm UTC](https://discourse.vtk.org/t/how-to-read-the-windows-level-width-from-the-dicom-metadata-from-vtkdicomimagereader/897 "2019-05-03T12:27:49Z")

</div>

Dear all, I want to get the windows level and width of a series of dicoms given in the metadata of those files. But i cannot find a function in vtkDICOMImageReader to get this information. I heard that vtkDICOMReader ca…

---

## [Vertex normals](https://discourse.vtk.org/t/vertex-normals/797)

<div class="topic-metadata">

**Author:** [@graphicsmonkey](https://discourse.vtk.org/u/graphicsmonkey)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 2:26am UTC](https://discourse.vtk.org/t/vertex-normals/797 "2019-05-03T02:26:04Z")

</div>

Hi Vtk experts… When rendering a surface currently i see a banding effect and i believe it’s because Vtk is using face normals for the shading. Is there a way to generate per vertex normals? Many thanks.

---

## [Missing jnilib for vtkPanel on macOS?](https://discourse.vtk.org/t/missing-jnilib-for-vtkpanel-on-macos/891)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 3:34pm UTC](https://discourse.vtk.org/t/missing-jnilib-for-vtkpanel-on-macos/891 "2019-05-02T15:34:45Z")

</div>

We’ve been on vtk 6.3 forever, and I’m working on getting us upgraded to vtk 8.1.2. To test things, I’m trying to run some of the examples, and I run into what looks like a missing jnilib link for vtkPanel: Exception i…

---

## [Will VTK ever be thread-safe for parallel use ?](https://discourse.vtk.org/t/will-vtk-ever-be-thread-safe-for-parallel-use/871)

<div class="topic-metadata">

**Author:** [@aravind90](https://discourse.vtk.org/u/aravind90)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 2:09pm UTC](https://discourse.vtk.org/t/will-vtk-ever-be-thread-safe-for-parallel-use/871 "2019-05-02T14:09:27Z")

</div>

I’m looking for ways to parallelize VTK and there’s static data in VTK (the Executives classes in particular) that manage static data that can’t be called in parallel without corrupting the heap. Also, I’ve noticed that…

---

## [Render into a div container instead of full screen renderer in vtk.js](https://discourse.vtk.org/t/render-into-a-div-container-instead-of-full-screen-renderer-in-vtk-js/886)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 3\
**Last updated:** [May 1, 2019, 8:46pm UTC](https://discourse.vtk.org/t/render-into-a-div-container-instead-of-full-screen-renderer-in-vtk-js/886 "2019-05-01T20:46:15Z")

</div>

I am trying to render into a div element instead of using the full screen renderer. I found this issue post on github: I am getting error “Uncaught TypeError: Cannot read property ‘newInstance’ of undefined” on the fo…

---

## [vtkImageResize for VTK.js](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 2\
**Last updated:** [May 1, 2019, 1:01am UTC](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882 "2019-05-01T01:01:57Z")

</div>

I just wanted to verify if vtkImageResize is not available in VTK.js. Are there any plans to add it?

---

## [Volume render using ExternalVTKWidget](https://discourse.vtk.org/t/volume-render-using-externalvtkwidget/883)

<div class="topic-metadata">

**Author:** [@Kmilo9999](https://discourse.vtk.org/u/Kmilo9999)\
**Replies:** 0\
**Last updated:** [April 30, 2019, 6:51pm UTC](https://discourse.vtk.org/t/volume-render-using-externalvtkwidget/883 "2019-04-30T18:51:20Z")

</div>

Hello, I am trying to modify the TestGLUTRenderWindow example in order to render voume data using glut. I’m not getting anything on screen. I wonder if someone could check the code and see what I might be missing. Thank…

---

## [VTK PolyData To ImageData](https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863)

<div class="topic-metadata">

**Author:** [@Tarun\_Choudhary](https://discourse.vtk.org/u/Tarun_Choudhary)\
**Replies:** 4\
**Last updated:** [April 30, 2019, 1:44pm UTC](https://discourse.vtk.org/t/vtk-polydata-to-imagedata/863 "2019-04-30T13:44:20Z")

</div>

Dear All, I am trying to create voxel mesh (\*.vtu) from stl geometry; they all form an assembly. I have 3 stls and each of them are being converted to \*.vtu separately but when I am bringing them all together in multi…

---

## [scenepicker problem](https://discourse.vtk.org/t/scenepicker-problem/880)

<div class="topic-metadata">

**Author:** [@Andyjk1406](https://discourse.vtk.org/u/Andyjk1406)\
**Replies:** 1\
**Last updated:** [April 30, 2019, 1:32pm UTC](https://discourse.vtk.org/t/scenepicker-problem/880 "2019-04-30T13:32:47Z")

</div>

I am trying to pick using scene picker but it doesn’t seem to find a cell or vertex, while proppicker does. How do I extract a pick position from scene picker? (Or even just a picked cell) Minimal example below, whic…

---

## [Hello. I got problem on the geometry for vtk.](https://discourse.vtk.org/t/hello-i-got-problem-on-the-geometry-for-vtk/874)

<div class="topic-metadata">

**Author:** [@David](https://discourse.vtk.org/u/David)\
**Replies:** 1\
**Last updated:** [April 30, 2019, 12:51pm UTC](https://discourse.vtk.org/t/hello-i-got-problem-on-the-geometry-for-vtk/874 "2019-04-30T12:51:16Z")

</div>

I did Volume rendering my CT by using vtkSmartVolumeMapper , and did Modeling on same CT by using vtkMarchingCubes. But the Geometry of between Volume rendering and Modeling is different. I attach the picture for the…

---

## [vtk 8.2 MFC examples don't work](https://discourse.vtk.org/t/vtk-8-2-mfc-examples-dont-work/823)

<div class="topic-metadata">

**Author:** [@Sean](https://discourse.vtk.org/u/Sean)\
**Replies:** 7\
**Last updated:** [April 30, 2019, 12:22pm UTC](https://discourse.vtk.org/t/vtk-8-2-mfc-examples-dont-work/823 "2019-04-30T12:22:56Z")

</div>

I am trying to upgrade to vtk8.2.0 (VS2017) and tested it with vtkMFC examples. Now run into some problems. I just couldn’t execute any of the three projects (vtkDLG, vtkMDI, and vtkSDI) with vtk error messages: Generic…

---

## [QVTKOpenGLWidget works in constuctor but not responds to signals.](https://discourse.vtk.org/t/qvtkopenglwidget-works-in-constuctor-but-not-responds-to-signals/878)

<div class="topic-metadata">

**Author:** [@pkusunjy](https://discourse.vtk.org/u/pkusunjy)\
**Replies:** 1\
**Last updated:** [April 30, 2019, 12:07pm UTC](https://discourse.vtk.org/t/qvtkopenglwidget-works-in-constuctor-but-not-responds-to-signals/878 "2019-04-30T12:07:27Z")

</div>

Hi, I have a QVTKOpenGLWidget in mainwindow, it’s promoted from QWidget. I need to draw something(say cylinder, .ply) in the QVTKOpenGLWidget, and when I write code in constructor, everything is ok, but when I connect r…

---

## [vtk mfc examples: vtkMDI vs Win32SampleMFC](https://discourse.vtk.org/t/vtk-mfc-examples-vtkmdi-vs-win32samplemfc/869)

<div class="topic-metadata">

**Author:** [@Kevin](https://discourse.vtk.org/u/Kevin)\
**Replies:** 0\
**Last updated:** [April 29, 2019, 2:28pm UTC](https://discourse.vtk.org/t/vtk-mfc-examples-vtkmdi-vs-win32samplemfc/869 "2019-04-29T14:28:25Z")

</div>

I am new for vtk and trying to learn it through some examples. I saw there are two vtk examples (vtkMDI and Win32SampleMFC) and they seem for exact same functions, but quite different designs. The Win32SampleMFC with two…

---

## [segfault for python importing vtk but not for vtkpython](https://discourse.vtk.org/t/segfault-for-python-importing-vtk-but-not-for-vtkpython/126)

<div class="topic-metadata">

**Author:** [@danlipsa](https://discourse.vtk.org/u/danlipsa)\
**Replies:** 11\
**Last updated:** [April 29, 2019, 2:16pm UTC](https://discourse.vtk.org/t/segfault-for-python-importing-vtk-but-not-for-vtkpython/126 "2019-04-29T14:16:32Z")

</div>

Hi all, I am building VTK with the latest conda-build v3 on mac. vtkpython seems to work fine, however importing vtk from python gives me a segfault. Any ideas? (See the attached information) Python 3.7.1 | packaged by…

---

## [QVTKOpenGLWidget Issue on Mac OSX](https://discourse.vtk.org/t/qvtkopenglwidget-issue-on-mac-osx/828)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.vtk.org/u/Andrew)\
**Replies:** 1\
**Last updated:** [April 29, 2019, 8:25am UTC](https://discourse.vtk.org/t/qvtkopenglwidget-issue-on-mac-osx/828 "2019-04-29T08:25:07Z")

</div>

Are there any QVTKOpenGLWidget examples since QVTKWidget is deprecated? I think I might be using it wrong. Here’s a little example of how I use vtkOpenGLWidget on windows (latest msvc): QVTKOpenGLWidget\* widget = new QV…

---

## [vtkXdmfWriter does not write correctly for vtkPythonAlgorithm](https://discourse.vtk.org/t/vtkxdmfwriter-does-not-write-correctly-for-vtkpythonalgorithm/862)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.vtk.org/u/amit112amit)\
**Replies:** 0\
**Last updated:** [April 28, 2019, 7:30pm UTC](https://discourse.vtk.org/t/vtkxdmfwriter-does-not-write-correctly-for-vtkpythonalgorithm/862 "2019-04-28T19:30:41Z")

</div>

I wrote a custom Filter by subclassing VTKPythonAlgorithmBase following this link. When I write the output using vtkXMLPolyDataWriter class, I get correct points, lines and point-data vectors. I confirmed it by opening t…

---

## [Parallel VTK 8.2 failed to build with gcc-8 on MacOS 10.14](https://discourse.vtk.org/t/parallel-vtk-8-2-failed-to-build-with-gcc-8-on-macos-10-14/854)

<div class="topic-metadata">

**Author:** [@Quang\_Ha](https://discourse.vtk.org/u/Quang_Ha)\
**Replies:** 0\
**Last updated:** [April 27, 2019, 3:38am UTC](https://discourse.vtk.org/t/parallel-vtk-8-2-failed-to-build-with-gcc-8-on-macos-10-14/854 "2019-04-27T03:38:18Z")

</div>

I am trying to build Parallel version of VTK 8.2 using the following config: #!/bin/bash cmake \\ -D CMAKE\_INSTALL\_PREFIX:PATH=/Users/qth20/Utilities/vtk-8.2.0 \\ -D CMAKE\_INSTALL\_NAME\_DIR:STRING=/Users/qth20/Uti…

---

## [Multivolume : Shading is not working](https://discourse.vtk.org/t/multivolume-shading-is-not-working/771)

<div class="topic-metadata">

**Author:** [@CNA](https://discourse.vtk.org/u/CNA)\
**Replies:** 6\
**Last updated:** [April 26, 2019, 6:38pm UTC](https://discourse.vtk.org/t/multivolume-shading-is-not-working/771 "2019-04-26T18:38:50Z")

</div>

Hi everyone, I am trying to use a vtkMultivolume with a vtkGPUVolumeRayCastMapper in 8.2 in c++ and I found something weird. When there is only on port used in the mapper and also one port used in the vtkMultivolume I …

---

## [Job opportunity: Kitware Medical Group is hiring](https://discourse.vtk.org/t/job-opportunity-kitware-medical-group-is-hiring/851)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 0\
**Last updated:** [April 26, 2019, 4:54pm UTC](https://discourse.vtk.org/t/job-opportunity-kitware-medical-group-is-hiring/851 "2019-04-26T16:54:12Z")

</div>

Kitware has two job opportunities related to VTK and visualization. Please visit the links below for more information. R&D Engineer in Biomedical Image Analysis and Machine Learning Algorithm Development Software Deve…

---

## [Module vtkRenderingNone not built even with VTK\_RENDERING\_BACKEND=None](https://discourse.vtk.org/t/module-vtkrenderingnone-not-built-even-with-vtk-rendering-backend-none/585)

<div class="topic-metadata">

**Author:** [@romangrothausmann](https://discourse.vtk.org/u/romangrothausmann)\
**Replies:** 12\
**Last updated:** [April 25, 2019, 5:42pm UTC](https://discourse.vtk.org/t/module-vtkrenderingnone-not-built-even-with-vtk-rendering-backend-none/585 "2019-04-25T17:42:19Z")

</div>

Hi. When trying to compile a minimal VTK to use with ITKVtkGlue=ON (https://github.com/romangrothausmann/ITK-VTK\_CLIs/blob/0add37a5d4a91eb7bbafdf0b66096f83a755958f/Dockerfile#L50), ITK cmake stops with: Requested modul…

---

## [Change the default events of the widgets](https://discourse.vtk.org/t/change-the-default-events-of-the-widgets/840)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [April 25, 2019, 1:42pm UTC](https://discourse.vtk.org/t/change-the-default-events-of-the-widgets/840 "2019-04-25T13:42:55Z")

</div>

Hi everybody, I wonder if you know if it is possible to change the default events of the widgets. I am using the vtkBrokenLineWidget and i would like to remove the translation and change the behaviour of the orientatio…

---

## [Alt key release doesn't always trigger: python 3.7, vtk8.2 and pyqt5](https://discourse.vtk.org/t/alt-key-release-doesnt-always-trigger-python-3-7-vtk8-2-and-pyqt5/826)

<div class="topic-metadata">

**Author:** [@michaelhogg](https://discourse.vtk.org/u/michaelhogg)\
**Replies:** 1\
**Last updated:** [April 25, 2019, 3:20am UTC](https://discourse.vtk.org/t/alt-key-release-doesnt-always-trigger-python-3-7-vtk8-2-and-pyqt5/826 "2019-04-25T03:20:37Z")

</div>

Hi all, I am developing an application in Python 3.7 with PyQt5 and vtk 8.2.0 on Windows 7 / 10. I have a custom interactor class derived from vtkInteractorStyleTrackballCamera. I have added observers for KeyPressEvent …

---

## [Proposal: Should we replace vtkStdString with std::string](https://discourse.vtk.org/t/proposal-should-we-replace-vtkstdstring-with-std-string/796)

<div class="topic-metadata">

**Author:** [@Haocheng\_Liu](https://discourse.vtk.org/u/Haocheng_Liu)\
**Replies:** 13\
**Last updated:** [April 25, 2019, 2:53am UTC](https://discourse.vtk.org/t/proposal-should-we-replace-vtkstdstring-with-std-string/796 "2019-04-25T02:53:09Z")

</div>

vtkStdString is introduced because in pre C++11 world, the symbol names are too long given by the standard STL string. Since now C++11 has improved a lot on std::string, this class has finished its mission. Should we rep…

---

## [Create truncated Cone](https://discourse.vtk.org/t/create-truncated-cone/813)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.vtk.org/u/siaeleni)\
**Replies:** 6\
**Last updated:** [April 24, 2019, 10:26am UTC](https://discourse.vtk.org/t/create-truncated-cone/813 "2019-04-24T10:26:24Z")

</div>

Hello, I want to display a truncated code like the following Any hint would be appreciated. Thanks

---

## [visual studio - vtk 8.9 lnk2019 vtkvolume setproperty unresolve external symbol](https://discourse.vtk.org/t/visual-studio-vtk-8-9-lnk2019-vtkvolume-setproperty-unresolve-external-symbol/819)

<div class="topic-metadata">

**Author:** [@Kmilo9999](https://discourse.vtk.org/u/Kmilo9999)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 6:12pm UTC](https://discourse.vtk.org/t/visual-studio-vtk-8-9-lnk2019-vtkvolume-setproperty-unresolve-external-symbol/819 "2019-04-23T18:12:48Z")

</div>

Hello, I’m trying to render volume data using c++ / vs2015 / vtk master (I cloned it from github and built it in vs2015), but I’m getting a linker error when calling the method vtkVolume::SetProperty These are the line…

---

## [Python VTK: How to use the filter vtkFeatureEdges() with a PolyData() method?](https://discourse.vtk.org/t/python-vtk-how-to-use-the-filter-vtkfeatureedges-with-a-polydata-method/818)

<div class="topic-metadata">

**Author:** [@ramiromena](https://discourse.vtk.org/u/ramiromena)\
**Replies:** 1\
**Last updated:** [April 23, 2019, 2:45pm UTC](https://discourse.vtk.org/t/python-vtk-how-to-use-the-filter-vtkfeatureedges-with-a-polydata-method/818 "2019-04-23T14:45:41Z")

</div>

Dear VTK community, I am trying to plot the Boundary Edges of a 3D solid. For my example, I am using a cube that is generated manually (instead of the vtkCubeSource() method) and as a part of the pipeline, the filter vt…

---

## [overlapping 2 volumes in a render window](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 2\
**Last updated:** [April 23, 2019, 12:30pm UTC](https://discourse.vtk.org/t/overlapping-2-volumes-in-a-render-window/775 "2019-04-23T12:30:21Z")

</div>

Hello, I have 199 CT slices of the liver (volume 1) from which I have segmented the liver vessels (volume 2: 199 slices containing only the vessels in binary images). Now I want to overlap these 2 volumes: I want to see…

---

## [Is zfp used in VTK?](https://discourse.vtk.org/t/is-zfp-used-in-vtk/786)

<div class="topic-metadata">

**Author:** [@opoplawski](https://discourse.vtk.org/u/opoplawski)\
**Replies:** 2\
**Last updated:** [April 22, 2019, 9:23pm UTC](https://discourse.vtk.org/t/is-zfp-used-in-vtk/786 "2019-04-22T21:23:21Z")

</div>

There is ThirdParty/zfp in the VTK source - but I can’t find any evidence that it is in use. Is there some planned future use or should it be removed? https://gitlab.kitware.com/vtk/vtk/issues/17540

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

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