# Support

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

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

**Page:** 99

---

## [Actor always shows same face](https://discourse.vtk.org/t/actor-always-shows-same-face/6300)

<div class="topic-metadata">

**Author:** [@jvillota](https://discourse.vtk.org/u/jvillota)\
**Replies:** 11\
**Last updated:** [August 18, 2021, 1:14pm UTC](https://discourse.vtk.org/t/actor-always-shows-same-face/6300 "2021-08-18T13:14:06Z")

</div>

Hi all, I use a imageData to create a volume, but when I try to rotate it always show the same face. Moment 1. When the app render show this Moment 2. I rotate to see the other layers Moment 3. Again shows the f…

---

## [ScatterPlot Example: Different marker styles not working?](https://discourse.vtk.org/t/scatterplot-example-different-marker-styles-not-working/6414)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 2:10pm UTC](https://discourse.vtk.org/t/scatterplot-example-different-marker-styles-not-working/6414 "2021-08-18T14:10:47Z")

</div>

Hello everyone! I am working on a project where I use VTK alongside Qt. I am trying to render a chart inside of QDockWidget. I have a class that extends QVTKOpenGLNativeWidget and stores a renderer (vtkRenderer) and a r…

---

## [How to get a pointer of a VTK image to use in C.](https://discourse.vtk.org/t/how-to-get-a-pointer-of-a-vtk-image-to-use-in-c/6406)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 12:52pm UTC](https://discourse.vtk.org/t/how-to-get-a-pointer-of-a-vtk-image-to-use-in-c/6406 "2021-08-18T12:52:44Z")

</div>

Dear All, vtkSmartPointer\<vtkImageConnectivityFilter\> connectivity; connectivity-\>SetInputData(image4); connectivity-\>SetScalarRange(255, 255); connectivity-\>SetSeedData(seedData2); connectivity-\>Upd…

---

## [How to output the vtk DataFile Version 3.0](https://discourse.vtk.org/t/how-to-output-the-vtk-datafile-version-3-0/6354)

<div class="topic-metadata">

**Author:** [@kingui1106](https://discourse.vtk.org/u/kingui1106)\
**Replies:** 5\
**Last updated:** [August 18, 2021, 3:16am UTC](https://discourse.vtk.org/t/how-to-output-the-vtk-datafile-version-3-0/6354 "2021-08-18T03:16:23Z")

</div>

I am use the vtk 9.0.1. I use vtkDataSetWriter to out put vtk file.And i get the # vtk DataFile Version 5.1. Is any way to output vtk DataFile Version 3.0. Thanks!!! ··· vtkNew writer; writer-\>SetFileName(filename)…

---

## [Using vtkArrayCalculator to get a Vector Field from three Scalars (C++)](https://discourse.vtk.org/t/using-vtkarraycalculator-to-get-a-vector-field-from-three-scalars-c/6400)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 6:44pm UTC](https://discourse.vtk.org/t/using-vtkarraycalculator-to-get-a-vector-field-from-three-scalars-c/6400 "2021-08-17T18:44:22Z")

</div>

I have a vti Data with three Scalar Arrays and I am stuck, this is what I have done so far: xmlImageDataReader-\>SetFileName(sFilename.c\_str()); xmlImageDataReader-\>Update(); imageDataGeometryFilter-\>SetInputConnection…

---

## [Iterate over Triangles in Tetrahedron Data (without redundancies)](https://discourse.vtk.org/t/iterate-over-triangles-in-tetrahedron-data-without-redundancies/6403)

<div class="topic-metadata">

**Author:** [@Flashtim](https://discourse.vtk.org/u/Flashtim)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 5:36pm UTC](https://discourse.vtk.org/t/iterate-over-triangles-in-tetrahedron-data-without-redundancies/6403 "2021-08-17T17:36:07Z")

</div>

Hey there! I am currently working with a vtkUnstructuredGrid object that is made up of a collection of tetrahedron cells. I now want to iterate over all triangles. One way to do so ist to use the GetCellData(); functio…

---

## [Reversed upside-down text on vtkCubeAxesActor](https://discourse.vtk.org/t/reversed-upside-down-text-on-vtkcubeaxesactor/6392)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [August 16, 2021, 11:56pm UTC](https://discourse.vtk.org/t/reversed-upside-down-text-on-vtkcubeaxesactor/6392 "2021-08-16T23:56:00Z")

</div>

I’m using VTK 8.2. When I display axes titles and tick labels on vtkCubeAxesActor, the text is reversed and upside-down. What could cause this? axesActor\_ = vtkSmartPointer\<vtkCubeAxesActor\>::New(); int use3D = 0; …

---

## [Iterate over the faces of an UnstructuredGrid](https://discourse.vtk.org/t/iterate-over-the-faces-of-an-unstructuredgrid/2184)

<div class="topic-metadata">

**Author:** [@balborian](https://discourse.vtk.org/u/balborian)\
**Replies:** 2\
**Last updated:** [August 17, 2021, 4:02pm UTC](https://discourse.vtk.org/t/iterate-over-the-faces-of-an-unstructuredgrid/2184 "2021-08-17T16:02:00Z")

</div>

What’s the most efficient way to iterate over all the faces of an UnstructuredGrid? I know I can iterate over the cells first and then get its faces for each cell, but this will lead me to visit the same face two times (…

---

## [Extract part of a vtkPolyData based on vertices ids](https://discourse.vtk.org/t/extract-part-of-a-vtkpolydata-based-on-vertices-ids/6399)

<div class="topic-metadata">

**Author:** [@Manuel](https://discourse.vtk.org/u/Manuel)\
**Replies:** 3\
**Last updated:** [August 17, 2021, 1:57pm UTC](https://discourse.vtk.org/t/extract-part-of-a-vtkpolydata-based-on-vertices-ids/6399 "2021-08-17T13:57:16Z")

</div>

Dear All, I am currently looking for the best way to extract a subpart of a vtkPolyData from known vertices ids on this vtkPolyData. The input of the function should be a vtkPolyData and a list of vtkIdType and the outp…

---

## [how to draw line on imagePlanewidget](https://discourse.vtk.org/t/how-to-draw-line-on-imageplanewidget/6395)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 1\
**Last updated:** [August 17, 2021, 10:01am UTC](https://discourse.vtk.org/t/how-to-draw-line-on-imageplanewidget/6395 "2021-08-17T10:01:29Z")

</div>

Hi, every. I try to use ImagePlaneWidget to create a MPR view. but when I want to draw a line to mark the other plane positon I failed. The effect I want to reach is in the image. Any One has some advice? PS: as not …

---

## [vtkTextWidget](https://discourse.vtk.org/t/vtktextwidget/6394)

<div class="topic-metadata">

**Author:** [@Erikevin](https://discourse.vtk.org/u/Erikevin)\
**Replies:** 0\
**Last updated:** [August 17, 2021, 2:03am UTC](https://discourse.vtk.org/t/vtktextwidget/6394 "2021-08-17T02:03:42Z")

</div>

Hi masters， I want to realize these effects below: 1. set border line color and style for vtkTextWidget; 2. set background color for vtkTextWidget; for No.2 item,i’ve tried calling vtkActorText\*-\>GetTextProperty()-\>S…

---

## [Problem installing mayavi](https://discourse.vtk.org/t/problem-installing-mayavi/6382)

<div class="topic-metadata">

**Author:** [@KitCarson03](https://discourse.vtk.org/u/KitCarson03)\
**Replies:** 1\
**Last updated:** [August 16, 2021, 10:41am UTC](https://discourse.vtk.org/t/problem-installing-mayavi/6382 "2021-08-16T10:41:38Z")

</div>

Hi, i’m having some issues with mayavi installation in windows 10, python 3.8.9, mingw32 compiler the installation stops at running build message all the requirements are satisfied

---

## [How can I display the vtk 3d volume rendering results onscreen in a remote connection with workstation(X11)?](https://discourse.vtk.org/t/how-can-i-display-the-vtk-3d-volume-rendering-results-onscreen-in-a-remote-connection-with-workstation-x11/6356)

<div class="topic-metadata">

**Author:** [@cspark](https://discourse.vtk.org/u/cspark)\
**Replies:** 4\
**Last updated:** [August 15, 2021, 8:17pm UTC](https://discourse.vtk.org/t/how-can-i-display-the-vtk-3d-volume-rendering-results-onscreen-in-a-remote-connection-with-workstation-x11/6356 "2021-08-15T20:17:03Z")

</div>

Hi all. I’m newbee want to use vtk. I think it’s a really good tool for 3d volume rendering, so I’m studying to use it. I have a problem using it, so I leave a question. I use X11 to connect workstation remotely from …

---

## [Problem in Dynamic Library](https://discourse.vtk.org/t/problem-in-dynamic-library/6365)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 22\
**Last updated:** [August 14, 2021, 5:19am UTC](https://discourse.vtk.org/t/problem-in-dynamic-library/6365 "2021-08-14T05:19:46Z")

</div>

Dear all, I am compiling a dynamic library of my own (testlib.so) When I load it, it gives the following error OSError: .//server//vtkpython//testlib.so: undefined symbol: \_ZN26vtkImageConnectivityFilter3NewEv It not…

---

## [Getting VTK animations to run in VR](https://discourse.vtk.org/t/getting-vtk-animations-to-run-in-vr/6374)

<div class="topic-metadata">

**Author:** [@agashea](https://discourse.vtk.org/u/agashea)\
**Replies:** 0\
**Last updated:** [August 14, 2021, 1:37am UTC](https://discourse.vtk.org/t/getting-vtk-animations-to-run-in-vr/6374 "2021-08-14T01:37:53Z")

</div>

Hi, I currently have made a VTK animation. To do so, I wrote a .cxx file that reads in a set of .vtp files and adds them to a renderer, and then toggles their visibility to create an animation. I used CMake to configure …

---

## [vtkInteractorStyleImage do not work in QVTKWidget](https://discourse.vtk.org/t/vtkinteractorstyleimage-do-not-work-in-qvtkwidget/6358)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [August 13, 2021, 5:24am UTC](https://discourse.vtk.org/t/vtkinteractorstyleimage-do-not-work-in-qvtkwidget/6358 "2021-08-13T05:24:06Z")

</div>

I find vtkInteractorStyleImage do not work in QVTKWidget. For example, the following code: import vtk from vtk.util.numpy\_support import vtk\_to\_numpy, numpy\_to\_vtk import numpy as np def numpyToVTK(data): if len(d…

---

## [Window passed, Linux failed with "SetArray argument 1: incorrect buffer type, expected q but received l"](https://discourse.vtk.org/t/window-passed-linux-failed-with-setarray-argument-1-incorrect-buffer-type-expected-q-but-received-l/6364)

<div class="topic-metadata">

**Author:** [@Hongying\_Feng](https://discourse.vtk.org/u/Hongying_Feng)\
**Replies:** 2\
**Last updated:** [August 13, 2021, 1:25am UTC](https://discourse.vtk.org/t/window-passed-linux-failed-with-setarray-argument-1-incorrect-buffer-type-expected-q-but-received-l/6364 "2021-08-13T01:25:13Z")

</div>

I tried to run such python codes: import vtk import numpy as np arraySize = 81 lineArray = np.array(\[ 12, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 12, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 11, 12, 22, 23, 24, 25,…

---

## [How to convert dicom series to vti file using vtk.js](https://discourse.vtk.org/t/how-to-convert-dicom-series-to-vti-file-using-vtk-js/3966)

<div class="topic-metadata">

**Author:** [@bang98.2016](https://discourse.vtk.org/u/bang98.2016)\
**Replies:** 8\
**Last updated:** [August 12, 2021, 7:26pm UTC](https://discourse.vtk.org/t/how-to-convert-dicom-series-to-vti-file-using-vtk-js/3966 "2021-08-12T19:26:27Z")

</div>

I’m using readDICOMSeries to read a series .dcm image, but it’s very slow to load 500 .dcm image on https://kitware.github.io/itk-vtk-viewer/app/ So that I want to convert series .dcm image to .vti Thanks in advance fo…

---

## [How to Compile VTK-9.0.20210224 with TBB into webassembly](https://discourse.vtk.org/t/how-to-compile-vtk-9-0-20210224-with-tbb-into-webassembly/6352)

<div class="topic-metadata">

**Author:** [@reichtiger](https://discourse.vtk.org/u/reichtiger)\
**Replies:** 2\
**Last updated:** [August 12, 2021, 8:53am UTC](https://discourse.vtk.org/t/how-to-compile-vtk-9-0-20210224-with-tbb-into-webassembly/6352 "2021-08-12T08:53:56Z")

</div>

Hi, all I have compiled VTK-9.0.20210224 as lib and it worked well with my project. Now the question is , how can I use TBB or OpenMP for multithreading in web page ? I have tested on win 10 + VTK+TBB it is all OK. dir…

---

## [Correct way to update a vtkImageData and refresh the render window (renderWindow.Render() not working)](https://discourse.vtk.org/t/correct-way-to-update-a-vtkimagedata-and-refresh-the-render-window-renderwindow-render-not-working/6359)

<div class="topic-metadata">

**Author:** [@bva99](https://discourse.vtk.org/u/bva99)\
**Replies:** 15\
**Last updated:** [August 11, 2021, 11:40pm UTC](https://discourse.vtk.org/t/correct-way-to-update-a-vtkimagedata-and-refresh-the-render-window-renderwindow-render-not-working/6359 "2021-08-11T23:40:50Z")

</div>

I have created a class that encapsulates the creation of: a vtkImageData referred to here as “mesh”, a lookup table, a poly data set (from vtkImageDataGeometryFilter), a mapper (using vtkPolyDataMapper), that associate…

---

## [How to blend a gray and rgb image ?](https://discourse.vtk.org/t/how-to-blend-a-gray-and-rgb-image/6357)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [August 11, 2021, 11:04pm UTC](https://discourse.vtk.org/t/how-to-blend-a-gray-and-rgb-image/6357 "2021-08-11T23:04:07Z")

</div>

I want to blend a gray and rgb image. Firstly, I have a image: torgbGray = np.zeros(shape=\[256, 256\]) for i in range(256): for j in range(256): torgbGray\[i, j\] = i+j Then, I convert this gray image to a rg…

---

## [vtkRendering issue](https://discourse.vtk.org/t/vtkrendering-issue/6326)

<div class="topic-metadata">

**Author:** [@Philip\_George](https://discourse.vtk.org/u/Philip_George)\
**Replies:** 3\
**Last updated:** [August 11, 2021, 12:51pm UTC](https://discourse.vtk.org/t/vtkrendering-issue/6326 "2021-08-11T12:51:01Z")

</div>

Hi, I have a cylindrical shell inside which a quadrilateral is located as shown in the figure. When I keep my camera on the quad and view direction as shown and render in perspective projection, I am getting a false vi…

---

## [Mapping points on segmentation (labelmap) to points on an isosurface](https://discourse.vtk.org/t/mapping-points-on-segmentation-labelmap-to-points-on-an-isosurface/6293)

<div class="topic-metadata">

**Author:** [@vsrivastava](https://discourse.vtk.org/u/vsrivastava)\
**Replies:** 3\
**Last updated:** [August 11, 2021, 4:07am UTC](https://discourse.vtk.org/t/mapping-points-on-segmentation-labelmap-to-points-on-an-isosurface/6293 "2021-08-11T04:07:34Z")

</div>

Hello, I am trying to understand on how to use coordinates, transforms using vtk to develop an application. For this I am trying to create an isosurface from labelmaps (Nrrd format) using Marching Cubes, and trying to m…

---

## [Issues building VTK with TK bindings](https://discourse.vtk.org/t/issues-building-vtk-with-tk-bindings/3506)

<div class="topic-metadata">

**Author:** [@johansh](https://discourse.vtk.org/u/johansh)\
**Replies:** 9\
**Last updated:** [August 10, 2021, 2:48pm UTC](https://discourse.vtk.org/t/issues-building-vtk-with-tk-bindings/3506 "2021-08-10T14:48:15Z")

</div>

I have been trying for hours now to set up and build VTK with the TK integration without success. I’m still stuck on configuring Cmake with the following warnings and issues. I’m building on Windows (10) with TDM-MinGW …

---

## [problem about LookingGlassVTKModule](https://discourse.vtk.org/t/problem-about-lookingglassvtkmodule/6339)

<div class="topic-metadata">

**Author:** [@ZUNTING\_HU](https://discourse.vtk.org/u/ZUNTING_HU)\
**Replies:** 0\
**Last updated:** [August 10, 2021, 1:11am UTC](https://discourse.vtk.org/t/problem-about-lookingglassvtkmodule/6339 "2021-08-10T01:11:01Z")

</div>

Hi~ I am using LookingGlassVTKModule these days. I build vtk with LookingGlassVTKModule successfully. But, when I debug the test project, the function “vtkRegressionTestImage(renderWindow)” always return vtkRegressionTe…

---

## [example's input data not found.](https://discourse.vtk.org/t/examples-input-data-not-found/6308)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 9\
**Last updated:** [August 9, 2021, 2:28pm UTC](https://discourse.vtk.org/t/examples-input-data-not-found/6308 "2021-08-09T14:28:42Z")

</div>

Hi, everyone. when I try to run exampe “./Examples/GUI/Qt/FourPaneViewer” failed I know I need a dicom file , but I can not find a dcm file in the src-dir, will anyone give me a suggestion? thanks. 2021-08-06 16:24:33…

---

## [Cant color by scalars after warpscalar filter merge](https://discourse.vtk.org/t/cant-color-by-scalars-after-warpscalar-filter-merge/6328)

<div class="topic-metadata">

**Author:** [@aivamyko](https://discourse.vtk.org/u/aivamyko)\
**Replies:** 0\
**Last updated:** [August 8, 2021, 1:51pm UTC](https://discourse.vtk.org/t/cant-color-by-scalars-after-warpscalar-filter-merge/6328 "2021-08-08T13:51:12Z")

</div>

Hello, i’ve been trying to color my object the same as i done it in paraview (image below), but after i used merge ColorByArrayComponent doesnt seem to work anymore. Can someone help ? I think i need to use color on warp…

---

## [OBJ to parallel VTP files](https://discourse.vtk.org/t/obj-to-parallel-vtp-files/6318)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [August 7, 2021, 12:02am UTC](https://discourse.vtk.org/t/obj-to-parallel-vtp-files/6318 "2021-08-07T00:02:10Z")

</div>

I am attempting to split up a high res mesh into 4 parts for parallel rendering in paraview on a cluster of 4 GPUs My attempt at creating the parallel \*.vtp file only resulted in a single portion visible so this leads m…

---

## [VTK-9.0.3, VTKExample-Infovis/Cxx skipped, InfovisBoost missing, 32 tests failed](https://discourse.vtk.org/t/vtk-9-0-3-vtkexample-infovis-cxx-skipped-infovisboost-missing-32-tests-failed/6224)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://discourse.vtk.org/u/Wile_E_Coyote)\
**Replies:** 16\
**Last updated:** [August 6, 2021, 5:30pm UTC](https://discourse.vtk.org/t/vtk-9-0-3-vtkexample-infovis-cxx-skipped-infovisboost-missing-32-tests-failed/6224 "2021-08-06T17:30:07Z")

</div>

This is Ubuntu 20.04.2 LTS / x86\_64 / gcc 9.3.0 here. I built the “VTK-9.0.3”. The “make test” reports: “2116 - VTKExample-Infovis/Cxx (Skipped)” Looking into the “Examples/Infovis/Cxx/CMakeLists.txt” file, I find th…

---

## [ImageData/PolyData XML writer: how save a lookup table associated to a cell data array](https://discourse.vtk.org/t/imagedata-polydata-xml-writer-how-save-a-lookup-table-associated-to-a-cell-data-array/6302)

<div class="topic-metadata">

**Author:** [@bva99](https://discourse.vtk.org/u/bva99)\
**Replies:** 3\
**Last updated:** [August 6, 2021, 2:55pm UTC](https://discourse.vtk.org/t/imagedata-polydata-xml-writer-how-save-a-lookup-table-associated-to-a-cell-data-array/6302 "2021-08-06T14:55:39Z")

</div>

I associated a simple lookup table to the cellarray of an image data. After generating a vtkPolyData from the vtkImageData using vtkImageDataGeometryFilter, it is possible to write the resulting output either to a legac…

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

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