# Support

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

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

**Page:** 54

---

## [inheritance vtkDataWriter](https://discourse.vtk.org/t/inheritance-vtkdatawriter/10988)

<div class="topic-metadata">

**Author:** [@w7v](https://discourse.vtk.org/u/w7v)\
**Replies:** 0\
**Last updated:** [March 16, 2023, 5:40am UTC](https://discourse.vtk.org/t/inheritance-vtkdatawriter/10988 "2023-03-16T05:40:30Z")

</div>

After version 9.2, inheriting vtkDataWriter must declare GetObjectDescription(), SetObjectName(), GetObjectName. Is this normal? It seems that this is not required in version 9.1.

---

## [Creating complex concave polygonal surface from points](https://discourse.vtk.org/t/creating-complex-concave-polygonal-surface-from-points/10959)

<div class="topic-metadata">

**Author:** [@Jishnu](https://discourse.vtk.org/u/Jishnu)\
**Replies:** 12\
**Last updated:** [March 16, 2023, 5:01am UTC](https://discourse.vtk.org/t/creating-complex-concave-polygonal-surface-from-points/10959 "2023-03-16T05:01:53Z")

</div>

Hi All, I am working on a project where I need to generate surfaces from user-defined points to create polygons. For convex polygons, I am able to generate surfaces using the Delaunay2D triangulation method without any …

---

## [deleted](https://discourse.vtk.org/t/deleted/10975)

<div class="topic-metadata">

**Author:** [@MissMac](https://discourse.vtk.org/u/MissMac)\
**Replies:** 0\
**Last updated:** [March 15, 2023, 10:43am UTC](https://discourse.vtk.org/t/deleted/10975 "2023-03-15T10:43:06Z")

</div>

deleted

---

## [I want to convert UnstructuredGrid data to PolyData, and then to ImageData, so that I can use the Marching cubes algorithm.](https://discourse.vtk.org/t/i-want-to-convert-unstructuredgrid-data-to-polydata-and-then-to-imagedata-so-that-i-can-use-the-marching-cubes-algorithm/10971)

<div class="topic-metadata">

**Author:** [@liuyankui1998](https://discourse.vtk.org/u/liuyankui1998)\
**Replies:** 1\
**Last updated:** [March 15, 2023, 1:26pm UTC](https://discourse.vtk.org/t/i-want-to-convert-unstructuredgrid-data-to-polydata-and-then-to-imagedata-so-that-i-can-use-the-marching-cubes-algorithm/10971 "2023-03-15T13:26:51Z")

</div>

I use vtkSurfaceDataSetFilter to convert UnStrcuturedGrid Data to PolyData,then transfer the converted data into the method I wrote according to the PolyDataToImageData provided by VTK. the main function: vtkSmartPoint…

---

## [Convert UnstructuredGrid data to PolyData and then to ImageData](https://discourse.vtk.org/t/convert-unstructuredgrid-data-to-polydata-and-then-to-imagedata/10974)

<div class="topic-metadata">

**Author:** [@liuyankui1998](https://discourse.vtk.org/u/liuyankui1998)\
**Replies:** 0\
**Last updated:** [March 15, 2023, 8:57am UTC](https://discourse.vtk.org/t/convert-unstructuredgrid-data-to-polydata-and-then-to-imagedata/10974 "2023-03-15T08:57:54Z")

</div>

here is my main function: here is my PolyDataToImageData function: An error occurred at the terminal： I hope someone can help me！

---

## [vtkLegendBoxActor is not supportting to set text font size](https://discourse.vtk.org/t/vtklegendboxactor-is-not-supportting-to-set-text-font-size/10898)

<div class="topic-metadata">

**Author:** [@Jishnu](https://discourse.vtk.org/u/Jishnu)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 3:30am UTC](https://discourse.vtk.org/t/vtklegendboxactor-is-not-supportting-to-set-text-font-size/10898 "2023-03-15T03:30:57Z")

</div>

Hi, I am using vtkLegendBoxActor to show legends in a plot. However, I am unable to control the font size of text in the legend. I have tried the following: legendActor=vtkLegendBoxActor() textProp=vtkTextProperty() t…

---

## [Remotely control pvserver from web app that uses vtk.js](https://discourse.vtk.org/t/remotely-control-pvserver-from-web-app-that-uses-vtk-js/10953)

<div class="topic-metadata">

**Author:** [@AlbertoP](https://discourse.vtk.org/u/AlbertoP)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 1:43am UTC](https://discourse.vtk.org/t/remotely-control-pvserver-from-web-app-that-uses-vtk-js/10953 "2023-03-15T01:43:44Z")

</div>

Hello, I would like to use RemoteView to show CFD simulations results. Results are processed by pvserver, which already has a reader for the data format, and the client application should control pvserver to set up what…

---

## [VTK 9.2.6 missing dll](https://discourse.vtk.org/t/vtk-9-2-6-missing-dll/10965)

<div class="topic-metadata">

**Author:** [@antoine1](https://discourse.vtk.org/u/antoine1)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 4:28pm UTC](https://discourse.vtk.org/t/vtk-9-2-6-missing-dll/10965 "2023-03-14T16:28:27Z")

</div>

Hello everyone, I’m new in vtk and i try to add it to my cmake for a new project with QT. I had vtk to my cmake like this: set(VTK\_DIR "C:/vtk/VTK-9.2.6-install/lib/cmake/vtk-9.2/") find\_package(VTK REQUIRED) target…

---

## [How to display the vtkSmartVolumeMapper with isosurface?](https://discourse.vtk.org/t/how-to-display-the-vtksmartvolumemapper-with-isosurface/10961)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 3:51pm UTC](https://discourse.vtk.org/t/how-to-display-the-vtksmartvolumemapper-with-isosurface/10961 "2023-03-14T15:51:40Z")

</div>

Now, I want to use the isosurface with vtkSmartVolumeMapper. My code is: import vtkmodules.all as vtk import time reader = vtk.vtkDICOMImageReader() reader.SetDirectoryName('D:\\\\TestData\\\\20210811095000100001') reader.U…

---

## [VTK + Java + Mac + Swing](https://discourse.vtk.org/t/vtk-java-mac-swing/2794)

<div class="topic-metadata">

**Author:** [@martinspel](https://discourse.vtk.org/u/martinspel)\
**Replies:** 6\
**Last updated:** [March 14, 2023, 1:48pm UTC](https://discourse.vtk.org/t/vtk-java-mac-swing/2794 "2023-03-14T13:48:23Z")

</div>

Compiling on a Mac (Catalina) with Java bindings, the following error is produced: 2020-03-10 18:39:49.820 java\[89250:2491420\] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! when launching…

---

## [Set dtype of written Nifti image](https://discourse.vtk.org/t/set-dtype-of-written-nifti-image/10923)

<div class="topic-metadata">

**Author:** [@Valentin\_Regueiro](https://discourse.vtk.org/u/Valentin_Regueiro)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 9:55am UTC](https://discourse.vtk.org/t/set-dtype-of-written-nifti-image/10923 "2023-03-14T09:55:47Z")

</div>

Hi, I am working on exporting a segmentation as a nifti image, for which I use the vtkNiftiImageWriter. These nifti images have structured dtype:= \[(R, uint8) (G, uint8), (b, uint8), (A, uint8)\] Now, I am interfacing …

---

## [Is it a bug about vtkDistanceWidget？](https://discourse.vtk.org/t/is-it-a-bug-about-vtkdistancewidget/10958)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 6:08am UTC](https://discourse.vtk.org/t/is-it-a-bug-about-vtkdistancewidget/10958 "2023-03-14T06:08:51Z")

</div>

I encountered a problem. I used the vtkDistanceWidget. I found that when two instances appear in the window, if there is no problem with clicking the second instance and blank, the events of both instances can be trigger…

---

## [How to use the 'install' folder after a VTK build](https://discourse.vtk.org/t/how-to-use-the-install-folder-after-a-vtk-build/10932)

<div class="topic-metadata">

**Author:** [@totte\_karlsson](https://discourse.vtk.org/u/totte_karlsson)\
**Replies:** 4\
**Last updated:** [March 10, 2023, 10:45pm UTC](https://discourse.vtk.org/t/how-to-use-the-install-folder-after-a-vtk-build/10932 "2023-03-10T22:45:36Z")

</div>

Hello, We are trying to setup our applications, that uses VTK (9.1), to be automatically built by our build system, Gitlab. Before that, however, we are trying to build manually. When building the ‘install’ target of V…

---

## [Rendering to offscreen buffer of a different size than render window](https://discourse.vtk.org/t/rendering-to-offscreen-buffer-of-a-different-size-than-render-window/10836)

<div class="topic-metadata">

**Author:** [@tchen87](https://discourse.vtk.org/u/tchen87)\
**Replies:** 1\
**Last updated:** [March 10, 2023, 6:19pm UTC](https://discourse.vtk.org/t/rendering-to-offscreen-buffer-of-a-different-size-than-render-window/10836 "2023-03-10T18:19:42Z")

</div>

I have an odd stereo rendering pipeline where I need to pass left and right images rendered at 2K to a weaver object, and then display the weaver output at 4K. Thus I want my final render window to be 4K in size, but I w…

---

## [GLTF export and texture to PNG](https://discourse.vtk.org/t/gltf-export-and-texture-to-png/10930)

<div class="topic-metadata">

**Author:** [@ashishgupta79](https://discourse.vtk.org/u/ashishgupta79)\
**Replies:** 0\
**Last updated:** [March 9, 2023, 4:45pm UTC](https://discourse.vtk.org/t/gltf-export-and-texture-to-png/10930 "2023-03-09T16:45:17Z")

</div>

I have a vtk structured grid with single scalar points data (temperature values). I am taking a planar slice out of it using vtk cutter and supplying it a constant z plane. Then, I am exporting that slice out to a gltf f…

---

## [VTK build for android without OpenGL and Rendering](https://discourse.vtk.org/t/vtk-build-for-android-without-opengl-and-rendering/10921)

<div class="topic-metadata">

**Author:** [@mukulys](https://discourse.vtk.org/u/mukulys)\
**Replies:** 2\
**Last updated:** [March 9, 2023, 1:06am UTC](https://discourse.vtk.org/t/vtk-build-for-android-without-opengl-and-rendering/10921 "2023-03-09T01:06:32Z")

</div>

Hello, I am trying to build VTK 6.3.0 for Android. I wish to disable all the Rendering modules and build it without OpenGL. I saw the file vtkAndroid.cmake and it contains two builds. One is the minimal build on the hos…

---

## [vtkResampleWithDataSet is taking too much time](https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922)

<div class="topic-metadata">

**Author:** [@ashishgupta79](https://discourse.vtk.org/u/ashishgupta79)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 11:47pm UTC](https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922 "2023-03-08T23:47:19Z")

</div>

Hi In my python script, I am using vtkResampleWithDataSet to resample one structured grid points data on to the coordinates of the other structured grid. My code snippet is shown below: resampler = vtk.vtkResampleWi…

---

## [GLEW could not be initialized: Missing GL version ubuntu 20.04](https://discourse.vtk.org/t/glew-could-not-be-initialized-missing-gl-version-ubuntu-20-04/10870)

<div class="topic-metadata">

**Author:** [@sotodela](https://discourse.vtk.org/u/sotodela)\
**Replies:** 3\
**Last updated:** [March 8, 2023, 7:45pm UTC](https://discourse.vtk.org/t/glew-could-not-be-initialized-missing-gl-version-ubuntu-20-04/10870 "2023-03-08T19:45:47Z")

</div>

Hi, Previously I was able to run my programs using vtk on python 3.8, after installing GPU drivers it stopped working and I get the error message “ERR| vtkXOpenGLRenderWindow (0x5194010): GLEW could not be initialized: …

---

## [Slice Domain Definition?](https://discourse.vtk.org/t/slice-domain-definition/10917)

<div class="topic-metadata">

**Author:** [@davidshq](https://discourse.vtk.org/u/davidshq)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 2:36pm UTC](https://discourse.vtk.org/t/slice-domain-definition/10917 "2023-03-08T14:36:13Z")

</div>

Hoping to clarify some definitions… A slice is a subset of a larger dataset (e.g. a slice of a 3D image is a 2D image). A slice domain is the set of all possible slices that could be extract from a larger dataset. Are…

---

## [Are there any prebuilt python wheel with openmp support?](https://discourse.vtk.org/t/are-there-any-prebuilt-python-wheel-with-openmp-support/10906)

<div class="topic-metadata">

**Author:** [@turtleizzy](https://discourse.vtk.org/u/turtleizzy)\
**Replies:** 7\
**Last updated:** [March 8, 2023, 1:23pm UTC](https://discourse.vtk.org/t/are-there-any-prebuilt-python-wheel-with-openmp-support/10906 "2023-03-08T13:23:02Z")

</div>

It seems official python wheels were built without parallelization (openmp or tbb) support even if a handful of filters had vtkSMPTools support.

---

## [How does vtkTimeStamp::GetMTime() work?](https://discourse.vtk.org/t/how-does-vtktimestamp-getmtime-work/10909)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)\
**Replies:** 1\
**Last updated:** [March 7, 2023, 2:34pm UTC](https://discourse.vtk.org/t/how-does-vtktimestamp-getmtime-work/10909 "2023-03-07T14:34:47Z")

</div>

Here is my test code: from time import sleep t = vtk.vtkTimeStamp() t.Modified() print(t.GetMTime()) sleep(3) # so next time should be 3 seconds later t.Modified() print(t.GetMTime()) It outputs: 255513 255514 So why…

---

## [How to use remote module in Python？](https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907)

<div class="topic-metadata">

**Author:** [@guyqqcom](https://discourse.vtk.org/u/guyqqcom)\
**Replies:** 1\
**Last updated:** [March 7, 2023, 9:06am UTC](https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907 "2023-03-07T09:06:47Z")

</div>

Hi all. I want to use Powercrust and PoissonReconstruction in Python. The version of VTK I am using is 9.0.3. I configured VTK\_MODULE\_ENABLE\_VTK\_PoissonReconstruction and VTK\_MODULE\_ENABLE\_VTK\_Powercrust to WANT in CMake…

---

## [vtkWidget enabling and disabling](https://discourse.vtk.org/t/vtkwidget-enabling-and-disabling/10901)

<div class="topic-metadata">

**Author:** [@sboogert](https://discourse.vtk.org/u/sboogert)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 7:20pm UTC](https://discourse.vtk.org/t/vtkwidget-enabling-and-disabling/10901 "2023-03-06T19:20:26Z")

</div>

I have a large visualisation application using QT (Geant4) and I would like to allow users to enable and disable various widgets based on QT user interaction. So I have absolutely no problem getting vtkNew\<vtkImplici…

---

## [vtkProbeFilter or vtkResampleWithDataset?](https://discourse.vtk.org/t/vtkprobefilter-or-vtkresamplewithdataset/10876)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 3:03pm UTC](https://discourse.vtk.org/t/vtkprobefilter-or-vtkresamplewithdataset/10876 "2023-03-06T15:03:54Z")

</div>

I have a vtkStructuredGrid that I would like to sample with a vtkPlaneSource. Which would be more appropriate vtkProbeFilter or vtkResampleWithDataset? (I only care about point values - I don’t have any cell values that …

---

## [Using Pyside6-6.4.0.1, when the promotion of the control to a subclass of the QVTKRenderWindowInteractor in Qt, the QWebEngineView instance object of the same interface fails?](https://discourse.vtk.org/t/using-pyside6-6-4-0-1-when-the-promotion-of-the-control-to-a-subclass-of-the-qvtkrenderwindowinteractor-in-qt-the-qwebengineview-instance-object-of-the-same-interface-fails/10873)

<div class="topic-metadata">

**Author:** [@cheng](https://discourse.vtk.org/u/cheng)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 1:39pm UTC](https://discourse.vtk.org/t/using-pyside6-6-4-0-1-when-the-promotion-of-the-control-to-a-subclass-of-the-qvtkrenderwindowinteractor-in-qt-the-qwebengineview-instance-object-of-the-same-interface-fails/10873 "2023-03-06T13:39:30Z")

</div>

Using Pyside6-6.4.0.1, when the promotion of the control to a subclass of the QVTKRenderWindowInteractor in Qt, the QWebEngineView instance object of the same interface fails?https://gitlab.kitware.com/vtk/vtk/-/issues/1…

---

## [Issue with vtkActor in different screen sizes](https://discourse.vtk.org/t/issue-with-vtkactor-in-different-screen-sizes/10847)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 10\
**Last updated:** [March 5, 2023, 2:52pm UTC](https://discourse.vtk.org/t/issue-with-vtkactor-in-different-screen-sizes/10847 "2023-03-05T14:52:22Z")

</div>

Hi teams, I am currently facing an issue while using vtkActor. The problem is that the actor is not clearly visible on different screen sizes. For instance, when viewed from a distance, it appears to be broken or fragme…

---

## [Controlling performance for vtkLODActor](https://discourse.vtk.org/t/controlling-performance-for-vtklodactor/10841)

<div class="topic-metadata">

**Author:** [@dimitrisoh](https://discourse.vtk.org/u/dimitrisoh)\
**Replies:** 1\
**Last updated:** [March 4, 2023, 9:24pm UTC](https://discourse.vtk.org/t/controlling-performance-for-vtklodactor/10841 "2023-03-04T21:24:10Z")

</div>

Hi all. System: Linux (Cent-OS 7), gcc10, C++14 VTK-7.1 (various reason for not updating) No GPU available (running in VNC with OpenGL2) I also use Mesa3D (OpenSWR driver) but you can ignore at least for now because i…

---

## [how to save objects that are in render window in a file and reopen as separate objects later.](https://discourse.vtk.org/t/how-to-save-objects-that-are-in-render-window-in-a-file-and-reopen-as-separate-objects-later/10866)

<div class="topic-metadata">

**Author:** [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 8:59pm UTC](https://discourse.vtk.org/t/how-to-save-objects-that-are-in-render-window-in-a-file-and-reopen-as-separate-objects-later/10866 "2023-03-04T20:59:55Z")

</div>

Hi. I have developed a program in python using vtk which is used for 3D image processing. In this app user import some stl files or create widgets like contour widget or sphere widget and etc. Now i want to add project s…

---

## [vtkPropPicker cannot pick vtkFollower with 0.8 opacity](https://discourse.vtk.org/t/vtkproppicker-cannot-pick-vtkfollower-with-0-8-opacity/10874)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 2:39pm UTC](https://discourse.vtk.org/t/vtkproppicker-cannot-pick-vtkfollower-with-0-8-opacity/10874 "2023-03-03T14:39:24Z")

</div>

I find vtkPropPicker can not pick a vtkFollower with 0.8 opacity, but it can pick vtkActor with 0.8 opacity. My test code is: import vtkmodules.all as vtk cylinder1 = vtk.vtkCylinderSource() cylinder1.SetCenter(0, 0, 0…

---

## [ICP transform fails when aligning incomplete source polydata with target polydata](https://discourse.vtk.org/t/icp-transform-fails-when-aligning-incomplete-source-polydata-with-target-polydata/10846)

<div class="topic-metadata">

**Author:** [@matthew.strugari](https://discourse.vtk.org/u/matthew.strugari)\
**Replies:** 5\
**Last updated:** [March 2, 2023, 7:00pm UTC](https://discourse.vtk.org/t/icp-transform-fails-when-aligning-incomplete-source-polydata-with-target-polydata/10846 "2023-03-02T19:00:02Z")

</div>

Hi there, I am currently using VTK to process 3D scanning data but require assistance in aligning polydata. The 3D scan data I obtain is randomly oriented and a bit noisy, but it contains fiducial markers, so my first s…

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

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