# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=134

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

**Page:** 135

---

## [How can I get this result use vtk 8.2？ When i pick a actor, will draw it's outline.](https://discourse.vtk.org/t/how-can-i-get-this-result-use-vtk-8-2-when-i-pick-a-actor-will-draw-its-outline/3097)

<div class="topic-metadata">

**Author:** [@nabor-wang](https://discourse.vtk.org/u/nabor-wang)\
**Replies:** 0\
**Last updated:** [April 19, 2020, 1:34pm UTC](https://discourse.vtk.org/t/how-can-i-get-this-result-use-vtk-8-2-when-i-pick-a-actor-will-draw-its-outline/3097 "2020-04-19T13:34:39Z")

</div>

The image is show what i want. The middle actor is in selected state.It show the actor outline. I search some topics, but i also don’t know how to do it. Use shader and add to pass? I am new for VTK. Thanks for your help…

---

## [Save figure as PNG or PDF](https://discourse.vtk.org/t/save-figure-as-png-or-pdf/3088)

<div class="topic-metadata">

**Author:** [@Jaouane](https://discourse.vtk.org/u/Jaouane)\
**Replies:** 1\
**Last updated:** [April 18, 2020, 6:48pm UTC](https://discourse.vtk.org/t/save-figure-as-png-or-pdf/3088 "2020-04-18T18:48:21Z")

</div>

Dear Sir / Madam I am beginner in vtkplotter.dolfin by using Python. How I can save a figure as PNG or PDF format Thank you in advance for your help

---

## [Compute volume of a TubeFilter](https://discourse.vtk.org/t/compute-volume-of-a-tubefilter/3090)

<div class="topic-metadata">

**Author:** [@masgro](https://discourse.vtk.org/u/masgro)\
**Replies:** 0\
**Last updated:** [April 18, 2020, 5:02pm UTC](https://discourse.vtk.org/t/compute-volume-of-a-tubefilter/3090 "2020-04-18T17:02:12Z")

</div>

I’m using tubeFilter with clapping along a spline, and I’m trying to compute the volume inside the resulting tube… I read somewhere I can use massProperty to get that volume, but I’m failing to “convert” tubeFilter to m…

---

## [Retrieving Interpolation Image of Reslice Output with TextureVisibilityOff()](https://discourse.vtk.org/t/retrieving-interpolation-image-of-reslice-output-with-texturevisibilityoff/3083)

<div class="topic-metadata">

**Author:** [@Aaron\_Nowack](https://discourse.vtk.org/u/Aaron_Nowack)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 11:00pm UTC](https://discourse.vtk.org/t/retrieving-interpolation-image-of-reslice-output-with-texturevisibilityoff/3083 "2020-04-17T23:00:17Z")

</div>

I’m creating an application which slices through a 3D volume and displays an overlay of the slice in a corner. I use a vtkImagePlaneWidget for interacting with the slice, and vtkLogoRepresentation to display the 2D slice…

---

## [Which Qt and VTK for QVTKOpenGLWidget?](https://discourse.vtk.org/t/which-qt-and-vtk-for-qvtkopenglwidget/1588)

<div class="topic-metadata">

**Author:** [@Gib\_Bogle](https://discourse.vtk.org/u/Gib_Bogle)\
**Replies:** 14\
**Last updated:** [April 17, 2020, 4:41pm UTC](https://discourse.vtk.org/t/which-qt-and-vtk-for-qvtkopenglwidget/1588 "2020-04-17T16:41:49Z")

</div>

In an attempt to avoid the segfault I’m getting with QVTKWidget (Qt-4.8, VTK-5.10) I am planning to upgrade to a version of VTK that includes QVTKOpenGLWidget. In which VTK version did this widget first appear? Will I …

---

## [How to Include 2D Image as Overlay in a 3D Scene](https://discourse.vtk.org/t/how-to-include-2d-image-as-overlay-in-a-3d-scene/3075)

<div class="topic-metadata">

**Author:** [@Aaron\_Nowack](https://discourse.vtk.org/u/Aaron_Nowack)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 4:23pm UTC](https://discourse.vtk.org/t/how-to-include-2d-image-as-overlay-in-a-3d-scene/3075 "2020-04-17T16:23:09Z")

</div>

In the example ChartsOn3DScene a 2D Chart is displayed on top of a 3D scene which can be interacted with. I’m trying to do something similar, but instead of displaying a Chart, to show an image, which persists and does…

---

## [vtkimplicitModeller very slow or making holes](https://discourse.vtk.org/t/vtkimplicitmodeller-very-slow-or-making-holes/3070)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 1:43pm UTC](https://discourse.vtk.org/t/vtkimplicitmodeller-very-slow-or-making-holes/3070 "2020-04-17T13:43:27Z")

</div>

Hi, I am trying to create a distance map and get the contour close to the surface (a few mm from the zero level of the contour). So I got the bounds of the polydata I modified it with the bounds considering the thic…

---

## [Create a volume from a stack of non parallel slices](https://discourse.vtk.org/t/create-a-volume-from-a-stack-of-non-parallel-slices/3054)

<div class="topic-metadata">

**Author:** [@simonesneault](https://discourse.vtk.org/u/simonesneault)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 9:36am UTC](https://discourse.vtk.org/t/create-a-volume-from-a-stack-of-non-parallel-slices/3054 "2020-04-17T09:36:24Z")

</div>

Hello community, What would be the best approach to create an interpolated volume (ideally a vtkImageData) from a stack of 2D non parallel slices (UltraSound images) ? Is it possible ? Here is a snapshot of all images ……

---

## [Reading pvtu with python](https://discourse.vtk.org/t/reading-pvtu-with-python/3065)

<div class="topic-metadata">

**Author:** [@Dhanush](https://discourse.vtk.org/u/Dhanush)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 8:52am UTC](https://discourse.vtk.org/t/reading-pvtu-with-python/3065 "2020-04-16T08:52:56Z")

</div>

Im reading the pvtu files using XMLPUnstructured Reader in python, then I use the CellType to convert the vtkCellCenters to acquire cell center coordinates and the field data. But the (x,y,z) of the centers are changing,…

---

## [Initial render is of low quality, creating poor sreenshots.](https://discourse.vtk.org/t/initial-render-is-of-low-quality-creating-poor-sreenshots/3058)

<div class="topic-metadata">

**Author:** [@Mskovmand](https://discourse.vtk.org/u/Mskovmand)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 8:16am UTC](https://discourse.vtk.org/t/initial-render-is-of-low-quality-creating-poor-sreenshots/3058 "2020-04-16T08:16:58Z")

</div>

I feel this question has somehow been asked in another topic (raycasting initially renders at low resolution), and I asked in there myself but never got an answer. I’m now back to this problem and I’m hoping someone can…

---

## [find\_package(VTK) creates ExternalData directory in build (vtk 9.0.0.rc2)](https://discourse.vtk.org/t/find-package-vtk-creates-externaldata-directory-in-build-vtk-9-0-0-rc2/3060)

<div class="topic-metadata">

**Author:** [@biagas](https://discourse.vtk.org/u/biagas)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 3:18pm UTC](https://discourse.vtk.org/t/find-package-vtk-creates-externaldata-directory-in-build-vtk-9-0-0-rc2/3060 "2020-04-15T15:18:16Z")

</div>

I compiled and installed vtk 9.0.0.rc2. When I try to build a small program to use the VTK I compiled, an ‘ExternalData’ subdirectory gets added to my build dir when I call find\_package. Here’s the simplest CMakeLists.…

---

## [fast visualization of a rectilinear grid](https://discourse.vtk.org/t/fast-visualization-of-a-rectilinear-grid/3059)

<div class="topic-metadata">

**Author:** [@mat127](https://discourse.vtk.org/u/mat127)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 1:49pm UTC](https://discourse.vtk.org/t/fast-visualization-of-a-rectilinear-grid/3059 "2020-04-15T13:49:01Z")

</div>

Hello, I want to visualize a rectilinear grid that can be transformed by a linear transformation and then clipped by a general plane. Clipping by such plane means filter out all grid cells not belonging to a half-space …

---

## [vtkResliceCursorWidget, flickering, Java wrapper, interpolation, rendering, numeric conversion](https://discourse.vtk.org/t/vtkreslicecursorwidget-flickering-java-wrapper-interpolation-rendering-numeric-conversion/1043)

<div class="topic-metadata">

**Author:** [@tom1](https://discourse.vtk.org/u/tom1)\
**Replies:** 2\
**Last updated:** [April 15, 2020, 7:23am UTC](https://discourse.vtk.org/t/vtkreslicecursorwidget-flickering-java-wrapper-interpolation-rendering-numeric-conversion/1043 "2020-04-15T07:23:06Z")

</div>

Dear VTK Java-wrapper experts, I am facing some strange rendering/numeric conversion/interpolation problem when using the vtkResliceCursorWidget. When moving the reslice cursor, the displayed image flickers. Why does…

---

## [Problem running Examples/GUI/Python/ImplicitPlaneWidget.py (vtkLODActor not found, etc)](https://discourse.vtk.org/t/problem-running-examples-gui-python-implicitplanewidget-py-vtklodactor-not-found-etc/3045)

<div class="topic-metadata">

**Author:** [@Yasushi\_Saito](https://discourse.vtk.org/u/Yasushi_Saito)\
**Replies:** 5\
**Last updated:** [April 14, 2020, 7:45pm UTC](https://discourse.vtk.org/t/problem-running-examples-gui-python-implicitplanewidget-py-vtklodactor-not-found-etc/3045 "2020-04-14T19:45:01Z")

</div>

I’m trying to run VTK Examples/GUI/Python/ImplicitPlaneWidget.py and ran into a couple of issues. I downloaded & installed ParaView-5.8.0-MPI-Linux-Python3.7-64bit.tar.gz on Ubuntu 18.04. Then I ran pvpython ImplicitP…

---

## [Can't get polyhedron to render in VTK 6 with Qt](https://discourse.vtk.org/t/cant-get-polyhedron-to-render-in-vtk-6-with-qt/3052)

<div class="topic-metadata">

**Author:** [@stephanie](https://discourse.vtk.org/u/stephanie)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 6:52pm UTC](https://discourse.vtk.org/t/cant-get-polyhedron-to-render-in-vtk-6-with-qt/3052 "2020-04-14T18:52:03Z")

</div>

I am having trouble rendering a weirdly-shaped polyhedron in VTK 6 with Qt. I am able to construct it, but when I try to add the actors to the renderers and render the entire image, it segfaults on the call to Render(). …

---

## [Difficulty animating a time-aware reader with an OSPRayPass](https://discourse.vtk.org/t/difficulty-animating-a-time-aware-reader-with-an-ospraypass/3004)

<div class="topic-metadata">

**Author:** [@jfavre](https://discourse.vtk.org/u/jfavre)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 6:32pm UTC](https://discourse.vtk.org/t/difficulty-animating-a-time-aware-reader-with-an-ospraypass/3004 "2020-04-14T18:32:33Z")

</div>

I have a Python program displaying data from a time-aware reader. I can play my animation without any problem. Now, if I add an OSPRayPass, my time-aware reader responds to timestep update requests, but my render window…

---

## [Wireframe and Vertices from PolyData](https://discourse.vtk.org/t/wireframe-and-vertices-from-polydata/3049)

<div class="topic-metadata">

**Author:** [@anon64829896](https://discourse.vtk.org/u/anon64829896)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 5:12pm UTC](https://discourse.vtk.org/t/wireframe-and-vertices-from-polydata/3049 "2020-04-14T17:12:34Z")

</div>

Hi! My starting point is a dataframe containing vertices and a dataframe containing the IDs to build the polygons. (Number of Points in polygon can vary but for the first step, the polygons are tetrahedral) The first q…

---

## [vtk python poininpolygon method](https://discourse.vtk.org/t/vtk-python-poininpolygon-method/3047)

<div class="topic-metadata">

**Author:** [@MQChen](https://discourse.vtk.org/u/MQChen)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 1:29pm UTC](https://discourse.vtk.org/t/vtk-python-poininpolygon-method/3047 "2020-04-14T13:29:19Z")

</div>

Hi , The poininpolygon() method can find in c++, but i can not ues in python (vtk 8.1.2, python3.7). This method can ues in python? Where have a example (i search and not result)? Thx!

---

## [Creating a 3d mesh from annotated volumetric data](https://discourse.vtk.org/t/creating-a-3d-mesh-from-annotated-volumetric-data/3041)

<div class="topic-metadata">

**Author:** [@Anurag\_Ranjak](https://discourse.vtk.org/u/Anurag_Ranjak)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 4:05am UTC](https://discourse.vtk.org/t/creating-a-3d-mesh-from-annotated-volumetric-data/3041 "2020-04-14T04:05:11Z")

</div>

hey i have an annotated 3d volume. i want to create a 3d mesh out of it kind of like the meshes from the allen brain atlas

---

## [Questions about using VTK in 32-bit programming](https://discourse.vtk.org/t/questions-about-using-vtk-in-32-bit-programming/3042)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 4:04am UTC](https://discourse.vtk.org/t/questions-about-using-vtk-in-32-bit-programming/3042 "2020-04-14T04:04:57Z")

</div>

Hi. I have a question about using VTK in 32-bit programming. I understand that there is a limit to the handling of medical images in 32bit. If a 3D image is created using a vtkMarchingCube for a high-capacity image in…

---

## [blurring textures](https://discourse.vtk.org/t/blurring-textures/2911)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 4\
**Last updated:** [April 14, 2020, 2:22am UTC](https://discourse.vtk.org/t/blurring-textures/2911 "2020-04-14T02:22:58Z")

</div>

What should I refer to for an example of a technique to improve performance by blurring textures when rotating an ISOSurface created using vtkMarchingCube? 3DSlicer has this feature.

---

## [Convert or make a single file](https://discourse.vtk.org/t/convert-or-make-a-single-file/3009)

<div class="topic-metadata">

**Author:** [@rubensrojas](https://discourse.vtk.org/u/rubensrojas)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 12:09am UTC](https://discourse.vtk.org/t/convert-or-make-a-single-file/3009 "2020-04-14T00:09:52Z")

</div>

Hi, i’m new to vtk, and i have been looking for functions or scripts that can convert .vtp, .vtu, .vtm files, to .vtk or maybe .vtp. But i can’t find anything. What i want to know is if this type of operation is even po…

---

## [PLY face element](https://discourse.vtk.org/t/ply-face-element/3027)

<div class="topic-metadata">

**Author:** [@j.praptak](https://discourse.vtk.org/u/j.praptak)\
**Replies:** 5\
**Last updated:** [April 13, 2020, 3:56pm UTC](https://discourse.vtk.org/t/ply-face-element/3027 "2020-04-13T15:56:23Z")

</div>

Hello. I’m using vtk in Python to view and make screenshots of some .ply files. I’m completely new to vtk, but i have managed to load and view vertices. How do I load the face element of .ply file and view them in rende…

---

## [Type of convexity of vtkHexahedron](https://discourse.vtk.org/t/type-of-convexity-of-vtkhexahedron/3036)

<div class="topic-metadata">

**Author:** [@d8384a8427084811fa7a](https://discourse.vtk.org/u/d8384a8427084811fa7a)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 8:04am UTC](https://discourse.vtk.org/t/type-of-convexity-of-vtkhexahedron/3036 "2020-04-13T08:04:44Z")

</div>

Hello everyone, How to choose for the vtkHexahedron whether the top surface is concave or convex? E.g. in the figure the top surface is convex and the chosen diagonal is between 0 and 2 (and 4 and 6). Does anyone knows…

---

## [how to control vtkResliceImageViewer via api](https://discourse.vtk.org/t/how-to-control-vtkresliceimageviewer-via-api/3029)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 5:29am UTC](https://discourse.vtk.org/t/how-to-control-vtkresliceimageviewer-via-api/3029 "2020-04-12T05:29:50Z")

</div>

I have add vtkResliceImageViewer to my app and it works well. The reslice mode was set to oblique . The viewer can render nifti image and be controlled by mouse interaction. Now I want to control the viewer via api. I…

---

## [Modifying python vtkHyperStreamline](https://discourse.vtk.org/t/modifying-python-vtkhyperstreamline/3028)

<div class="topic-metadata">

**Author:** [@JDJD](https://discourse.vtk.org/u/JDJD)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 3:36am UTC](https://discourse.vtk.org/t/modifying-python-vtkhyperstreamline/3028 "2020-04-12T03:36:47Z")

</div>

Greetings, I have a modification of vtkHyperStreamline.cxx and I’d like to port the modified vtkHyperStreamline to Python. I was unable to find any corresponding Python source code for vtkHyperStreamline on Github. D…

---

## [VTK-8.2.0 install failure MacOS Mojave VTK\_USE\_X=On](https://discourse.vtk.org/t/vtk-8-2-0-install-failure-macos-mojave-vtk-use-x-on/1726)

<div class="topic-metadata">

**Author:** [@chenager](https://discourse.vtk.org/u/chenager)\
**Replies:** 3\
**Last updated:** [April 11, 2020, 5:46pm UTC](https://discourse.vtk.org/t/vtk-8-2-0-install-failure-macos-mojave-vtk-use-x-on/1726 "2020-04-11T17:46:46Z")

</div>

Although I can successfully build VTK-8.2.0 with Qt and VTK\_USE\_COCOA=On I need to install it to use X11 and when I turn VTK\_USE\_X=On and COCOA=Off and direct VTK to /opt/local/lib for OpenGL install then I get this erro…

---

## [Can't read and visualize the vtk file](https://discourse.vtk.org/t/cant-read-and-visualize-the-vtk-file/3022)

<div class="topic-metadata">

**Author:** [@srbn.ghosh99](https://discourse.vtk.org/u/srbn.ghosh99)\
**Replies:** 2\
**Last updated:** [April 11, 2020, 12:34am UTC](https://discourse.vtk.org/t/cant-read-and-visualize-the-vtk-file/3022 "2020-04-11T00:34:30Z")

</div>

Hi, I am trying to read this vtk file but I cannot visualize it. I have attached the file here. https://drive.google.com/open?id=1KvOYye921fy25oBkMVeNTrTx55LP6nXQ Could you please help me with this. Regards Shrabani…

---

## [proper linking with MetaIO with metaTypes](https://discourse.vtk.org/t/proper-linking-with-metaio-with-metatypes/3021)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 4:34pm UTC](https://discourse.vtk.org/t/proper-linking-with-metaio-with-metatypes/3021 "2020-04-10T16:34:02Z")

</div>

I am updating a vtk based code work with the latest vtk. I am running into this issue. \[ 67%\] Building CXX object VolumeProcessing/CMakeFiles/vtkVolumeProcessing.dir/vtkOOCMetaImageReader.cxx.o In file included from /Us…

---

## [Using part of VTK in my own project?](https://discourse.vtk.org/t/using-part-of-vtk-in-my-own-project/3010)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.vtk.org/u/Ahmed_Salih)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 3:23pm UTC](https://discourse.vtk.org/t/using-part-of-vtk-in-my-own-project/3010 "2020-04-10T15:23:47Z")

</div>

Hello! So this is my first time trying to achieve something like this. What I want to is basically to use some functionality provided in this example in my own project; https://lorensen.github.io/VTKExamples/site/Cxx/…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=133)

[Next page](https://discourse.vtk.org/c/support/6.md?page=135)
