# Support

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

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

**Page:** 81

---

## [How to add a QComboBox in QVTKOpenGLNativeWidget?](https://discourse.vtk.org/t/how-to-add-a-qcombobox-in-qvtkopenglnativewidget/8081)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 6:04am UTC](https://discourse.vtk.org/t/how-to-add-a-qcombobox-in-qvtkopenglnativewidget/8081 "2022-03-18T06:04:21Z")

</div>

Now, I need to add a QComboBox in QVTKOpenGLNativeWidget. However, I fand the signal-slot do not work. The code is: #include \<qapplication.h\> #include \<qsurfaceformat.h\> #include \<QVTKOpenGLNativeWidget.h\> #include \<qc…

---

## [How to define different sections in an Unstructured Grid?](https://discourse.vtk.org/t/how-to-define-different-sections-in-an-unstructured-grid/8076)

<div class="topic-metadata">

**Author:** [@jaeg1710](https://discourse.vtk.org/u/jaeg1710)\
**Replies:** 3\
**Last updated:** [March 17, 2022, 2:13pm UTC](https://discourse.vtk.org/t/how-to-define-different-sections-in-an-unstructured-grid/8076 "2022-03-17T14:13:22Z")

</div>

Hello, i have a mesh from my finite-elements-analysis which consists of two sections. Now i am trying to write a separate .vtk file for each section so i can view them in paraview. Problem is the two section share the s…

---

## [Picking among many Images in vtkImageStack](https://discourse.vtk.org/t/picking-among-many-images-in-vtkimagestack/8049)

<div class="topic-metadata">

**Author:** [@Valentin\_Regueiro](https://discourse.vtk.org/u/Valentin_Regueiro)\
**Replies:** 6\
**Last updated:** [March 16, 2022, 3:11pm UTC](https://discourse.vtk.org/t/picking-among-many-images-in-vtkimagestack/8049 "2022-03-16T15:11:01Z")

</div>

Hello everyone, I have a renderer displaying a vtkImageStack with a bunch of vtkImageSlices (segmentations) with transparent backgrounds. All of the slices should be pickable so I set them all on the same (active) layer…

---

## [How to use vtk to display the figures on my computer from a remote server?](https://discourse.vtk.org/t/how-to-use-vtk-to-display-the-figures-on-my-computer-from-a-remote-server/8059)

<div class="topic-metadata">

**Author:** [@Cc-YY](https://discourse.vtk.org/u/Cc-YY)\
**Replies:** 4\
**Last updated:** [March 16, 2022, 1:31pm UTC](https://discourse.vtk.org/t/how-to-use-vtk-to-display-the-figures-on-my-computer-from-a-remote-server/8059 "2022-03-16T13:31:14Z")

</div>

Hello, I’m using vscode with Remote X11 extension and mobaXterm to connect the linux server and display the figures on my computer. It works well when I use the functions like matplotlib.pyplot.imshow(). But when I use…

---

## [Visualize Field data python](https://discourse.vtk.org/t/visualize-field-data-python/8066)

<div class="topic-metadata">

**Author:** [@imomnipresent](https://discourse.vtk.org/u/imomnipresent)\
**Replies:** 0\
**Last updated:** [March 16, 2022, 8:24am UTC](https://discourse.vtk.org/t/visualize-field-data-python/8066 "2022-03-16T08:24:41Z")

</div>

I would like to visualize the displacement field data on my unstructured grid created using vtkPoints() in python. I have the displacement field data at each point. How can i create a vtu file with all these data (point …

---

## [Extract specified contour from vtkImageData](https://discourse.vtk.org/t/extract-specified-contour-from-vtkimagedata/8055)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 0\
**Last updated:** [March 15, 2022, 7:24am UTC](https://discourse.vtk.org/t/extract-specified-contour-from-vtkimagedata/8055 "2022-03-15T07:24:37Z")

</div>

i have a vtkImageData, and a contour polydata. please refer to below picture. the white contour, which is refered by red arrow represent clipping contour clips the volume data. i want to get the target vtkimagedata …

---

## [9 node quadrilateral file format](https://discourse.vtk.org/t/9-node-quadrilateral-file-format/8036)

<div class="topic-metadata">

**Author:** [@jman87](https://discourse.vtk.org/u/jman87)\
**Replies:** 1\
**Last updated:** [March 14, 2022, 7:42am UTC](https://discourse.vtk.org/t/9-node-quadrilateral-file-format/8036 "2022-03-14T07:42:19Z")

</div>

Hi all, Can anyone tell me if there is a 9-node quad element supported in vtk? And if so, what the node numbering and element type is? I know there’s a 27-node hex supported that is not yet documented in the User’s Gui…

---

## [Where to find treemesh.vtk](https://discourse.vtk.org/t/where-to-find-treemesh-vtk/8037)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 2\
**Last updated:** [March 13, 2022, 7:35pm UTC](https://discourse.vtk.org/t/where-to-find-treemesh-vtk/8037 "2022-03-13T19:35:20Z")

</div>

I can’t seem to find where I can download files like treemesh.vtk as discussed in the ClipUnstructuredGridWithPlane example. Can someone point me to the location?

---

## [How to define different unstructured grids that share the same points (also for different time steps)](https://discourse.vtk.org/t/how-to-define-different-unstructured-grids-that-share-the-same-points-also-for-different-time-steps/8041)

<div class="topic-metadata">

**Author:** [@bva99](https://discourse.vtk.org/u/bva99)\
**Replies:** 0\
**Last updated:** [March 12, 2022, 4:02pm UTC](https://discourse.vtk.org/t/how-to-define-different-unstructured-grids-that-share-the-same-points-also-for-different-time-steps/8041 "2022-03-12T16:02:44Z")

</div>

Is it possible to define different unstructured grids that share the same Points, without having to write the points in each file? This is supposing only one time-step. I imagine that vtkMultiPieceDataSet should do so, …

---

## [Two renderer on same layer](https://discourse.vtk.org/t/two-renderer-on-same-layer/8030)

<div class="topic-metadata">

**Author:** [@DLevy](https://discourse.vtk.org/u/DLevy)\
**Replies:** 2\
**Last updated:** [March 11, 2022, 9:24pm UTC](https://discourse.vtk.org/t/two-renderer-on-same-layer/8030 "2022-03-11T21:24:21Z")

</div>

Hello, im trying to display a point cloud and the axis/ground/various static data. I can create my points and axis without any issue. My problem is that the lines that represent the axis are always in front, even if th…

---

## [vtkImageResliceMapper and ResampleToScreenPixels on HiDPI display](https://discourse.vtk.org/t/vtkimagereslicemapper-and-resampletoscreenpixels-on-hidpi-display/8018)

<div class="topic-metadata">

**Author:** [@simonesneault](https://discourse.vtk.org/u/simonesneault)\
**Replies:** 6\
**Last updated:** [March 11, 2022, 3:07pm UTC](https://discourse.vtk.org/t/vtkimagereslicemapper-and-resampletoscreenpixels-on-hidpi-display/8018 "2022-03-11T15:07:00Z")

</div>

Hello community, We have done the migration from the old vtkImagePlaneWidget to the less old vtkImageResliceMapper in our software. This greatly improve the quality of the rendering when we are zooming, but on some setu…

---

## [Produce VTK unstuctured grid output without copying data into VTK](https://discourse.vtk.org/t/produce-vtk-unstuctured-grid-output-without-copying-data-into-vtk/7980)

<div class="topic-metadata">

**Author:** [@Luke\_Dalessandro](https://discourse.vtk.org/u/Luke_Dalessandro)\
**Replies:** 3\
**Last updated:** [March 11, 2022, 3:05pm UTC](https://discourse.vtk.org/t/produce-vtk-unstuctured-grid-output-without-copying-data-into-vtk/7980 "2022-03-11T15:05:52Z")

</div>

We’ve been using VTK/ParaView for a couple of years now as an output format for our simulations for a-posteriori visualization an analysis. The current solution is to copy all of the relevant simulation data out of our s…

---

## [Python wrappers for Qt model adapters](https://discourse.vtk.org/t/python-wrappers-for-qt-model-adapters/8022)

<div class="topic-metadata">

**Author:** [@manatee](https://discourse.vtk.org/u/manatee)\
**Replies:** 0\
**Last updated:** [March 10, 2022, 4:34pm UTC](https://discourse.vtk.org/t/python-wrappers-for-qt-model-adapters/8022 "2022-03-10T16:34:49Z")

</div>

Hi all, are there any plans to provide wrappers for Qt model adapters anytime soon? The one I’m most interested in is QVTKTableModelAdapter. I tried building from source with Qt, but haven’t found them. Should that hav…

---

## [How to add color to vtkUnstructuredGrid vtkTetra data not add color to its point](https://discourse.vtk.org/t/how-to-add-color-to-vtkunstructuredgrid-vtktetra-data-not-add-color-to-its-point/8024)

<div class="topic-metadata">

**Author:** [@xiaoerlaigeid](https://discourse.vtk.org/u/xiaoerlaigeid)\
**Replies:** 2\
**Last updated:** [March 11, 2022, 3:49am UTC](https://discourse.vtk.org/t/how-to-add-color-to-vtkunstructuredgrid-vtktetra-data-not-add-color-to-its-point/8024 "2022-03-11T03:49:54Z")

</div>

I want to add colour to the vtkTetra itself, not its points. Could anyone give me a example? This example is add color to the points vtk-examples/Cube.py at aa1716a165150f338f6182ce1ac174334f3b9003 · Kitware/vtk-example…

---

## [CellData removed after FlyingEdges3d](https://discourse.vtk.org/t/celldata-removed-after-flyingedges3d/8015)

<div class="topic-metadata">

**Author:** [@sassafrass](https://discourse.vtk.org/u/sassafrass)\
**Replies:** 7\
**Last updated:** [March 10, 2022, 8:49pm UTC](https://discourse.vtk.org/t/celldata-removed-after-flyingedges3d/8015 "2022-03-10T20:49:12Z")

</div>

I am relatively new user of VTK. I’m rendering an isosurface with the following procedure: 1 Create vtkUnisgnedCharArray with the scalars on a 3D grid. 2 Create an vtkImageData and set the PointData to the scalars arr…

---

## [a question about vtkImplicitFunction::EvaluateGradient](https://discourse.vtk.org/t/a-question-about-vtkimplicitfunction-evaluategradient/7999)

<div class="topic-metadata">

**Author:** [@KeyboardMan](https://discourse.vtk.org/u/KeyboardMan)\
**Replies:** 10\
**Last updated:** [March 10, 2022, 6:02am UTC](https://discourse.vtk.org/t/a-question-about-vtkimplicitfunction-evaluategradient/7999 "2022-03-10T06:02:15Z")

</div>

The description on the documentation is "Evaluate function gradient at position x-y-z and pass back vector.But I don’t understand what it does. I created a new class，inherited from vtkImplicitFunction,i overrid EvaluateG…

---

## [How to use vtkPlaneSource to control width and height rather than actor.SetScale(..)?](https://discourse.vtk.org/t/how-to-use-vtkplanesource-to-control-width-and-height-rather-than-actor-setscale/8008)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [March 9, 2022, 8:52am UTC](https://discourse.vtk.org/t/how-to-use-vtkplanesource-to-control-width-and-height-rather-than-actor-setscale/8008 "2022-03-09T08:52:18Z")

</div>

All example is using SetScale to do it,how to use vtkPlaneSource itself to set width and height,is it possible?

---

## [How to set the camera's orientation back to (0,0,0)?](https://discourse.vtk.org/t/how-to-set-the-cameras-orientation-back-to-0-0-0/7984)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 3\
**Last updated:** [March 9, 2022, 8:49am UTC](https://discourse.vtk.org/t/how-to-set-the-cameras-orientation-back-to-0-0-0/7984 "2022-03-09T08:49:14Z")

</div>

Hello,I have tried like this: print("Before ", renderer.GetActiveCamera().GetOrientation()) ori = renderer.GetActiveCamera().GetOrientation() renderer.GetActiveCamera().Elevation(0 - ori\[0\]) renderer.GetActiveCamera…

---

## [vtkRedistributeDataSetFilter - cuts to MPI ranks](https://discourse.vtk.org/t/vtkredistributedatasetfilter-cuts-to-mpi-ranks/7927)

<div class="topic-metadata">

**Author:** [@klevtsov](https://discourse.vtk.org/u/klevtsov)\
**Replies:** 4\
**Last updated:** [March 9, 2022, 3:18am UTC](https://discourse.vtk.org/t/vtkredistributedatasetfilter-cuts-to-mpi-ranks/7927 "2022-03-09T03:18:00Z")

</div>

Hi, I’m using vtkRedistributeDataSetFilter to partition an input mesh across N MPI ranks. I then need to establish for each rank a set of candidate “neighbor” ranks that might contain shared vertices. When N is a power …

---

## [vtkSelectPolyData - vtkClipPolyData](https://discourse.vtk.org/t/vtkselectpolydata-vtkclippolydata/3315)

<div class="topic-metadata">

**Author:** [@hannah](https://discourse.vtk.org/u/hannah)\
**Replies:** 6\
**Last updated:** [March 8, 2022, 8:15pm UTC](https://discourse.vtk.org/t/vtkselectpolydata-vtkclippolydata/3315 "2022-03-08T20:15:29Z")

</div>

Hello. I am using vtkSelectPolyData and vtkClipPolyData for filling (colour) intersection area, but I am getting an error: “vtkSelectPolyData (0x8920590): Can’t follow edge”, and at the end it could not color the area. …

---

## [libQVTKWidgetPlugin.so for QtCreator](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 8\
**Last updated:** [March 8, 2022, 1:55pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993 "2022-03-08T13:55:15Z")

</div>

https://vtk.org/Wiki/VTK/Tutorials/QtSetup talks about the qt creator plugin. I can’t seem to find it when I build with QT5 enabled. Is the QtSetup webpage out of date or have I missed something during my build?

---

## [Will vtkHDF replace the existing vtk XML format?](https://discourse.vtk.org/t/will-vtkhdf-replace-the-existing-vtk-xml-format/7886)

<div class="topic-metadata">

**Author:** [@bkwilliams](https://discourse.vtk.org/u/bkwilliams)\
**Replies:** 2\
**Last updated:** [March 8, 2022, 11:43am UTC](https://discourse.vtk.org/t/will-vtkhdf-replace-the-existing-vtk-xml-format/7886 "2022-03-08T11:43:48Z")

</div>

Interested to know with vtkHDF coming in VTK 10.0 whether this is intended to replace the existing XML format? I assume vtkHDF has both read and write methods.

---

## [duplicated triangles after applying removeDuplicatePolyFilter](https://discourse.vtk.org/t/duplicated-triangles-after-applying-removeduplicatepolyfilter/6164)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 5\
**Last updated:** [March 8, 2022, 11:40am UTC](https://discourse.vtk.org/t/duplicated-triangles-after-applying-removeduplicatepolyfilter/6164 "2022-03-08T11:40:13Z")

</div>

Hi, I’m creating a polydata after triangulation. I want to remove all duplicated triangles. After using remove DuplicatePolyFilter I still got the message that the polydata has duplicated triangles. How can I perfectl…

---

## [vtkGeometryFilter Update() speed](https://discourse.vtk.org/t/vtkgeometryfilter-update-speed/8002)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 3:12pm UTC](https://discourse.vtk.org/t/vtkgeometryfilter-update-speed/8002 "2022-03-07T15:12:34Z")

</div>

I have a Delaunay mesh (Unstructured Grid) which I need to convert to a Polydata. However, this conversion can take quite a while (70,000 points takes approx 25 seconds). In my usage, I often need to regenerate this Dela…

---

## [how to make “reset()” more effective](https://discourse.vtk.org/t/how-to-make-reset-more-effective/7997)

<div class="topic-metadata">

**Author:** [@Clifford](https://discourse.vtk.org/u/Clifford)\
**Replies:** 1\
**Last updated:** [March 7, 2022, 10:00am UTC](https://discourse.vtk.org/t/how-to-make-reset-more-effective/7997 "2022-03-07T10:00:31Z")

</div>

Here’s the part of my code: def anim(): ms = pts.mlab\_source for i in range(490): scalars = X\_minMax\[:,i+1\] print(i) ms.reset(scalars=scalars) …

---

## [About vtkCellArray::InsertNextCell()](https://discourse.vtk.org/t/about-vtkcellarray-insertnextcell/7969)

<div class="topic-metadata">

**Author:** [@zxlice](https://discourse.vtk.org/u/zxlice)\
**Replies:** 3\
**Last updated:** [March 7, 2022, 12:45am UTC](https://discourse.vtk.org/t/about-vtkcellarray-insertnextcell/7969 "2022-03-07T00:45:07Z")

</div>

Why undefined error? line-\>GetPointIds()-\>SetId(0, 0); line-\>GetPointIds()-\>SetId(0, 1); vtkNew\<vtkCellArray\> cells; cells-\>InsertNextCell(line); build information: vtk-9.1 with MinGW8.1 Here is the compile error inf…

---

## [volume rendering independent component color problem](https://discourse.vtk.org/t/volume-rendering-independent-component-color-problem/7989)

<div class="topic-metadata">

**Author:** [@Mohamed\_Zidan](https://discourse.vtk.org/u/Mohamed_Zidan)\
**Replies:** 0\
**Last updated:** [March 6, 2022, 2:08pm UTC](https://discourse.vtk.org/t/volume-rendering-independent-component-color-problem/7989 "2022-03-06T14:08:09Z")

</div>

Hello, I am using independent component with vtkOpenGLGPUVolumeRayCastMapper or vtkGPUVolumeRayCastMapper to represent the volume and the labels. vtk version is 9.1 the first independent component is the labels and it…

---

## [How to generate contours on points without interpolation to cells?](https://discourse.vtk.org/t/how-to-generate-contours-on-points-without-interpolation-to-cells/7985)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 1\
**Last updated:** [March 6, 2022, 1:16pm UTC](https://discourse.vtk.org/t/how-to-generate-contours-on-points-without-interpolation-to-cells/7985 "2022-03-06T13:16:51Z")

</div>

I have a polydata with quad mesh and scalar double values on points. When I generate contours with vtkContourFilter, I get contours that lie on the cells and seems to be interpolated by average. Is it possible to generat…

---

## [AddCustomTerminationCallback from vtkStreamTracer in Python](https://discourse.vtk.org/t/addcustomterminationcallback-from-vtkstreamtracer-in-python/7986)

<div class="topic-metadata">

**Author:** [@MatthewFlamm](https://discourse.vtk.org/u/MatthewFlamm)\
**Replies:** 0\
**Last updated:** [March 5, 2022, 10:14pm UTC](https://discourse.vtk.org/t/addcustomterminationcallback-from-vtkstreamtracer-in-python/7986 "2022-03-05T22:14:19Z")

</div>

I was trying to see if the AddCustomTerminationCallback method could be used in Python, but it doesn’t seem to be exposed. Is there a way to access this functionality? from vtkmodules.vtkFiltersFlowPaths import vtkStre…

---

## [NAME in vtk.module files](https://discourse.vtk.org/t/name-in-vtk-module-files/7964)

<div class="topic-metadata">

**Author:** [@aborsic](https://discourse.vtk.org/u/aborsic)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 11:30pm UTC](https://discourse.vtk.org/t/name-in-vtk-module-files/7964 "2022-03-04T23:30:29Z")

</div>

Dear All, I wonder if anybody can shed some light on some doubts I have about the NAME field in vtk.module files. The documentation at vtk.module files says that NAME is the name of the module, and the example uses NAM…

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

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