# Latest

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

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

**Page:** 213

---

## [VTK8.2 from python 3.7 wheel, is it possible to force opengl 1.1?](https://discourse.vtk.org/t/vtk8-2-from-python-3-7-wheel-is-it-possible-to-force-opengl-1-1/3387)

<div class="topic-metadata">

**Author:** [@eddy](https://discourse.vtk.org/u/eddy)\
**Replies:** 3\
**Last updated:** [May 25, 2020, 8:48pm UTC](https://discourse.vtk.org/t/vtk8-2-from-python-3-7-wheel-is-it-possible-to-force-opengl-1-1/3387 "2020-05-25T20:48:01Z")

</div>

Hi all, I have to first disclaim that I’m very new to the graphics part, linux and cmake. I’ve been using paraview for some time, both the pvpython (very seldom) and the gui. However, we are now in the process of buildi…

---

## [VTK file with DataArray with 10 components or more will not be read](https://discourse.vtk.org/t/vtk-file-with-dataarray-with-10-components-or-more-will-not-be-read/3109)

<div class="topic-metadata">

**Author:** [@maierbn](https://discourse.vtk.org/u/maierbn)\
**Replies:** 4\
**Last updated:** [May 25, 2020, 8:18pm UTC](https://discourse.vtk.org/t/vtk-file-with-dataarray-with-10-components-or-more-will-not-be-read/3109 "2020-05-25T20:18:09Z")

</div>

Hi, I’m working with VTK files that contain fields with 57 components \[1\]. The DataArray has following form: \<DataArray NumberOfComponents="57" .. ComponentName0="wal\_environment/vS" ComponentName1="wal\_environment/v…

---

## [Problem with CMake and VTK](https://discourse.vtk.org/t/problem-with-cmake-and-vtk/3378)

<div class="topic-metadata">

**Author:** [@Quinn\_B](https://discourse.vtk.org/u/Quinn_B)\
**Replies:** 11\
**Last updated:** [May 25, 2020, 4:48pm UTC](https://discourse.vtk.org/t/problem-with-cmake-and-vtk/3378 "2020-05-25T16:48:11Z")

</div>

Hello! I’m trying to build VTK-8.2.0 using CMake and using Visual Studios 2019 as my configuration platform. Yet I keep getting an error about using either incorrect/unofficial files and it won’t even start the build. I’…

---

## [A problem with vtkImageViewer2](https://discourse.vtk.org/t/a-problem-with-vtkimageviewer2/3391)

<div class="topic-metadata">

**Author:** [@nik](https://discourse.vtk.org/u/nik)\
**Replies:** 0\
**Last updated:** [May 25, 2020, 3:11pm UTC](https://discourse.vtk.org/t/a-problem-with-vtkimageviewer2/3391 "2020-05-25T15:11:52Z")

</div>

Hi! I am studying and I have problems with the example for reading and displaying, freezes and closes when scrolling slices. https://lorensen.github.io/VTKExamples/site/CSharp/IO/ReadDICOMSeries/

---

## [undefined reference to \`PyErr\_Occurred'](https://discourse.vtk.org/t/undefined-reference-to-pyerr-occurred/3383)

<div class="topic-metadata">

**Author:** [@jiapei100](https://discourse.vtk.org/u/jiapei100)\
**Replies:** 2\
**Last updated:** [May 24, 2020, 6:50pm UTC](https://discourse.vtk.org/t/undefined-reference-to-pyerr-occurred/3383 "2020-05-24T18:50:31Z")

</div>

Hi, I’m trying to build VTK again, but it seems the settings are a little different from before. Anyway, RenderingGL2PSOpenGL2 seems to be set as DEFAULT, which seems to be YES. ... //Enable the VTK::RenderingGL2PSOpenG…

---

## [Rendering](https://discourse.vtk.org/t/rendering/3366)

<div class="topic-metadata">

**Author:** [@Lokeshwar\_Obuli](https://discourse.vtk.org/u/Lokeshwar_Obuli)\
**Replies:** 9\
**Last updated:** [May 23, 2020, 3:56pm UTC](https://discourse.vtk.org/t/rendering/3366 "2020-05-23T15:56:26Z")

</div>

While rendering using HTTP what has to be the file format. I am rendering the file as content disposition and the vtk.js is not able to render and says no input in the console of the browser.

---

## [QVTKInteractorAdapter Deprecation issues](https://discourse.vtk.org/t/qvtkinteractoradapter-deprecation-issues/3381)

<div class="topic-metadata">

**Author:** [@ilandaniele](https://discourse.vtk.org/u/ilandaniele)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 3:53am UTC](https://discourse.vtk.org/t/qvtkinteractoradapter-deprecation-issues/3381 "2020-05-23T03:53:05Z")

</div>

As it says in the deprecated list: Member \[QVTKOpenGLWindow::GetInteractorAdapter\] in VTK 9.0 \[QVTKInteractorAdapter\] is an internal helper. My project was made in VTK 8.1 version.However, due to some issues, we needed…

---

## [VTK 9 + PyQt + macOS = no rendering](https://discourse.vtk.org/t/vtk-9-pyqt-macos-no-rendering/3358)

<div class="topic-metadata">

**Author:** [@panicbuttonvfx](https://discourse.vtk.org/u/panicbuttonvfx)\
**Replies:** 24\
**Last updated:** [May 23, 2020, 1:23am UTC](https://discourse.vtk.org/t/vtk-9-pyqt-macos-no-rendering/3358 "2020-05-23T01:23:59Z")

</div>

Hi, Using the latest VTK 9 wheel (from a couple of days ago) for macOS (tested on 10.15.4), I’m experiencing rendering issues. The plotter viewport is transparent with PyQt 5.12.3 and black with PyQt 5.9.2, and nothing …

---

## [Converting viewer from VTK to vtk.js](https://discourse.vtk.org/t/converting-viewer-from-vtk-to-vtk-js/3356)

<div class="topic-metadata">

**Author:** [@JerryR](https://discourse.vtk.org/u/JerryR)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 10:43pm UTC](https://discourse.vtk.org/t/converting-viewer-from-vtk-to-vtk-js/3356 "2020-05-22T22:43:01Z")

</div>

Hi, I have an application that renders volumes that the user can rotate, zoom, etc, with various rendering options. The source data are 8-bit images of cells (one per channel) from a microscope taken at different focus p…

---

## [Unable to change color to edges in Meshes/SolidClip example](https://discourse.vtk.org/t/unable-to-change-color-to-edges-in-meshes-solidclip-example/3367)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 7:21pm UTC](https://discourse.vtk.org/t/unable-to-change-color-to-edges-in-meshes-solidclip-example/3367 "2020-05-22T19:21:10Z")

</div>

Folks, I am wondering how to change the color for the edges computed by the clipping plane in the Meshes/SolidClip example. I went through the vtkFeatureEdges documentaton but did not succeed in changing the color even…

---

## [building with gcc 10.1.0](https://discourse.vtk.org/t/building-with-gcc-10-1-0/3323)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.vtk.org/u/hubutui)\
**Replies:** 6\
**Last updated:** [May 22, 2020, 12:39pm UTC](https://discourse.vtk.org/t/building-with-gcc-10-1-0/3323 "2020-05-22T12:39:59Z")

</div>

Hey, gcc 10.1.0 is released recently. Does anyone try to build vtk with gcc 10? I got something error like this: make\[2\]: Entering directory '/build/vtk-git/src/build-vtk-git' \[ 44%\] Building CXX object CMakeFiles/vtkIm…

---

## [vtkTubeFilter - representation and intersections](https://discourse.vtk.org/t/vtktubefilter-representation-and-intersections/3371)

<div class="topic-metadata">

**Author:** [@Andrea\_Gavana](https://discourse.vtk.org/u/Andrea_Gavana)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 6:47am UTC](https://discourse.vtk.org/t/vtktubefilter-representation-and-intersections/3371 "2020-05-22T06:47:50Z")

</div>

Dear VTK users/developers, I have a number of vtkPolyData in 3D, each of those representing some sort of trajectory. Every point of each polydata is a result of real-life measurements, and in this specific case the meas…

---

## [Downsampling 3D image data in VTK without aliasing?](https://discourse.vtk.org/t/downsampling-3d-image-data-in-vtk-without-aliasing/3329)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 3\
**Last updated:** [May 21, 2020, 9:14pm UTC](https://discourse.vtk.org/t/downsampling-3d-image-data-in-vtk-without-aliasing/3329 "2020-05-21T21:14:44Z")

</div>

Hi, I would like downsample some 3D image data by a factor of 2 without introducing aliasing artifact as described here: I am able to do the downsampling with vtkImageReslice.SetOutputSpacing. However, it doesn’t appe…

---

## [vtkExodusIIReader possible bug](https://discourse.vtk.org/t/vtkexodusiireader-possible-bug/3346)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 5\
**Last updated:** [May 21, 2020, 6:44pm UTC](https://discourse.vtk.org/t/vtkexodusiireader-possible-bug/3346 "2020-05-21T18:44:16Z")

</div>

I have no experience with the ExodusII reader but the coarse mesh file in the attached zip fails in Windows 10 Visual Studio 16.5/16.6 (possibly earlier versions). I can read the file coarseGrid.e Ok in ParaView but it f…

---

## [GetMultiSamples() returns different value after doing Render()](https://discourse.vtk.org/t/getmultisamples-returns-different-value-after-doing-render/3364)

<div class="topic-metadata">

**Author:** [@muryanto1](https://discourse.vtk.org/u/muryanto1)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 6:12pm UTC](https://discourse.vtk.org/t/getmultisamples-returns-different-value-after-doing-render/3364 "2020-05-21T18:12:07Z")

</div>

Running vtk-example.py (see script below) shows that in an environment with vtk 9.0.0.rc3 with mesalib, calling GetMultiSamples() after calling Render() returns 0, which is different from what GetMultiSamples() returns b…

---

## [Changing opacity of volume rendering based on window width/window level in VTK](https://discourse.vtk.org/t/changing-opacity-of-volume-rendering-based-on-window-width-window-level-in-vtk/3363)

<div class="topic-metadata">

**Author:** [@watson](https://discourse.vtk.org/u/watson)\
**Replies:** 1\
**Last updated:** [May 21, 2020, 5:33pm UTC](https://discourse.vtk.org/t/changing-opacity-of-volume-rendering-based-on-window-width-window-level-in-vtk/3363 "2020-05-21T17:33:13Z")

</div>

I need to change the opacity transfer function of volume rendered image based in window width and window level .I need to know how to set the opacity transfer function with respect to WW/WL ie) OpacityTransferFunc…

---

## [Compiling VTK without generating library symlinks](https://discourse.vtk.org/t/compiling-vtk-without-generating-library-symlinks/3359)

<div class="topic-metadata">

**Author:** [@BotellaA](https://discourse.vtk.org/u/BotellaA)\
**Replies:** 4\
**Last updated:** [May 21, 2020, 12:37pm UTC](https://discourse.vtk.org/t/compiling-vtk-without-generating-library-symlinks/3359 "2020-05-21T12:37:28Z")

</div>

VTK generates a lot of symlinks (at least on linux) while compiling. Like this one: libvtkWebCore-8.90.so -\> libvtkWebCore-8.90.so.1 libvtkWebCore-8.90.so.1 -\> libvtkWebCore-8.90.so.8.90.0 libvtkWebCore-8.90.so.8.90.0 M…

---

## [Fitting vtkTextActor within a bounding box](https://discourse.vtk.org/t/fitting-vtktextactor-within-a-bounding-box/3362)

<div class="topic-metadata">

**Author:** [@Nibba2018](https://discourse.vtk.org/u/Nibba2018)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 11:21am UTC](https://discourse.vtk.org/t/fitting-vtktextactor-within-a-bounding-box/3362 "2020-05-21T11:21:45Z")

</div>

Hello everyone, I was looking for a method to fit a vtkTextActor within a rectangular box having a particular width and height without providing the font size of the Text. In other words, I am looking for a solution in w…

---

## [How to not draw off image in ResliceCursorWidget?](https://discourse.vtk.org/t/how-to-not-draw-off-image-in-reslicecursorwidget/3361)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 9:28am UTC](https://discourse.vtk.org/t/how-to-not-draw-off-image-in-reslicecursorwidget/3361 "2020-05-21T09:28:51Z")

</div>

The Off Image area illuminated by the WWL setting is not good for viewing. There is no OffImage area in the input PixelData. I posted the same question last time, but I couldn’t solve it. Does anyone have any advi…

---

## [Acquire 3D Point data using LineWidtget2](https://discourse.vtk.org/t/acquire-3d-point-data-using-linewidtget2/3360)

<div class="topic-metadata">

**Author:** [@Seram](https://discourse.vtk.org/u/Seram)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 6:14am UTC](https://discourse.vtk.org/t/acquire-3d-point-data-using-linewidtget2/3360 "2020-05-21T06:14:08Z")

</div>

Hello, I’m using VTK9 and VS2015 C++ and I loaded Ply Data and Line in 3D Space using LineWidget2. I want to get the coordinate (=X, Y) and height values (=Z) of 3D Point included in Line drawn with LineWidget2. Fin…

---

## [Possible to specifiy "format" in vtp file?](https://discourse.vtk.org/t/possible-to-specifiy-format-in-vtp-file/3283)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.vtk.org/u/Ahmed_Salih)\
**Replies:** 5\
**Last updated:** [May 20, 2020, 8:22pm UTC](https://discourse.vtk.org/t/possible-to-specifiy-format-in-vtp-file/3283 "2020-05-20T20:22:45Z")

</div>

Hello! Basically what I want is that when I open a file in Paraview, it automatically applies the necessary conditions to render it properly. Currently when I load my file, it displays nothing, and I have to manually se…

---

## [Python Seg Fault](https://discourse.vtk.org/t/python-seg-fault/3353)

<div class="topic-metadata">

**Author:** [@gatti](https://discourse.vtk.org/u/gatti)\
**Replies:** 3\
**Last updated:** [May 20, 2020, 5:32pm UTC](https://discourse.vtk.org/t/python-seg-fault/3353 "2020-05-20T17:32:48Z")

</div>

Hi, I’m messaging because I believe I came across a bug. I’ve found a hacky fix for it, but I don’t think my fix is the correct long-term solution. Im using vtk==8.2.0 installed from Conda. If you filter.GetOutput() fr…

---

## [Problem with transparency with VTK \>= 8.0 on Linux](https://discourse.vtk.org/t/problem-with-transparency-with-vtk-8-0-on-linux/3309)

<div class="topic-metadata">

**Author:** [@tigarmo](https://discourse.vtk.org/u/tigarmo)\
**Replies:** 5\
**Last updated:** [May 20, 2020, 12:52pm UTC](https://discourse.vtk.org/t/problem-with-transparency-with-vtk-8-0-on-linux/3309 "2020-05-20T12:52:47Z")

</div>

Hi, I have an issue with rendering transparent objects with any version of VTK from 8.0 onwards (tested up to 9.0.0). I’m running CentOS 7 inside VirtualBox, and glxinfo reports: OpenGL version string: 3.3 (Compatibilit…

---

## [How to build python package from VTK source code?](https://discourse.vtk.org/t/how-to-build-python-package-from-vtk-source-code/3345)

<div class="topic-metadata">

**Author:** [@caibf](https://discourse.vtk.org/u/caibf)\
**Replies:** 3\
**Last updated:** [May 20, 2020, 11:00am UTC](https://discourse.vtk.org/t/how-to-build-python-package-from-vtk-source-code/3345 "2020-05-20T11:00:42Z")

</div>

In general, some one would like to use VTK with python through install vtk via pip. $ pip install vtk However, I built my VTK binaries from source code and expect to use python interface on it. How can I do that?

---

## [How to serialize vtkImageData to a binary buffer](https://discourse.vtk.org/t/how-to-serialize-vtkimagedata-to-a-binary-buffer/1369)

<div class="topic-metadata">

**Author:** [@oregonduckman](https://discourse.vtk.org/u/oregonduckman)\
**Replies:** 1\
**Last updated:** [May 20, 2020, 9:36am UTC](https://discourse.vtk.org/t/how-to-serialize-vtkimagedata-to-a-binary-buffer/1369 "2020-05-20T09:36:13Z")

</div>

I am using the following code to serialize a vtkImageData object to text. Since to result is all text and quite large I am looking for a way to serialize the vtkImageData object to binary, any thoughts? pvtkImageData is…

---

## [Thickness analysis of a solid sheet metal](https://discourse.vtk.org/t/thickness-analysis-of-a-solid-sheet-metal/3341)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 1\
**Last updated:** [May 20, 2020, 12:26am UTC](https://discourse.vtk.org/t/thickness-analysis-of-a-solid-sheet-metal/3341 "2020-05-20T00:26:12Z")

</div>

I have a CAD solid sheet metal part, I can mesh them to surface or volume elements. Is there a technique to extract the midsurface in VTK? Also is it possible to estimate thickness from the computed mid surface? The mai…

---

## [installation of vtk 9.0 with python, java wrappers](https://discourse.vtk.org/t/installation-of-vtk-9-0-with-python-java-wrappers/3325)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 10\
**Last updated:** [May 19, 2020, 5:27pm UTC](https://discourse.vtk.org/t/installation-of-vtk-9-0-with-python-java-wrappers/3325 "2020-05-19T17:27:06Z")

</div>

hi all, I tried to install java and python wrappers in order to use them for calling VTK APIs, over last three days I have tried different approaches. first VTK\_BUILD?SHARED checked in CMake apparently that failed in in…

---

## [Using VectorConfidenceConnected](https://discourse.vtk.org/t/using-vectorconfidenceconnected/3327)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 2\
**Last updated:** [May 19, 2020, 5:24pm UTC](https://discourse.vtk.org/t/using-vectorconfidenceconnected/3327 "2020-05-19T17:24:49Z")

</div>

I have tried to use sitk::VectorConfidenceConnected with sitk::Image retrieved from a dicom images: sitk::Image imgTemp(img); .... .... img = sitk::VectorConfidenceConnected(sitk::Cast(imgTemp, sitk::PixelIDValueEnu…

---

## [Unwanted top level OpenGL window & "Error freeing OpenGL context" exceptions](https://discourse.vtk.org/t/unwanted-top-level-opengl-window-error-freeing-opengl-context-exceptions/3337)

<div class="topic-metadata">

**Author:** [@rruusu](https://discourse.vtk.org/u/rruusu)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 12:39pm UTC](https://discourse.vtk.org/t/unwanted-top-level-opengl-window-error-freeing-opengl-context-exceptions/3337 "2020-05-19T12:39:33Z")

</div>

Hi, We have an Eclipse-based application that uses VTK 8.2.0 for rendering 3D views in SWT widgets. In some situations an unsolicited window with a title of “Visualization Toolkit - Win32OpenGL #1” opens up and presents…

---

## [Measurement of Draw Line and Point Height](https://discourse.vtk.org/t/measurement-of-draw-line-and-point-height/3334)

<div class="topic-metadata">

**Author:** [@Seram](https://discourse.vtk.org/u/Seram)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 8:18am UTC](https://discourse.vtk.org/t/measurement-of-draw-line-and-point-height/3334 "2020-05-19T08:18:12Z")

</div>

Hello VTK 9.0 IDE : Visual Studio 2015 C++ I would like to draw a line by designating 2 points in space and graph X, Y, and Z data of the points in that line. I would appreciate it if you could send me the reference …

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

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