# Support

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

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

**Page:** 113

---

## [Why the vtkSelectPolyData returns wrong area?](https://discourse.vtk.org/t/why-the-vtkselectpolydata-returns-wrong-area/5041)

<div class="topic-metadata">

**Author:** [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 10:26am UTC](https://discourse.vtk.org/t/why-the-vtkselectpolydata-returns-wrong-area/5041 "2021-01-21T10:26:03Z")

</div>

Hi. I selected a region of a polydata by a loop of points and extract selected region inside the loop with vtkSelectPolyData and vtkClipPolyData but it contains extra points. sometimes vtkSelectPolyData can’t select a…

---

## [running and functional examples available?](https://discourse.vtk.org/t/running-and-functional-examples-available/4865)

<div class="topic-metadata">

**Author:** [@Jens](https://discourse.vtk.org/u/Jens)\
**Replies:** 8\
**Last updated:** [January 21, 2021, 3:38pm UTC](https://discourse.vtk.org/t/running-and-functional-examples-available/4865 "2021-01-21T15:38:37Z")

</div>

Good day, OS: Windows 10 using VS2019 (C++) after changing from VTK 8.2 to 9.0.1 none of the examples run anymore. I compiled the cone6 example but it immediately returns from the vtkRenderWindowInteractor::Start() fu…

---

## [vtkImageTracerWidget not receiving events on Mac (pyQt5)](https://discourse.vtk.org/t/vtkimagetracerwidget-not-receiving-events-on-mac-pyqt5/5034)

<div class="topic-metadata">

**Author:** [@soren](https://discourse.vtk.org/u/soren)\
**Replies:** 0\
**Last updated:** [January 19, 2021, 2:08pm UTC](https://discourse.vtk.org/t/vtkimagetracerwidget-not-receiving-events-on-mac-pyqt5/5034 "2021-01-19T14:08:36Z")

</div>

Hi, I have trouble with vtkImageTracerWidget on Mac. The code below shows an image (zeros) and a vtkImageTracerWidget is active on to (so you can draw an outline). This works on Linux, but on Mac the ImagetracerWidget a…

---

## [How to create a qtdesigner plugin with vtk9.0.1](https://discourse.vtk.org/t/how-to-create-a-qtdesigner-plugin-with-vtk9-0-1/5028)

<div class="topic-metadata">

**Author:** [@suejay](https://discourse.vtk.org/u/suejay)\
**Replies:** 2\
**Last updated:** [January 19, 2021, 12:41am UTC](https://discourse.vtk.org/t/how-to-create-a-qtdesigner-plugin-with-vtk9-0-1/5028 "2021-01-19T00:41:25Z")

</div>

I have compiled the VTK9.0.1 by MSVC2017,but i can’t find the qt plugin lib.Has somthing wrong in my config?here is my cmake config

---

## [delete point and cell from polydata](https://discourse.vtk.org/t/delete-point-and-cell-from-polydata/4505)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 8\
**Last updated:** [January 18, 2021, 1:57pm UTC](https://discourse.vtk.org/t/delete-point-and-cell-from-polydata/4505 "2021-01-18T13:57:51Z")

</div>

Hello, I am working on an interactive application and I need to delete individual points an, consequently, cells from polydata. I figured out I can do like this (e.g. to remove the last point and cell from a polyline - …

---

## [Help to compile ThirdParty/loguru under Windows 10 with gnu c++ 9.2](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588)

<div class="topic-metadata">

**Author:** [@cean\_wang](https://discourse.vtk.org/u/cean_wang)\
**Replies:** 18\
**Last updated:** [January 18, 2021, 1:26pm UTC](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588 "2021-01-18T13:26:21Z")

</div>

Hi, I am trying to compile VTK under Window 10 with gnu 9.2 for Windows from here: http://www.equation.com/servlet/equation.cmd?fa=fortran The cmake command is: cmake -DCMAKE\_MAKE\_PROGRAM=make -DCMAKE\_CXX\_COMPILER=g++…

---

## [the imageActor always transparent to volume?](https://discourse.vtk.org/t/the-imageactor-always-transparent-to-volume/5007)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.vtk.org/u/timeanddoctor)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 2:56pm UTC](https://discourse.vtk.org/t/the-imageactor-always-transparent-to-volume/5007 "2021-01-14T14:56:32Z")

</div>

I have shown a volume and image, but the volume always be front of the image, just like the follow picture:

---

## [ESET detect Trojan in vtkCommonCore-9.0d.dll (false-positive ?)](https://discourse.vtk.org/t/eset-detect-trojan-in-vtkcommoncore-9-0d-dll-false-positive/5019)

<div class="topic-metadata">

**Author:** [@Damien](https://discourse.vtk.org/u/Damien)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 4:08pm UTC](https://discourse.vtk.org/t/eset-detect-trojan-in-vtkcommoncore-9-0d-dll-false-positive/5019 "2021-01-15T16:08:42Z")

</div>

Hello, since this day, I can’t use VTK for one of my projects anymore, the ESET antivirus detects a trojan (ML/Augur) in the dll (vtkCommonCore-9.0d.dll). Is it possible without disabling the antivirus to fix this prob…

---

## [Integration Time](https://discourse.vtk.org/t/integration-time/5009)

<div class="topic-metadata">

**Author:** [@mcgoldba](https://discourse.vtk.org/u/mcgoldba)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 11:48am UTC](https://discourse.vtk.org/t/integration-time/5009 "2021-01-15T11:48:10Z")

</div>

Hi All, I am curious about the “Integration Time” variable that is available after generating a vtkStreamline. I understand that this is some measure of the age of the streamline, but what are the units here, and how i…

---

## [ExternalVTKWidget volume rendering high CPU usage](https://discourse.vtk.org/t/externalvtkwidget-volume-rendering-high-cpu-usage/5012)

<div class="topic-metadata">

**Author:** [@Kmilo9999](https://discourse.vtk.org/u/Kmilo9999)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 3:12am UTC](https://discourse.vtk.org/t/externalvtkwidget-volume-rendering-high-cpu-usage/5012 "2021-01-15T03:12:35Z")

</div>

Hello, I am using my custom rendering engine and I would like to use vtk to render volume data on it. Also, I am using ExternalVTKWidget to use vtk with the engine’s opengl context. I Followed the examples of ExternalV…

---

## [Why the origin of vtkImageData is zero?](https://discourse.vtk.org/t/why-the-origin-of-vtkimagedata-is-zero/4974)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [January 13, 2021, 1:57pm UTC](https://discourse.vtk.org/t/why-the-origin-of-vtkimagedata-is-zero/4974 "2021-01-13T13:57:10Z")

</div>

I find a stranger thing. I read a dicom file with vtkDICOMImageReader, and then obtain the origin point. My code is: img2 = vtk.vtkDICOMImageReader() img2.SetFileName('xxx') img2.Update() image2 = img2.GetOutput() print…

---

## [How to make a square point round?](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980)

<div class="topic-metadata">

**Author:** [@sindzicat](https://discourse.vtk.org/u/sindzicat)\
**Replies:** 1\
**Last updated:** [January 13, 2021, 1:41am UTC](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980 "2021-01-13T01:41:24Z")

</div>

Hello! I’m new in VTK. A square point is constructed in this example (C++ version). I tried to find how to create a round point but found nothing that could help me. I found this article in Kitware blog how to make a …

---

## [Initializing Contourwidget with line interpolator](https://discourse.vtk.org/t/initializing-contourwidget-with-line-interpolator/4989)

<div class="topic-metadata">

**Author:** [@arnaud](https://discourse.vtk.org/u/arnaud)\
**Replies:** 0\
**Last updated:** [January 12, 2021, 12:20pm UTC](https://discourse.vtk.org/t/initializing-contourwidget-with-line-interpolator/4989 "2021-01-12T12:20:44Z")

</div>

Hello, I’m using vtkContourWidget to select cells on a surface/polydata and I would like to initialize the contour. I have no issues if I use only vtkcontourwidget and vtkPolygonalSurfacePointPlacer. I have created a p…

---

## [Displaying render information in \`vtkRenderer\`](https://discourse.vtk.org/t/displaying-render-information-in-vtkrenderer/4972)

<div class="topic-metadata">

**Author:** [@acamill](https://discourse.vtk.org/u/acamill)\
**Replies:** 2\
**Last updated:** [January 12, 2021, 1:23am UTC](https://discourse.vtk.org/t/displaying-render-information-in-vtkrenderer/4972 "2021-01-12T01:23:10Z")

</div>

Hello! I am displaying some 3d file in a vtkRenderer and I wish to know if there is a utility in the framework to directly dispay a metrics/information element in the renderer? I saw the framerate data is available, bu…

---

## [Getting an error trying to integrate one of your examples to my project](https://discourse.vtk.org/t/getting-an-error-trying-to-integrate-one-of-your-examples-to-my-project/4983)

<div class="topic-metadata">

**Author:** [@daniel\_Gilyadov](https://discourse.vtk.org/u/daniel_Gilyadov)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 2:46pm UTC](https://discourse.vtk.org/t/getting-an-error-trying-to-integrate-one-of-your-examples-to-my-project/4983 "2021-01-11T14:46:10Z")

</div>

Hey everyone, yesterday I tried to integrate this: with my project, but unfortunately got an error Steps I took to integrate: downloaded this file, and imported it into one of my project files checked the vers…

---

## [For vtk 9.0.1, has vtkImageReslice use the direction of image?](https://discourse.vtk.org/t/for-vtk-9-0-1-has-vtkimagereslice-use-the-direction-of-image/4981)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 2:32pm UTC](https://discourse.vtk.org/t/for-vtk-9-0-1-has-vtkimagereslice-use-the-direction-of-image/4981 "2021-01-11T14:32:03Z")

</div>

I am using vtkImageReslice in my project, and I find a stranger thing. The direction of vtkImageData is not a identify matrix, thus I adjust the direction by: x = \[0, 1, 0\] y = \[1, 0, 0\] z = \[0, 0, 1\] i…

---

## [Is it possible to load \*.osgb file to VTK?](https://discourse.vtk.org/t/is-it-possible-to-load-osgb-file-to-vtk/4977)

<div class="topic-metadata">

**Author:** [@highgod](https://discourse.vtk.org/u/highgod)\
**Replies:** 2\
**Last updated:** [January 11, 2021, 2:02pm UTC](https://discourse.vtk.org/t/is-it-possible-to-load-osgb-file-to-vtk/4977 "2021-01-11T14:02:05Z")

</div>

Hi, I want to use VTK to process \*.osgb file, is it anyway to load the \*.osgb file to VTK? Thanks Best Regards

---

## [Performance of rendering the PCD data.](https://discourse.vtk.org/t/performance-of-rendering-the-pcd-data/982)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 5\
**Last updated:** [January 11, 2021, 11:00am UTC](https://discourse.vtk.org/t/performance-of-rendering-the-pcd-data/982 "2021-01-11T11:00:22Z")

</div>

Hi all. I’m sorry for asking so many questions recently. :sob: But when I before asking a question, please understand that I have tested with sample code and googling. :flushed: My question is … I want to display the…

---

## [Writing a Polydatamapper to vtk](https://discourse.vtk.org/t/writing-a-polydatamapper-to-vtk/4951)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 2\
**Last updated:** [January 10, 2021, 6:08pm UTC](https://discourse.vtk.org/t/writing-a-polydatamapper-to-vtk/4951 "2021-01-10T18:08:32Z")

</div>

Hi All, The following code creates polygons from point and adds polygons. I eventually write this appended data to a vtk file. I want to color these polygons to a specific RGB color so that when I load the vtk file in P…

---

## [vtkImageReslice do not include the center point](https://discourse.vtk.org/t/vtkimagereslice-do-not-include-the-center-point/4969)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [January 10, 2021, 1:29am UTC](https://discourse.vtk.org/t/vtkimagereslice-do-not-include-the-center-point/4969 "2021-01-10T01:29:38Z")

</div>

I am using vtkImageReslice to reslice a volume image. The vtkImageReslice need the direction and center point as the input. However, I find the center point do not located in the output of vtkImageReslice. from vtk.util…

---

## [qt5+vtk9.0,vtkGenericOpenGLRenderWindow::render() seems to be working incorrectly](https://discourse.vtk.org/t/qt5-vtk9-0-vtkgenericopenglrenderwindow-render-seems-to-be-working-incorrectly/4962)

<div class="topic-metadata">

**Author:** [@Riton](https://discourse.vtk.org/u/Riton)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 7:53am UTC](https://discourse.vtk.org/t/qt5-vtk9-0-vtkgenericopenglrenderwindow-render-seems-to-be-working-incorrectly/4962 "2021-01-08T07:53:41Z")

</div>

I copy an example from github,the name is " SideBySideRenderWindowsQt".But the graphs just flashed and disappeared.then if I call function qvtkwidegt-\>GetRenderWindow()-\>GetRenderers()-\>Render(),the graphs will appear ag…

---

## [Linker error while building application with VTK component](https://discourse.vtk.org/t/linker-error-while-building-application-with-vtk-component/4957)

<div class="topic-metadata">

**Author:** [@Olumide](https://discourse.vtk.org/u/Olumide)\
**Replies:** 3\
**Last updated:** [January 7, 2021, 2:45am UTC](https://discourse.vtk.org/t/linker-error-while-building-application-with-vtk-component/4957 "2021-01-07T02:45:24Z")

</div>

I am trying to build an application, called niftysim, which has optional visualization component that relies on VTK dependency. niftysim builds okay but when I enable the visualization component, in CMAKE, as shown below …

---

## [Vector field from three scalar components](https://discourse.vtk.org/t/vector-field-from-three-scalar-components/4959)

<div class="topic-metadata">

**Author:** [@razoumov](https://discourse.vtk.org/u/razoumov)\
**Replies:** 2\
**Last updated:** [January 7, 2021, 1:50am UTC](https://discourse.vtk.org/t/vector-field-from-three-scalar-components/4959 "2021-01-07T01:50:53Z")

</div>

Hello, I have three vtkDoubleArray 3D scalar fields in my Python VTK pipeline: bx = resample.GetOutput().GetPointData().GetArray("Bx") by = resample.GetOutput().GetPointData().GetArray("By") bz = resample.GetOutput().G…

---

## [3D Transformation using VTK and Paraview](https://discourse.vtk.org/t/3d-transformation-using-vtk-and-paraview/4569)

<div class="topic-metadata">

**Author:** [@pravindi](https://discourse.vtk.org/u/pravindi)\
**Replies:** 3\
**Last updated:** [January 6, 2021, 3:22pm UTC](https://discourse.vtk.org/t/3d-transformation-using-vtk-and-paraview/4569 "2021-01-06T15:22:34Z")

</div>

Using Paraview’s python shell and VTK, I’m trying to perform a complex transformation on a series of specific 3D facial landmark points (about 10-15 points). These points have been separately collected and are stored in …

---

## [After updating VTK from 6.3.0 to 8.1.1，renderer became hidden in my project](https://discourse.vtk.org/t/after-updating-vtk-from-6-3-0-to-8-1-1-renderer-became-hidden-in-my-project/4955)

<div class="topic-metadata">

**Author:** [@yujhuang](https://discourse.vtk.org/u/yujhuang)\
**Replies:** 1\
**Last updated:** [January 6, 2021, 11:12am UTC](https://discourse.vtk.org/t/after-updating-vtk-from-6-3-0-to-8-1-1-renderer-became-hidden-in-my-project/4955 "2021-01-06T11:12:30Z")

</div>

Problem: RenderingWindow shows nothing while interactor style functions are working after version update I already have developed a working software base on ITK-SNAP with VTK 6.3 , ITK 4.8.2, cmake 2.8.12, MSVC2013 and …

---

## [Having difficulties understanding how to control what I am rendering in 2D](https://discourse.vtk.org/t/having-difficulties-understanding-how-to-control-what-i-am-rendering-in-2d/4934)

<div class="topic-metadata">

**Author:** [@Tiago\_D\_Agostini](https://discourse.vtk.org/u/Tiago_D_Agostini)\
**Replies:** 11\
**Last updated:** [January 6, 2021, 12:45am UTC](https://discourse.vtk.org/t/having-difficulties-understanding-how-to-control-what-i-am-rendering-in-2d/4934 "2021-01-06T00:45:17Z")

</div>

Hello. I have been trying to do somethign that shoudl be very simple . I am loading a dicom image (ok, done) and render it to a buffer (already did it to a file, and will handle the buffer target later). But I canno…

---

## [VTK Plot Window Freezes Main GUI](https://discourse.vtk.org/t/vtk-plot-window-freezes-main-gui/4950)

<div class="topic-metadata">

**Author:** [@oduncu90](https://discourse.vtk.org/u/oduncu90)\
**Replies:** 0\
**Last updated:** [January 4, 2021, 1:48pm UTC](https://discourse.vtk.org/t/vtk-plot-window-freezes-main-gui/4950 "2021-01-04T13:48:58Z")

</div>

I have a program that is written in Python. GUI uses GTK. I plot something by using VTK and it works. But main GUI freezes and other buttons, etc do not work. I have tried multithreading but it still freezes. Maybe Pytho…

---

## [Protected Features in VTK](https://discourse.vtk.org/t/protected-features-in-vtk/4945)

<div class="topic-metadata">

**Author:** [@oduncu90](https://discourse.vtk.org/u/oduncu90)\
**Replies:** 1\
**Last updated:** [January 3, 2021, 11:49pm UTC](https://discourse.vtk.org/t/protected-features-in-vtk/4945 "2021-01-03T23:49:15Z")

</div>

There are some features which are protected and they do not work when used. For example: MoveOrigin() from Plane Widget. It does not work. What is the reason? Are there any solutions to use them? Note: I am not a prog…

---

## [Setting VTK Window Always On Top](https://discourse.vtk.org/t/setting-vtk-window-always-on-top/4947)

<div class="topic-metadata">

**Author:** [@oduncu90](https://discourse.vtk.org/u/oduncu90)\
**Replies:** 1\
**Last updated:** [January 3, 2021, 6:42pm UTC](https://discourse.vtk.org/t/setting-vtk-window-always-on-top/4947 "2021-01-03T18:42:52Z")

</div>

Are there any methods to show VTK window always on top? VTK: 8.2 Python: 3.8.6 OS: Windows 10

---

## [How to understand the Image Position and vtkImageData.GetOrigin()?](https://discourse.vtk.org/t/how-to-understand-the-image-position-and-vtkimagedata-getorigin/4946)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [January 3, 2021, 5:13pm UTC](https://discourse.vtk.org/t/how-to-understand-the-image-position-and-vtkimagedata-getorigin/4946 "2021-01-03T17:13:59Z")

</div>

It’s difficult for me to understand the Image Position (0018, 5100) and the vtkImageData.GetOrigin(). Then, I show it as following: import vtk, time from vedo import Point img = vtk.vtkDICOMImageReader() img.SetFileNam…

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

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