# Support

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

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

**Page:** 102

---

## [about polygon](https://discourse.vtk.org/t/about-polygon/6149)

<div class="topic-metadata">

**Author:** [@Hurmean](https://discourse.vtk.org/u/Hurmean)\
**Replies:** 0\
**Last updated:** [July 8, 2021, 7:47am UTC](https://discourse.vtk.org/t/about-polygon/6149 "2021-07-08T07:47:45Z")

</div>

code as follows: vtkSmartPointer pts = vtkSmartPointer::New(); vtkSmartPointer cs = vtkSmartPointer::New(); pts-\>SetNumberOfPoints(4); pts-\>InsertPoint(2, 100, 200, 0); pts-\>InsertPoint(3, 50, 50, 0); pts-\>InsertPoin…

---

## [ProteinRibbonFilter](https://discourse.vtk.org/t/proteinribbonfilter/4545)

<div class="topic-metadata">

**Author:** [@Facundo\_Mercado](https://discourse.vtk.org/u/Facundo_Mercado)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 5:55pm UTC](https://discourse.vtk.org/t/proteinribbonfilter/4545 "2021-07-07T17:55:31Z")

</div>

Hello! I have been using the vtkProteinRibbonFilter to render .pdb files. I managed for the visualization to work. A short snippet of what im doing: self.\_molecule\_reader = vtk.vtkPDBReader() self.\_molecule\_read…

---

## [Rigid registration between a surface and a set of points.](https://discourse.vtk.org/t/rigid-registration-between-a-surface-and-a-set-of-points/6135)

<div class="topic-metadata">

**Author:** [@Miguel\_Socorro](https://discourse.vtk.org/u/Miguel_Socorro)\
**Replies:** 2\
**Last updated:** [July 7, 2021, 5:52pm UTC](https://discourse.vtk.org/t/rigid-registration-between-a-surface-and-a-set-of-points/6135 "2021-07-07T17:52:23Z")

</div>

I have a 3D surface as a polydata and a small set of points (30 or 40 points), I need to perform a rigid registration algorithm between these points and the surface. I need to know if it is possible to carry out this ty…

---

## [Program crashes when removing actors](https://discourse.vtk.org/t/program-crashes-when-removing-actors/4470)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.vtk.org/u/Daniel)\
**Replies:** 1\
**Last updated:** [July 7, 2021, 2:55pm UTC](https://discourse.vtk.org/t/program-crashes-when-removing-actors/4470 "2021-07-07T14:55:23Z")

</div>

Hello everybody, I try to remove actors from the renderer, but my program always crashes. the following error message appears: vtkWin32OpenGLRenderWin:217 ERR| vtkWin32OpenGLRenderWindow (0000000027348C40): wglMake…

---

## [Change Uniform var of Shaders on vtk 8.2](https://discourse.vtk.org/t/change-uniform-var-of-shaders-on-vtk-8-2/6144)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 0\
**Last updated:** [July 7, 2021, 1:28am UTC](https://discourse.vtk.org/t/change-uniform-var-of-shaders-on-vtk-8-2/6144 "2021-07-07T01:28:59Z")

</div>

Hi groups, I already know in vtk-9.1, we can easily get uniforms by vtkShaderProperty. But with vtkOpenglMapper, we only have addreplacement and reset function. Does it means we have to save the shader code in memory,…

---

## [CI/CD infrastructure on gitlab](https://discourse.vtk.org/t/ci-cd-infrastructure-on-gitlab/6142)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 6\
**Last updated:** [July 6, 2021, 9:49pm UTC](https://discourse.vtk.org/t/ci-cd-infrastructure-on-gitlab/6142 "2021-07-06T21:49:03Z")

</div>

Hi, TL;DR: Can someone suggest a medium complex CI/CD example project that builds on Linux, OSX, and windows? I have been trying to follow the VTK implementation but it got dense fast for me. (maybe a paired down exampl…

---

## [Creating a mesh from .nrrd file using marching cube](https://discourse.vtk.org/t/creating-a-mesh-from-nrrd-file-using-marching-cube/6093)

<div class="topic-metadata">

**Author:** [@vsrivastava](https://discourse.vtk.org/u/vsrivastava)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 12:40pm UTC](https://discourse.vtk.org/t/creating-a-mesh-from-nrrd-file-using-marching-cube/6093 "2021-07-06T12:40:07Z")

</div>

Hello, I am trying to create a 3D mesh for my application. For this, I am reading the .nrrd files which contain the information about the segmentation and want to create a 3D model from these .nrrd files. I read about ma…

---

## [Issue using Vtk with python 3.6](https://discourse.vtk.org/t/issue-using-vtk-with-python-3-6/6117)

<div class="topic-metadata">

**Author:** [@SAYOUD\_RAMI](https://discourse.vtk.org/u/SAYOUD_RAMI)\
**Replies:** 2\
**Last updated:** [July 2, 2021, 2:17pm UTC](https://discourse.vtk.org/t/issue-using-vtk-with-python-3-6/6117 "2021-07-02T14:17:12Z")

</div>

Hi, I have an issue when trying to read some HDF5 files using vtk, When I try to import vtk (8.2) using python : import vtk, it gives me the following error: Traceback (most recent call last): File "/usr/local/lib/py…

---

## [Smoothing of vtkUnstructuredGrids](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103)

<div class="topic-metadata">

**Author:** [@Aep93](https://discourse.vtk.org/u/Aep93)\
**Replies:** 4\
**Last updated:** [July 1, 2021, 8:29pm UTC](https://discourse.vtk.org/t/smoothing-of-vtkunstructuredgrids/6103 "2021-07-01T20:29:41Z")

</div>

Hello all, This post is following my discussion in the slicer forum in the link below: Link of main discussion I want to find a way for smoothing of vtkUnstructredGrids. Any help is greatly appreciated.

---

## [creating bounded plane using implicit function](https://discourse.vtk.org/t/creating-bounded-plane-using-implicit-function/6119)

<div class="topic-metadata">

**Author:** [@kicma](https://discourse.vtk.org/u/kicma)\
**Replies:** 0\
**Last updated:** [July 1, 2021, 10:08am UTC](https://discourse.vtk.org/t/creating-bounded-plane-using-implicit-function/6119 "2021-07-01T10:08:34Z")

</div>

Hello, I manage to created bounded cylinder using vtkImplicitBoolean, vtkCylinder and two vtkPlanes. Now I’m stuck on something which I thought would be simple - creating bounded plane. I thought I would be able to crea…

---

## [Questions about how to achieve fast pre selection](https://discourse.vtk.org/t/questions-about-how-to-achieve-fast-pre-selection/6113)

<div class="topic-metadata">

**Author:** [@yuhaoqiu](https://discourse.vtk.org/u/yuhaoqiu)\
**Replies:** 2\
**Last updated:** [July 1, 2021, 8:22am UTC](https://discourse.vtk.org/t/questions-about-how-to-achieve-fast-pre-selection/6113 "2021-07-01T08:22:33Z")

</div>

Hello, I am a student, and I am trying to use vtk to render and select from more than one million units model. After reading this article: I am very interested in the feature of fast preselection. I tried to use the m…

---

## [vtkImageMathematics for Image with Complex Data](https://discourse.vtk.org/t/vtkimagemathematics-for-image-with-complex-data/6078)

<div class="topic-metadata">

**Author:** [@MichelleKline](https://discourse.vtk.org/u/MichelleKline)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 10:07pm UTC](https://discourse.vtk.org/t/vtkimagemathematics-for-image-with-complex-data/6078 "2021-06-30T22:07:59Z")

</div>

Hello, I am writing code in C++ to do some mathematical operations on matrices that contain complex numbers. I am using vtk to accomplish this, primarily because the data I am working with needs to be resliced, resized,…

---

## [Clip volume with an arbitrary plane](https://discourse.vtk.org/t/clip-volume-with-an-arbitrary-plane/6109)

<div class="topic-metadata">

**Author:** [@tobias](https://discourse.vtk.org/u/tobias)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 3:23pm UTC](https://discourse.vtk.org/t/clip-volume-with-an-arbitrary-plane/6109 "2021-06-30T15:23:31Z")

</div>

I have a vtkVolume which I want to clip with an arbitrary plane, i.e. let a plane divide the volume and not display one of those two parts. We took a look Clip in ParaView, but it is too slow and uses a lot of memory. W…

---

## [SetRepresentationTo Surface and to Wireframe simultaneously](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055)

<div class="topic-metadata">

**Author:** [@windhair10](https://discourse.vtk.org/u/windhair10)\
**Replies:** 2\
**Last updated:** [June 30, 2021, 11:49am UTC](https://discourse.vtk.org/t/setrepresentationto-surface-and-to-wireframe-simultaneously/6055 "2021-06-30T11:49:03Z")

</div>

A new VTker’s question, is it possible to set the representation to surface with wireframe simultaneously for a import stl filestrong text? like following picture.

---

## [How to set up an autobiography Center for STL files?](https://discourse.vtk.org/t/how-to-set-up-an-autobiography-center-for-stl-files/6105)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 11:48am UTC](https://discourse.vtk.org/t/how-to-set-up-an-autobiography-center-for-stl-files/6105 "2021-06-30T11:48:35Z")

</div>

---

## [Contour filter Unstructured Grid](https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086)

<div class="topic-metadata">

**Author:** [@ManuPy](https://discourse.vtk.org/u/ManuPy)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 11:46am UTC](https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086 "2021-06-30T11:46:08Z")

</div>

Hi, I am new in vtk, I was wondering if there is a way to apply filters in a 3D unstructured Grid. When I have tried it just generate an empty mesh. I have been only successful in uniform grids though. I heard that exis…

---

## [Problem Paraview/VTK](https://discourse.vtk.org/t/problem-paraview-vtk/6104)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 9:40am UTC](https://discourse.vtk.org/t/problem-paraview-vtk/6104 "2021-06-30T09:40:40Z")

</div>

Dear All, When I run the example “web-project-templates-master” in Windows gives the following error: C:\\Users\\Luis.Goncalves\_ext\\novo\_botao\>"C:\\Program Files\\ParaView 5.9.1-Windows-Python3.8-msvc2017-64bit\\bin\\pvpytho…

---

## [Error on linux when creating QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/error-on-linux-when-creating-qvtkopenglnativewidget/6083)

<div class="topic-metadata">

**Author:** [@DLevy](https://discourse.vtk.org/u/DLevy)\
**Replies:** 11\
**Last updated:** [June 29, 2021, 1:46pm UTC](https://discourse.vtk.org/t/error-on-linux-when-creating-qvtkopenglnativewidget/6083 "2021-06-29T13:46:52Z")

</div>

Hello, I am using VTK 9 + Qt6 in windows without any issue. I am now trying to build my application on linux, but I have errors when I instanciate the QVTKOpenGLNativeWidget and do nothing more than displaying it. …

---

## [Drag and drop actors](https://discourse.vtk.org/t/drag-and-drop-actors/5620)

<div class="topic-metadata">

**Author:** [@aowen](https://discourse.vtk.org/u/aowen)\
**Replies:** 3\
**Last updated:** [June 29, 2021, 12:35pm UTC](https://discourse.vtk.org/t/drag-and-drop-actors/5620 "2021-06-29T12:35:31Z")

</div>

Is there a way to “drag and drop” a 2D actor? I’ve seen this question come up multiple times in older forum threads, but I haven’t seen any with a posted solution. To be clear, I don’t need to rotate, pan, zoom, etc. I’…

---

## [Arrow for forces](https://discourse.vtk.org/t/arrow-for-forces/6089)

<div class="topic-metadata">

**Author:** [@nparent](https://discourse.vtk.org/u/nparent)\
**Replies:** 1\
**Last updated:** [June 29, 2021, 10:57am UTC](https://discourse.vtk.org/t/arrow-for-forces/6089 "2021-06-29T10:57:08Z")

</div>

Hi, I have a writer for a moving rod (a vtkPolyData then a vtkTubeFilter followed by a vtkPolyDataMapper and vtkPolyDataWriter). I now have detected collision in my software and I am applying a contact force when there…

---

## [Export vtkImageSlice to .obj file](https://discourse.vtk.org/t/export-vtkimageslice-to-obj-file/5959)

<div class="topic-metadata">

**Author:** [@Uriel\_Dardik](https://discourse.vtk.org/u/Uriel_Dardik)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 8:11pm UTC](https://discourse.vtk.org/t/export-vtkimageslice-to-obj-file/5959 "2021-06-28T20:11:34Z")

</div>

---

## [Paraview with MESA](https://discourse.vtk.org/t/paraview-with-mesa/6090)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [June 28, 2021, 10:55am UTC](https://discourse.vtk.org/t/paraview-with-mesa/6090 "2021-06-28T10:55:08Z")

</div>

Dear All, Kitware has Paraview compiled with MESA for Linux. My question is: Has datacenters (Azure) some OpenGL simulator like MESA for Windows that works with normal Paraview? Thanks, Luís Gonçalves

---

## [How to convert from RGB byte array to vtkImageData?](https://discourse.vtk.org/t/how-to-convert-from-rgb-byte-array-to-vtkimagedata/6088)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 1\
**Last updated:** [June 28, 2021, 12:23am UTC](https://discourse.vtk.org/t/how-to-convert-from-rgb-byte-array-to-vtkimagedata/6088 "2021-06-28T00:23:42Z")

</div>

Hi all. I’m using vtkImageViewer2 with vtkImageData to draw the mono8 image. My code is as below: vtkNew\<vtkImageData\> imageData; vtkSmartPointer\<vtkAbstractArray\> arr; arr = vtkUnsignedCharArray::New(); vtkSmartPoin…

---

## [Nearest neighbour interpolation](https://discourse.vtk.org/t/nearest-neighbour-interpolation/6081)

<div class="topic-metadata">

**Author:** [@nfisdnf986](https://discourse.vtk.org/u/nfisdnf986)\
**Replies:** 1\
**Last updated:** [June 25, 2021, 8:10pm UTC](https://discourse.vtk.org/t/nearest-neighbour-interpolation/6081 "2021-06-25T20:10:16Z")

</div>

I seem to be getting a linear interpolation output even when trying to use Nearest neighbour. Code: #!/usr/bin/env python3 import vtk from vtk.util.numpy\_support import vtk\_to\_numpy, numpy\_to\_vtk import numpy as np …

---

## [VTK Python 3.9 Wheels](https://discourse.vtk.org/t/vtk-python-3-9-wheels/5049)

<div class="topic-metadata">

**Author:** [@akaszynski](https://discourse.vtk.org/u/akaszynski)\
**Replies:** 6\
**Last updated:** [June 25, 2021, 5:51pm UTC](https://discourse.vtk.org/t/vtk-python-3-9-wheels/5049 "2021-06-25T17:51:15Z")

</div>

Hello, Would it be possible for VTK/Kitware to publish Python 3.9 wheels for 9.0.1? I can even build wheels if you’d like. I ask this because we have a few projects that rely on VTK and we’d really like to support Pyt…

---

## [Two renderers](https://discourse.vtk.org/t/two-renderers/6050)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 8\
**Last updated:** [June 24, 2021, 3:13pm UTC](https://discourse.vtk.org/t/two-renderers/6050 "2021-06-24T15:13:27Z")

</div>

Dear All, If in example “web-project-templates-master” in @exportRpc("vtk.initialize") def createVisualization(self): it is created two renderers is the example ready to deal with the two? And renderer2 = renderWind…

---

## [VTKGeometry.fromPolygons throws ArrayIndexOutOfBoundsException on Linux with Java wrappers.](https://discourse.vtk.org/t/vtkgeometry-frompolygons-throws-arrayindexoutofboundsexception-on-linux-with-java-wrappers/6063)

<div class="topic-metadata">

**Author:** [@rprib](https://discourse.vtk.org/u/rprib)\
**Replies:** 0\
**Last updated:** [June 24, 2021, 1:39pm UTC](https://discourse.vtk.org/t/vtkgeometry-frompolygons-throws-arrayindexoutofboundsexception-on-linux-with-java-wrappers/6063 "2021-06-24T13:39:43Z")

</div>

VTK 9.0.1 with Java wrapper built in Fedora 34 using OpenJDK 11(LTS) ArrayIndexOutOfBoundsException: Array region 0…8 out of bounds for length -356509659 {AnalysisController} \[2021-06-22 11:37:02\] INFO: at vtk.vt…

---

## [How to set the rotation center of an actor in VTK](https://discourse.vtk.org/t/how-to-set-the-rotation-center-of-an-actor-in-vtk/6056)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [June 24, 2021, 3:30am UTC](https://discourse.vtk.org/t/how-to-set-the-rotation-center-of-an-actor-in-vtk/6056 "2021-06-24T03:30:22Z")

</div>

---

## [About MPR CPR SSD VE按代VRT](https://discourse.vtk.org/t/about-mpr-cpr-ssd-ve-vrt/6044)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 5\
**Last updated:** [June 24, 2021, 1:28am UTC](https://discourse.vtk.org/t/about-mpr-cpr-ssd-ve-vrt/6044 "2021-06-24T01:28:18Z")

</div>

There are only MC and VR technologies in VTK, where are the codes or algorithm principles of MPR, CPR, SSD, VRT, VE and VRT reconstruction technologies？

---

## [How to achieve the following objectives, can someone give some suggestions](https://discourse.vtk.org/t/how-to-achieve-the-following-objectives-can-someone-give-some-suggestions/6048)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 2\
**Last updated:** [June 24, 2021, 1:14am UTC](https://discourse.vtk.org/t/how-to-achieve-the-following-objectives-can-someone-give-some-suggestions/6048 "2021-06-24T01:14:16Z")

</div>

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

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