# Support

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

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

**Page:** 51

---

## [Rotating my volume using setUserMatrix results in a skewed volume](https://discourse.vtk.org/t/rotating-my-volume-using-setusermatrix-results-in-a-skewed-volume/6648)

<div class="topic-metadata">

**Author:** [@shanebenlolo](https://discourse.vtk.org/u/shanebenlolo)\
**Replies:** 26\
**Last updated:** [April 24, 2023, 9:05pm UTC](https://discourse.vtk.org/t/rotating-my-volume-using-setusermatrix-results-in-a-skewed-volume/6648 "2023-04-24T21:05:36Z")

</div>

hello, I am attempting to apply an Affine Transformation to my volume using the setUserMatrix method. I am using the rotation transformation, which is detailed here: This is my implementation, which occurs as a coor…

---

## [VTK 9.1, MINGW64 and Windows 10](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116)

<div class="topic-metadata">

**Author:** [@Andrea\_Gavana](https://discourse.vtk.org/u/Andrea_Gavana)\
**Replies:** 38\
**Last updated:** [April 24, 2023, 8:59pm UTC](https://discourse.vtk.org/t/vtk-9-1-mingw64-and-windows-10/7116 "2023-04-24T20:59:08Z")

</div>

Dear VTK Users and Developers, My apologies if this is not the right place to report this issue, I’d be happy to move the subject in another forum if needed. I have spent now two days trying to compile VTK from source …

---

## [Stuck on getting colors from a Netcdf file to be rendered in opengl](https://discourse.vtk.org/t/stuck-on-getting-colors-from-a-netcdf-file-to-be-rendered-in-opengl/11287)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 7:23pm UTC](https://discourse.vtk.org/t/stuck-on-getting-colors-from-a-netcdf-file-to-be-rendered-in-opengl/11287 "2023-04-24T19:23:00Z")

</div>

I cant figure out how to display colors from a netcdf file to opengl im trying to get a netcdf color projection like what you will get if your using programs like Panoply or qgis etc… but the code i have only shows one c…

---

## [the .vtu file to be genenrated is so large while using python](https://discourse.vtk.org/t/the-vtu-file-to-be-genenrated-is-so-large-while-using-python/11283)

<div class="topic-metadata">

**Author:** [@meng\_deng](https://discourse.vtk.org/u/meng_deng)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:10pm UTC](https://discourse.vtk.org/t/the-vtu-file-to-be-genenrated-is-so-large-while-using-python/11283 "2023-04-24T15:10:45Z")

</div>

the .vtu file is so big that out of my memory… This is the first time I have used the vtk package. I can generate an object with 2 hexahedrons well, but when I try to generate an object with 164640 hexahedrons(566049), …

---

## [Change in rendering of semi-opaque solid meshes with edges enabled](https://discourse.vtk.org/t/change-in-rendering-of-semi-opaque-solid-meshes-with-edges-enabled/11120)

<div class="topic-metadata">

**Author:** [@ahall](https://discourse.vtk.org/u/ahall)\
**Replies:** 9\
**Last updated:** [April 24, 2023, 12:21pm UTC](https://discourse.vtk.org/t/change-in-rendering-of-semi-opaque-solid-meshes-with-edges-enabled/11120 "2023-04-24T12:21:44Z")

</div>

Hello. We recently updated from VTK 8.1.1 to VTK 9.2.6. It has been pretty smooth, but I have noticed one issue. vtk8 vtk9 This is with: SetRepresentationToSurface() SetEdgeVisibility(true) Opacity of less th…

---

## [vtkImplicitArrays error with java wrappings](https://discourse.vtk.org/t/vtkimplicitarrays-error-with-java-wrappings/10936)

<div class="topic-metadata">

**Author:** [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)\
**Replies:** 6\
**Last updated:** [April 24, 2023, 7:14am UTC](https://discourse.vtk.org/t/vtkimplicitarrays-error-with-java-wrappings/10936 "2023-04-24T07:14:46Z")

</div>

Hello all, I was just compiling VTK (master) with Enable CommonImplicitArrays and noticed that the Java wrapping give a link error \[17797/21487\] Linking CXX shared library lib\\java\\vtk-Windows-AMD64\\vtkFiltersReduction…

---

## [vtkCaptionRepresentation does not support Chinese](https://discourse.vtk.org/t/vtkcaptionrepresentation-does-not-support-chinese/11255)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 3:35am UTC](https://discourse.vtk.org/t/vtkcaptionrepresentation-does-not-support-chinese/11255 "2023-04-24T03:35:31Z")

</div>

When I pass in the Chinese parameter in SetCaption, the running result does not show my Chinese, is it not supported in UTF-8 format? Is there any good workaround?

---

## [Vtk Output error with netcdf file](https://discourse.vtk.org/t/vtk-output-error-with-netcdf-file/11214)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:29am UTC](https://discourse.vtk.org/t/vtk-output-error-with-netcdf-file/11214 "2023-04-24T03:29:17Z")

</div>

Im trying to render a netcdf file i got these included #include \<vtkNetCDFReader.h\> #include \<vtkSmartPointer.h\> #include \<vtkDataSetMapper.h\> #include \<vtkActor.h\> #include \<vtkAlgorithm.h\> #include \<vtkRenderer.h\> #in…

---

## [import vtk.qt is not found](https://discourse.vtk.org/t/import-vtk-qt-is-not-found/11211)

<div class="topic-metadata">

**Author:** [@zyad](https://discourse.vtk.org/u/zyad)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:25am UTC](https://discourse.vtk.org/t/import-vtk-qt-is-not-found/11211 "2023-04-24T03:25:46Z")

</div>

I am new to qt vtk i ma trying to add from vtk.qt.QVTKRenderWindowInteractorPython import QVTKRenderWindowInteractor i have tried a lot to pip reinstall vtk but still vtk qt module not found Traceback (most recent call …

---

## [keep getting errors when including netcdf #include \<vtkNetCDFCFReader.h\>](https://discourse.vtk.org/t/keep-getting-errors-when-including-netcdf-include-vtknetcdfcfreader-h/11190)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:25am UTC](https://discourse.vtk.org/t/keep-getting-errors-when-including-netcdf-include-vtknetcdfcfreader-h/11190 "2023-04-24T03:25:03Z")

</div>

im new to vtk i just installed vtk When i run my C++ program with #include \<vtkNetCDFCFReader.h\> i keep getting this error Build started... 1\>------ Build started: Project: bolt, Configuration: Release x64 ------ 1\>bol…

---

## [vtk+ qt + realsense sdk ?](https://discourse.vtk.org/t/vtk-qt-realsense-sdk/11123)

<div class="topic-metadata">

**Author:** [@saravana](https://discourse.vtk.org/u/saravana)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:21am UTC](https://discourse.vtk.org/t/vtk-qt-realsense-sdk/11123 "2023-04-24T03:21:16Z")

</div>

Hello peeps, I have set up a minimum working Qt+Vtk application and I have been trying to stream a realsense image stream in a QVtkWindow like this, where i have set up the realsense stream loop in a separate QThread : r…

---

## [Problem rendering surfaces after upgrading to VTK 8.2.0](https://discourse.vtk.org/t/problem-rendering-surfaces-after-upgrading-to-vtk-8-2-0/11070)

<div class="topic-metadata">

**Author:** [@whereismymoney](https://discourse.vtk.org/u/whereismymoney)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 3:18am UTC](https://discourse.vtk.org/t/problem-rendering-surfaces-after-upgrading-to-vtk-8-2-0/11070 "2023-04-24T03:18:57Z")

</div>

After upgrading our application from VTK 6.0.0 to VTK 8.2.0 we have a problem with artifacts (“cross-hatching,” “Moire patterns,” “aliasing”) when zooming in on details. This is for vtkCamera::ParallelProjectionOn() F…

---

## [windows m1 arm64 status](https://discourse.vtk.org/t/windows-m1-arm64-status/10941)

<div class="topic-metadata">

**Author:** [@bart](https://discourse.vtk.org/u/bart)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 3:11am UTC](https://discourse.vtk.org/t/windows-m1-arm64-status/10941 "2023-04-24T03:11:42Z")

</div>

Hi all, Running windows 11 in vmware on apple M1. Build with visual studio 17.5.1. Fails with plenty of build errors of the type below |Error|C1189|#error: Byte order of target CPU unknown.|CommonCore|C:\\Users\\win11…

---

## [Sort points on line in PolyData](https://discourse.vtk.org/t/sort-points-on-line-in-polydata/3851)

<div class="topic-metadata">

**Author:** [@jrwrigh](https://discourse.vtk.org/u/jrwrigh)\
**Replies:** 28\
**Last updated:** [April 21, 2023, 3:21pm UTC](https://discourse.vtk.org/t/sort-points-on-line-in-polydata/3851 "2023-04-21T15:21:55Z")

</div>

So I have a PolyData object of lines generated from extracting feature edges from a 2D unstructured grid and then cutting out portions of the feature edges I didn’t want. In my example, the original grid was just a squa…

---

## [How I can to split 3d vtk data to 2d series?](https://discourse.vtk.org/t/how-i-can-to-split-3d-vtk-data-to-2d-series/2347)

<div class="topic-metadata">

**Author:** [@Larisa](https://discourse.vtk.org/u/Larisa)\
**Replies:** 16\
**Last updated:** [April 21, 2023, 12:04am UTC](https://discourse.vtk.org/t/how-i-can-to-split-3d-vtk-data-to-2d-series/2347 "2023-04-21T00:04:24Z")

</div>

Hello. I try to prepare data for cnn (convolutional neural network) - metastatis brain cancer MRI. I have for each patient series of dicom files (slices) and vtk file (points and polygons). In the viewer I see file wi…

---

## [Pipeline within a filter: vtkDepthImageToPointCloud](https://discourse.vtk.org/t/pipeline-within-a-filter-vtkdepthimagetopointcloud/11269)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 7:05pm UTC](https://discourse.vtk.org/t/pipeline-within-a-filter-vtkdepthimagetopointcloud/11269 "2023-04-20T19:05:55Z")

</div>

Hi Developers I had some trouble getting vtkDepthImageToPointCloud to update when the camera is updated. I create instead a homemade vtkSceneSource, which contains a vtkRenderWindow and allow the user to set both a vtkC…

---

## [Working with a HDF file in VTK](https://discourse.vtk.org/t/working-with-a-hdf-file-in-vtk/11233)

<div class="topic-metadata">

**Author:** [@Chaitanya\_Kolluru](https://discourse.vtk.org/u/Chaitanya_Kolluru)\
**Replies:** 14\
**Last updated:** [April 20, 2023, 4:21pm UTC](https://discourse.vtk.org/t/working-with-a-hdf-file-in-vtk/11233 "2023-04-20T16:21:00Z")

</div>

I have a 3D image stack, saved on disk as a set of individual 2D image files. I have around 3000 such image files, each about 10 MB, so the total data set is about 30 GB. The datasets can be larger than that, and will no…

---

## [create separated regions from polydata](https://discourse.vtk.org/t/create-separated-regions-from-polydata/10409)

<div class="topic-metadata">

**Author:** [@PBrockmann](https://discourse.vtk.org/u/PBrockmann)\
**Replies:** 26\
**Last updated:** [April 20, 2023, 3:00pm UTC](https://discourse.vtk.org/t/create-separated-regions-from-polydata/10409 "2023-04-20T15:00:08Z")

</div>

Hi, I describe here a problem I am facing to. It follows a question that I had asked here as: get a continuous line from a polydata structure Today, I would like to produce maps with filled polygons (that may have hole…

---

## [A quesition about RenderLargeImage](https://discourse.vtk.org/t/a-quesition-about-renderlargeimage/2198)

<div class="topic-metadata">

**Author:** [@sorlik](https://discourse.vtk.org/u/sorlik)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 2:59pm UTC](https://discourse.vtk.org/t/a-quesition-about-renderlargeimage/2198 "2023-04-20T14:59:23Z")

</div>

I need to export the scene as a high-definition image, but the image is tiled through vtkRenderLargeImage(Use tiling to generate a large rendering). How can I export the high-definition image by filling? Thanks.

---

## [Function to change view mode to ZPlane](https://discourse.vtk.org/t/function-to-change-view-mode-to-zplane/11126)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 7\
**Last updated:** [April 20, 2023, 1:20pm UTC](https://discourse.vtk.org/t/function-to-change-view-mode-to-zplane/11126 "2023-04-20T13:20:46Z")

</div>

I am creating a view instance in itkwidgets (i.e. projection\_view = itkwidgets.view(geometries=None, background=\[0.0, 0.0, 0.0\])) and want to be able to, at a later stage, set the view mode to ZPlane. How do I do this t…

---

## [Nearest neighbour(closest point) search using vtkKdTree](https://discourse.vtk.org/t/nearest-neighbour-closest-point-search-using-vtkkdtree/11250)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 2:51am UTC](https://discourse.vtk.org/t/nearest-neighbour-closest-point-search-using-vtkkdtree/11250 "2023-04-20T02:51:14Z")

</div>

I am using vtk’s kdtree to search closest point, here is a simple example that, to my surprise, returned a value that was not what I was expecting import vtk points = vtk.vtkPoints() points.InsertNextPoint(1, 0, 0) poi…

---

## [Why my vtk does not contain time series?](https://discourse.vtk.org/t/why-my-vtk-does-not-contain-time-series/11246)

<div class="topic-metadata">

**Author:** [@Clifford](https://discourse.vtk.org/u/Clifford)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 7:40pm UTC](https://discourse.vtk.org/t/why-my-vtk-does-not-contain-time-series/11246 "2023-04-18T19:40:57Z")

</div>

I create my data through apply\_inverse(), from mne python, I want to write my data into a vtk file with a time series, however I can only get a static vtk file, don’t know where does wrong. Thanks for your help! Here is…

---

## [How to draw arrow for cell normal(not point normal)](https://discourse.vtk.org/t/how-to-draw-arrow-for-cell-normal-not-point-normal/10948)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 11\
**Last updated:** [April 18, 2023, 5:33pm UTC](https://discourse.vtk.org/t/how-to-draw-arrow-for-cell-normal-not-point-normal/10948 "2023-04-18T17:33:30Z")

</div>

Hello,use these code: /\* \* @Creator : alex \* @Create at : Jan 6, 2022 5:53:08 PM \* @Modified by : alex \* @Modified at : Jan 6, 2022 5:53:08 PM \* @Description : SphereCellNormal.cpp \*/ #include \<vtkVersion.h\> #…

---

## [Convert vessel centerline from vtkPolyData to a Nifti binary mask](https://discourse.vtk.org/t/convert-vessel-centerline-from-vtkpolydata-to-a-nifti-binary-mask/8844)

<div class="topic-metadata">

**Author:** [@RomanStriker](https://discourse.vtk.org/u/RomanStriker)\
**Replies:** 11\
**Last updated:** [April 18, 2023, 4:25pm UTC](https://discourse.vtk.org/t/convert-vessel-centerline-from-vtkpolydata-to-a-nifti-binary-mask/8844 "2023-04-18T16:25:21Z")

</div>

Hi, I have generated a center line for a sample of hepatic vessel tree in form of vertices and edges. I converted the vertices and edges to a vtkGraph and then used vtkGraphToPolyData() to convert it into vtkPolyData. …

---

## [vtk polydata to binary mask](https://discourse.vtk.org/t/vtk-polydata-to-binary-mask/11244)

<div class="topic-metadata">

**Author:** [@HuiLin0220](https://discourse.vtk.org/u/HuiLin0220)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 4:21pm UTC](https://discourse.vtk.org/t/vtk-polydata-to-binary-mask/11244 "2023-04-18T16:21:50Z")

</div>

I have a patient’s cardiac MRI scan (Dicom file) and its corresponding LA label in a VTK format. I wrote a code to convert the VTK file to binary mask images (like nrrd, nii.gz,etc.) I want the generated binary mask map …

---

## [How can i display netcdf data as rgb instead of this tan color](https://discourse.vtk.org/t/how-can-i-display-netcdf-data-as-rgb-instead-of-this-tan-color/11229)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 3:27pm UTC](https://discourse.vtk.org/t/how-can-i-display-netcdf-data-as-rgb-instead-of-this-tan-color/11229 "2023-04-17T15:27:28Z")

</div>

I have this code that renders netcdf data vtkSmartPointer\<vtkNetCDFCFReader\> reader = vtkSmartPointer\<vtkNetCDFCFReader\>::New(); reader-\>SetFileName("C:/Users/admin/Desktop/BOLTgui/BOLT/SEAFLUX-OSB-CDR\_V02R00\_SST\_D…

---

## [About custom cutting and drawing lines](https://discourse.vtk.org/t/about-custom-cutting-and-drawing-lines/11222)

<div class="topic-metadata">

**Author:** [@HWsir](https://discourse.vtk.org/u/HWsir)\
**Replies:** 1\
**Last updated:** [April 18, 2023, 1:32pm UTC](https://discourse.vtk.org/t/about-custom-cutting-and-drawing-lines/11222 "2023-04-18T13:32:28Z")

</div>

I plan to create a plane parallel to the screen and draw lines on this plane and then do the cutting operation. I have two questions. How do I get the normal vector of the current window plane? How does vtk create a p…

---

## [How to run Python 3.9 vtk9.2.6 without a GPU](https://discourse.vtk.org/t/how-to-run-python-3-9-vtk9-2-6-without-a-gpu/11240)

<div class="topic-metadata">

**Author:** [@logan\_zhang](https://discourse.vtk.org/u/logan_zhang)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 8:14am UTC](https://discourse.vtk.org/t/how-to-run-python-3-9-vtk9-2-6-without-a-gpu/11240 "2023-04-18T08:14:50Z")

</div>

python3.9.16 vtk9.2.6 centos 7 Hi guys, if there is no GPU, only a high-performance CPU and high-performance NPU, how can I meet my need to smoothly read a model file of around 50m? Currently, the scenario of using only…

---

## [Generates a surface](https://discourse.vtk.org/t/generates-a-surface/11238)

<div class="topic-metadata">

**Author:** [@Frankenstein](https://discourse.vtk.org/u/Frankenstein)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 5:38am UTC](https://discourse.vtk.org/t/generates-a-surface/11238 "2023-04-18T05:38:40Z")

</div>

I’m creating a surface using a point cloud, and I want to control the color of each point.Just like this picture， I have used Class vtkSurfaceReconstructionFilte to create surface,but I can’t control the color.I want …

---

## [3d scene reconstruction](https://discourse.vtk.org/t/3d-scene-reconstruction/11231)

<div class="topic-metadata">

**Author:** [@Cristiano\_Roman](https://discourse.vtk.org/u/Cristiano_Roman)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 3:54pm UTC](https://discourse.vtk.org/t/3d-scene-reconstruction/11231 "2023-04-17T15:54:08Z")

</div>

I’m trying to develop an app for Android. I have a list of either RGB-D frames or Single-View Pointclouds (captured by an external camera). I need a way to use this list of data to perform realtime 3d reconstruction of …

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

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