# Latest

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

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

**Page:** 221

---

## [vtk python wrapper problem with compilation](https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236)

<div class="topic-metadata">

**Author:** [@Inna\_Daymand](https://discourse.vtk.org/u/Inna_Daymand)\
**Replies:** 29\
**Last updated:** [March 25, 2020, 11:01am UTC](https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236 "2020-03-25T11:01:03Z")

</div>

Hi everyone, I have a problem with compilation files for wrapping there is my cmake file CMAKE\_MINIMUM\_REQUIRED(VERSION 3.3) PROJECT(vtkExamplePython) #C++11 flags set(CMAKE\_CXX\_FLAGS “${CMAKE\_CXX\_FLAGS} -Wall -std=c…

---

## [undefined symbol error due to netcdf linking](https://discourse.vtk.org/t/undefined-symbol-error-due-to-netcdf-linking/2870)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.vtk.org/u/hubutui)\
**Replies:** 6\
**Last updated:** [March 24, 2020, 6:41pm UTC](https://discourse.vtk.org/t/undefined-symbol-error-due-to-netcdf-linking/2870 "2020-03-24T18:41:16Z")

</div>

Hi, I build vtk from the master branch for ArchLinux with configuration: cmake .. \\ -DBUILD\_SHARED\_LIBS=ON \\ -DBUILD\_TESTING=OFF \\ -DCMAKE\_BUILD\_TYPE=Release \\ -DCMAKE\_INSTALL\_LIBDIR=lib \\ -DCMAKE\_…

---

## [png Android linking problem](https://discourse.vtk.org/t/png-android-linking-problem/1311)

<div class="topic-metadata">

**Author:** [@hcwiley](https://discourse.vtk.org/u/hcwiley)\
**Replies:** 6\
**Last updated:** [March 24, 2020, 11:44am UTC](https://discourse.vtk.org/t/png-android-linking-problem/1311 "2020-03-24T11:44:26Z")

</div>

There is a bug with linking to vtkpng after compiling for arm64-v8a with Android NDK 18b. I’m linking against vtk-8.2.0 arm64-v8a with another project that uses NEON and has flags specifying that. The linking error is: u…

---

## [Get voxel intensity](https://discourse.vtk.org/t/get-voxel-intensity/2797)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 8\
**Last updated:** [March 23, 2020, 9:06pm UTC](https://discourse.vtk.org/t/get-voxel-intensity/2797 "2020-03-23T21:06:25Z")

</div>

I have a VC++ app that use VTK for visualizing DICOM CBCT and SimpleITK for segmentation (I intend to do segmentation, until now, it doesn’t working :slight\_smile: ) When I click on vtkVolume, I am using vtkCellPicker …

---

## [How to place vtkDistanceWidget to vtkImageReslice to save it as the slice meta image](https://discourse.vtk.org/t/how-to-place-vtkdistancewidget-to-vtkimagereslice-to-save-it-as-the-slice-meta-image/2865)

<div class="topic-metadata">

**Author:** [@kimia.af1998](https://discourse.vtk.org/u/kimia.af1998)\
**Replies:** 6\
**Last updated:** [March 23, 2020, 5:32pm UTC](https://discourse.vtk.org/t/how-to-place-vtkdistancewidget-to-vtkimagereslice-to-save-it-as-the-slice-meta-image/2865 "2020-03-23T17:32:45Z")

</div>

Hi. I created vtkDistanceWidget to measure distance on my reslice image. and it works fine but when I scroll through slices, the distanceWidget also appears.I want to display the measure tool only for current slice not …

---

## [changing the color of one sphere on a vtkContourWidget](https://discourse.vtk.org/t/changing-the-color-of-one-sphere-on-a-vtkcontourwidget/2866)

<div class="topic-metadata">

**Author:** [@Olicr](https://discourse.vtk.org/u/Olicr)\
**Replies:** 0\
**Last updated:** [March 22, 2020, 2:25pm UTC](https://discourse.vtk.org/t/changing-the-color-of-one-sphere-on-a-vtkcontourwidget/2866 "2020-03-22T14:25:14Z")

</div>

Hello dear people, I am trying to change a specific sphere color on a vtkContourWidget. I have been searching the web before asking you, but couldn(t find any help from there. The properties I know and that I can chan…

---

## [How to convert a set of contour to surface?](https://discourse.vtk.org/t/how-to-convert-a-set-of-contour-to-surface/2859)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 8\
**Last updated:** [March 22, 2020, 12:33am UTC](https://discourse.vtk.org/t/how-to-convert-a-set-of-contour-to-surface/2859 "2020-03-22T00:33:48Z")

</div>

I have a set of contour, and I want to convert the contours to surface. However, the contours are not paralleled. The created surface should be a bend tube. Is there any class in VTK can implement this function?

---

## [Is this the proper way to use vtkStructuredGridAppend?](https://discourse.vtk.org/t/is-this-the-proper-way-to-use-vtkstructuredgridappend/2674)

<div class="topic-metadata">

**Author:** [@kabel](https://discourse.vtk.org/u/kabel)\
**Replies:** 3\
**Last updated:** [March 21, 2020, 5:28pm UTC](https://discourse.vtk.org/t/is-this-the-proper-way-to-use-vtkstructuredgridappend/2674 "2020-03-21T17:28:27Z")

</div>

I seem to have an issue with vtkStructuredGridAppend. I am not sure if I am doing something wrong. I have two small structured grids. Each contains scalar data and the scalar data has the same names in both files. I want…

---

## [Complex Concave Polygons](https://discourse.vtk.org/t/complex-concave-polygons/2857)

<div class="topic-metadata">

**Author:** [@Gerald](https://discourse.vtk.org/u/Gerald)\
**Replies:** 7\
**Last updated:** [March 21, 2020, 4:33pm UTC](https://discourse.vtk.org/t/complex-concave-polygons/2857 "2020-03-21T16:33:54Z")

</div>

Hi all, I am dealing with complex concave polygons. My polygons are: concave self-touching (either point/point or point/edge, edge/edge) at least once, most of the time multiple never self-intersecting aligned on a pl…

---

## [EnSight reader example (C++)](https://discourse.vtk.org/t/ensight-reader-example-c/2799)

<div class="topic-metadata">

**Author:** [@floF](https://discourse.vtk.org/u/floF)\
**Replies:** 1\
**Last updated:** [March 21, 2020, 3:31pm UTC](https://discourse.vtk.org/t/ensight-reader-example-c/2799 "2020-03-21T15:31:31Z")

</div>

Hello, I’m trying to read EnSight Gold data using the VTK library for C++. Unfortunately I didn’t find any example for this files type, and since my global knowledge in C++ is far from being perfect, I didn’t managed s…

---

## [Release notes as part of merge requests](https://discourse.vtk.org/t/release-notes-as-part-of-merge-requests/2861)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 0\
**Last updated:** [March 20, 2020, 5:44pm UTC](https://discourse.vtk.org/t/release-notes-as-part-of-merge-requests/2861 "2020-03-20T17:44:00Z")

</div>

Hi developers, I’ve set up a directory Documentation/release/dev which is intended to contain snippets of release notes to add to topics for contribution. The goal of this is to help maintain release notes throughout th…

---

## [Unstructured Gradient Filter and Marching Cubes](https://discourse.vtk.org/t/unstructured-gradient-filter-and-marching-cubes/2853)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.vtk.org/u/ShaneKirkbride)\
**Replies:** 2\
**Last updated:** [March 20, 2020, 5:00pm UTC](https://discourse.vtk.org/t/unstructured-gradient-filter-and-marching-cubes/2853 "2020-03-20T17:00:25Z")

</div>

I’m trying to show the gradient of a polyData surface similiar to the marching cubes example: https://lorensen.github.io/VTKExamples/site/Cxx/Modelling/MarchingCubes/ I read in the documentation: https://vtk.org/doc/n…

---

## [Does anyone still use Xt for GUI development](https://discourse.vtk.org/t/does-anyone-still-use-xt-for-gui-development/2590)

<div class="topic-metadata">

**Author:** [@ken-martin](https://discourse.vtk.org/u/ken-martin)\
**Replies:** 16\
**Last updated:** [March 20, 2020, 2:18pm UTC](https://discourse.vtk.org/t/does-anyone-still-use-xt-for-gui-development/2590 "2020-03-20T14:18:46Z")

</div>

There is a chunk of Xt code in VTK and I’m wondering if people still use VTK within an Xt based app. Or has everything migrated to xcb or Qt etc?

---

## [VTK9.0 RC1: vtkScalarBarActorInternal.h not installed](https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855)

<div class="topic-metadata">

**Author:** [@lukas](https://discourse.vtk.org/u/lukas)\
**Replies:** 1\
**Last updated:** [March 20, 2020, 1:02pm UTC](https://discourse.vtk.org/t/vtk9-0-rc1-vtkscalarbaractorinternal-h-not-installed/2855 "2020-03-20T13:02:42Z")

</div>

Hi all, I have a problem with the vtkScalarBarActor in RC1 of VTK9.0. I am working with VTK libraries installed with ninja install. With VTK8.2 I am able to create a subclass of vtkScalarBarActor and access the pointer…

---

## [python 3.8 wheel on Mac OS X](https://discourse.vtk.org/t/python-3-8-wheel-on-mac-os-x/2850)

<div class="topic-metadata">

**Author:** [@noam.bern](https://discourse.vtk.org/u/noam.bern)\
**Replies:** 9\
**Last updated:** [March 19, 2020, 6:18pm UTC](https://discourse.vtk.org/t/python-3-8-wheel-on-mac-os-x/2850 "2020-03-19T18:18:04Z")

</div>

Hi - I’ve been trying to figure out how to get vtk to work with python 3.8, and in particular in making a wheel for easy installation. The basic vtk functionality works when compiling from source (using the patch from h…

---

## [Texture Mapping a Tube Uniformly](https://discourse.vtk.org/t/texture-mapping-a-tube-uniformly/2854)

<div class="topic-metadata">

**Author:** [@TravStu22](https://discourse.vtk.org/u/TravStu22)\
**Replies:** 0\
**Last updated:** [March 19, 2020, 2:27pm UTC](https://discourse.vtk.org/t/texture-mapping-a-tube-uniformly/2854 "2020-03-19T14:27:51Z")

</div>

Hi, when trying to texture map a tube, I see the first strip gets the full texture and the rest of the strips get the full texture again stretched amongst them. I would like the texture to be applied evenly along all the…

---

## [Does VTK offer some kind of key value variables saving functionality?](https://discourse.vtk.org/t/does-vtk-offer-some-kind-of-key-value-variables-saving-functionality/1950)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 6\
**Last updated:** [March 19, 2020, 2:22pm UTC](https://discourse.vtk.org/t/does-vtk-offer-some-kind-of-key-value-variables-saving-functionality/1950 "2020-03-19T14:22:30Z")

</div>

Does VTK offer any kind of key value variable save and load functionality between run sessions? Like loading the render where you left last time? Usually called preferences. Saving settings is main target.

---

## [How can I display orientation labels](https://discourse.vtk.org/t/how-can-i-display-orientation-labels/2835)

<div class="topic-metadata">

**Author:** [@cocacc](https://discourse.vtk.org/u/cocacc)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 1:40pm UTC](https://discourse.vtk.org/t/how-can-i-display-orientation-labels/2835 "2020-03-19T13:40:19Z")

</div>

the orientation in the red box . i can‘t display.

---

## [File not found when running iOS examples](https://discourse.vtk.org/t/file-not-found-when-running-ios-examples/829)

<div class="topic-metadata">

**Author:** [@vsaase](https://discourse.vtk.org/u/vsaase)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 2:26am UTC](https://discourse.vtk.org/t/file-not-found-when-running-ios-examples/829 "2020-03-19T02:26:15Z")

</div>

Hi, total VTK newbie here, I am trying to run one of the iOS examples but get stuck here: #include “vtk/vtkRenderingOpenGL2ObjectFactory.h” is not found, which seems to only be used by iOS examples, and only in this li…

---

## [How do I color image data by its associated cell data?](https://discourse.vtk.org/t/how-do-i-color-image-data-by-its-associated-cell-data/2840)

<div class="topic-metadata">

**Author:** [@kevins](https://discourse.vtk.org/u/kevins)\
**Replies:** 9\
**Last updated:** [March 18, 2020, 2:46pm UTC](https://discourse.vtk.org/t/how-do-i-color-image-data-by-its-associated-cell-data/2840 "2020-03-18T14:46:44Z")

</div>

I am using a the vtkXMLImageDataReader to load in my existing vti files that have cell data. I can load in the data just fine and display the first cell data scalar available in the file. What I am having trouble with is…

---

## [Translucent assemblies in 8.2.0](https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419)

<div class="topic-metadata">

**Author:** [@efahl](https://discourse.vtk.org/u/efahl)\
**Replies:** 16\
**Last updated:** [March 18, 2020, 12:25pm UTC](https://discourse.vtk.org/t/translucent-assemblies-in-8-2-0/419 "2020-03-18T12:25:39Z")

</div>

I’m seeing a regression in 8.2.0 when rendering translucent objects inside a vtkAssembly. Here are four screen snaps of my test script’s output, top row is VTK 8.1.2, bottom row is VTK 8.2.0. Left column has actors adde…

---

## [how to get a vtkDataSet from the vtkSmartPointer](https://discourse.vtk.org/t/how-to-get-a-vtkdataset-from-the-vtksmartpointer/2848)

<div class="topic-metadata">

**Author:** [@1116](https://discourse.vtk.org/u/1116)\
**Replies:** 1\
**Last updated:** [March 18, 2020, 11:46am UTC](https://discourse.vtk.org/t/how-to-get-a-vtkdataset-from-the-vtksmartpointer/2848 "2020-03-18T11:46:15Z")

</div>

Hello, I have a vtkSmartPointer such like this: vtkSmartPointer sphereSource = vtkSmartPointer::New(); How could I get a vtkDataSet from the sphereSource? It seems there is a vtkDataSet::SafeDownCast function, but I’m…

---

## [renderer renders with wrong order with opacity](https://discourse.vtk.org/t/renderer-renders-with-wrong-order-with-opacity/2833)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 2\
**Last updated:** [March 17, 2020, 3:16pm UTC](https://discourse.vtk.org/t/renderer-renders-with-wrong-order-with-opacity/2833 "2020-03-17T15:16:41Z")

</div>

Hello, I have a problem with the order of the rendering. I have a render and i render a dicom volume and some geometric polydatas like a cube. The problem is that if i add some oppacity in the cube, some parts dissappe…

---

## [VTK\_Group\_Qt cmake error](https://discourse.vtk.org/t/vtk-group-qt-cmake-error/2826)

<div class="topic-metadata">

**Author:** [@Tracy\_Nk](https://discourse.vtk.org/u/Tracy_Nk)\
**Replies:** 4\
**Last updated:** [March 17, 2020, 2:46pm UTC](https://discourse.vtk.org/t/vtk-group-qt-cmake-error/2826 "2020-03-17T14:46:50Z")

</div>

I’m trying to configure VTK\_Group\_Qt for my VTK build on cmake however i’m experiencing the following error (i have tried putting the directory of my Qt download but it doesnt make a difference): Qt directory: C:\\Qt\\5…

---

## [Error when compiling master branch with GUISupportQtOpenGL](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132)

<div class="topic-metadata">

**Author:** [@cesss](https://discourse.vtk.org/u/cesss)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 2:45pm UTC](https://discourse.vtk.org/t/error-when-compiling-master-branch-with-guisupportqtopengl/2132 "2020-03-17T14:45:46Z")

</div>

When building master with VTK\_MODULE\_ENABLE\_VTK\_GUISupportQtOpenGL I’m getting the following error (I have Qt 5.12.0 if that matters): src/VTK/2019-11-24/GUISupport/QtOpenGL/QVTKWidget2.cxx:488:21: error: no member nam…

---

## [Problem with iOS example VolumeRender](https://discourse.vtk.org/t/problem-with-ios-example-volumerender/1482)

<div class="topic-metadata">

**Author:** [@wvalenzuela](https://discourse.vtk.org/u/wvalenzuela)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 2:37pm UTC](https://discourse.vtk.org/t/problem-with-ios-example-volumerender/1482 "2020-03-17T14:37:37Z")

</div>

Dear All, I compiled the VTK for iOS 12.4, and all the examples from Example/iOS/ works really well except the VolumeRender. VTK/Examples/iOS/VolumeRender for iOS on iPhone XR didn’t show nothing only the background. T…

---

## [mirroring and normals](https://discourse.vtk.org/t/mirroring-and-normals/2767)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 11:45am UTC](https://discourse.vtk.org/t/mirroring-and-normals/2767 "2020-03-17T11:45:00Z")

</div>

I have an actor with point normals, and I want to mirror it in X and Y directions. My approach is illustrated in attached python script mirroring.py (1.6 KB) The output shows two of the mirrors in black instead of the …

---

## [VtkSphereSource with evenly distributed points](https://discourse.vtk.org/t/vtkspheresource-with-evenly-distributed-points/2824)

<div class="topic-metadata">

**Author:** [@vianamp](https://discourse.vtk.org/u/vianamp)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 10:28am UTC](https://discourse.vtk.org/t/vtkspheresource-with-evenly-distributed-points/2824 "2020-03-17T10:28:48Z")

</div>

Does anyone have an implementation of vtkSphereSource with evenly distributed points to share? Thanks,

---

## [vtkIntegrateAttributes not available](https://discourse.vtk.org/t/vtkintegrateattributes-not-available/2751)

<div class="topic-metadata">

**Author:** [@Jamargi](https://discourse.vtk.org/u/Jamargi)\
**Replies:** 2\
**Last updated:** [March 17, 2020, 9:12am UTC](https://discourse.vtk.org/t/vtkintegrateattributes-not-available/2751 "2020-03-17T09:12:35Z")

</div>

Good morning, I am trying to integrate some arrays within a .VTK, and found about the “vtkIntegrateAttributes”, but on python that module seems to not exist. I am using vtk8.1 with python2.7. What could be the problem? …

---

## [QVTKRenderWindowInteractor cause problem to draw vktDistanceWidget on vtkImageReslice](https://discourse.vtk.org/t/qvtkrenderwindowinteractor-cause-problem-to-draw-vktdistancewidget-on-vtkimagereslice/2831)

<div class="topic-metadata">

**Author:** [@kimia.af1998](https://discourse.vtk.org/u/kimia.af1998)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 8:31am UTC](https://discourse.vtk.org/t/qvtkrenderwindowinteractor-cause-problem-to-draw-vktdistancewidget-on-vtkimagereslice/2831 "2020-03-17T08:31:50Z")

</div>

Hi. I’ve been displaying DICOM series slices(vtkImageReslice output) on QVTKRenderWindowInteractor but when I want to use vtkDistanceWidget to measure two selected points by mouse event, It doesn’t work and nothing appe…

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

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