# Support

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

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

**Page:** 78

---

## [MFIX 21.4 see fault on VTK via ssh -XY and Xquartz 2.8.1/Mac; vtkOpenGLRenderWindow.c/vtkXOpenGLRenderWindow errors](https://discourse.vtk.org/t/mfix-21-4-see-fault-on-vtk-via-ssh-xy-and-xquartz-2-8-1-mac-vtkopenglrenderwindow-c-vtkxopenglrenderwindow-errors/8313)

<div class="topic-metadata">

**Author:** [@RobbieTheK](https://discourse.vtk.org/u/RobbieTheK)\
**Replies:** 6\
**Last updated:** [April 20, 2022, 1:52pm UTC](https://discourse.vtk.org/t/mfix-21-4-see-fault-on-vtk-via-ssh-xy-and-xquartz-2-8-1-mac-vtkopenglrenderwindow-c-vtkxopenglrenderwindow-errors/8313 "2022-04-20T13:52:35Z")

</div>

Using XQuartz 2.8.1 on macOs 12.3.1 Monterey, and setting defaults write org.xquartz.X11 enable\_iglx -bool true MFIX crashes at the VTK loading part. Works fine on Windows, e.g., with Mobaxterm. We use RHEL 7 and X-forwa…

---

## [how to make sure the result of vtkMarchCube or vtkFlyingEdge3D is closed one, which has no boundary edges and non-manifold edges](https://discourse.vtk.org/t/how-to-make-sure-the-result-of-vtkmarchcube-or-vtkflyingedge3d-is-closed-one-which-has-no-boundary-edges-and-non-manifold-edges/8334)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 4\
**Last updated:** [April 20, 2022, 11:53am UTC](https://discourse.vtk.org/t/how-to-make-sure-the-result-of-vtkmarchcube-or-vtkflyingedge3d-is-closed-one-which-has-no-boundary-edges-and-non-manifold-edges/8334 "2022-04-20T11:53:03Z")

</div>

Hi Gays: operations below, how could i make sure the result of these operations is a closed mesh, which has no boundary edges and non-manifold edges. OPERATIONS: step 1: create a closed surface A, which has no boundar…

---

## [alias target](https://discourse.vtk.org/t/alias-target/8322)

<div class="topic-metadata">

**Author:** [@djduke](https://discourse.vtk.org/u/djduke)\
**Replies:** 3\
**Last updated:** [April 19, 2022, 6:42pm UTC](https://discourse.vtk.org/t/alias-target/8322 "2022-04-19T18:42:48Z")

</div>

I’m getting a cmake error on my module target\_link\_libraries can not be used on an ALIAS target. I’ve gone through the online cmake tutorial, think I understand aliases but cannot see why my command is being interpre…

---

## [How to install vtk v9.1.0 in Windows 10 Anaconda v3.9 without Internet connection?](https://discourse.vtk.org/t/how-to-install-vtk-v9-1-0-in-windows-10-anaconda-v3-9-without-internet-connection/8321)

<div class="topic-metadata">

**Author:** [@JayEspi](https://discourse.vtk.org/u/JayEspi)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 2:55pm UTC](https://discourse.vtk.org/t/how-to-install-vtk-v9-1-0-in-windows-10-anaconda-v3-9-without-internet-connection/8321 "2022-04-19T14:55:05Z")

</div>

Setup: Windows 10 box without Internet connection, Anaconda v3.9 I cannot successfully install Anaconda VTK file vtk-9.1.0-qt-py39h1ab545e\_206.tar.bz2. “conda install …” will put \*.pyd files in site packages folder and …

---

## [SetMultiSamples + Transparency = weird display](https://discourse.vtk.org/t/setmultisamples-transparency-weird-display/8308)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 2\
**Last updated:** [April 18, 2022, 2:16pm UTC](https://discourse.vtk.org/t/setmultisamples-transparency-weird-display/8308 "2022-04-18T14:16:06Z")

</div>

Hi friends, I’m displaying a 2D ortho scene with a bunch of very simple polygons. There are 3 “layers” of polygons, offseted on the Z axis to have a proper render. On layer #1 (Z = 0.00), I have Polydatas with plain o…

---

## [Boolean Operation PolyData Filter says no intersection in a plane and a sphere](https://discourse.vtk.org/t/boolean-operation-polydata-filter-says-no-intersection-in-a-plane-and-a-sphere/8310)

<div class="topic-metadata">

**Author:** [@tonghao\_Yuan](https://discourse.vtk.org/u/tonghao_Yuan)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 12:58pm UTC](https://discourse.vtk.org/t/boolean-operation-polydata-filter-says-no-intersection-in-a-plane-and-a-sphere/8310 "2022-04-18T12:58:21Z")

</div>

I want to make an intersection with a plane and a sphere with vtkBooleanOperationPolyDataFilter, but the result is no intersection. Could anyone explain to me why? the code is here: #include \<vtkActor.h\> #include \<vtk…

---

## [How to ReplaceCell to a vtkEmptyCell in vtkUnstructuredGrid ?](https://discourse.vtk.org/t/how-to-replacecell-to-a-vtkemptycell-in-vtkunstructuredgrid/8303)

<div class="topic-metadata">

**Author:** [@Jacques.chen](https://discourse.vtk.org/u/Jacques.chen)\
**Replies:** 2\
**Last updated:** [April 18, 2022, 1:29am UTC](https://discourse.vtk.org/t/how-to-replacecell-to-a-vtkemptycell-in-vtkunstructuredgrid/8303 "2022-04-18T01:29:44Z")

</div>

I use vtkUnstructuredGrid to store cell dates , and I want replace a cell to a vtkEmptyCell . But fail.

---

## [Reading ply data over SetInputString](https://discourse.vtk.org/t/reading-ply-data-over-setinputstring/8305)

<div class="topic-metadata">

**Author:** [@csad6517](https://discourse.vtk.org/u/csad6517)\
**Replies:** 0\
**Last updated:** [April 15, 2022, 3:24pm UTC](https://discourse.vtk.org/t/reading-ply-data-over-setinputstring/8305 "2022-04-15T15:24:50Z")

</div>

I am trying to stream a ply file instead of reading it from a file using SetInputString(). The data is a binary string, which looks like: ply format binary\_little\_endian 1.0 comment VTK generated PLY File comment SPACE=…

---

## [Mapping n-dimensional data arrays to vertex attributes](https://discourse.vtk.org/t/mapping-n-dimensional-data-arrays-to-vertex-attributes/8301)

<div class="topic-metadata">

**Author:** [@guaje](https://discourse.vtk.org/u/guaje)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 6:12pm UTC](https://discourse.vtk.org/t/mapping-n-dimensional-data-arrays-to-vertex-attributes/8301 "2022-04-14T18:12:30Z")

</div>

Hello, I’m trying to map n-dimensional per-point data to per-vertex data using the MapDataArrayToVertexAttribute function. In the past, I have succeeded in mapping integers, floats, and vec3/4 using this function and t…

---

## [Overlaying Segmented mask with color over Input Vtkimagedata 3D (Dicom series)](https://discourse.vtk.org/t/overlaying-segmented-mask-with-color-over-input-vtkimagedata-3d-dicom-series/8299)

<div class="topic-metadata">

**Author:** [@Sreerag](https://discourse.vtk.org/u/Sreerag)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 9:33am UTC](https://discourse.vtk.org/t/overlaying-segmented-mask-with-color-over-input-vtkimagedata-3d-dicom-series/8299 "2022-04-14T09:33:38Z")

</div>

Hi all , I am working with ITK Segmentation algorithm’s. My input is a Dicom series and I used VtkDicomReader to get the vtkimagedata and then I converted to itkimage(Short, dmension=3) and I used connected threshold re…

---

## [QVTKWidget is in vtk no longer supported?](https://discourse.vtk.org/t/qvtkwidget-is-in-vtk-no-longer-supported/4022)

<div class="topic-metadata">

**Author:** [@Amnesie](https://discourse.vtk.org/u/Amnesie)\
**Replies:** 5\
**Last updated:** [April 14, 2022, 7:36am UTC](https://discourse.vtk.org/t/qvtkwidget-is-in-vtk-no-longer-supported/4022 "2022-04-14T07:36:01Z")

</div>

I configured the vtk environment for my new computer today, so I downloaded the latest vtk version and I found that the code (base on 8.1) wrote before doesn’t work, it shows : qvtkwidget.h no such file or directory A…

---

## [NaN support](https://discourse.vtk.org/t/nan-support/8287)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 5\
**Last updated:** [April 14, 2022, 7:20am UTC](https://discourse.vtk.org/t/nan-support/8287 "2022-04-14T07:20:26Z")

</div>

Using NaN values came up in another topic, which shows that there are people in the VTK community who assume it is OK to use NaN values, while I would assume that having NaN values may lead to problems and should be avoi…

---

## [When using QQuickVTKRenderItem, removing the render produces a memory leak](https://discourse.vtk.org/t/when-using-qquickvtkrenderitem-removing-the-render-produces-a-memory-leak/8296)

<div class="topic-metadata">

**Author:** [@WangZP10969](https://discourse.vtk.org/u/WangZP10969)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 3:24am UTC](https://discourse.vtk.org/t/when-using-qquickvtkrenderitem-removing-the-render-produces-a-memory-leak/8296 "2022-04-14T03:24:16Z")

</div>

I recently tested the use of QtQuick(QT5.15) with VTK9.1. I checked the routines, and it can be displayed normally based on QQuickVTKRenderItem, but I am confused about how to safely clear the display of the window When…

---

## [MatplotlibDeprecationWarning when render math equation](https://discourse.vtk.org/t/matplotlibdeprecationwarning-when-render-math-equation/8288)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 2:26pm UTC](https://discourse.vtk.org/t/matplotlibdeprecationwarning-when-render-math-equation/8288 "2022-04-13T14:26:05Z")

</div>

I want to render math equation in my application. The minimal code is: import vtkmodules.all as vtk text = vtk.vtkTextActor() text.SetInput('Cell1 | Cell2 | $\\\\sum\_{i=0}^\\\\infty x\_i$\\n12 | $\\\\sum\_{i=0}^\\\\infty x\_i$ | 2…

---

## [how to show a vtu file in unity？](https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291)

<div class="topic-metadata">

**Author:** [@chengchengjing](https://discourse.vtk.org/u/chengchengjing)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 2:22pm UTC](https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291 "2022-04-13T14:22:37Z")

</div>

The topology supported by unity is shown in the figure. Therefore, if the vtu file contains hexahedrons, can it not be displayed in unity?

---

## [How to print superscript in vtkTextActor?](https://discourse.vtk.org/t/how-to-print-superscript-in-vtktextactor/8284)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 4\
**Last updated:** [April 13, 2022, 2:08am UTC](https://discourse.vtk.org/t/how-to-print-superscript-in-vtktextactor/8284 "2022-04-13T02:08:37Z")

</div>

How to print superscript in vtkTextActor? For example: for text.SetInput('mm^2'), I hope it show: import vtkmodules.all as vtk text = vtk.vtkTextActor() text.SetInput('mm^2') text.SetDisplayPosition(100, 100) proper…

---

## [unity mesh，vtu data](https://discourse.vtk.org/t/unity-mesh-vtu-data/8289)

<div class="topic-metadata">

**Author:** [@chengchengjing](https://discourse.vtk.org/u/chengchengjing)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 7:45am UTC](https://discourse.vtk.org/t/unity-mesh-vtu-data/8289 "2022-04-13T07:45:04Z")

</div>

How to generate the corresponding unity mesh from the organizational structure of vtu data?

---

## [How to build VTK for Linux if you are a new user](https://discourse.vtk.org/t/how-to-build-vtk-for-linux-if-you-are-a-new-user/8256)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 3\
**Last updated:** [April 13, 2022, 12:51am UTC](https://discourse.vtk.org/t/how-to-build-vtk-for-linux-if-you-are-a-new-user/8256 "2022-04-13T00:51:58Z")

</div>

These instructions will will lead you step by step through the process of setting up VTK in your home folder. They were developed on a recent version of Kubuntu (21.10) so you may need to modify parts of it for your own …

---

## [QVTKOpenGLNativeWidget crash when using Mesa](https://discourse.vtk.org/t/qvtkopenglnativewidget-crash-when-using-mesa/8283)

<div class="topic-metadata">

**Author:** [@andra](https://discourse.vtk.org/u/andra)\
**Replies:** 0\
**Last updated:** [April 12, 2022, 2:16pm UTC](https://discourse.vtk.org/t/qvtkopenglnativewidget-crash-when-using-mesa/8283 "2022-04-12T14:16:42Z")

</div>

Hello, I have a problem with QVTKOpenGLNativeWidget when using software rendering mode. The application crashes when widget-\>show() is called. I am using vtk 9.0.1 with Qt6 ( 6.2.4) and Mesa driver 22.0 (Releases · pal…

---

## [vtkCaptionActor2D cannot change the background color](https://discourse.vtk.org/t/vtkcaptionactor2d-cannot-change-the-background-color/8247)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 1:55pm UTC](https://discourse.vtk.org/t/vtkcaptionactor2d-cannot-change-the-background-color/8247 "2022-04-12T13:55:11Z")

</div>

I am using vtkCaptionActor2D in my project, and I can not specify its’ background color. The minimal code to reproduce my question is: import vtkmodules.all as vtk line = vtk.vtkLineSource() line.SetPoint1(0, 0, 0) li…

---

## [Volume mapper: Cell Scalars not supported error](https://discourse.vtk.org/t/volume-mapper-cell-scalars-not-supported-error/8106)

<div class="topic-metadata">

**Author:** [@Arni](https://discourse.vtk.org/u/Arni)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 1:23pm UTC](https://discourse.vtk.org/t/volume-mapper-cell-scalars-not-supported-error/8106 "2022-04-12T13:23:26Z")

</div>

Hello, I am trying to render a volume from a vti file. The data should be a scalar field in 3D. I want regions of high value to be colored and opaque and regions of low value to be white and transparent. The first few li…

---

## [Another problem with vtkImageReslice in 2D](https://discourse.vtk.org/t/another-problem-with-vtkimagereslice-in-2d/8248)

<div class="topic-metadata">

**Author:** [@jamsoft](https://discourse.vtk.org/u/jamsoft)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 1:16pm UTC](https://discourse.vtk.org/t/another-problem-with-vtkimagereslice-in-2d/8248 "2022-04-12T13:16:33Z")

</div>

Hi all, according to solution of my topic with 3D reslicing using vtkImageReslice and transformation matrix I can rotate the reslicing cube inside the vtkExtractVOI. You can see the topic here: https://discourse.vtk.or…

---

## [Save the vtkImageReslice 2D output to file](https://discourse.vtk.org/t/save-the-vtkimagereslice-2d-output-to-file/8281)

<div class="topic-metadata">

**Author:** [@jamsoft](https://discourse.vtk.org/u/jamsoft)\
**Replies:** 2\
**Last updated:** [April 12, 2022, 12:51pm UTC](https://discourse.vtk.org/t/save-the-vtkimagereslice-2d-output-to-file/8281 "2022-04-12T12:51:51Z")

</div>

Hello friends, I have the following problem with saving the vtkImageReslice output to file using vtkBMPWriter. The output of the vtkImageReslice in the vtkImageViewer2 looks good, as demonstrated in the following image…

---

## [convert .stl fomat to .vtk format (XML VTU format and legacy ASCII format)](https://discourse.vtk.org/t/convert-stl-fomat-to-vtk-format-xml-vtu-format-and-legacy-ascii-format/8280)

<div class="topic-metadata">

**Author:** [@hye00525](https://discourse.vtk.org/u/hye00525)\
**Replies:** 1\
**Last updated:** [April 12, 2022, 11:05am UTC](https://discourse.vtk.org/t/convert-stl-fomat-to-vtk-format-xml-vtu-format-and-legacy-ascii-format/8280 "2022-04-12T11:05:21Z")

</div>

Hello, I’m trying to visualize my .stl file using glvis library (for using mfem ) .stl format is not supported in mfem, so I tried converting it to .vtk format. (using the following code) vtkSmartPointer\<vtkSTLReader\>…

---

## [Could not Find HoloplayCore External Dependencies](https://discourse.vtk.org/t/could-not-find-holoplaycore-external-dependencies/8255)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.vtk.org/u/Freya_the_Goddess)\
**Replies:** 5\
**Last updated:** [April 12, 2022, 6:24am UTC](https://discourse.vtk.org/t/could-not-find-holoplaycore-external-dependencies/8255 "2022-04-12T06:24:11Z")

</div>

Dear all, I want to know how to solve this? I am building basic VTK-9.1.0 and it is working. Now I want to build again with more options, in ccmake I am enabling several VTK Modules: RenderingOpenVR PowerCrust Poisso…

---

## [VTK Competitor: Paraview?](https://discourse.vtk.org/t/vtk-competitor-paraview/8244)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.vtk.org/u/Freya_the_Goddess)\
**Replies:** 9\
**Last updated:** [April 11, 2022, 11:24pm UTC](https://discourse.vtk.org/t/vtk-competitor-paraview/8244 "2022-04-11T23:24:22Z")

</div>

Hi all, just want to be honest in front of you all end-users and developers. I have been having hard time to make VTK work when I want to build CylinderExample, here is my post about it: I want to test and play with…

---

## [Cylinder Example Cannot be Created by CMake](https://discourse.vtk.org/t/cylinder-example-cannot-be-created-by-cmake/8233)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.vtk.org/u/Freya_the_Goddess)\
**Replies:** 45\
**Last updated:** [April 11, 2022, 10:12pm UTC](https://discourse.vtk.org/t/cylinder-example-cannot-be-created-by-cmake/8233 "2022-04-11T22:12:23Z")

</div>

I have obtain VTK’s sources locally by: git clone --recursive https://gitlab.kitware.com/vtk/vtk.git then I enter the vtk folder and build it using CMake. A build folder is created then I want to test it by following t…

---

## [Detecting edge fillet/blend vertices on a triangular surface mesh](https://discourse.vtk.org/t/detecting-edge-fillet-blend-vertices-on-a-triangular-surface-mesh/8278)

<div class="topic-metadata">

**Author:** [@drathin4](https://discourse.vtk.org/u/drathin4)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 5:39pm UTC](https://discourse.vtk.org/t/detecting-edge-fillet-blend-vertices-on-a-triangular-surface-mesh/8278 "2022-04-11T17:39:42Z")

</div>

I want to detect the vertices of an edge fillet/blend of an STL file. This fillet/blend edge forms the border of the top face of a closed surface triangular mesh. I tried using the class vtkCurvature where I experimented…

---

## [polyhedral cell](https://discourse.vtk.org/t/polyhedral-cell/8237)

<div class="topic-metadata">

**Author:** [@garcfd](https://discourse.vtk.org/u/garcfd)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 3:27pm UTC](https://discourse.vtk.org/t/polyhedral-cell/8237 "2022-04-11T15:27:02Z")

</div>

I’ve got this single polyhedral cell, in the ascii vtk file (see image), Im confused why it says CELLS “2” 38 (when there is just one cell)? I guess the connectivity data is all 7 faces of the polyhedral cell. Also is…

---

## [Issue compiling software](https://discourse.vtk.org/t/issue-compiling-software/8258)

<div class="topic-metadata">

**Author:** [@DomUoA](https://discourse.vtk.org/u/DomUoA)\
**Replies:** 2\
**Last updated:** [April 11, 2022, 1:36pm UTC](https://discourse.vtk.org/t/issue-compiling-software/8258 "2022-04-11T13:36:05Z")

</div>

Hi there, I am installing some software (compucell3d) using cmake and make. This sotware requires vtk. I have installed vtk 9.1 onto my linux machine. I am getting the following error: The “vtkpythonutil.h” header f…

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

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