# Support

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

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

**Page:** 45

---

## [Get attributes and type data associated with points/cells](https://discourse.vtk.org/t/get-attributes-and-type-data-associated-with-points-cells/11956)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 3:29pm UTC](https://discourse.vtk.org/t/get-attributes-and-type-data-associated-with-points-cells/11956 "2023-07-19T15:29:25Z")

</div>

Hi, I am trying to extract the attributes associated with the point and cell data from a vtp file that contains tractography streamlines, together with some associated scalar and tensor data. So far I have been able to…

---

## [Slicer transformation result is different from my vtk codes](https://discourse.vtk.org/t/slicer-transformation-result-is-different-from-my-vtk-codes/11967)

<div class="topic-metadata">

**Author:** [@dzzhang](https://discourse.vtk.org/u/dzzhang)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 9:16pm UTC](https://discourse.vtk.org/t/slicer-transformation-result-is-different-from-my-vtk-codes/11967 "2023-07-18T21:16:39Z")

</div>

Recently I used the Transform module in Slicer to apply a linear transformation. Let’s say the translation is \[10, 20, 30\]. And the model moved to the correct position. However, when I used my own vtk codes below, the r…

---

## [vtkThinPlateSplineTransform custom base function](https://discourse.vtk.org/t/vtkthinplatesplinetransform-custom-base-function/11961)

<div class="topic-metadata">

**Author:** [@apteroti](https://discourse.vtk.org/u/apteroti)\
**Replies:** 3\
**Last updated:** [July 18, 2023, 8:47pm UTC](https://discourse.vtk.org/t/vtkthinplatesplinetransform-custom-base-function/11961 "2023-07-18T20:47:02Z")

</div>

I have two questions: 1- I was wondering how I can provide a custom base function for vtkThinPlateSplineTransform. For example, instead of R in a 3d scenario, I want to have the geodesic distance implemented into the alg…

---

## [How to use generic window interactor?](https://discourse.vtk.org/t/how-to-use-generic-window-interactor/11960)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 1:57pm UTC](https://discourse.vtk.org/t/how-to-use-generic-window-interactor/11960 "2023-07-18T13:57:17Z")

</div>

How to use vtkGenericRenderWindowInteractor? What is it meant for (use-case)? The documentation of vtkGenericRenderWindowInteractor is light… Not sure to get when, why and how you need to use this… Start from here: htt…

---

## [Draw Cylinder & Curved Shapes in VTKUnStructuredGrid](https://discourse.vtk.org/t/draw-cylinder-curved-shapes-in-vtkunstructuredgrid/11954)

<div class="topic-metadata">

**Author:** [@anshakeel](https://discourse.vtk.org/u/anshakeel)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 6:25am UTC](https://discourse.vtk.org/t/draw-cylinder-curved-shapes-in-vtkunstructuredgrid/11954 "2023-07-17T06:25:55Z")

</div>

Hello Everyone, Q1: I’m trying to generate VTK data. I have some Data that have cylindrical shapes like pipes and bends. I would like to convert them to VTK format. To achieve this, I am using VtkUnstructuredGrid.I sea…

---

## [vtk rendering satellite data from netcdf file in c++ error](https://discourse.vtk.org/t/vtk-rendering-satellite-data-from-netcdf-file-in-c-error/11930)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 5\
**Last updated:** [July 17, 2023, 1:23pm UTC](https://discourse.vtk.org/t/vtk-rendering-satellite-data-from-netcdf-file-in-c-error/11930 "2023-07-17T13:23:36Z")

</div>

Im trying to render a netcdf satellite data file but when i open it i keep getting this error how do i fix this erorr 2023-07-11 12:15:04.205 ( 0.663s) \[ \] vtkNetCDFReader.cxx:834 WARN| vtkNetCDFC…

---

## [What "blit" mode do?](https://discourse.vtk.org/t/what-blit-mode-do/11934)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 7\
**Last updated:** [July 16, 2023, 5:34pm UTC](https://discourse.vtk.org/t/what-blit-mode-do/11934 "2023-07-16T17:34:57Z")

</div>

What vtkOpenGLRenderWindow::SetFrameBlitModeToBlitToCurrent do? The documentation https://vtk.org/doc/nightly/html/classvtkOpenGLRenderWindow.html#abf6febada3d0b609614866e0f0f220f9 looks rather short to me!.. Can someb…

---

## [Multiple graphics card rendering](https://discourse.vtk.org/t/multiple-graphics-card-rendering/11927)

<div class="topic-metadata">

**Author:** [@kingui1106](https://discourse.vtk.org/u/kingui1106)\
**Replies:** 4\
**Last updated:** [July 14, 2023, 2:18pm UTC](https://discourse.vtk.org/t/multiple-graphics-card-rendering/11927 "2023-07-14T14:18:44Z")

</div>

I have dynamic scene what I would like to render in a VTK window (QT, VC++ 2015 application). Objects in the scene are pointcoulds with hundreds of thousands points. Scene consists of: House (~800,000 points), Car (~70…

---

## [How to select a hexahedral cell using HardwareSelector](https://discourse.vtk.org/t/how-to-select-a-hexahedral-cell-using-hardwareselector/2062)

<div class="topic-metadata">

**Author:** [@kknnnyy](https://discourse.vtk.org/u/kknnnyy)\
**Replies:** 4\
**Last updated:** [July 13, 2023, 5:17pm UTC](https://discourse.vtk.org/t/how-to-select-a-hexahedral-cell-using-hardwareselector/2062 "2023-07-13T17:17:29Z")

</div>

I want to use vtkhardwareselector to get the hexahedral cell id in unstructuredgrid, so I found a problem after converting unstructuredgrid to polydata. The cell id of the three faces of the hexahedral cell in the corner…

---

## [vtkPolyDataNormals::Update() segmentation fault](https://discourse.vtk.org/t/vtkpolydatanormals-update-segmentation-fault/11876)

<div class="topic-metadata">

**Author:** [@whereismymoney](https://discourse.vtk.org/u/whereismymoney)\
**Replies:** 8\
**Last updated:** [July 12, 2023, 9:46pm UTC](https://discourse.vtk.org/t/vtkpolydatanormals-update-segmentation-fault/11876 "2023-07-12T21:46:38Z")

</div>

I have some polydata that looks reasonable (about 2000 points and vertices). However, I get a segmentation fault in vtkPolyDataNormals::Update(). This is after I run the polydata through a vtkCleanPolyData. I have sav…

---

## [How to disable the line that automatically connect the polyData in the vtk renderer window?](https://discourse.vtk.org/t/how-to-disable-the-line-that-automatically-connect-the-polydata-in-the-vtk-renderer-window/11843)

<div class="topic-metadata">

**Author:** [@yen](https://discourse.vtk.org/u/yen)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 2:15pm UTC](https://discourse.vtk.org/t/how-to-disable-the-line-that-automatically-connect-the-polydata-in-the-vtk-renderer-window/11843 "2023-07-12T14:15:09Z")

</div>

Hello, I am a newcomer to vtk recently. I just encountered a problem. When I show my 3D object in vtk renderer window, I saw a lot of line that connect all vtkPolyData. However, when I extract some features that I want t…

---

## [export rendered scene to clipboard](https://discourse.vtk.org/t/export-rendered-scene-to-clipboard/11896)

<div class="topic-metadata">

**Author:** [@philippeseil](https://discourse.vtk.org/u/philippeseil)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 1:08pm UTC](https://discourse.vtk.org/t/export-rendered-scene-to-clipboard/11896 "2023-07-12T13:08:21Z")

</div>

Hi all, I´d like to export the current content of a vtkRenderWindow to the clipboard. Is there a straightforward way to achieve this? thanks!

---

## [How to draw a resizable circle?](https://discourse.vtk.org/t/how-to-draw-a-resizable-circle/11575)

<div class="topic-metadata">

**Author:** [@Manju](https://discourse.vtk.org/u/Manju)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 9:20am UTC](https://discourse.vtk.org/t/how-to-draw-a-resizable-circle/11575 "2023-07-12T09:20:44Z")

</div>

I need to insert a circle into VTK widget window via mouse interaction. Its radius and position should be resizable by dragging. Inserting a polydata doesn’t seem to provide the option to modify radius and position. Coul…

---

## [How to build a plane passing through 3 points](https://discourse.vtk.org/t/how-to-build-a-plane-passing-through-3-points/11926)

<div class="topic-metadata">

**Author:** [@ioneianni](https://discourse.vtk.org/u/ioneianni)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 2:10pm UTC](https://discourse.vtk.org/t/how-to-build-a-plane-passing-through-3-points/11926 "2023-07-11T14:10:58Z")

</div>

Hi, I would like to build a plane knowing only three points. Here is my code, but it dosen’t work can someone help please? planes = \[\] planes.append(vtkPlanes()) planes\[0\].SetPoints(points\_bct) piano\_aorta = planes\[…

---

## [Paraview Error: Start-end tags mismatch. Error offset: 15464\]](https://discourse.vtk.org/t/paraview-error-start-end-tags-mismatch-error-offset-15464/11920)

<div class="topic-metadata">

**Author:** [@Sudhanshu](https://discourse.vtk.org/u/Sudhanshu)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 11:48pm UTC](https://discourse.vtk.org/t/paraview-error-start-end-tags-mismatch-error-offset-15464/11920 "2023-07-10T23:48:55Z")

</div>

Hi Everyone, I am curious if anyone come across the following error. I tried searching on Google for this error. Not much help. ERROR: In vtkCityGMLReader.cxx, line 1085 vtkCityGMLReader (000002976C5A8CC0): XML \[C:\\U…

---

## [Installing Paraview without removing libvtk9-dev](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907)

<div class="topic-metadata">

**Author:** [@Hisham](https://discourse.vtk.org/u/Hisham)\
**Replies:** 2\
**Last updated:** [July 10, 2023, 9:07pm UTC](https://discourse.vtk.org/t/installing-paraview-without-removing-libvtk9-dev/11907 "2023-07-10T21:07:19Z")

</div>

Hi all, I have libvtk9-dev installed on Ubuntu 22.04 Jammy, and using it within my project to write my output to vtp file, I importing it to my project through CMake. find\_package(VTK REQUIRED) target\_link\_libraries(s…

---

## [How to get the real actor position when GetPosition returns (0,0,0)](https://discourse.vtk.org/t/how-to-get-the-real-actor-position-when-getposition-returns-0-0-0/11914)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 10:22am UTC](https://discourse.vtk.org/t/how-to-get-the-real-actor-position-when-getposition-returns-0-0-0/11914 "2023-07-10T10:22:56Z")

</div>

Hello,when actor.GetPosition returns (0,0,0),can I use actor.GetCenter to replace?

---

## [Seems vtkImageReslice::SetResliceTransform doesn't change output spacing and extent](https://discourse.vtk.org/t/seems-vtkimagereslice-setreslicetransform-doesnt-change-output-spacing-and-extent/11880)

<div class="topic-metadata">

**Author:** [@Anton\_Botnov](https://discourse.vtk.org/u/Anton_Botnov)\
**Replies:** 8\
**Last updated:** [July 10, 2023, 9:53am UTC](https://discourse.vtk.org/t/seems-vtkimagereslice-setreslicetransform-doesnt-change-output-spacing-and-extent/11880 "2023-07-10T09:53:42Z")

</div>

Hi, everyone. I’m using vtk for working with 3D dicom images and faced with one problem. If I use vtkImageReslice::SetResliceTransform functionality, the output spacing and extent of resulting dicom are not changed. It…

---

## [how to fix the font size/length for vtkLegendScaleActor](https://discourse.vtk.org/t/how-to-fix-the-font-size-length-for-vtklegendscaleactor/11874)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [July 10, 2023, 3:04am UTC](https://discourse.vtk.org/t/how-to-fix-the-font-size-length-for-vtklegendscaleactor/11874 "2023-07-10T03:04:55Z")

</div>

I use vtkLegendScaleActor in my project. When the window is resized, I expect the font size/length of vtkLegendScaleActor is fixed. In the resizeEvent: def resizeEvent(self, evt) -\> None: super().resizeEven…

---

## [Feature Edges not detecting BoundaryEdges](https://discourse.vtk.org/t/feature-edges-not-detecting-boundaryedges/11905)

<div class="topic-metadata">

**Author:** [@madmoonman](https://discourse.vtk.org/u/madmoonman)\
**Replies:** 2\
**Last updated:** [July 9, 2023, 1:46pm UTC](https://discourse.vtk.org/t/feature-edges-not-detecting-boundaryedges/11905 "2023-07-09T13:46:33Z")

</div>

Hello, I am having trouble detecting BoundaryEdges of a triangulated surface mesh. As I am not yet allowed to upload files, I share here the code and the stl file I am using for this test. The stl is a cube made out of …

---

## [VTK window doesn't show up?!...](https://discourse.vtk.org/t/vtk-window-doesnt-show-up/11891)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 17\
**Last updated:** [July 9, 2023, 8:58am UTC](https://discourse.vtk.org/t/vtk-window-doesnt-show-up/11891 "2023-07-09T08:58:40Z")

</div>

In a very simple case, VTK window doesn’t show up?!.. Any clue why? Here the sample: \>\> cat vtkTest.cpp // STL. #include \<iostream\> // cout #include \<stdexcept\> // exception // VTK. #include \<vtkNew.h\> #include \<vtkP…

---

## [Using vtk with react](https://discourse.vtk.org/t/using-vtk-with-react/11833)

<div class="topic-metadata">

**Author:** [@zmladen](https://discourse.vtk.org/u/zmladen)\
**Replies:** 4\
**Last updated:** [July 8, 2023, 8:09pm UTC](https://discourse.vtk.org/t/using-vtk-with-react/11833 "2023-07-08T20:09:23Z")

</div>

Hello, i wanted to try the example of using vtk with reactjs, but the code is not working. Can someone help to get it work? https://kitware.github.io/vtk-js/docs/vtk\_react.html Thanks, zmladen

---

## [Correctly SetInputData of ExtractSelection](https://discourse.vtk.org/t/correctly-setinputdata-of-extractselection/11900)

<div class="topic-metadata">

**Author:** [@madmoonman](https://discourse.vtk.org/u/madmoonman)\
**Replies:** 1\
**Last updated:** [July 8, 2023, 9:34am UTC](https://discourse.vtk.org/t/correctly-setinputdata-of-extractselection/11900 "2023-07-08T09:34:16Z")

</div>

Hello, I need a little help to understand how to use the SetInputData method of a vtkExtractSelektion class instance.I am looking specifically at this example here: https://examples.vtk.org/site/Python/Picking/CellPickin…

---

## [How to get the global ids in many different dataset?](https://discourse.vtk.org/t/how-to-get-the-global-ids-in-many-different-dataset/11863)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 3\
**Last updated:** [July 8, 2023, 2:21am UTC](https://discourse.vtk.org/t/how-to-get-the-global-ids-in-many-different-dataset/11863 "2023-07-08T02:21:39Z")

</div>

Dear all. I have many different datasets, and their topological structures are stored in different datasets, but the numbering of points and cells are unified. How to find global points and cell ids in different datase…

---

## [Mouse drag event remapping ?](https://discourse.vtk.org/t/mouse-drag-event-remapping/11882)

<div class="topic-metadata">

**Author:** [@ujjwala](https://discourse.vtk.org/u/ujjwala)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 5:25pm UTC](https://discourse.vtk.org/t/mouse-drag-event-remapping/11882 "2023-07-07T17:25:41Z")

</div>

Hi, I have a unstructured grid in QVTKOpenGLNativeWidget, which on a right mouse drag event I want to move. I noticed that by default this behavior is already implemented using the middle mouse wheel/button drag event. …

---

## [interaction during animation](https://discourse.vtk.org/t/interaction-during-animation/11898)

<div class="topic-metadata">

**Author:** [@Vispec\_DMIS](https://discourse.vtk.org/u/Vispec_DMIS)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 12:43pm UTC](https://discourse.vtk.org/t/interaction-during-animation/11898 "2023-07-07T12:43:40Z")

</div>

Hello, I downloaded and ran the official vtk animation case, and found that the mouse cannot operate during animation. I searched on Google and couldn’t find the answer. Does anyone know how to do it.

---

## [Configuring ElmerFEM-GUI fails because VTK can't find Python](https://discourse.vtk.org/t/configuring-elmerfem-gui-fails-because-vtk-cant-find-python/11824)

<div class="topic-metadata">

**Author:** [@EnderWiggin14](https://discourse.vtk.org/u/EnderWiggin14)\
**Replies:** 3\
**Last updated:** [July 6, 2023, 9:22pm UTC](https://discourse.vtk.org/t/configuring-elmerfem-gui-fails-because-vtk-cant-find-python/11824 "2023-07-06T21:22:26Z")

</div>

Just as the title says, I’m trying to build ElmerFEM-GUI, but I’m unable to make it through the configuration process because it seems that a VTK cmake script is failing to find the installed python package. The issue is…

---

## [Problems with using vtkTubeFilter](https://discourse.vtk.org/t/problems-with-using-vtktubefilter/11890)

<div class="topic-metadata">

**Author:** [@wshunvx](https://discourse.vtk.org/u/wshunvx)\
**Replies:** 0\
**Last updated:** [July 6, 2023, 8:46am UTC](https://discourse.vtk.org/t/problems-with-using-vtktubefilter/11890 "2023-07-06T08:46:35Z")

</div>

I’m trying to draw a rectangular ring, obese when closed? idx = 6 l = 1 w = 1 dr = .1 points = vtkPoints() points.InsertNextPoint(0, w/2, 0) points.InsertNextPoint(0, w, 0) points.InsertN…

---

## [STL model voxel](https://discourse.vtk.org/t/stl-model-voxel/5188)

<div class="topic-metadata">

**Author:** [@wjx2580](https://discourse.vtk.org/u/wjx2580)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 8:18am UTC](https://discourse.vtk.org/t/stl-model-voxel/5188 "2023-07-06T08:18:26Z")

</div>

Hello, everyone. I am a novice. Does anyone know how to use octree algorithm to voxel STL model？

---

## [This is a question about format conversion](https://discourse.vtk.org/t/this-is-a-question-about-format-conversion/11886)

<div class="topic-metadata">

**Author:** [@865979216](https://discourse.vtk.org/u/865979216)\
**Replies:** 0\
**Last updated:** [July 6, 2023, 3:00am UTC](https://discourse.vtk.org/t/this-is-a-question-about-format-conversion/11886 "2023-07-06T03:00:27Z")

</div>

Can I convert the . vti file to . obj, or . ply, or. stl or .glb . Do not use \[vtkMarchingCubes MarchingCubes=new vtkMarchingCubes();\]

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

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