# Support

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

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

**Page:** 76

---

## [Line perpendicular to an edge of a polyline on a plane in 3D](https://discourse.vtk.org/t/line-perpendicular-to-an-edge-of-a-polyline-on-a-plane-in-3d/8581)

<div class="topic-metadata">

**Author:** [@adeelz92](https://discourse.vtk.org/u/adeelz92)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 10:37pm UTC](https://discourse.vtk.org/t/line-perpendicular-to-an-edge-of-a-polyline-on-a-plane-in-3d/8581 "2022-05-24T22:37:05Z")

</div>

I have a plane (red) in 3D, and I have a curve (white) defined by vtkPolyLine which resides on the plane. The plane source is defined by vtkPlane and final plane data is computed by vtkCutter. I want to find a line (yell…

---

## [VTK 8.2, performance degradation on upgrade Qt 5.12 -\> 5.15](https://discourse.vtk.org/t/vtk-8-2-performance-degradation-on-upgrade-qt-5-12-5-15/8536)

<div class="topic-metadata">

**Author:** [@miro](https://discourse.vtk.org/u/miro)\
**Replies:** 4\
**Last updated:** [May 24, 2022, 2:20pm UTC](https://discourse.vtk.org/t/vtk-8-2-performance-degradation-on-upgrade-qt-5-12-5-15/8536 "2022-05-24T14:20:55Z")

</div>

Hello all, Asking for help on VTK/Qt performance issue. We are using VTK 8.2 on Linux (based on Ubuntu 18.04) in software for medical device, with several VTK views within a Qt application. There is a live camera view …

---

## [vtk wheel missing lib\* libraries, missing flag?](https://discourse.vtk.org/t/vtk-wheel-missing-lib-libraries-missing-flag/8538)

<div class="topic-metadata">

**Author:** [@orbisvicis](https://discourse.vtk.org/u/orbisvicis)\
**Replies:** 8\
**Last updated:** [May 24, 2022, 12:33pm UTC](https://discourse.vtk.org/t/vtk-wheel-missing-lib-libraries-missing-flag/8538 "2022-05-24T12:33:29Z")

</div>

A VTK Cygwin build wrapping Python, after patching, produces the following output: export libraries: build/bin/cyg\*.dll import libraries: build/build/lib.cygwin-3.3.4-x86\_64-3.8/vtkmodules/lib\*.dll.a python libraries…

---

## [making vertebrae simulator using vtk](https://discourse.vtk.org/t/making-vertebrae-simulator-using-vtk/8573)

<div class="topic-metadata">

**Author:** [@hye00525](https://discourse.vtk.org/u/hye00525)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 9:18am UTC](https://discourse.vtk.org/t/making-vertebrae-simulator-using-vtk/8573 "2022-05-24T09:18:14Z")

</div>

Hello, I’m trying to make vertebrae simulator using vtk. I have a few vertebrae stl meshes. I want to make simulation using these. (e.g., nodding his head, etc. ) reference video is here (0:56:10 ~ 0:58:02 ) Can I …

---

## [How to set the lighting parameters to achieve the shadow I want](https://discourse.vtk.org/t/how-to-set-the-lighting-parameters-to-achieve-the-shadow-i-want/8572)

<div class="topic-metadata">

**Author:** [@qysmile123](https://discourse.vtk.org/u/qysmile123)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 9:12am UTC](https://discourse.vtk.org/t/how-to-set-the-lighting-parameters-to-achieve-the-shadow-i-want/8572 "2022-05-24T09:12:49Z")

</div>

Hello，I’m currently working on a rendering, but my lighting settings don’t achieve the shadow effect I want. This is an internal image of a tracheal model.I hope to achieve the effect of depth of field through light …

---

## [How to get the SSAO value in vtk-python](https://discourse.vtk.org/t/how-to-get-the-ssao-value-in-vtk-python/8565)

<div class="topic-metadata">

**Author:** [@DD\_G](https://discourse.vtk.org/u/DD_G)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 7:49am UTC](https://discourse.vtk.org/t/how-to-get-the-ssao-value-in-vtk-python/8565 "2022-05-24T07:49:31Z")

</div>

I try to get the value of SSAO of each pixel in the vtk renderwindow, however, I only find the function vtkRenderer.UseSSAOOn() in the vtk class reference. Is there any solution to directly or indirectly get the SSAO va…

---

## [mesh to imagedata algorithm](https://discourse.vtk.org/t/mesh-to-imagedata-algorithm/4815)

<div class="topic-metadata">

**Author:** [@wael869](https://discourse.vtk.org/u/wael869)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 2:24am UTC](https://discourse.vtk.org/t/mesh-to-imagedata-algorithm/4815 "2022-05-23T02:24:01Z")

</div>

I am trying to get an imagedata from polydata but I am getting boundary voxels as cubes… applying vtkImageGaussianSmooth filter gives a smooth output but affects accuracy … is there another way?

---

## [Building and publishing Nightly Python Wheel](https://discourse.vtk.org/t/building-and-publishing-nightly-python-wheel/7771)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 12\
**Last updated:** [May 23, 2022, 4:25pm UTC](https://discourse.vtk.org/t/building-and-publishing-nightly-python-wheel/7771 "2022-05-23T16:25:56Z")

</div>

Are there any plans to implement Python 3.10/3.9 nightly wheels based on the latest VTK master?

---

## [Plane cut of a volume](https://discourse.vtk.org/t/plane-cut-of-a-volume/8462)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 1:31am UTC](https://discourse.vtk.org/t/plane-cut-of-a-volume/8462 "2022-05-23T01:31:16Z")

</div>

Dear All, A have a plane (Actor) that cuts a volume. The volume is green and the plane white. The part of the plane inside the volume turns green. How I force the plane to be white every time? Thanks, Luís Gonçalves

---

## [vtkTextWidget not dragable in QT](https://discourse.vtk.org/t/vtktextwidget-not-dragable-in-qt/8540)

<div class="topic-metadata">

**Author:** [@perphy](https://discourse.vtk.org/u/perphy)\
**Replies:** 2\
**Last updated:** [May 22, 2022, 10:55pm UTC](https://discourse.vtk.org/t/vtktextwidget-not-dragable-in-qt/8540 "2022-05-22T22:55:34Z")

</div>

Hi, I am trying to using vtkTextWidget in QT. I tried to combine these two example. https://kitware.github.io/vtk-examples/site/Python/Widgets/TextWidget/ https://kitware.github.io/vtk-examples/site/Python/Widgets/Em…

---

## [vtk: code work only correctly in debug with breakpoint](https://discourse.vtk.org/t/vtk-code-work-only-correctly-in-debug-with-breakpoint/8380)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 6\
**Last updated:** [May 21, 2022, 2:43pm UTC](https://discourse.vtk.org/t/vtk-code-work-only-correctly-in-debug-with-breakpoint/8380 "2022-05-21T14:43:37Z")

</div>

I have a code: do not work correctly in release do not work correctly in debug without breakpoint work correctly in debug with a breakpoint The code is: import vtkmodules.all as vtk render = vtk.vtkRenderer() renWin…

---

## [MIP rendering make line black](https://discourse.vtk.org/t/mip-rendering-make-line-black/8466)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [May 20, 2022, 11:50am UTC](https://discourse.vtk.org/t/mip-rendering-make-line-black/8466 "2022-05-20T11:50:09Z")

</div>

In my application, I display a volume image using MIP. In addition, I want to add a red line with the MIP. However, even I set the line color to red, it still shown as black: The code to reproduce the result is: imp…

---

## [Placing points on top of a (changing) vtkImageSlice](https://discourse.vtk.org/t/placing-points-on-top-of-a-changing-vtkimageslice/8333)

<div class="topic-metadata">

**Author:** [@Valentin\_Regueiro](https://discourse.vtk.org/u/Valentin_Regueiro)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 12:47pm UTC](https://discourse.vtk.org/t/placing-points-on-top-of-a-changing-vtkimageslice/8333 "2022-05-19T12:47:27Z")

</div>

Hi there, I am working on segmentating ImageData that’s being displayed as vtkImageSlices. For this I place some points on the image which give me the boundaries for the segmentation. Right now I’m using the vtkContou…

---

## [Camera / Viewport behavior](https://discourse.vtk.org/t/camera-viewport-behavior/8531)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 6:25pm UTC](https://discourse.vtk.org/t/camera-viewport-behavior/8531 "2022-05-19T18:25:47Z")

</div>

Hi friends, When displaying a 2D scene with ParallelProjectionOn(), the following behavior occurs : When the WIDTH of the viewport is changed, the scene scale is not changed, objects stay at their current “visual siz…

---

## [JPEG compression for tiff file](https://discourse.vtk.org/t/jpeg-compression-for-tiff-file/8424)

<div class="topic-metadata">

**Author:** [@Leo\_Abalckin](https://discourse.vtk.org/u/Leo_Abalckin)\
**Replies:** 3\
**Last updated:** [May 19, 2022, 1:55pm UTC](https://discourse.vtk.org/t/jpeg-compression-for-tiff-file/8424 "2022-05-19T13:55:50Z")

</div>

My goal is to read tif file with jpeg compression with vtk (I use 9.1). I was not able to do it with vtkTIFFReader so I tried from the studying a possibility to write tif with jpeg compression first to see how it works. …

---

## [vtkImagePlaneWidet: control output spacing](https://discourse.vtk.org/t/vtkimageplanewidet-control-output-spacing/8523)

<div class="topic-metadata">

**Author:** [@gregthom992](https://discourse.vtk.org/u/gregthom992)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 5:35pm UTC](https://discourse.vtk.org/t/vtkimageplanewidet-control-output-spacing/8523 "2022-05-18T17:35:15Z")

</div>

Hi all Does anyone know how to control the output spacing when vtkImagePlane Widget ? My scenario is this: I have set up a vtkImagePlaneWidget, I bulld the vtkPlaneSource manually from and feed the Origin and Point1 an…

---

## [Crash SEGV at vtkCylinderSource::Update()](https://discourse.vtk.org/t/crash-segv-at-vtkcylindersource-update/8517)

<div class="topic-metadata">

**Author:** [@sheran.vaz](https://discourse.vtk.org/u/sheran.vaz)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 6:07pm UTC](https://discourse.vtk.org/t/crash-segv-at-vtkcylindersource-update/8517 "2022-05-17T18:07:22Z")

</div>

Trying to create a VTK polydata using below code snippet vtkSmartPointer spC=vtkSmartPointer::New(); spC-\>SetHeight(rodLen); spC-\>SetCenter(0,0,0); spC-\>SetRadius(rodRadius); spC-\>Update(); \<----- It crashes here T…

---

## [point cloud convert to polydata and how to cut it sucessfully?](https://discourse.vtk.org/t/point-cloud-convert-to-polydata-and-how-to-cut-it-sucessfully/8514)

<div class="topic-metadata">

**Author:** [@CaffeMrDe](https://discourse.vtk.org/u/CaffeMrDe)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 2:43pm UTC](https://discourse.vtk.org/t/point-cloud-convert-to-polydata-and-how-to-cut-it-sucessfully/8514 "2022-05-17T14:43:10Z")

</div>

I can convert pointcloud without Polygons or Triangles to a polydata. And I want to use vtkCutter to get cross section with a plane, But it failed and report errors as follow ERROR: In …\\Filters\\General\\vtkOBBTree.cx…

---

## [vtkImageCroppingRegionsWidget Example Code](https://discourse.vtk.org/t/vtkimagecroppingregionswidget-example-code/8489)

<div class="topic-metadata">

**Author:** [@santho](https://discourse.vtk.org/u/santho)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 9:01am UTC](https://discourse.vtk.org/t/vtkimagecroppingregionswidget-example-code/8489 "2022-05-17T09:01:12Z")

</div>

Hi all Is there any c++ example available for vtkImageCroppingRegionsWidget? Couldnt find anything and if someone can share a working example , that will be helpful. Thnaks & Regards Santho

---

## [VTK 16 bit data issue for 2D xray using QT](https://discourse.vtk.org/t/vtk-16-bit-data-issue-for-2d-xray-using-qt/8433)

<div class="topic-metadata">

**Author:** [@santho](https://discourse.vtk.org/u/santho)\
**Replies:** 23\
**Last updated:** [May 17, 2022, 9:00am UTC](https://discourse.vtk.org/t/vtk-16-bit-data-issue-for-2d-xray-using-qt/8433 "2022-05-17T09:00:14Z")

</div>

HI All we are working on an 2D xray porject on VTK and QT and completely stuck at this point The raw image file from xray detector plate is of 16 bit data. Our work flow is as below we convert raw data file to Qimage …

---

## [vtk-6.3.0 external data not found](https://discourse.vtk.org/t/vtk-6-3-0-external-data-not-found/8497)

<div class="topic-metadata">

**Author:** [@Arghya](https://discourse.vtk.org/u/Arghya)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 1:25am UTC](https://discourse.vtk.org/t/vtk-6-3-0-external-data-not-found/8497 "2022-05-17T01:25:50Z")

</div>

For my project, I need to install vtk-6.3.0 on ubuntu 18.04. I cloned and did a git checkout v6.3.0 and was able to configure and generate cmake output file but when I try to compile using “make”, vtk is unable to downlo…

---

## [mean or average over specific dimension of a vtkImage](https://discourse.vtk.org/t/mean-or-average-over-specific-dimension-of-a-vtkimage/8509)

<div class="topic-metadata">

**Author:** [@gregthom992](https://discourse.vtk.org/u/gregthom992)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 1:25am UTC](https://discourse.vtk.org/t/mean-or-average-over-specific-dimension-of-a-vtkimage/8509 "2022-05-17T01:25:06Z")

</div>

Hi, I was wondering if there is anything ready made in vtk to do this task. say conceptually, I have a 2D vtk Image “matrix” I want to compute the mean/average over only one dimension so that if the input image/matrix…

---

## [Understanding package names](https://discourse.vtk.org/t/understanding-package-names/8508)

<div class="topic-metadata">

**Author:** [@humbletang](https://discourse.vtk.org/u/humbletang)\
**Replies:** 2\
**Last updated:** [May 16, 2022, 8:28pm UTC](https://discourse.vtk.org/t/understanding-package-names/8508 "2022-05-16T20:28:17Z")

</div>

Hi there, I’m trying to learn how to find the package name for a particular class in VTK with c++ and cmake. I feel like I’ve been going through examples and blindly following what the authors suggest should go inside t…

---

## [Transform from vtkCONVERGEReader to PolyData.](https://discourse.vtk.org/t/transform-from-vtkconvergereader-to-polydata/8507)

<div class="topic-metadata">

**Author:** [@Jamargi](https://discourse.vtk.org/u/Jamargi)\
**Replies:** 0\
**Last updated:** [May 16, 2022, 3:38pm UTC](https://discourse.vtk.org/t/transform-from-vtkconvergereader-to-polydata/8507 "2022-05-16T15:38:30Z")

</div>

Good morning, I am trying to use the reader class vtkCONVERGECFDReader to some object that I can easily work with. I have managed to do so with only one file in the folder, but if a time series is located on my working …

---

## [VTK And Flutter - How to?](https://discourse.vtk.org/t/vtk-and-flutter-how-to/6065)

<div class="topic-metadata">

**Author:** [@Uriel\_Dardik](https://discourse.vtk.org/u/Uriel_Dardik)\
**Replies:** 1\
**Last updated:** [May 16, 2022, 6:42am UTC](https://discourse.vtk.org/t/vtk-and-flutter-how-to/6065 "2022-05-16T06:42:49Z")

</div>

Does anyone have any experience working with VTK in Flutter? Is this mission can be done? Where do I start? Any type of answer that shed some light on this topic will be very helpful, Thanks!

---

## [index array or boolean array from vtkSelection](https://discourse.vtk.org/t/index-array-or-boolean-array-from-vtkselection/8495)

<div class="topic-metadata">

**Author:** [@Kiordestruk\_k](https://discourse.vtk.org/u/Kiordestruk_k)\
**Replies:** 0\
**Last updated:** [May 15, 2022, 1:29pm UTC](https://discourse.vtk.org/t/index-array-or-boolean-array-from-vtkselection/8495 "2022-05-15T13:29:52Z")

</div>

Hello, I would like to get a numpy array of integer indices or a numpy boolean mask from a vtkSelection object in Python : def get\_visible\_vertices(plotter, pv\_mesh): # perfrom the automatic picking selector = v…

---

## [Extract skull from Dicom](https://discourse.vtk.org/t/extract-skull-from-dicom/8481)

<div class="topic-metadata">

**Author:** [@perphy](https://discourse.vtk.org/u/perphy)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 12:59pm UTC](https://discourse.vtk.org/t/extract-skull-from-dicom/8481 "2022-05-13T12:59:57Z")

</div>

Hi: I am trying to extract the skull model from series of Dicom files. I used vtkDICOMImageReader and vtkMarchingCubes. Here is the result I wish only get the skull model like the example Headbone https://kitware…

---

## [How to clean duplicate points after cut-through cells using vtkTableBasedClipDataSet?](https://discourse.vtk.org/t/how-to-clean-duplicate-points-after-cut-through-cells-using-vtktablebasedclipdataset/8468)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 3:55am UTC](https://discourse.vtk.org/t/how-to-clean-duplicate-points-after-cut-through-cells-using-vtktablebasedclipdataset/8468 "2022-05-13T03:55:34Z")

</div>

HI, I 'm using vtkTableBasedClipDataSet to cut a cylinder. It works fairly well. But when cutting along a same plane(implicit function) multiple times, some duplicate points would present in the output. As a result, the…

---

## [Best way to get notified of camera changes - specifically zoom](https://discourse.vtk.org/t/best-way-to-get-notified-of-camera-changes-specifically-zoom/8477)

<div class="topic-metadata">

**Author:** [@bheld](https://discourse.vtk.org/u/bheld)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 12:02am UTC](https://discourse.vtk.org/t/best-way-to-get-notified-of-camera-changes-specifically-zoom/8477 "2022-05-13T00:02:25Z")

</div>

We have various ways we allow users to zoom in our application such as buttons for fit by window, dynamic zoom that works by depressing mouse button and moving the mouse, zoom by window, etc. I’m looking for the best wa…

---

## [Outline/silhouette a subset of points](https://discourse.vtk.org/t/outline-silhouette-a-subset-of-points/8470)

<div class="topic-metadata">

**Author:** [@CharInt0](https://discourse.vtk.org/u/CharInt0)\
**Replies:** 1\
**Last updated:** [May 12, 2022, 6:42am UTC](https://discourse.vtk.org/t/outline-silhouette-a-subset-of-points/8470 "2022-05-12T06:42:54Z")

</div>

Hello, I am trying to add an outline (or better a silhouette) to a subset of points visualized as a Glyph3D. I already managed to change the color to the subset points. In my code, I use vtkExtractGeometry and vtkVertex…

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

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