# Support

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

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

**Page:** 119

---

## [how to generate the curved planar reformation image?](https://discourse.vtk.org/t/how-to-generate-the-curved-planar-reformation-image/4467)

<div class="topic-metadata">

**Author:** [@NeuZhangQiang](https://discourse.vtk.org/u/NeuZhangQiang)\
**Replies:** 5\
**Last updated:** [October 25, 2020, 1:56am UTC](https://discourse.vtk.org/t/how-to-generate-the-curved-planar-reformation-image/4467 "2020-10-25T01:56:20Z")

</div>

I wonder whether there is vtk implement to generate the curved planar reformation (CPR) image? Any suggestion is appreciated!

---

## [How to pass parameter to vtkCommand and subclasses the "eventId" and "callData" parameter?](https://discourse.vtk.org/t/how-to-pass-parameter-to-vtkcommand-and-subclasses-the-eventid-and-calldata-parameter/4476)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 1\
**Last updated:** [October 24, 2020, 7:56pm UTC](https://discourse.vtk.org/t/how-to-pass-parameter-to-vtkcommand-and-subclasses-the-eventid-and-calldata-parameter/4476 "2020-10-24T19:56:46Z")

</div>

\#include \<vtkSmartPointer.h\> #include \<vtkObjectFactory.h\> #include \<vtkSphereSource.h\> #include \<vtkPolyDataMapper.h\> #include \<vtkActor.h\> #include \<vtkRenderWindow.h\> #include \<vtkRenderer.h\> #include \<vtkRende…

---

## [Error in Writing to a VTU image](https://discourse.vtk.org/t/error-in-writing-to-a-vtu-image/4361)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 9\
**Last updated:** [October 23, 2020, 5:15pm UTC](https://discourse.vtk.org/t/error-in-writing-to-a-vtu-image/4361 "2020-10-23T17:15:36Z")

</div>

Dear All, I am trying to write to a VTU file from one example and it is giving the errors of the image. Can you please inform me how to initialize such variables? Thanks, Luis Gonçalves

---

## [Issue regarding the ResampleToImage Filter for FE mesh](https://discourse.vtk.org/t/issue-regarding-the-resampletoimage-filter-for-fe-mesh/4478)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 0\
**Last updated:** [October 23, 2020, 1:57pm UTC](https://discourse.vtk.org/t/issue-regarding-the-resampletoimage-filter-for-fe-mesh/4478 "2020-10-23T13:57:45Z")

</div>

I have created a volumetric mesh using gmsh toolkit. It has a an ellipsoid inside of a box. I have used two physical groups one is to hold the data for the liver and the other group is to hold the whole 3D volumetric mes…

---

## [Building in Visual Studio 2019](https://discourse.vtk.org/t/building-in-visual-studio-2019/4474)

<div class="topic-metadata">

**Author:** [@DavidChipman](https://discourse.vtk.org/u/DavidChipman)\
**Replies:** 1\
**Last updated:** [October 22, 2020, 10:30pm UTC](https://discourse.vtk.org/t/building-in-visual-studio-2019/4474 "2020-10-22T22:30:03Z")

</div>

I reciieved many errors when attempting to open the Solution in Visual Studio 2019, after generating the files in CMAke. I have the many error messages in a text file.

---

## [Customs shaders with vtk actors in VTK 8.2.0](https://discourse.vtk.org/t/customs-shaders-with-vtk-actors-in-vtk-8-2-0/4469)

<div class="topic-metadata">

**Author:** [@Fractal4Fun](https://discourse.vtk.org/u/Fractal4Fun)\
**Replies:** 2\
**Last updated:** [October 22, 2020, 7:41pm UTC](https://discourse.vtk.org/t/customs-shaders-with-vtk-actors-in-vtk-8-2-0/4469 "2020-10-22T19:41:13Z")

</div>

Hello, I’m a student trying to get in touch with shaders applied to vtk actors. Since kitware is cryptic about the topic I’m trying to get the same results as the following tutorial with vtk 8.2.0 and C++ : http://noesk…

---

## [Problems when installing VTK with Qt modules](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461)

<div class="topic-metadata">

**Author:** [@Ruf](https://discourse.vtk.org/u/Ruf)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 2:28pm UTC](https://discourse.vtk.org/t/problems-when-installing-vtk-with-qt-modules/4461 "2020-10-21T14:28:52Z")

</div>

Hello everybody, this is the first time I ask for help here, first of all, thanks in advance. Until recently, I have been working with VTK for my end-of-grade work without any problems. All the development with this too…

---

## [What possibilities do I have with vtk to catch errors?](https://discourse.vtk.org/t/what-possibilities-do-i-have-with-vtk-to-catch-errors/4453)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.vtk.org/u/Daniel)\
**Replies:** 7\
**Last updated:** [October 21, 2020, 2:19pm UTC](https://discourse.vtk.org/t/what-possibilities-do-i-have-with-vtk-to-catch-errors/4453 "2020-10-21T14:19:10Z")

</div>

Hi there, i am currently developing a small Java program on Windows. It uses a slider, which draws the respective visible layer by an ImageData-Object. Every time the slider is changed, the layer of a vtkImageSlice is…

---

## [vtk for Python: nii.gz image in 3D reconstruction but no options to set colors](https://discourse.vtk.org/t/vtk-for-python-nii-gz-image-in-3d-reconstruction-but-no-options-to-set-colors/4451)

<div class="topic-metadata">

**Author:** [@lihanhu](https://discourse.vtk.org/u/lihanhu)\
**Replies:** 4\
**Last updated:** [October 21, 2020, 8:31am UTC](https://discourse.vtk.org/t/vtk-for-python-nii-gz-image-in-3d-reconstruction-but-no-options-to-set-colors/4451 "2020-10-21T08:31:53Z")

</div>

I did a cell segmentation program, and the results of the segmentation were marked. But in 3D reconstruction, I don’t know how to mark the result I marked with different colors and color the target object. :frowning:

---

## [How to make vtkLineSource into vtkImageData?](https://discourse.vtk.org/t/how-to-make-vtklinesource-into-vtkimagedata/4444)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 3\
**Last updated:** [October 20, 2020, 2:15am UTC](https://discourse.vtk.org/t/how-to-make-vtklinesource-into-vtkimagedata/4444 "2020-10-20T02:15:07Z")

</div>

How to make vtkLineSource into vtkImageData? Or how to convert vtkPolyData into vtkImageData? Now I want to line in volume data of vtkImageData type.

---

## [How to apply a transform/ICPtransform to a volume/dicom forever,and then save as a dicom](https://discourse.vtk.org/t/how-to-apply-a-transform-icptransform-to-a-volume-dicom-forever-and-then-save-as-a-dicom/4438)

<div class="topic-metadata">

**Author:** [@LiZhenzhuBlog](https://discourse.vtk.org/u/LiZhenzhuBlog)\
**Replies:** 0\
**Last updated:** [October 18, 2020, 1:48am UTC](https://discourse.vtk.org/t/how-to-apply-a-transform-icptransform-to-a-volume-dicom-forever-and-then-save-as-a-dicom/4438 "2020-10-18T01:48:48Z")

</div>

How to apply a transform/ICPtransform to a volume/dicom forever,and then save as a dicom/nrrd.

---

## [Very long time to deform FE mesh with Thin-plate Spline Transformation](https://discourse.vtk.org/t/very-long-time-to-deform-fe-mesh-with-thin-plate-spline-transformation/4427)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 2\
**Last updated:** [October 16, 2020, 2:16pm UTC](https://discourse.vtk.org/t/very-long-time-to-deform-fe-mesh-with-thin-plate-spline-transformation/4427 "2020-10-16T14:16:53Z")

</div>

I have created a conformal mesh in gmsh by wrapping a volumetric liver mesh with a box with two physical entities, one is to hold the entire volume and the other is to hold the liver which is inside of the box. When I sa…

---

## [vtk python packages](https://discourse.vtk.org/t/vtk-python-packages/4418)

<div class="topic-metadata">

**Author:** [@Charalambos\_Greg](https://discourse.vtk.org/u/Charalambos_Greg)\
**Replies:** 11\
**Last updated:** [October 16, 2020, 11:55am UTC](https://discourse.vtk.org/t/vtk-python-packages/4418 "2020-10-16T11:55:30Z")

</div>

I have been trying to install python packages for vtk and its modules on windows for several days now and it seems that I am getting something wrong. I install python 3.9 and when i try to install vtk by typing pip insta…

---

## [Enabling self-occlusion shadows wrt. Image-based skybox lighting](https://discourse.vtk.org/t/enabling-self-occlusion-shadows-wrt-image-based-skybox-lighting/4358)

<div class="topic-metadata">

**Author:** [@Chopian](https://discourse.vtk.org/u/Chopian)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 8:20am UTC](https://discourse.vtk.org/t/enabling-self-occlusion-shadows-wrt-image-based-skybox-lighting/4358 "2020-10-16T08:20:06Z")

</div>

I want to illuminate a triangle mesh (from an .stl file) using only imagebased skybox lighting. When rendering an object, it appears that no shadows are cast from self occlusion. Eg. lighting a cylinder from a 45 degree …

---

## [Top, Left, Right, Bottom, Back View.](https://discourse.vtk.org/t/top-left-right-bottom-back-view/4426)

<div class="topic-metadata">

**Author:** [@Seram](https://discourse.vtk.org/u/Seram)\
**Replies:** 4\
**Last updated:** [October 16, 2020, 5:20am UTC](https://discourse.vtk.org/t/top-left-right-bottom-back-view/4426 "2020-10-16T05:20:38Z")

</div>

Hello, ex) Top View ( I programmed the code below to implement CloudCompare Top View. But it looks like a Top View, but I don’t think it’s a perfect Top View. ( It seems to be tilted very slightly. ) Let me know w…

---

## [Speeding up vtkCellPicker with vtkCellLocator](https://discourse.vtk.org/t/speeding-up-vtkcellpicker-with-vtkcelllocator/4182)

<div class="topic-metadata">

**Author:** [@raungst](https://discourse.vtk.org/u/raungst)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 9:41pm UTC](https://discourse.vtk.org/t/speeding-up-vtkcellpicker-with-vtkcelllocator/4182 "2020-10-15T21:41:45Z")

</div>

I’ve been trying to speed up vtkCellPicker with my large data set (1M cells). I’ve followed other examples to add a vtkCellLocator to the vtkCellPicker to improve performance. Unfortunately, I don’t see any improvement w…

---

## [SSAO peculiar effect with translucent geometry](https://discourse.vtk.org/t/ssao-peculiar-effect-with-translucent-geometry/4410)

<div class="topic-metadata">

**Author:** [@fraseyboo](https://discourse.vtk.org/u/fraseyboo)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 8:37pm UTC](https://discourse.vtk.org/t/ssao-peculiar-effect-with-translucent-geometry/4410 "2020-10-15T20:37:56Z")

</div>

So I’m experiencing an issue utilizing the VTK SSAO pass whilst having translucent geometry within a scene. I’ve been utilizing the default renderer until recently but had to switch because as far as I know in order to u…

---

## [How to obtain the complete center lines using VMTK?](https://discourse.vtk.org/t/how-to-obtain-the-complete-center-lines-using-vmtk/4425)

<div class="topic-metadata">

**Author:** [@KaryLiang](https://discourse.vtk.org/u/KaryLiang)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 1:44pm UTC](https://discourse.vtk.org/t/how-to-obtain-the-complete-center-lines-using-vmtk/4425 "2020-10-15T13:44:22Z")

</div>

I’m trying to obtain center lines from airway using VMTK. After dilating the pixels of airway, i got most of the center line, including from the small airway, looks like this: my problem is, why the center lines are …

---

## [How to make two volume data fused?](https://discourse.vtk.org/t/how-to-make-two-volume-data-fused/4406)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 4\
**Last updated:** [October 15, 2020, 7:52am UTC](https://discourse.vtk.org/t/how-to-make-two-volume-data-fused/4406 "2020-10-15T07:52:31Z")

</div>

Now I have two or more vtkImageData, And I add the data to two vtkVolumes, Now I want to Fused these two vtkImageDatas or vtkVolumes into one? someone give me a sugisstion! In fact, I want to fused two vtkImageData to…

---

## [Library "not found" after building test with CMake on Ubuntu.](https://discourse.vtk.org/t/library-not-found-after-building-test-with-cmake-on-ubuntu/2988)

<div class="topic-metadata">

**Author:** [@cousinitt](https://discourse.vtk.org/u/cousinitt)\
**Replies:** 21\
**Last updated:** [October 14, 2020, 2:04pm UTC](https://discourse.vtk.org/t/library-not-found-after-building-test-with-cmake-on-ubuntu/2988 "2020-10-14T14:04:46Z")

</div>

I built VTK from source (8.2.0) and I am using CMake 3.13. My system is Ubuntu 19.10, with kernel 5.3.0-42-generic. I copied the sphere example into a directory. I did not use the CMakeLists.txt file in the example, b…

---

## [VTK 9.0 dll missing with same setup of vtk vtk 8.x](https://discourse.vtk.org/t/vtk-9-0-dll-missing-with-same-setup-of-vtk-vtk-8-x/4409)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 6\
**Last updated:** [October 14, 2020, 7:02am UTC](https://discourse.vtk.org/t/vtk-9-0-dll-missing-with-same-setup-of-vtk-vtk-8-x/4409 "2020-10-14T07:02:49Z")

</div>

Hello, I have a doubt. With vtk 8.0, I haven’t had to add the dll in the bin directory with shared lib option ticked. With the cmake visual was able to find the dll but I found that in vtk 9.0 I am forced to put all dll…

---

## [How to pick a point closest from the mouse cursor?](https://discourse.vtk.org/t/how-to-pick-a-point-closest-from-the-mouse-cursor/4318)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 10\
**Last updated:** [October 14, 2020, 5:15am UTC](https://discourse.vtk.org/t/how-to-pick-a-point-closest-from-the-mouse-cursor/4318 "2020-10-14T05:15:25Z")

</div>

Hi all. I have a question about pick a point. I have a commercial program that provides a function what if the mouse cursor moving, the closest point is selected. It is useful when I zoom in the point cloud data and c…

---

## [Missing vtkmdiympi\_nompi.dll](https://discourse.vtk.org/t/missing-vtkmdiympi-nompi-dll/3974)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 2\
**Last updated:** [October 13, 2020, 12:57pm UTC](https://discourse.vtk.org/t/missing-vtkmdiympi-nompi-dll/3974 "2020-10-13T12:57:58Z")

</div>

Hello, since this is quite a different issue then my build issues I wanted to open a new topic for this. When I compile VTK (newest master branch and updated submodule vtkm) with VTK\_GROUP\_ENABLE\_Qt, VTK\_MODULE\_ENABLE\_V…

---

## [Troubleshooting one of the examples.](https://discourse.vtk.org/t/troubleshooting-one-of-the-examples/4396)

<div class="topic-metadata">

**Author:** [@Evan\_M](https://discourse.vtk.org/u/Evan_M)\
**Replies:** 8\
**Last updated:** [October 13, 2020, 12:33pm UTC](https://discourse.vtk.org/t/troubleshooting-one-of-the-examples/4396 "2020-10-13T12:33:31Z")

</div>

Hello, I am just trying to get VTK up and running for the first time, so please forgive the simplicity of this question. I have run all the instructions on this page --\> https://vtk.org/Wiki/VTK/Building/Windows , and i…

---

## [VTK error : linking shared libraries?](https://discourse.vtk.org/t/vtk-error-linking-shared-libraries/4393)

<div class="topic-metadata">

**Author:** [@astropiu](https://discourse.vtk.org/u/astropiu)\
**Replies:** 7\
**Last updated:** [October 13, 2020, 10:51am UTC](https://discourse.vtk.org/t/vtk-error-linking-shared-libraries/4393 "2020-10-13T10:51:25Z")

</div>

I just built and installed VTK version 9.0.1 for my ubuntu . I downloaded the cylinder example from the official site and was able to build it fine after fixing the RenderingContextOpenGL2 variable. But when i run the ex…

---

## [Bug found in vtkSplineWidget2 when a point is inserted](https://discourse.vtk.org/t/bug-found-in-vtksplinewidget2-when-a-point-is-inserted/2071)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 4\
**Last updated:** [October 13, 2020, 9:17am UTC](https://discourse.vtk.org/t/bug-found-in-vtksplinewidget2-when-a-point-is-inserted/2071 "2020-10-13T09:17:29Z")

</div>

Hi, I wonder if someone has realized that when a point is inserted in a vtkSplineWidget2 (ctrl+right button) from time to time the point is not set in the correct order so the spline is not smooth anymore. I wonder if t…

---

## [I want to deallocate volume memory...](https://discourse.vtk.org/t/i-want-to-deallocate-volume-memory/4407)

<div class="topic-metadata">

**Author:** [@wonki](https://discourse.vtk.org/u/wonki)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 8:23am UTC](https://discourse.vtk.org/t/i-want-to-deallocate-volume-memory/4407 "2020-10-13T08:23:02Z")

</div>

I run the program about volume rendering in ios. I set the volume and change the volume by below function that made by me. But I can’t deallocate volume memory… How to do that??? // Not working well... // volume -\> …

---

## [vtkGPUVolumeRayCastMapper only consider the last label defined in a mask](https://discourse.vtk.org/t/vtkgpuvolumeraycastmapper-only-consider-the-last-label-defined-in-a-mask/4386)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 5\
**Last updated:** [October 13, 2020, 8:17am UTC](https://discourse.vtk.org/t/vtkgpuvolumeraycastmapper-only-consider-the-last-label-defined-in-a-mask/4386 "2020-10-13T08:17:44Z")

</div>

Hello, I have a doubt I am using vtkGPUVolumeRayCastMapper with a label type mask. And I works if I only define label 1. But I add the label 2 it considers the label 1 as label 2 so the material it takes for both labels…

---

## [Multiple threads, each with a self-contained VTK pipeline](https://discourse.vtk.org/t/multiple-threads-each-with-a-self-contained-vtk-pipeline/4360)

<div class="topic-metadata">

**Author:** [@harold.absalom](https://discourse.vtk.org/u/harold.absalom)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 11:22pm UTC](https://discourse.vtk.org/t/multiple-threads-each-with-a-self-contained-vtk-pipeline/4360 "2020-10-12T23:22:19Z")

</div>

I am trying to write a program where several threads are running, each with their own self-contained vtkRenderWindow, vtkRenderer, pipeline, etc. If I don’t mix any VTK objects between threads, is this possible and/or sa…

---

## [VTK crashed while setting LD\_PRELOAD with libGLEW.so](https://discourse.vtk.org/t/vtk-crashed-while-setting-ld-preload-with-libglew-so/4402)

<div class="topic-metadata">

**Author:** [@TooSchoolForCool](https://discourse.vtk.org/u/TooSchoolForCool)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 8:19pm UTC](https://discourse.vtk.org/t/vtk-crashed-while-setting-ld-preload-with-libglew-so/4402 "2020-10-12T20:19:29Z")

</div>

Hi there, My System environment is Ubuntu 16.04, and I installed vtk via pip install vtk If I set export LD\_PRELOAD=$LD\_PRELOAD:/usr/lib/x86\_64-linux-gnu/libGLEW.so then every time when I use vtk in python the progra…

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

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