# Latest

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

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

**Page:** 218

---

## [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 ……

---

## [Deformable registration](https://discourse.vtk.org/t/deformable-registration/3071)

<div class="topic-metadata">

**Author:** [@srbn.ghosh99](https://discourse.vtk.org/u/srbn.ghosh99)\
**Replies:** 3\
**Last updated:** [April 16, 2020, 8:25pm UTC](https://discourse.vtk.org/t/deformable-registration/3071 "2020-04-16T20:25:18Z")

</div>

Hi, I am trying to do a deformable registration after doing a landmark-based registration between a triangular simplex mesh and CT image. In the snapshot, after using a landmark-based registration I got the registere…

---

## [Python wrapper for vtkPIOReader?](https://discourse.vtk.org/t/python-wrapper-for-vtkpioreader/3069)

<div class="topic-metadata">

**Author:** [@terryturton](https://discourse.vtk.org/u/terryturton)\
**Replies:** 4\
**Last updated:** [April 16, 2020, 3:48pm UTC](https://discourse.vtk.org/t/python-wrapper-for-vtkpioreader/3069 "2020-04-16T15:48:21Z")

</div>

Is there a python wrapper for vtkPIOReader? I am making a pipeline with dmp files and there doesn’t appear to be a method to read in the PIO file. thanks, Terry

---

## [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,…

---

## [vtkHardwareSelector and multi-layer rendering](https://discourse.vtk.org/t/vtkhardwareselector-and-multi-layer-rendering/2996)

<div class="topic-metadata">

**Author:** [@mat127](https://discourse.vtk.org/u/mat127)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 8:33am UTC](https://discourse.vtk.org/t/vtkhardwareselector-and-multi-layer-rendering/2996 "2020-04-16T08:33:41Z")

</div>

Hello, is vtkHardwareSelector capable to work correctly in multi-layered rendering setup? My setup is following: 2 layers layer 0 contains all actors layer 1 contains widget representations and some special actors use…

---

## [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…

---

## [size\_t and vtkIdType (aka int, long or long long)](https://discourse.vtk.org/t/size-t-and-vtkidtype-aka-int-long-or-long-long/3062)

<div class="topic-metadata">

**Author:** [@Ron84](https://discourse.vtk.org/u/Ron84)\
**Replies:** 10\
**Last updated:** [April 15, 2020, 9:34pm UTC](https://discourse.vtk.org/t/size-t-and-vtkidtype-aka-int-long-or-long-long/3062 "2020-04-15T21:34:21Z")

</div>

What’s your opinion about the use of size\_t for arguments in VTK that are defined as vtkIdType? Look at this: // p is a vector std::size\_t i, num = p.size(); vtkIdList \*cell = vtkIdList::New(); cell-\>SetNumberOfIds(num…

---

## [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…

---

## [Is it possible to create multi page with vtkGL2PSExporter ?](https://discourse.vtk.org/t/is-it-possible-to-create-multi-page-with-vtkgl2psexporter/3048)

<div class="topic-metadata">

**Author:** [@Romain](https://discourse.vtk.org/u/Romain)\
**Replies:** 3\
**Last updated:** [April 14, 2020, 8:29pm UTC](https://discourse.vtk.org/t/is-it-possible-to-create-multi-page-with-vtkgl2psexporter/3048 "2020-04-14T20:29:21Z")

</div>

Hi everyone, I’d like to create a PDF document with multiple pages representing different orientation of my scene. Currently I create on file per orientation with vtkGL2PSExporter and I’d like to create only one file wi…

---

## [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…

---

## [I changed the grayscale scalar of each Dicom by volume drawing, but the contour lines actually intersected after reconstruction, resulting in multiple contours on a surface. How to only see one contour](https://discourse.vtk.org/t/i-changed-the-grayscale-scalar-of-each-dicom-by-volume-drawing-but-the-contour-lines-actually-intersected-after-reconstruction-resulting-in-multiple-contours-on-a-surface-how-to-only-see-one-contour/3043)

<div class="topic-metadata">

**Author:** [@huatianyu](https://discourse.vtk.org/u/huatianyu)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 3:10am UTC](https://discourse.vtk.org/t/i-changed-the-grayscale-scalar-of-each-dicom-by-volume-drawing-but-the-contour-lines-actually-intersected-after-reconstruction-resulting-in-multiple-contours-on-a-surface-how-to-only-see-one-contour/3043 "2020-04-14T03:10:30Z")

</div>

---

## [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/…

---

## [vtkPointInterpolator kernels issues (vtk 8.2)](https://discourse.vtk.org/t/vtkpointinterpolator-kernels-issues-vtk-8-2/3020)

<div class="topic-metadata">

**Author:** [@Valedy](https://discourse.vtk.org/u/Valedy)\
**Replies:** 0\
**Last updated:** [April 10, 2020, 11:13am UTC](https://discourse.vtk.org/t/vtkpointinterpolator-kernels-issues-vtk-8-2/3020 "2020-04-10T11:13:10Z")

</div>

Hello, Sorry in advance if my english is not perfect. I try to make my explanation clear. I’m using vtkPointInterpolator in my method. Whether I use Linear or Voronoi kernel I don’t have any problem. But when I use Gau…

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

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