# Support

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

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

**Page:** 107

---

## [vtk 9.0.1 build problems](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652)

<div class="topic-metadata">

**Author:** [@bhb2048](https://discourse.vtk.org/u/bhb2048)\
**Replies:** 2\
**Last updated:** [April 28, 2021, 1:36pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652 "2021-04-28T13:36:43Z")

</div>

I downloaded and unpacked vtk-9.0.1. I used cmake in a ‘build’ subdirectory to create the Makefile with ‘Debug’ on. I’m getting several ‘use of deleted function’ errors. The first is: \[ 2%\] Building CXX object Commo…

---

## [Creating multiple lines in vtk python](https://discourse.vtk.org/t/creating-multiple-lines-in-vtk-python/5644)

<div class="topic-metadata">

**Author:** [@jamesnoel](https://discourse.vtk.org/u/jamesnoel)\
**Replies:** 1\
**Last updated:** [April 28, 2021, 11:47am UTC](https://discourse.vtk.org/t/creating-multiple-lines-in-vtk-python/5644 "2021-04-28T11:47:02Z")

</div>

Hello Everyone, I am a relatively new user to vtk and I am trying to insert multiple lines into my polyData object to later apply the tubefilter.I have seen suggestions on how to do this in c++ plus not for python. Does…

---

## [Write 1D structure for paraview](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646)

<div class="topic-metadata">

**Author:** [@nparent](https://discourse.vtk.org/u/nparent)\
**Replies:** 2\
**Last updated:** [April 27, 2021, 12:20pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646 "2021-04-27T12:20:39Z")

</div>

Hello, I am trying to read files generated by ExportPolyDataScene with paraview …unsuccessfully. Any idea why ? More generally, I have a slender 1D structure (yarn, rod, hair, beam) given in terms of its centerline an…

---

## [TBB build](https://discourse.vtk.org/t/tbb-build/5636)

<div class="topic-metadata">

**Author:** [@zdwei](https://discourse.vtk.org/u/zdwei)\
**Replies:** 4\
**Last updated:** [April 27, 2021, 1:48am UTC](https://discourse.vtk.org/t/tbb-build/5636 "2021-04-27T01:48:17Z")

</div>

Does anybody know what path we need here？？

---

## [VTK9 behavior of vtkRenderWindowInteractor](https://discourse.vtk.org/t/vtk9-behavior-of-vtkrenderwindowinteractor/5587)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 11\
**Last updated:** [April 26, 2021, 8:39am UTC](https://discourse.vtk.org/t/vtk9-behavior-of-vtkrenderwindowinteractor/5587 "2021-04-26T08:39:18Z")

</div>

With vtk\<9 I could interact with 2 independent rendering windows, eg.: import vtk cone = vtk.vtkConeSource() cone.Update() coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInputData(cone.GetOutput()) coneActor = vtk.…

---

## [VTK 9 build](https://discourse.vtk.org/t/vtk-9-build/5635)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.vtk.org/u/melrobin)\
**Replies:** 3\
**Last updated:** [April 25, 2021, 11:38pm UTC](https://discourse.vtk.org/t/vtk-9-build/5635 "2021-04-25T23:38:08Z")

</div>

Building VTK from development sources is broken. I have tried to narrow this down and get the following error: make -f CMakeFiles/vtkIOParallelXMLPython.dir/build.make CMakeFiles/vtkIOParallelXMLPython.dir/depend mak…

---

## [Slow voxelisation with vtkPolyDataToImageStencil](https://discourse.vtk.org/t/slow-voxelisation-with-vtkpolydatatoimagestencil/5571)

<div class="topic-metadata">

**Author:** [@rootofpi](https://discourse.vtk.org/u/rootofpi)\
**Replies:** 12\
**Last updated:** [April 25, 2021, 10:40pm UTC](https://discourse.vtk.org/t/slow-voxelisation-with-vtkpolydatatoimagestencil/5571 "2021-04-25T22:40:15Z")

</div>

Hello everybody, I am currently writing a code for numerical simulation and would like to use VTK for creating voxel geometries from given STL and OBJ files. I am new to the VTK library so I have tried to work with the …

---

## [Split Volume by Label values](https://discourse.vtk.org/t/split-volume-by-label-values/5629)

<div class="topic-metadata">

**Author:** [@Chuck\_Spencer](https://discourse.vtk.org/u/Chuck_Spencer)\
**Replies:** 4\
**Last updated:** [April 25, 2021, 8:25pm UTC](https://discourse.vtk.org/t/split-volume-by-label-values/5629 "2021-04-25T20:25:31Z")

</div>

In vtk.js, I have VTI files that I’m reading in using the vtkXMLImageDataReader. The image data has a known, discrete set of label values corresponding to regions. I’d like to separate this volume into separate volumes (…

---

## [Rendering a triangle in 3D](https://discourse.vtk.org/t/rendering-a-triangle-in-3d/5622)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 5\
**Last updated:** [April 25, 2021, 3:21pm UTC](https://discourse.vtk.org/t/rendering-a-triangle-in-3d/5622 "2021-04-25T15:21:18Z")

</div>

Dear All, Generally this forum have persons with great expertise. See the following link in Section " Intersection of a Ray/Segment with a Triangle" http://geomalgorithms.com/a06-\_intersect-2.html I am having problem…

---

## [Status of VTK 9.0 with respect to off screen rendering under Ubuntu with pip install](https://discourse.vtk.org/t/status-of-vtk-9-0-with-respect-to-off-screen-rendering-under-ubuntu-with-pip-install/5631)

<div class="topic-metadata">

**Author:** [@aborsic](https://discourse.vtk.org/u/aborsic)\
**Replies:** 7\
**Last updated:** [April 24, 2021, 3:41pm UTC](https://discourse.vtk.org/t/status-of-vtk-9-0-with-respect-to-off-screen-rendering-under-ubuntu-with-pip-install/5631 "2021-04-24T15:41:56Z")

</div>

Hello All, I have been experimenting with off screen rendering under Ubuntu 20.04 LTS and VTK 9.0.1 installed on Python 3.8 using pip3 install. I have simply set SetOffScreenRendering(1) on a rendering window on a small…

---

## [vtkImageResliceMapper and an image transform](https://discourse.vtk.org/t/vtkimagereslicemapper-and-an-image-transform/5575)

<div class="topic-metadata">

**Author:** [@aborsic](https://discourse.vtk.org/u/aborsic)\
**Replies:** 5\
**Last updated:** [April 23, 2021, 6:49pm UTC](https://discourse.vtk.org/t/vtkimagereslicemapper-and-an-image-transform/5575 "2021-04-23T18:49:49Z")

</div>

Hi All, I have a question: I need to reslice a DICOM volume, and I have been using successfully the vtkImageResliceMapper class to do so. I am looking now to apply a linear transform to the image volume and then to sli…

---

## [Hide selected cells with internal edges](https://discourse.vtk.org/t/hide-selected-cells-with-internal-edges/5623)

<div class="topic-metadata">

**Author:** [@Carle](https://discourse.vtk.org/u/Carle)\
**Replies:** 0\
**Last updated:** [April 23, 2021, 4:52am UTC](https://discourse.vtk.org/t/hide-selected-cells-with-internal-edges/5623 "2021-04-23T04:52:34Z")

</div>

Dear all, I modified the alpha to zero to hide the selected cells, but the internal edges are still visible when EdgeVisibilityOn is set, so who knows how to use modifying the rgba of cells to hide them and relative edg…

---

## [Inaccurate principal curvature near peaks](https://discourse.vtk.org/t/inaccurate-principal-curvature-near-peaks/5603)

<div class="topic-metadata">

**Author:** [@cbhushan](https://discourse.vtk.org/u/cbhushan)\
**Replies:** 20\
**Last updated:** [April 21, 2021, 8:04pm UTC](https://discourse.vtk.org/t/inaccurate-principal-curvature-near-peaks/5603 "2021-04-21T20:04:56Z")

</div>

I have been noticing some inaccurate principal curvature estimates near peaks of some of manifolds I was working with. Example included below. Areas with issue are pointed by arrows. These inaccuracies are affecting calc…

---

## [cmake find\_package (VTK)](https://discourse.vtk.org/t/cmake-find-package-vtk/663)

<div class="topic-metadata">

**Author:** [@tirons](https://discourse.vtk.org/u/tirons)\
**Replies:** 12\
**Last updated:** [April 21, 2021, 6:05pm UTC](https://discourse.vtk.org/t/cmake-find-package-vtk/663 "2021-04-21T18:05:39Z")

</div>

Hi, I’m not sure if this is a CMake or a VTK question…apologies if this is the wrong place, but I think the behaviour I’m seeing stems from VTK’s FindVTK.cmake file. My C++ project has an optional VTK dependency, and co…

---

## [Using vtkOBBTree::ComputeOBB](https://discourse.vtk.org/t/using-vtkobbtree-computeobb/5558)

<div class="topic-metadata">

**Author:** [@spyridon97](https://discourse.vtk.org/u/spyridon97)\
**Replies:** 2\
**Last updated:** [April 21, 2021, 3:40pm UTC](https://discourse.vtk.org/t/using-vtkobbtree-computeobb/5558 "2021-04-21T15:40:38Z")

</div>

Hello everyone, I have a point set, and I want to calculate its minimum bounding box. I need it so I can create an oriented image which I will populate afterward. For the image, I use the ITK library. So far this is my…

---

## [VTK + Java + MacOS, awt error](https://discourse.vtk.org/t/vtk-java-macos-awt-error/5586)

<div class="topic-metadata">

**Author:** [@thegbiv](https://discourse.vtk.org/u/thegbiv)\
**Replies:** 2\
**Last updated:** [April 21, 2021, 3:23pm UTC](https://discourse.vtk.org/t/vtk-java-macos-awt-error/5586 "2021-04-21T15:23:34Z")

</div>

Hello again. In my quest to “get back into VTK shape” I’ve been trying to build/run VTK in various configurations to learn what’s changed since I’ve last used the API. One issue that I’ve run into, is that I get some st…

---

## [Legacy VTK: associating multiple unknowns with each point](https://discourse.vtk.org/t/legacy-vtk-associating-multiple-unknowns-with-each-point/5599)

<div class="topic-metadata">

**Author:** [@mturner](https://discourse.vtk.org/u/mturner)\
**Replies:** 0\
**Last updated:** [April 21, 2021, 10:25am UTC](https://discourse.vtk.org/t/legacy-vtk-associating-multiple-unknowns-with-each-point/5599 "2021-04-21T10:25:14Z")

</div>

Hi, I might have missed something obvious in the documentation, but it is not clear to me how I can associate multiple (say, up to 20) scalars with each point in a legacy VTK STRUCTURED\_POINTS representation. Currently …

---

## [CellData with a data size different for each CellType.](https://discourse.vtk.org/t/celldata-with-a-data-size-different-for-each-celltype/5593)

<div class="topic-metadata">

**Author:** [@Florian\_Maurin](https://discourse.vtk.org/u/Florian_Maurin)\
**Replies:** 1\
**Last updated:** [April 21, 2021, 3:45am UTC](https://discourse.vtk.org/t/celldata-with-a-data-size-different-for-each-celltype/5593 "2021-04-21T03:45:57Z")

</div>

In the example below, the cell data size is the same for each cell. \<CellData HigherOrderDegrees="HigherOrderDegrees"\> \<DataArray type="Float64" Name="HigherOrderDegrees" NumberOfComponents="3" format="ascii" R…

---

## [collision between two tubes](https://discourse.vtk.org/t/collision-between-two-tubes/5594)

<div class="topic-metadata">

**Author:** [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)\
**Replies:** 5\
**Last updated:** [April 20, 2021, 7:13pm UTC](https://discourse.vtk.org/t/collision-between-two-tubes/5594 "2021-04-20T19:13:09Z")

</div>

Hi everyone, I try to use vtkCollisionDetectionFilter to detect collision between two tubes that created with vtkTubeFilter, but vtkCollisionDetectionFilter can not detect it. when i write and read one tube as STL file…

---

## [About window width and window level and display?](https://discourse.vtk.org/t/about-window-width-and-window-level-and-display/5581)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 3\
**Last updated:** [April 20, 2021, 2:02pm UTC](https://discourse.vtk.org/t/about-window-width-and-window-level-and-display/5581 "2021-04-20T14:02:01Z")

</div>

How to get the window width and window level of DICOM file, and set VR data to display only bones according to the window width and window level.

---

## [Visual Studio 2019 Debug the problem](https://discourse.vtk.org/t/visual-studio-2019-debug-the-problem/5566)

<div class="topic-metadata">

**Author:** [@Jame](https://discourse.vtk.org/u/Jame)\
**Replies:** 2\
**Last updated:** [April 19, 2021, 10:35pm UTC](https://discourse.vtk.org/t/visual-studio-2019-debug-the-problem/5566 "2021-04-19T22:35:00Z")

</div>

Pop-up window:cannot start program“D:\\VTK\\bin\\x64\\Debug\\ALL-BUILD”.Access denied.

---

## [vtkDescriptiveStatistics output in vtk 7.1.1](https://discourse.vtk.org/t/vtkdescriptivestatistics-output-in-vtk-7-1-1/5584)

<div class="topic-metadata">

**Author:** [@Jonas\_Grammens](https://discourse.vtk.org/u/Jonas_Grammens)\
**Replies:** 0\
**Last updated:** [April 19, 2021, 4:55pm UTC](https://discourse.vtk.org/t/vtkdescriptivestatistics-output-in-vtk-7-1-1/5584 "2021-04-19T16:55:41Z")

</div>

Hi all, I am trying to calcalute some descriptive statistics from a vtkDoubleArray. So far, I created a vtkTable as input for the vtkDescriptiveStatistics object and set the columns, learn, derive and assess options. …

---

## [Unwanted interpolation in vtkTexture](https://discourse.vtk.org/t/unwanted-interpolation-in-vtktexture/5556)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 10\
**Last updated:** [April 19, 2021, 10:36am UTC](https://discourse.vtk.org/t/unwanted-interpolation-in-vtktexture/5556 "2021-04-19T10:36:16Z")

</div>

In applying a texture to a mesh artifacts show up for edges linking different regions of the uv texture plane: import numpy as np txu = 'SMPL\_sampleTex\_m.jpg' uvmap = np.load('uv\_table.npy') import vtk from vtk.util.n…

---

## [USE vtkWorldPointPicker EXCEPTION](https://discourse.vtk.org/t/use-vtkworldpointpicker-exception/5564)

<div class="topic-metadata">

**Author:** [@fox-wangguodong](https://discourse.vtk.org/u/fox-wangguodong)\
**Replies:** 0\
**Last updated:** [April 18, 2021, 5:25am UTC](https://discourse.vtk.org/t/use-vtkworldpointpicker-exception/5564 "2021-04-18T05:25:25Z")

</div>

When i use vtkWorldPointPicker to get world position from display coordinates; it say that: 2021-04-18 13:16:52.518 ( 18.223s) \[ 6D679800\] vtkOpenGLState.cxx:203 WARN| Error in cache state for GL\_READ\_FRAMEBUFFER\_BINDI…

---

## [Merging connected coplanar triangles and quads to create a boundary](https://discourse.vtk.org/t/merging-connected-coplanar-triangles-and-quads-to-create-a-boundary/5555)

<div class="topic-metadata">

**Author:** [@sboogert](https://discourse.vtk.org/u/sboogert)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 10:52am UTC](https://discourse.vtk.org/t/merging-connected-coplanar-triangles-and-quads-to-create-a-boundary/5555 "2021-04-16T10:52:47Z")

</div>

I have a polyData that has been created from a boolean meshing system. I would like to display the 3d polygons which represent the boundary of a connected set of coplanar triangles and quads. I have looked at vtkFeatureE…

---

## [Reading PLY file with color](https://discourse.vtk.org/t/reading-ply-file-with-color/5538)

<div class="topic-metadata">

**Author:** [@csad6517](https://discourse.vtk.org/u/csad6517)\
**Replies:** 11\
**Last updated:** [April 15, 2021, 10:33pm UTC](https://discourse.vtk.org/t/reading-ply-file-with-color/5538 "2021-04-15T22:33:35Z")

</div>

I have a PLY file (exported from Solidworks incl. vertex colors), which I want to visualize using vtk. The header information of the file shows that it contains some color information: ´ ply format binary\_little\_endia…

---

## [2D Actors in 3D space](https://discourse.vtk.org/t/2d-actors-in-3d-space/5547)

<div class="topic-metadata">

**Author:** [@bigvalthoss](https://discourse.vtk.org/u/bigvalthoss)\
**Replies:** 0\
**Last updated:** [April 13, 2021, 8:50pm UTC](https://discourse.vtk.org/t/2d-actors-in-3d-space/5547 "2021-04-13T20:50:29Z")

</div>

I am wondering about getting 2D actors to work in 3D space? Is there a way of putting them on a plane and setting the plane at a given position so that you can move around it?

---

## [3D Plane in a discrete domain.](https://discourse.vtk.org/t/3d-plane-in-a-discrete-domain/5512)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 6\
**Last updated:** [April 12, 2021, 8:58pm UTC](https://discourse.vtk.org/t/3d-plane-in-a-discrete-domain/5512 "2021-04-12T20:58:24Z")

</div>

Dear All, Perhaps a math question but I think someone in this forum knows. I have a 3D plane defined by 3 floating points. I determine the plane equation parameters (ax+by+cz+d=0). I want to test all integer points (x,…

---

## [Silent failures in python](https://discourse.vtk.org/t/silent-failures-in-python/5531)

<div class="topic-metadata">

**Author:** [@Ingmar](https://discourse.vtk.org/u/Ingmar)\
**Replies:** 5\
**Last updated:** [April 12, 2021, 6:09pm UTC](https://discourse.vtk.org/t/silent-failures-in-python/5531 "2021-04-12T18:09:40Z")

</div>

I often experience issues when implementing VTK based python scripts, which are really hard to debug, sometimes not even an error message window is showing up (in my current case with vtkMetaImageWriter). Is there any wa…

---

## [Embedding VTK render in a dialog box in PyQT (i.e., not using QMainWindow)](https://discourse.vtk.org/t/embedding-vtk-render-in-a-dialog-box-in-pyqt-i-e-not-using-qmainwindow/5492)

<div class="topic-metadata">

**Author:** [@Vardonir](https://discourse.vtk.org/u/Vardonir)\
**Replies:** 2\
**Last updated:** [April 9, 2021, 6:56am UTC](https://discourse.vtk.org/t/embedding-vtk-render-in-a-dialog-box-in-pyqt-i-e-not-using-qmainwindow/5492 "2021-04-09T06:56:33Z")

</div>

I have a class that’s subclassed from QFrame that looks like this class TestVTKinQFrame(QFrame): def \_\_init\_\_(self): super(TestVTKinQFrame, self).\_\_init\_\_() self.vl = QVBoxLayout() self.vtkW…

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

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