# Support

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

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

**Page:** 83

---

## [How to modify a vts file using another vts file! (structuredGrid)](https://discourse.vtk.org/t/how-to-modify-a-vts-file-using-another-vts-file-structuredgrid/7874)

<div class="topic-metadata">

**Author:** [@John2045](https://discourse.vtk.org/u/John2045)\
**Replies:** 4\
**Last updated:** [February 20, 2022, 6:22pm UTC](https://discourse.vtk.org/t/how-to-modify-a-vts-file-using-another-vts-file-structuredgrid/7874 "2022-02-20T18:22:20Z")

</div>

Hi :slight\_smile: I am new to the community here, and I know that my question could be stupid :frowning: The problem: I want to open a “file1.vts” file and modify the “vtkPoints” using another “file2.vts” file. After t…

---

## [setting minimum leader glyph size](https://discourse.vtk.org/t/setting-minimum-leader-glyph-size/7882)

<div class="topic-metadata">

**Author:** [@Kent](https://discourse.vtk.org/u/Kent)\
**Replies:** 0\
**Last updated:** [February 20, 2022, 12:13pm UTC](https://discourse.vtk.org/t/setting-minimum-leader-glyph-size/7882 "2022-02-20T12:13:36Z")

</div>

Hi, I am using SetMaximumLeaderGlyphSize for a caption widget arrow to make sure the arrow head does not become too large when zooming out. However, the arrow head becomes very tiny when zooming in. There seems to be …

---

## [How to select cells on the outermost layer given a vector?](https://discourse.vtk.org/t/how-to-select-cells-on-the-outermost-layer-given-a-vector/7880)

<div class="topic-metadata">

**Author:** [@Cameron](https://discourse.vtk.org/u/Cameron)\
**Replies:** 0\
**Last updated:** [February 19, 2022, 4:52am UTC](https://discourse.vtk.org/t/how-to-select-cells-on-the-outermost-layer-given-a-vector/7880 "2022-02-19T04:52:31Z")

</div>

Hi VTK community, I have a unstructured data (see the following) where I need to select the cells which are the outermost layer by the projection of a given vector N. I am currently looking into vtkHardwareSelect an…

---

## [Is it possible to set thickness for vtkPolygon](https://discourse.vtk.org/t/is-it-possible-to-set-thickness-for-vtkpolygon/7866)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 11:13am UTC](https://discourse.vtk.org/t/is-it-possible-to-set-thickness-for-vtkpolygon/7866 "2022-02-18T11:13:22Z")

</div>

I want to use vtkPolygon in my project, and the code is pasted as following: import vtkmodules.all as vtk polyData = vtk.vtkPolyData() vps = vtk.vtkPoints() polygon = vtk.vtkPolygon() polygon.GetPointIds().SetNumberO…

---

## [How to trans dicom image to cv::mat](https://discourse.vtk.org/t/how-to-trans-dicom-image-to-cv-mat/7871)

<div class="topic-metadata">

**Author:** [@Eric-JH](https://discourse.vtk.org/u/Eric-JH)\
**Replies:** 0\
**Last updated:** [February 18, 2022, 9:06am UTC](https://discourse.vtk.org/t/how-to-trans-dicom-image-to-cv-mat/7871 "2022-02-18T09:06:28Z")

</div>

After reading a dicom file, I want to process the image with opencv. So I tried the followed code and errors occured in reader-\>GetOutput()-\>GetDimensions(dims); and int\* pixel = (int\*…

---

## [I want to display an image in a 3d rectangle with four corner points,](https://discourse.vtk.org/t/i-want-to-display-an-image-in-a-3d-rectangle-with-four-corner-points/7850)

<div class="topic-metadata">

**Author:** [@loufear](https://discourse.vtk.org/u/loufear)\
**Replies:** 5\
**Last updated:** [February 18, 2022, 1:23am UTC](https://discourse.vtk.org/t/i-want-to-display-an-image-in-a-3d-rectangle-with-four-corner-points/7850 "2022-02-18T01:23:21Z")

</div>

I used tkTexture but it doesn’t work well, I need help thanks

---

## [Do any vtkMultiBlockDataSets compatible filters consider visibility?](https://discourse.vtk.org/t/do-any-vtkmultiblockdatasets-compatible-filters-consider-visibility/7864)

<div class="topic-metadata">

**Author:** [@bheld](https://discourse.vtk.org/u/bheld)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 7:31pm UTC](https://discourse.vtk.org/t/do-any-vtkmultiblockdatasets-compatible-filters-consider-visibility/7864 "2022-02-17T19:31:32Z")

</div>

I am using vtkMultiBlockDataSets and vtkCompositePolyDataMapper2. The support that vtkCompositeDataDisplayAttributes is very elegant for coloring, visibility, etc. but I’m trying to find an efficient way to handle invis…

---

## [Extract outside surface](https://discourse.vtk.org/t/extract-outside-surface/3450)

<div class="topic-metadata">

**Author:** [@pourarab](https://discourse.vtk.org/u/pourarab)\
**Replies:** 4\
**Last updated:** [February 17, 2022, 2:59pm UTC](https://discourse.vtk.org/t/extract-outside-surface/3450 "2022-02-17T14:59:47Z")

</div>

Hello, I’m trying to create a tube around a line. I used vtkTubeFilter to do this, but when there is a closed angle the result will be like this : I want to keep only the outside surface of this tube. How can i remov…

---

## [slicing stl model](https://discourse.vtk.org/t/slicing-stl-model/7858)

<div class="topic-metadata">

**Author:** [@yassir\_mohammed](https://discourse.vtk.org/u/yassir_mohammed)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 1:51am UTC](https://discourse.vtk.org/t/slicing-stl-model/7858 "2022-02-17T01:51:57Z")

</div>

Hi everyone i am new user to vtk, and i would like to cut stl human model to multiple slice and save them as tiff image series with correct dimension ( means that when i read tiff image series give me the same model) i…

---

## [Pick and move a glypth point](https://discourse.vtk.org/t/pick-and-move-a-glypth-point/7846)

<div class="topic-metadata">

**Author:** [@sarahAdams](https://discourse.vtk.org/u/sarahAdams)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 12:32pm UTC](https://discourse.vtk.org/t/pick-and-move-a-glypth-point/7846 "2022-02-15T12:32:01Z")

</div>

I am new to VTK and I have been struggling solving this for a while. I am trying to develop a software where I pick 5 points from a pointclouds and from these points I draw a line that connects the points and a glyph aro…

---

## [Color Surface with thinkness values](https://discourse.vtk.org/t/color-surface-with-thinkness-values/7749)

<div class="topic-metadata">

**Author:** [@LuisFco](https://discourse.vtk.org/u/LuisFco)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 10:39am UTC](https://discourse.vtk.org/t/color-surface-with-thinkness-values/7749 "2022-02-15T10:39:35Z")

</div>

Hi, I’m trying to color a surface generated from vtkImageData using the values from another vtkImageData. This is the code to generate the surface: surface = vtk.vtkMarchingCubes() surface.SetInputData(imgstenc.GetOutp…

---

## [Transfer cell/face zone names from Fluent to Paraview](https://discourse.vtk.org/t/transfer-cell-face-zone-names-from-fluent-to-paraview/7842)

<div class="topic-metadata">

**Author:** [@remigius](https://discourse.vtk.org/u/remigius)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 6:46am UTC](https://discourse.vtk.org/t/transfer-cell-face-zone-names-from-fluent-to-paraview/7842 "2022-02-15T06:46:56Z")

</div>

Hi, Is it possible to transfer a cell/face zone names from Fluent to Paraview with the use of VTK? Do you have any ideas where to look for that?

---

## [Unstructured grid from randomly disributed points](https://discourse.vtk.org/t/unstructured-grid-from-randomly-disributed-points/7222)

<div class="topic-metadata">

**Author:** [@remigius](https://discourse.vtk.org/u/remigius)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 6:44am UTC](https://discourse.vtk.org/t/unstructured-grid-from-randomly-disributed-points/7222 "2022-02-15T06:44:55Z")

</div>

HI, I am trying to create an unstructured grid from a set of points loaded from csv file. The points come form Anys Fluent simulation. For a very basic case I consider only a simple 2D rectangle where I calculate only h…

---

## [How to interpolate array data using gauss points (quadrature)](https://discourse.vtk.org/t/how-to-interpolate-array-data-using-gauss-points-quadrature/7765)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 1:02pm UTC](https://discourse.vtk.org/t/how-to-interpolate-array-data-using-gauss-points-quadrature/7765 "2022-02-03T13:02:11Z")

</div>

I need to interpolate a result (stress) using gauss points. I understand that I should use Quadrature Scheme. I’ve created a quadrature definition: vtkNew gauss\_points\_triangle; gauss\_points\_triangle-\>Initialize(VTK\_…

---

## [calculate the signed distance field of enclosed surface with vtkImplicitPolyDataDistance](https://discourse.vtk.org/t/calculate-the-signed-distance-field-of-enclosed-surface-with-vtkimplicitpolydatadistance/7818)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 2:49pm UTC](https://discourse.vtk.org/t/calculate-the-signed-distance-field-of-enclosed-surface-with-vtkimplicitpolydatadistance/7818 "2022-02-11T14:49:37Z")

</div>

Hi guys~ I want to calculate the signed distance field of a polydata, which has about 70000 points and 140000 cells, AND i set the sampling dimension with 100 \* 100 \* 100. It takes more than 60 seconds, is there existin…

---

## [Mysterious points found when clipping a Delaunay filtered model](https://discourse.vtk.org/t/mysterious-points-found-when-clipping-a-delaunay-filtered-model/7805)

<div class="topic-metadata">

**Author:** [@dwventer](https://discourse.vtk.org/u/dwventer)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 4:22am UTC](https://discourse.vtk.org/t/mysterious-points-found-when-clipping-a-delaunay-filtered-model/7805 "2022-02-11T04:22:21Z")

</div>

Hi, I have a strange problem that I do not understand why it is happening. I have a ply file model that I crop to a small section using vtkClipPolyData and vtkPlanes. This is the resulting clipped image: I then run a…

---

## [Calculating the circumference from cross sectional cut](https://discourse.vtk.org/t/calculating-the-circumference-from-cross-sectional-cut/7793)

<div class="topic-metadata">

**Author:** [@dwventer](https://discourse.vtk.org/u/dwventer)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 4:13am UTC](https://discourse.vtk.org/t/calculating-the-circumference-from-cross-sectional-cut/7793 "2022-02-11T04:13:14Z")

</div>

Hello, I’m using a vtkCutter to cut a cross-section from a poly data object using a vtkPlane as the cut function. The result is a disc-like shape seen below: I can use vtkMassProperties and get the surface area of th…

---

## [Rendering/interaction issues with VTK 8.2 (Java) + JOGL on Windows](https://discourse.vtk.org/t/rendering-interaction-issues-with-vtk-8-2-java-jogl-on-windows/2781)

<div class="topic-metadata">

**Author:** [@Marco](https://discourse.vtk.org/u/Marco)\
**Replies:** 28\
**Last updated:** [February 10, 2022, 2:48pm UTC](https://discourse.vtk.org/t/rendering-interaction-issues-with-vtk-8-2-java-jogl-on-windows/2781 "2022-02-10T14:48:28Z")

</div>

Hi all. I am using VTK 8.2 from a Java application. I am trying to use JOGL as a mechanism to have VTK render within my Java application, in the effort of having a cross-platform rendering pipeline working also under M…

---

## [Does vtkCellPicker conside point size?](https://discourse.vtk.org/t/does-vtkcellpicker-conside-point-size/7802)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [February 10, 2022, 1:20am UTC](https://discourse.vtk.org/t/does-vtkcellpicker-conside-point-size/7802 "2022-02-10T01:20:59Z")

</div>

Please have a look for the following code: import vtkmodules.all as vtk polyData = vtk.vtkPolyData() polyData.SetPoints(vtk.vtkPoints()) polyData.SetVerts(vtk.vtkCellArray()) polyData.GetPoints().InsertNextPoint(1, 1…

---

## [How to get the transformation values after applying vtkProcrustesAlignmentFilter](https://discourse.vtk.org/t/how-to-get-the-transformation-values-after-applying-vtkprocrustesalignmentfilter/7776)

<div class="topic-metadata">

**Author:** [@dalbenzioG](https://discourse.vtk.org/u/dalbenzioG)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 10:04pm UTC](https://discourse.vtk.org/t/how-to-get-the-transformation-values-after-applying-vtkprocrustesalignmentfilter/7776 "2022-02-09T22:04:28Z")

</div>

Hello, I am using vtkProcrustesAlignmentFilter to align two polydata to their mutual mean. After applying this filter, is it possible to get the information of their transformation values -rotation and translation in pa…

---

## [vtkTextActor doesn't show multiple lines](https://discourse.vtk.org/t/vtktextactor-doesnt-show-multiple-lines/3482)

<div class="topic-metadata">

**Author:** [@Marcin\_Krotkiewski](https://discourse.vtk.org/u/Marcin_Krotkiewski)\
**Replies:** 6\
**Last updated:** [February 9, 2022, 8:57pm UTC](https://discourse.vtk.org/t/vtktextactor-doesnt-show-multiple-lines/3482 "2022-02-09T20:57:31Z")

</div>

I am using VTK 9 through the Java bindings. It seems that I cannot force the vtkTextActor to display multiple lines of text. Instead, the newline character “\\n” is displayed literally (attached pic). The same is true for…

---

## [I want to use VTK on Android.](https://discourse.vtk.org/t/i-want-to-use-vtk-on-android/945)

<div class="topic-metadata">

**Author:** [@ruanwenfeng](https://discourse.vtk.org/u/ruanwenfeng)\
**Replies:** 9\
**Last updated:** [February 9, 2022, 4:27pm UTC](https://discourse.vtk.org/t/i-want-to-use-vtk-on-android/945 "2022-02-09T16:27:54Z")

</div>

\[10/1033\] Building CXX object IO/Export/CMakeFiles/vtkIOExport.dir/vtkGL2PSExporter.cxx.o FAILED: IO/Export/CMakeFiles/vtkIOExport.dir/vtkGL2PSExporter.cxx.o D:\\Android\\ndk-bundle\\toolchains\\llvm\\prebuilt\\windows-x86\_6…

---

## [Difficulty in resizing/moving QDockWidgets in a PyQt5 app that contains a QVTKRenderWindowInteractor, on MacOS only.](https://discourse.vtk.org/t/difficulty-in-resizing-moving-qdockwidgets-in-a-pyqt5-app-that-contains-a-qvtkrenderwindowinteractor-on-macos-only/7763)

<div class="topic-metadata">

**Author:** [@p-j-smith](https://discourse.vtk.org/u/p-j-smith)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 11:51am UTC](https://discourse.vtk.org/t/difficulty-in-resizing-moving-qdockwidgets-in-a-pyqt5-app-that-contains-a-qvtkrenderwindowinteractor-on-macos-only/7763 "2022-02-03T11:51:51Z")

</div>

Hi, I’m building an application using PyQt5 that contains a QVTKRenderWindowInteractor widget within a QDockWidget. On MacOS, adding the QVTKRenderWindowInteractor makes it very difficult to resize or move the docks. H…

---

## [Proper use of vtkImageReslice?](https://discourse.vtk.org/t/proper-use-of-vtkimagereslice/7797)

<div class="topic-metadata">

**Author:** [@MJJ](https://discourse.vtk.org/u/MJJ)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 10:24pm UTC](https://discourse.vtk.org/t/proper-use-of-vtkimagereslice/7797 "2022-02-08T22:24:19Z")

</div>

I have a vtkImageData called img that I want to use the vtkImageReslice algorithm on. I want to reslice this image data to create a subimage that has its voxels aligned to a different coordinate system. To do this i am…

---

## [How to set color and opacity transfer functions for a colored Tiff Volume](https://discourse.vtk.org/t/how-to-set-color-and-opacity-transfer-functions-for-a-colored-tiff-volume/7767)

<div class="topic-metadata">

**Author:** [@totte\_karlsson](https://discourse.vtk.org/u/totte_karlsson)\
**Replies:** 2\
**Last updated:** [February 8, 2022, 6:38pm UTC](https://discourse.vtk.org/t/how-to-set-color-and-opacity-transfer-functions-for-a-colored-tiff-volume/7767 "2022-02-08T18:38:39Z")

</div>

Hello, We are working on a Neuron tracing application. At this stage, visualizing neuron model data (as simple polylines and spheres for the soma) works nicely. We are now at a stage where we want to look at the neuron…

---

## [How to get hovering event with vtkInteractorStyle ?](https://discourse.vtk.org/t/how-to-get-hovering-event-with-vtkinteractorstyle/7687)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 12\
**Last updated:** [February 8, 2022, 2:00pm UTC](https://discourse.vtk.org/t/how-to-get-hovering-event-with-vtkinteractorstyle/7687 "2022-02-08T14:00:11Z")

</div>

Hello everyone, I would like to interact with a vtkRenderer to pick object when I am hovering an object. Unfortunately onMouseMove (from vtkInteractorStyle) works only when a real click happens. Is there a way to have m…

---

## [Can I compile VTk 8.2.0 without qt?](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769)

<div class="topic-metadata">

**Author:** [@critchey](https://discourse.vtk.org/u/critchey)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 5:48am UTC](https://discourse.vtk.org/t/can-i-compile-vtk-8-2-0-without-qt/7769 "2022-02-08T05:48:55Z")

</div>

I’ve got vtk compiled using the standard cmake flags on osx, but it appears the dynlib files are linked to qt. I gave a look through the flags in ccmake, even the “advanced” flags and options like Module\_vtkGUISupportQt …

---

## [Setting PATH environment variables for VTK build tree on Windows](https://discourse.vtk.org/t/setting-path-environment-variables-for-vtk-build-tree-on-windows/7788)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 12:14am UTC](https://discourse.vtk.org/t/setting-path-environment-variables-for-vtk-build-tree-on-windows/7788 "2022-02-08T00:14:51Z")

</div>

Ok I have solved the not finding numpy issue in the case of vtkpython. You have to add the path in the virtual environment path (\\Lib\\site-packages) to %PYTHONPATH% to get it.

---

## [vtkResliceCursorWidget does not move as quickly as the mouse](https://discourse.vtk.org/t/vtkreslicecursorwidget-does-not-move-as-quickly-as-the-mouse/7784)

<div class="topic-metadata">

**Author:** [@macbao](https://discourse.vtk.org/u/macbao)\
**Replies:** 0\
**Last updated:** [February 7, 2022, 6:40am UTC](https://discourse.vtk.org/t/vtkreslicecursorwidget-does-not-move-as-quickly-as-the-mouse/7784 "2022-02-07T06:40:55Z")

</div>

select the center of thr Cross Line,when the mouse move,The cross line can not catch up the mouse

---

## [Nvidia-smi](https://discourse.vtk.org/t/nvidia-smi/7780)

<div class="topic-metadata">

**Author:** [@fvitello](https://discourse.vtk.org/u/fvitello)\
**Replies:** 0\
**Last updated:** [February 5, 2022, 9:32am UTC](https://discourse.vtk.org/t/nvidia-smi/7780 "2022-02-05T09:32:04Z")

</div>

Hi all, i am trying to debug my code understanding if I am using the Gpu. Is it normal that my application is not shown in the Nvidia-smi output? Thanks

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

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