# Support

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

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

**Page:** 24

---

## [Screenshot refer to the spacing of the volume](https://discourse.vtk.org/t/screenshot-refer-to-the-spacing-of-the-volume/14130)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 3:52am UTC](https://discourse.vtk.org/t/screenshot-refer-to-the-spacing-of-the-volume/14130 "2024-06-28T03:52:39Z")

</div>

Hi, there! I am doing screenshot in the MIP module, and here is the code: vtkSmartPointer\<vtkWindowToImageFilter\> shot = vtkSmartPointer\<vtkWindowToImageFilter\>::New(); shot-\>SetInput(m\_pRenderWnd); shot-\>SetInputBu…

---

## [vtkContourWidget can not enable on a new slice plane while vtkImageViewer2 change slice index](https://discourse.vtk.org/t/vtkcontourwidget-can-not-enable-on-a-new-slice-plane-while-vtkimageviewer2-change-slice-index/14129)

<div class="topic-metadata">

**Author:** [@guofeng326](https://discourse.vtk.org/u/guofeng326)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 3:28am UTC](https://discourse.vtk.org/t/vtkcontourwidget-can-not-enable-on-a-new-slice-plane-while-vtkimageviewer2-change-slice-index/14129 "2024-06-28T03:28:35Z")

</div>

in a vtkImageViewer2 render window I can change the slice of a dicom image I want to enable vtkContourWidget on one certain slice of the dicom so I enable contour on after change the slice of the dicom,like viewer-\>Se…

---

## [Need Help with StreamTracer using vtkMultiBlockDataSet](https://discourse.vtk.org/t/need-help-with-streamtracer-using-vtkmultiblockdataset/14123)

<div class="topic-metadata">

**Author:** [@Ludo](https://discourse.vtk.org/u/Ludo)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 11:09pm UTC](https://discourse.vtk.org/t/need-help-with-streamtracer-using-vtkmultiblockdataset/14123 "2024-06-26T23:09:56Z")

</div>

Hello everyone I’m trying to create StreamTracer from an CASE file. So far I’ve created StreamTracer from each block and combine them in a single file to render later but the result doesn’t seams correct and I’m pretty…

---

## [How can we simulate barrel and pincushion distortion using VTK camera?](https://discourse.vtk.org/t/how-can-we-simulate-barrel-and-pincushion-distortion-using-vtk-camera/14051)

<div class="topic-metadata">

**Author:** [@vinzileo](https://discourse.vtk.org/u/vinzileo)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 8:38pm UTC](https://discourse.vtk.org/t/how-can-we-simulate-barrel-and-pincushion-distortion-using-vtk-camera/14051 "2024-06-26T20:38:16Z")

</div>

Hello everyone, I’m trying to do some image matching projects using VTK, I have a 3d object and its scene taken by real camera, since my real camera is an iphone. there is always barrel distortion in real image, therefo…

---

## [Charts: Change thickness of marker](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 2\
**Last updated:** [June 25, 2024, 7:28am UTC](https://discourse.vtk.org/t/charts-change-thickness-of-marker/6884 "2024-06-25T07:28:47Z")

</div>

Hello everyone! I have a line plot where I do selections. I was able to change the width and color of the line. I would like to do the same with the selections on the line plot. Right now the selection is a very thin pl…

---

## [How to use vtkAxesTransformWidget to generate 3D widget in VTK scene ?](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189)

<div class="topic-metadata">

**Author:** [@heruiyuan](https://discourse.vtk.org/u/heruiyuan)\
**Replies:** 4\
**Last updated:** [June 24, 2024, 2:19pm UTC](https://discourse.vtk.org/t/how-to-use-vtkaxestransformwidget-to-generate-3d-widget-in-vtk-scene/7189 "2024-06-24T14:19:45Z")

</div>

Hi, I just want to generate a widget around an 3D actor, then I interact with the widget to move, rotate, scale the actor or bind other event. The official method is use vtkAxesTransformWidget and vtkAxesTransformReprese…

---

## [vtkPlane.ComputeBestFittingPlane()](https://discourse.vtk.org/t/vtkplane-computebestfittingplane/14081)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 9\
**Last updated:** [June 20, 2024, 5:24pm UTC](https://discourse.vtk.org/t/vtkplane-computebestfittingplane/14081 "2024-06-20T17:24:49Z")

</div>

Hello, I need to fit a vtkPlane to a PolyData, but I do not understand how to use the method ComputeBestFittingPlane(). The vtkPlane.ComputeBestFittingPlane() documentation says “Given a set of points calculate the best…

---

## [Spack v0.22.0 fsl package and VTK build issue](https://discourse.vtk.org/t/spack-v0-22-0-fsl-package-and-vtk-build-issue/14089)

<div class="topic-metadata">

**Author:** [@chrisW](https://discourse.vtk.org/u/chrisW)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 3:13pm UTC](https://discourse.vtk.org/t/spack-v0-22-0-fsl-package-and-vtk-build-issue/14089 "2024-06-20T15:13:13Z")

</div>

Hi All, Any help welcome as I have not compiles stuff in ages. vtk-8.2.1a-wqkxligxrsrz3qivw4owiu3krvgtdbqe failed I am unfortunately having issues building fsl ( FSL - FslWiki ) It would seem that it fails building o…

---

## [vtkBoxRepresentation and related classes](https://discourse.vtk.org/t/vtkboxrepresentation-and-related-classes/14086)

<div class="topic-metadata">

**Author:** [@whereismymoney](https://discourse.vtk.org/u/whereismymoney)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 12:02am UTC](https://discourse.vtk.org/t/vtkboxrepresentation-and-related-classes/14086 "2024-06-20T00:02:33Z")

</div>

I am studying the VTK textbook and have also searched the internet. In the textbook I don’t see the vtkBoxRepresentation or other representations. Am I missing something? My current problem actually has to do with Scalar…

---

## [cmake error with vtkModule.cmake](https://discourse.vtk.org/t/cmake-error-with-vtkmodule-cmake/13704)

<div class="topic-metadata">

**Author:** [@Dean](https://discourse.vtk.org/u/Dean)\
**Replies:** 10\
**Last updated:** [June 19, 2024, 12:07pm UTC](https://discourse.vtk.org/t/cmake-error-with-vtkmodule-cmake/13704 "2024-06-19T12:07:15Z")

</div>

building v9.3.0 static debug c++ Visual Studio 2022. My cmake install prefix is a relative path from my build director “…/install” . vtk builds and installs . building gdcm I receive: Selecting Windows SDK version 10…

---

## [vtkAVIWriter](https://discourse.vtk.org/t/vtkaviwriter/14072)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 2:08pm UTC](https://discourse.vtk.org/t/vtkaviwriter/14072 "2024-06-18T14:08:16Z")

</div>

Hello! I want o create animation and save it as a avi. My animation works but when i want to import module i got error: AttributeError: module ‘vtk’ has no attribute ‘vtkAVIWriter’ Did AVIWroter is only in C++?

---

## [vtkExtractSelection evolutions between VTK 8.90 and 9.3](https://discourse.vtk.org/t/vtkextractselection-evolutions-between-vtk-8-90-and-9-3/14074)

<div class="topic-metadata">

**Author:** [@Elby64](https://discourse.vtk.org/u/Elby64)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 11:36am UTC](https://discourse.vtk.org/t/vtkextractselection-evolutions-between-vtk-8-90-and-9-3/14074 "2024-06-18T11:36:54Z")

</div>

Good morning, My organization recently upgraded from Paraview 5.8 to Paraview 5.12 and it appears that some Python scripts require adaptations. One of these scripts uses the vtkExtractSelection filter and shows differe…

---

## [attaching 2 poly data](https://discourse.vtk.org/t/attaching-2-poly-data/13847)

<div class="topic-metadata">

**Author:** [@sabaya](https://discourse.vtk.org/u/sabaya)\
**Replies:** 10\
**Last updated:** [June 18, 2024, 7:25am UTC](https://discourse.vtk.org/t/attaching-2-poly-data/13847 "2024-06-18T07:25:45Z")

</div>

hey there. where these two shapes are attached, I want to smooth the border of their intersection in a way that the sharp distinction between them fades or gets qualified, meaning the sharp distinction between two objec…

---

## [How can I turn VTK pipeline errors into python exceptions?](https://discourse.vtk.org/t/how-can-i-turn-vtk-pipeline-errors-into-python-exceptions/13857)

<div class="topic-metadata">

**Author:** [@Micha](https://discourse.vtk.org/u/Micha)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 7:07am UTC](https://discourse.vtk.org/t/how-can-i-turn-vtk-pipeline-errors-into-python-exceptions/13857 "2024-06-17T07:07:08Z")

</div>

I am using VTK to write files in a highly parallelized python application across multiple nodes. Because of the libraries I use (parsl), the stdout and stderr messages are all “swallowed”, giving me no access to VTK erro…

---

## [VTKHDF point ownership](https://discourse.vtk.org/t/vtkhdf-point-ownership/13913)

<div class="topic-metadata">

**Author:** [@jorgensd](https://discourse.vtk.org/u/jorgensd)\
**Replies:** 4\
**Last updated:** [June 14, 2024, 3:03pm UTC](https://discourse.vtk.org/t/vtkhdf-point-ownership/13913 "2024-06-14T15:03:58Z")

</div>

In the documentation of VTKHDF (VTK File Formats - VTK documentation) it states that We describe the split into partitions using HDF5 datasets NumberOfConnectivityIds, NumberOfPoints and NumberOfCells. Let n be the num…

---

## [VTI specification](https://discourse.vtk.org/t/vti-specification/6526)

<div class="topic-metadata">

**Author:** [@MarDiehl](https://discourse.vtk.org/u/MarDiehl)\
**Replies:** 6\
**Last updated:** [June 14, 2024, 2:24pm UTC](https://discourse.vtk.org/t/vti-specification/6526 "2024-06-14T14:24:34Z")

</div>

Dear all, I was wondering if there is any official specification of the VTK XML file formats, particularly for the VTI image format. The reason I’m asking are the attributes of the \<ImageData\> tag. For VTK9, it contain…

---

## [The VOLUME RENDERING quality of \`vtkGPUVolumeRayCastMapper\`](https://discourse.vtk.org/t/the-volume-rendering-quality-of-vtkgpuvolumeraycastmapper/14024)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 2\
**Last updated:** [June 13, 2024, 6:44pm UTC](https://discourse.vtk.org/t/the-volume-rendering-quality-of-vtkgpuvolumeraycastmapper/14024 "2024-06-13T18:44:32Z")

</div>

Hi there, I have a question for vtkGPUVolumeRayCastMapper rendering, for I tried to use this kind of mapper for MIP, but seems getting the very low resolution rendered result like this: As you can see the voxels are…

---

## [modify stl with clip](https://discourse.vtk.org/t/modify-stl-with-clip/14037)

<div class="topic-metadata">

**Author:** [@Maria\_Rosales](https://discourse.vtk.org/u/Maria_Rosales)\
**Replies:** 4\
**Last updated:** [June 13, 2024, 11:26am UTC](https://discourse.vtk.org/t/modify-stl-with-clip/14037 "2024-06-13T11:26:01Z")

</div>

Hi! I wanted to modify a .stl by using Clip tool. The file geometry only is available to be saved as ‘.vtk’ and not ‘.stl’ when clicking on Archive \> Save Data. Please, any recommendations how to finally get the format o…

---

## [Conversion of .vtk polygon data file to .stl file format](https://discourse.vtk.org/t/conversion-of-vtk-polygon-data-file-to-stl-file-format/7952)

<div class="topic-metadata">

**Author:** [@KALEEMULLAHJANKHAN](https://discourse.vtk.org/u/KALEEMULLAHJANKHAN)\
**Replies:** 9\
**Last updated:** [March 3, 2022, 7:54am UTC](https://discourse.vtk.org/t/conversion-of-vtk-polygon-data-file-to-stl-file-format/7952 "2022-03-03T07:54:41Z")

</div>

Hello Team, I am a beginner and blocked in my research. I kindly need help of anyone here. I have a .vtk file format (having Polydata as “26.3162314062377 2.03114038667601 7.867” and Polygon data as “34 0 1 2 3 4 5 6 7…

---

## [Compute the volume of the intersection between two vtkPolyData objects (using c#)](https://discourse.vtk.org/t/compute-the-volume-of-the-intersection-between-two-vtkpolydata-objects-using-c/14030)

<div class="topic-metadata">

**Author:** [@QuanNguyen](https://discourse.vtk.org/u/QuanNguyen)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 2:38am UTC](https://discourse.vtk.org/t/compute-the-volume-of-the-intersection-between-two-vtkpolydata-objects-using-c/14030 "2024-06-13T02:38:38Z")

</div>

Dear All, I would to compute a volume of the intersection between two vtkPolyData objects .I am using the following code and using vtkBooleanOperationPolyDataFilter and vtkImplicitPolyDataDistance, but it seems that Kit…

---

## [error: Project ERROR: Unknown module(s) in QT: vtk](https://discourse.vtk.org/t/error-project-error-unknown-module-s-in-qt-vtk/14020)

<div class="topic-metadata">

**Author:** [@Dinesh\_Srivastava](https://discourse.vtk.org/u/Dinesh_Srivastava)\
**Replies:** 3\
**Last updated:** [June 12, 2024, 10:58pm UTC](https://discourse.vtk.org/t/error-project-error-unknown-module-s-in-qt-vtk/14020 "2024-06-12T22:58:47Z")

</div>

I Installed and setup VTK on my windows 10. Updated .pro file as below QT += core gui QT += vtk QT += widgets CONFIG += c++17 You can make your code fail to compile if it uses deprecated APIs. In o…

---

## [Key press events not working with QVTKInteractor](https://discourse.vtk.org/t/key-press-events-not-working-with-qvtkinteractor/14026)

<div class="topic-metadata">

**Author:** [@auffii](https://discourse.vtk.org/u/auffii)\
**Replies:** 0\
**Last updated:** [June 12, 2024, 4:00pm UTC](https://discourse.vtk.org/t/key-press-events-not-working-with-qvtkinteractor/14026 "2024-06-12T16:00:33Z")

</div>

Hi, although mouse press events function as expected with QVTKInteractor, key press events are not being caught. Are there any working examples for QVTKInteractor? QQuickVTKItem::vtkUserData MyVTKItem::initializeVTK(vt…

---

## [Use VTK Python to replicate ParaView rendering](https://discourse.vtk.org/t/use-vtk-python-to-replicate-paraview-rendering/14018)

<div class="topic-metadata">

**Author:** [@shawn](https://discourse.vtk.org/u/shawn)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 12:05pm UTC](https://discourse.vtk.org/t/use-vtk-python-to-replicate-paraview-rendering/14018 "2024-06-12T12:05:59Z")

</div>

Hey all, I am trying to do some renderings with VTK to compare VTK Python and Paraview. As of right now my understanding of ParaViews use of VTK is that it uses vtkPolyDataFS.glsl which contains an empty shader files wi…

---

## [Display 2D vtkImageData/vtkImageActor with data not in X/Y axes](https://discourse.vtk.org/t/display-2d-vtkimagedata-vtkimageactor-with-data-not-in-x-y-axes/13971)

<div class="topic-metadata">

**Author:** [@bansan](https://discourse.vtk.org/u/bansan)\
**Replies:** 1\
**Last updated:** [June 12, 2024, 7:55am UTC](https://discourse.vtk.org/t/display-2d-vtkimagedata-vtkimageactor-with-data-not-in-x-y-axes/13971 "2024-06-12T07:55:30Z")

</div>

I used Transparency example to test the display of vtkImageData with vtkImageActor. If I put data in X and Y (like in the example), I can see the yellow rectangular. If I put data in X and Z, I don’t see anything. I p…

---

## [When I draw a line using the points I've obtained from a PLY file, some parts of the line are not displayed properly and seem to cross over from elsewhere.](https://discourse.vtk.org/t/when-i-draw-a-line-using-the-points-ive-obtained-from-a-ply-file-some-parts-of-the-line-are-not-displayed-properly-and-seem-to-cross-over-from-elsewhere/14015)

<div class="topic-metadata">

**Author:** [@xieyu7688](https://discourse.vtk.org/u/xieyu7688)\
**Replies:** 1\
**Last updated:** [June 12, 2024, 5:01am UTC](https://discourse.vtk.org/t/when-i-draw-a-line-using-the-points-ive-obtained-from-a-ply-file-some-parts-of-the-line-are-not-displayed-properly-and-seem-to-cross-over-from-elsewhere/14015 "2024-06-12T05:01:23Z")

</div>

When I draw a line using the points I’ve obtained from a PLY file, some parts of the line are not displayed properly and seem to cross over from elsewhere.

---

## [Individual coloured lines in polydata file](https://discourse.vtk.org/t/individual-coloured-lines-in-polydata-file/14007)

<div class="topic-metadata">

**Author:** [@jpmorr](https://discourse.vtk.org/u/jpmorr)\
**Replies:** 7\
**Last updated:** [June 11, 2024, 7:16pm UTC](https://discourse.vtk.org/t/individual-coloured-lines-in-polydata-file/14007 "2024-06-11T19:16:58Z")

</div>

I’m trying to understand how to write a .vtp correctly to display different cell data for each line. I’ve created a simple case with 7 points, which should give me a 6 lines, and therefore 6 cells, each of which can be …

---

## [Using Lib VTK to Check if it's Possible to Compare the Volume of 3D Solids](https://discourse.vtk.org/t/using-lib-vtk-to-check-if-its-possible-to-compare-the-volume-of-3d-solids/14012)

<div class="topic-metadata">

**Author:** [@QuanNguyen](https://discourse.vtk.org/u/QuanNguyen)\
**Replies:** 2\
**Last updated:** [June 11, 2024, 7:21am UTC](https://discourse.vtk.org/t/using-lib-vtk-to-check-if-its-possible-to-compare-the-volume-of-3d-solids/14012 "2024-06-11T07:21:09Z")

</div>

Dear Admin, Can you please tell me about the VTK library? Is it possible to compare the volume of 3D solids using it? If so, could you provide a code sample in C#? thanks you!

---

## [Does lib VTK support exporting/converting to dwg files?](https://discourse.vtk.org/t/does-lib-vtk-support-exporting-converting-to-dwg-files/14002)

<div class="topic-metadata">

**Author:** [@QuanNguyen](https://discourse.vtk.org/u/QuanNguyen)\
**Replies:** 4\
**Last updated:** [June 10, 2024, 9:02am UTC](https://discourse.vtk.org/t/does-lib-vtk-support-exporting-converting-to-dwg-files/14002 "2024-06-10T09:02:54Z")

</div>

Dear Admin Admin, please help me. Does lib VTK have support exporting/converting to dwg files with the free version? Thanks!

---

## [Getting the samples out of vtkProbeFilter ...](https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 8\
**Last updated:** [June 7, 2024, 3:08pm UTC](https://discourse.vtk.org/t/getting-the-samples-out-of-vtkprobefilter/13996 "2024-06-07T15:08:57Z")

</div>

I have a structured grid with a temperature array. I have verified that it has nonzero data stored in this array, checked with: vtk\_to\_numpy(volume.GetPointData().GetArray("Temperature")). I am trying to probe a ray th…

---

## [vtkTubeFilter: radius data not used correctly when pointdata changes](https://discourse.vtk.org/t/vtktubefilter-radius-data-not-used-correctly-when-pointdata-changes/13987)

<div class="topic-metadata">

**Author:** [@Thomas78](https://discourse.vtk.org/u/Thomas78)\
**Replies:** 3\
**Last updated:** [June 7, 2024, 7:48am UTC](https://discourse.vtk.org/t/vtktubefilter-radius-data-not-used-correctly-when-pointdata-changes/13987 "2024-06-07T07:48:44Z")

</div>

Hi there, I have an issue when using the vtkTubeFilter, it works fine and I am able to render a proper tube with a varying radius. After changing the underlying spline and points, which work fine, the next rendering sho…

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

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