# Support

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

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

**Page:** 31

---

## [Displaying the MPR (axial, coronal, sagittal) of a set of dicom images on a window using vtk-python](https://discourse.vtk.org/t/displaying-the-mpr-axial-coronal-sagittal-of-a-set-of-dicom-images-on-a-window-using-vtk-python/13249)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.vtk.org/u/dbtruong)\
**Replies:** 1\
**Last updated:** [February 16, 2024, 1:03pm UTC](https://discourse.vtk.org/t/displaying-the-mpr-axial-coronal-sagittal-of-a-set-of-dicom-images-on-a-window-using-vtk-python/13249 "2024-02-16T13:03:58Z")

</div>

Hello all, I have a question: How can I display cross-sections of a dicom image set (MPR) in a window?

---

## [When is a widget representation supposed to invoke a Modified event?](https://discourse.vtk.org/t/when-is-a-widget-representation-supposed-to-invoke-a-modified-event/13323)

<div class="topic-metadata">

**Author:** [@DrPepperJo](https://discourse.vtk.org/u/DrPepperJo)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 5:18pm UTC](https://discourse.vtk.org/t/when-is-a-widget-representation-supposed-to-invoke-a-modified-event/13323 "2024-02-15T17:18:10Z")

</div>

I am currently designing a number of widgets for an application. I try to follow the principles I find in the widgets that are part of the vtk library. I had a closer look at vtkBorderRepresentation and found, that while…

---

## [mac m1 and vtk](https://discourse.vtk.org/t/mac-m1-and-vtk/13305)

<div class="topic-metadata">

**Author:** [@DrMainIT](https://discourse.vtk.org/u/DrMainIT)\
**Replies:** 6\
**Last updated:** [February 14, 2024, 7:51pm UTC](https://discourse.vtk.org/t/mac-m1-and-vtk/13305 "2024-02-14T19:51:56Z")

</div>

i’m trying to run this function using vtk on a mac m1. i think the problem is with my OS and not the code itself since on another OS like windows it works def get\_thumbnail(PDF, axis): ## some code that work and cre…

---

## [Area picking of points.](https://discourse.vtk.org/t/area-picking-of-points/13224)

<div class="topic-metadata">

**Author:** [@Sean\_Meath](https://discourse.vtk.org/u/Sean_Meath)\
**Replies:** 4\
**Last updated:** [February 14, 2024, 4:04pm UTC](https://discourse.vtk.org/t/area-picking-of-points/13224 "2024-02-14T16:04:51Z")

</div>

Hi, working on an implementation of an area picker. Currently I have the following: std::vector\<int\> ActorAreaPick(vtkActor\* ActorPtr, vtkPlanes\* Frustrum) { // List of sub elements picked. std::vector\<int\> Pic…

---

## [reading dicom issue](https://discourse.vtk.org/t/reading-dicom-issue/7431)

<div class="topic-metadata">

**Author:** [@Nightmare4214](https://discourse.vtk.org/u/Nightmare4214)\
**Replies:** 2\
**Last updated:** [February 13, 2024, 7:04pm UTC](https://discourse.vtk.org/t/reading-dicom-issue/7431 "2024-02-13T19:04:52Z")

</div>

I have an issue about reading dicom series the code is #!/usr/bin/env python # \_\*\_ coding:utf-8 \_\*\_ import vtkmodules.all as vtk if \_\_name\_\_ == '\_\_main\_\_': # reader the dicom file reader = vtk.vtkDICOMImageRea…

---

## [CGNS File Format in Cylindrical Coordinates](https://discourse.vtk.org/t/cgns-file-format-in-cylindrical-coordinates/13302)

<div class="topic-metadata">

**Author:** [@abhayminachi](https://discourse.vtk.org/u/abhayminachi)\
**Replies:** 2\
**Last updated:** [February 13, 2024, 4:01am UTC](https://discourse.vtk.org/t/cgns-file-format-in-cylindrical-coordinates/13302 "2024-02-13T04:01:15Z")

</div>

how to read CGNS File Format in Cylindrical Coordinates ? As of now it has the capability to read the file in Cartesian coordinates.

---

## [initializing vtkContourWidget with a polydata](https://discourse.vtk.org/t/initializing-vtkcontourwidget-with-a-polydata/13292)

<div class="topic-metadata">

**Author:** [@mjermyn](https://discourse.vtk.org/u/mjermyn)\
**Replies:** 1\
**Last updated:** [February 12, 2024, 9:10pm UTC](https://discourse.vtk.org/t/initializing-vtkcontourwidget-with-a-polydata/13292 "2024-02-12T21:10:27Z")

</div>

Hello, I’m using a vtkContourWidget to allow the user to click points to define a contour. This works great as is. They can place the contour points, then edit as needed. What I’d like to do is supply an initial guess of…

---

## [Update widget state on viewport change](https://discourse.vtk.org/t/update-widget-state-on-viewport-change/13211)

<div class="topic-metadata">

**Author:** [@DrPepperJo](https://discourse.vtk.org/u/DrPepperJo)\
**Replies:** 3\
**Last updated:** [February 11, 2024, 8:03pm UTC](https://discourse.vtk.org/t/update-widget-state-on-viewport-change/13211 "2024-02-11T20:03:01Z")

</div>

Below, I’ve provided a minimal running example for a problem I encounter frequently in my projects. To reproduce, do the following: Place the mouse over the border of one of the border widgets. Press “t” to toggle the …

---

## [How to display only a specific part of a 3D image defined by a label (using volume raycast mapper)?](https://discourse.vtk.org/t/how-to-display-only-a-specific-part-of-a-3d-image-defined-by-a-label-using-volume-raycast-mapper/13287)

<div class="topic-metadata">

**Author:** [@Anton\_Botnov](https://discourse.vtk.org/u/Anton_Botnov)\
**Replies:** 9\
**Last updated:** [February 11, 2024, 5:12pm UTC](https://discourse.vtk.org/t/how-to-display-only-a-specific-part-of-a-3d-image-defined-by-a-label-using-volume-raycast-mapper/13287 "2024-02-11T17:12:41Z")

</div>

Hi everyone! I’m using vtkOpenGLGPUVolumeRayCastMapper for 3D image volume rendering. For this purpose, I have two 3D images: one is the original image and the other is a mask image. The mask image contains labels that …

---

## [VTK 9 broken lines](https://discourse.vtk.org/t/vtk-9-broken-lines/13288)

<div class="topic-metadata">

**Author:** [@Blake\_Xi](https://discourse.vtk.org/u/Blake_Xi)\
**Replies:** 4\
**Last updated:** [February 9, 2024, 10:51pm UTC](https://discourse.vtk.org/t/vtk-9-broken-lines/13288 "2024-02-09T22:51:06Z")

</div>

Recently upgrade to VTK 9.3 from VTK 8.2. Found a strange issue on rendering lines. When zoom out too much the line will “disconnect” and almost looks like dotted line. In vtk 8.2, no matter how much I zoom out it wil…

---

## [Coloring Isosurface Using Centerline Data](https://discourse.vtk.org/t/coloring-isosurface-using-centerline-data/13296)

<div class="topic-metadata">

**Author:** [@gsroberts1](https://discourse.vtk.org/u/gsroberts1)\
**Replies:** 0\
**Last updated:** [February 9, 2024, 9:48pm UTC](https://discourse.vtk.org/t/coloring-isosurface-using-centerline-data/13296 "2024-02-09T21:48:01Z")

</div>

Hello VTK community, Our team is working on a project to generate an isosurface of a binary 3D segmentation mask of the aorta and label the each segment (aortic arch, ascending aorta, etc.) by assigning different colors…

---

## [Python/VTK import style](https://discourse.vtk.org/t/python-vtk-import-style/13258)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 2:28pm UTC](https://discourse.vtk.org/t/python-vtk-import-style/13258 "2024-02-08T14:28:55Z")

</div>

I may be answering my own question to some extent, but I’m used to importing VTK functionality into Python as: import vtk however I see a lot of examples and test code using import lines like this: from vtkmodules.vtk…

---

## [vtkProbe not passing scalar values?](https://discourse.vtk.org/t/vtkprobe-not-passing-scalar-values/13272)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 2\
**Last updated:** [February 6, 2024, 8:50pm UTC](https://discourse.vtk.org/t/vtkprobe-not-passing-scalar-values/13272 "2024-02-06T20:50:44Z")

</div>

I have a vtkXMLPolyData file that stores point data (temperature, etc.), I wanted to probe it with vtkProbeFilter. The resulting file (out.vtp) has all of the point data array names, but the ranges of the values in those…

---

## [Cross compile VTK with vcpkg for windows on linux (Ubuntu 20.04)](https://discourse.vtk.org/t/cross-compile-vtk-with-vcpkg-for-windows-on-linux-ubuntu-20-04/13195)

<div class="topic-metadata">

**Author:** [@alamin-research](https://discourse.vtk.org/u/alamin-research)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 9:02pm UTC](https://discourse.vtk.org/t/cross-compile-vtk-with-vcpkg-for-windows-on-linux-ubuntu-20-04/13195 "2024-02-07T21:02:08Z")

</div>

I am trying to cross compile VTK through vcpkg on Ubuntu 20.04 for windows. I am using mingw through ubuntu repository as well as MXE. The compilation is failing due to hdf5 not able to successfully compile. I am issuin…

---

## [CMake error with external freetype](https://discourse.vtk.org/t/cmake-error-with-external-freetype/13138)

<div class="topic-metadata">

**Author:** [@Juan\_Jose\_Casafranca](https://discourse.vtk.org/u/Juan_Jose_Casafranca)\
**Replies:** 7\
**Last updated:** [February 7, 2024, 8:59pm UTC](https://discourse.vtk.org/t/cmake-error-with-external-freetype/13138 "2024-02-07T20:59:33Z")

</div>

I am trying to compile VTK using conan for installing the dependencies. However, the packages generated by conan already provide freetype, as its a dependency of Qt, and when I try to configure VTK, I get the following e…

---

## [how to translate operation actors on plane actor](https://discourse.vtk.org/t/how-to-translate-operation-actors-on-plane-actor/13125)

<div class="topic-metadata">

**Author:** [@thecoderMCV](https://discourse.vtk.org/u/thecoderMCV)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 2:15pm UTC](https://discourse.vtk.org/t/how-to-translate-operation-actors-on-plane-actor/13125 "2024-02-07T14:15:16Z")

</div>

hi there, I want to move the actor on a plane I created on scene with the mouse, that is translate. I developed this in the code below, but when I select the actor and start the movement, the mouse and the actor cannot…

---

## [how translate c++ example to python](https://discourse.vtk.org/t/how-translate-c-example-to-python/13254)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.vtk.org/u/zhangm)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 1:33pm UTC](https://discourse.vtk.org/t/how-translate-c-example-to-python/13254 "2024-02-07T13:33:56Z")

</div>

I want translate FourPaneViewer from c++ to python as my project framework is based on pyqt5. But now I have the problem as below: how can I create a subclass of vtkcommand as the example; how can I show the result by …

---

## [how to display Sagittal plane、Coronal plane、transverse plane of a 3d stl file, or PolyData file.](https://discourse.vtk.org/t/how-to-display-sagittal-plane-coronal-plane-transverse-plane-of-a-3d-stl-file-or-polydata-file/4445)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 4\
**Last updated:** [February 7, 2024, 2:18am UTC](https://discourse.vtk.org/t/how-to-display-sagittal-plane-coronal-plane-transverse-plane-of-a-3d-stl-file-or-polydata-file/4445 "2024-02-07T02:18:59Z")

</div>

how to display Sagittal plane、Coronal plane、transverse plane of a 3d stl file, or PolyData file.

---

## [Render polylines inside an opaque volume](https://discourse.vtk.org/t/render-polylines-inside-an-opaque-volume/9350)

<div class="topic-metadata">

**Author:** [@totte\_karlsson](https://discourse.vtk.org/u/totte_karlsson)\
**Replies:** 4\
**Last updated:** [February 6, 2024, 11:02pm UTC](https://discourse.vtk.org/t/render-polylines-inside-an-opaque-volume/9350 "2024-02-06T23:02:03Z")

</div>

Hello, We are visualizing a TIFF stack as a volume in VTK, plus neuron data, as simple polylines. Current rendering pipeline is using one renderer for everything, and when rendered together, a ‘problem’ occur in that t…

---

## [Custom cursor in VTK window](https://discourse.vtk.org/t/custom-cursor-in-vtk-window/7853)

<div class="topic-metadata">

**Author:** [@Sergio](https://discourse.vtk.org/u/Sergio)\
**Replies:** 6\
**Last updated:** [February 6, 2024, 4:13pm UTC](https://discourse.vtk.org/t/custom-cursor-in-vtk-window/7853 "2024-02-06T16:13:00Z")

</div>

Hello, I have a WPF application where one of its controls is hosting a VTK window. I want to set the icon of the mouse cursor to any image I want (for example, a magnifying glass to represent a zoom action). I have trie…

---

## [For vtkPolyData find location for a given texture coordinate?](https://discourse.vtk.org/t/for-vtkpolydata-find-location-for-a-given-texture-coordinate/13263)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 2\
**Last updated:** [February 6, 2024, 1:58pm UTC](https://discourse.vtk.org/t/for-vtkpolydata-find-location-for-a-given-texture-coordinate/13263 "2024-02-06T13:58:07Z")

</div>

If I have a vtkPolyData object with texture coordinates, and I am given a texture coordinate (u, v), is it possible to find or interpolate the location in 3D where the texture coordinates correspond to? Something like (u…

---

## [Mouse cursor in ActiViz RenderWindow](https://discourse.vtk.org/t/mouse-cursor-in-activiz-renderwindow/10304)

<div class="topic-metadata">

**Author:** [@micheleivani](https://discourse.vtk.org/u/micheleivani)\
**Replies:** 3\
**Last updated:** [February 6, 2024, 1:23pm UTC](https://discourse.vtk.org/t/mouse-cursor-in-activiz-renderwindow/10304 "2024-02-06T13:23:54Z")

</div>

Hello, I have a Windows Forms application with ActiViz C#. I set the form cursor to WaitCursor, but the RenderWindow has the same default cursor. this.Cursor = Cursors.WaitCursor; How can I set the WaitCursor on the R…

---

## [Blank render windows after updating vtk 8.2 to 9.3](https://discourse.vtk.org/t/blank-render-windows-after-updating-vtk-8-2-to-9-3/13209)

<div class="topic-metadata">

**Author:** [@Blake\_Xi](https://discourse.vtk.org/u/Blake_Xi)\
**Replies:** 6\
**Last updated:** [February 5, 2024, 5:09pm UTC](https://discourse.vtk.org/t/blank-render-windows-after-updating-vtk-8-2-to-9-3/13209 "2024-02-05T17:09:52Z")

</div>

Running into an issue with vtkRenderWindow(vtkGenericOpenGLRenderWindow), vtkRenderer(QQuickFramebufferObject::Renderer) after updating our vtk library from 8.2 to 9.3.0. We are using QT 5.15. All the windows are blank (…

---

## [Converting from VTU files to transient VTKHDF file](https://discourse.vtk.org/t/converting-from-vtu-files-to-transient-vtkhdf-file/13246)

<div class="topic-metadata">

**Author:** [@engineer](https://discourse.vtk.org/u/engineer)\
**Replies:** 4\
**Last updated:** [February 5, 2024, 2:34pm UTC](https://discourse.vtk.org/t/converting-from-vtu-files-to-transient-vtkhdf-file/13246 "2024-02-05T14:34:13Z")

</div>

I’m trying to convert timestep UnstructuredGrid data from .vtu files to a transient .vtkhdf file, preferably in python. Before I re-invent the wheel, has anyone done this before? Or have experience/tips/code for either r…

---

## [file format recommendation?](https://discourse.vtk.org/t/file-format-recommendation/13239)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 7\
**Last updated:** [February 5, 2024, 2:29pm UTC](https://discourse.vtk.org/t/file-format-recommendation/13239 "2024-02-05T14:29:22Z")

</div>

I have a new project, where there are a collection of files containing timesteps from a fluid simulation. The data is face-centered, and the geometry is a collection of triangles and quadrilaterals (so, basically vtkPoly…

---

## [Bounded 2D slice from 3D Image](https://discourse.vtk.org/t/bounded-2d-slice-from-3d-image/13238)

<div class="topic-metadata">

**Author:** [@LukasG](https://discourse.vtk.org/u/LukasG)\
**Replies:** 3\
**Last updated:** [February 5, 2024, 9:38am UTC](https://discourse.vtk.org/t/bounded-2d-slice-from-3d-image/13238 "2024-02-05T09:38:12Z")

</div>

Hello together, I have 3D image data and want to extract a bounded oblique slice from it. I used image reslice with SetResliceAxes to obtain a “regular” unbounded slice from it (black). Now I only want to get a rec…

---

## [Polygon Mesh Boolean Operations](https://discourse.vtk.org/t/polygon-mesh-boolean-operations/13167)

<div class="topic-metadata">

**Author:** [@dpseiter](https://discourse.vtk.org/u/dpseiter)\
**Replies:** 4\
**Last updated:** [February 5, 2024, 3:24am UTC](https://discourse.vtk.org/t/polygon-mesh-boolean-operations/13167 "2024-02-05T03:24:03Z")

</div>

We are trying to represent a segmentation as a purely polygon mesh-based structure. The polyData is generated by creating an isosurface from a 3D mask using vtkSurfaceNets3D. We are struggling with Boolean operations me…

---

## [problem with 'FourPaneViewer' example by pyqt+vtk](https://discourse.vtk.org/t/problem-with-fourpaneviewer-example-by-pyqt-vtk/13232)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.vtk.org/u/zhangm)\
**Replies:** 4\
**Last updated:** [February 4, 2024, 8:53am UTC](https://discourse.vtk.org/t/problem-with-fourpaneviewer-example-by-pyqt-vtk/13232 "2024-02-04T08:53:56Z")

</div>

I need to slice the volume in any direction, so I replicated FourPaneViewer project where on vtk examples directions in Python in my project. But when I ran it, the scan didn’t show up and the program exited with error c…

---

## [VTK-9.3 VTK.sln build failed](https://discourse.vtk.org/t/vtk-9-3-vtk-sln-build-failed/12622)

<div class="topic-metadata">

**Author:** [@Silokhin\_Ilya](https://discourse.vtk.org/u/Silokhin_Ilya)\
**Replies:** 14\
**Last updated:** [February 3, 2024, 2:46pm UTC](https://discourse.vtk.org/t/vtk-9-3-vtk-sln-build-failed/12622 "2024-02-03T14:46:33Z")

</div>

I wanted to build VTK.sln but I got the following errors: How can I fix them?

---

## [vtkLineSource in glyph3D wrong resolution](https://discourse.vtk.org/t/vtklinesource-in-glyph3d-wrong-resolution/13230)

<div class="topic-metadata">

**Author:** [@CharInt0](https://discourse.vtk.org/u/CharInt0)\
**Replies:** 0\
**Last updated:** [February 2, 2024, 8:10am UTC](https://discourse.vtk.org/t/vtklinesource-in-glyph3d-wrong-resolution/13230 "2024-02-02T08:10:27Z")

</div>

Hi all, I am trying to create glyph3D passing a source composed by two spheres and a line. However when I add the vtkLineSource to the sources, the resolution is wrong: (VTK 9.2) Instead when I don’t add the line to …

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

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