# Support

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

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

**Page:** 103

---

## [How to add texture coordinates to an XML VTK File?](https://discourse.vtk.org/t/how-to-add-texture-coordinates-to-an-xml-vtk-file/5999)

<div class="topic-metadata">

**Author:** [@datathing](https://discourse.vtk.org/u/datathing)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 8:27pm UTC](https://discourse.vtk.org/t/how-to-add-texture-coordinates-to-an-xml-vtk-file/5999 "2021-06-23T20:27:53Z")

</div>

Hi, I haven’t been able to find any information on how to do this. I want to be able to add texture coordinates to .vtu file. A simple example being the following shape: …which is defined by the following .vtu in XML…

---

## [How to use vtkImageSliceMapper-\>SetSliceNumber?](https://discourse.vtk.org/t/how-to-use-vtkimageslicemapper-setslicenumber/6038)

<div class="topic-metadata">

**Author:** [@kretep](https://discourse.vtk.org/u/kretep)\
**Replies:** 3\
**Last updated:** [June 23, 2021, 1:24pm UTC](https://discourse.vtk.org/t/how-to-use-vtkimageslicemapper-setslicenumber/6038 "2021-06-23T13:24:06Z")

</div>

Hi, I’m visualizing a sliced image volume using a vtkImageSliceMapper and vtkImageSlice. Slicing through it with the vtkInteractorStyleImage works fine, but when I want to set the slice index through code (I want to sync…

---

## [How can I export Tubes to .obj](https://discourse.vtk.org/t/how-can-i-export-tubes-to-obj/6015)

<div class="topic-metadata">

**Author:** [@Matt](https://discourse.vtk.org/u/Matt)\
**Replies:** 11\
**Last updated:** [June 23, 2021, 7:59am UTC](https://discourse.vtk.org/t/how-can-i-export-tubes-to-obj/6015 "2021-06-23T07:59:13Z")

</div>

Hi, I am wondering how to export tubes to a .obj file. I am trying to visualize Networkx graphs with vtk and create a model, but the vtkOBJExporter() will not export the tubes. I have tried turning capping on but that d…

---

## [Python VTK Windows OpenGL error](https://discourse.vtk.org/t/python-vtk-windows-opengl-error/6040)

<div class="topic-metadata">

**Author:** [@GuillaumeJacquenot](https://discourse.vtk.org/u/GuillaumeJacquenot)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 7:10am UTC](https://discourse.vtk.org/t/python-vtk-windows-opengl-error/6040 "2021-06-23T07:10:22Z")

</div>

Hello dear VTK developers / users I am trying to use vtk 9.0.1 from python 3.8.1 on a Windows 10 machine with Intel Graphics UHD 620. Unfortunately, when I try to open a window, I have a nasty OpenGL error. Does anyon…

---

## [error with a same vtkactor add in different vtkrender](https://discourse.vtk.org/t/error-with-a-same-vtkactor-add-in-different-vtkrender/6045)

<div class="topic-metadata">

**Author:** [@Hurmean](https://discourse.vtk.org/u/Hurmean)\
**Replies:** 3\
**Last updated:** [June 23, 2021, 5:42am UTC](https://discourse.vtk.org/t/error-with-a-same-vtkactor-add-in-different-vtkrender/6045 "2021-06-23T05:42:32Z")

</div>

when a vtkactor add in differert vtkrender with different vtkrenderwindow, this doesn’t work.

---

## [load obj file with Vtkobjreader giving relative path](https://discourse.vtk.org/t/load-obj-file-with-vtkobjreader-giving-relative-path/6032)

<div class="topic-metadata">

**Author:** [@Raj\_Kumar\_Ranabhat](https://discourse.vtk.org/u/Raj_Kumar_Ranabhat)\
**Replies:** 1\
**Last updated:** [June 23, 2021, 5:29am UTC](https://discourse.vtk.org/t/load-obj-file-with-vtkobjreader-giving-relative-path/6032 "2021-06-23T05:29:20Z")

</div>

Hi , I was trying to load obj file using VtkobjectReader in C++ While loading a obj with SetFileName if I give a full path of the obj, it works. However, I would like to load that file with relative path because I am i…

---

## [Position plane in 3D picture](https://discourse.vtk.org/t/position-plane-in-3d-picture/6025)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 5:12am UTC](https://discourse.vtk.org/t/position-plane-in-3d-picture/6025 "2021-06-23T05:12:19Z")

</div>

Dear All, I want to position a plane in an 3D picture (Skull). How I navigate in a 3D perspective? The mouse has 2D coordinates. If I use pickpoint I will be limited to the bone (skull) points to position the plane. A…

---

## [What's the relationship between Dolly and Zoom?](https://discourse.vtk.org/t/whats-the-relationship-between-dolly-and-zoom/6026)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 12:09pm UTC](https://discourse.vtk.org/t/whats-the-relationship-between-dolly-and-zoom/6026 "2021-06-22T12:09:29Z")

</div>

vtkCamera has two methods for zoom in/out: Dolly and Zoom. What’s relationship between Dolly and Zoom? Moreover, for vtkCamera::Dolly(dolly) and vtkCamera::Zoom(zoomfactor), how to convert the dolly to zoomfactor?

---

## [How to get the opengl symbolic constants using vtk?](https://discourse.vtk.org/t/how-to-get-the-opengl-symbolic-constants-using-vtk/6028)

<div class="topic-metadata">

**Author:** [@devmessias](https://discourse.vtk.org/u/devmessias)\
**Replies:** 2\
**Last updated:** [June 22, 2021, 1:21pm UTC](https://discourse.vtk.org/t/how-to-get-the-opengl-symbolic-constants-using-vtk/6028 "2021-06-22T13:21:43Z")

</div>

Hi, using the vtkOpenGLState it’s possible to set specific states for a given opengl instance using for example vtkglBlendFuncSeparate. My question it’s how I get the unsigned values from symbolic constants like GL\_ZER…

---

## [CUDA and OpenCL](https://discourse.vtk.org/t/cuda-and-opencl/5609)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 4:03am UTC](https://discourse.vtk.org/t/cuda-and-opencl/5609 "2021-06-22T04:03:15Z")

</div>

Dear All, Does VTK uses CUDA or OpenCL (with CPU or GPU) for processing? Or can be enabled? Thanks, Luís Gonçalves

---

## [Temporal Series (MultiBlockDataSet)](https://discourse.vtk.org/t/temporal-series-multiblockdataset/6023)

<div class="topic-metadata">

**Author:** [@j-miguel](https://discourse.vtk.org/u/j-miguel)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 1:18am UTC](https://discourse.vtk.org/t/temporal-series-multiblockdataset/6023 "2021-06-21T01:18:37Z")

</div>

Hi there, In order to implement a custom speed playback, I’m currently using a vtkInterpolator for each node to get the timesteps I need. While browsing VTK’s docs/source I’ve found the vtkTemporalInterpolator which I s…

---

## [Getting Surface Area of different face normal directions from PolyData](https://discourse.vtk.org/t/getting-surface-area-of-different-face-normal-directions-from-polydata/6020)

<div class="topic-metadata">

**Author:** [@Connor](https://discourse.vtk.org/u/Connor)\
**Replies:** 1\
**Last updated:** [June 20, 2021, 8:53pm UTC](https://discourse.vtk.org/t/getting-surface-area-of-different-face-normal-directions-from-polydata/6020 "2021-06-20T20:53:07Z")

</div>

Hi all, I am creating meshes for 3D crystalline shapes to get an understanding of the surface area covered by each face normal direction. This will allow me to make surface energy predictions. However, whilst I am able…

---

## [VTKPython](https://discourse.vtk.org/t/vtkpython/5938)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 23\
**Last updated:** [June 18, 2021, 8:26pm UTC](https://discourse.vtk.org/t/vtkpython/5938 "2021-06-18T20:26:18Z")

</div>

Dear All, In web-project-templates-master example I am trying to use pycuda package. Traceback (most recent call last): File “./server/vtkpython/vtkw-server.py”, line 48, in from vtk\_protocol import VtkCone File “/…

---

## [Error Using the Official vtk.js Tutorials (slides/video)](https://discourse.vtk.org/t/error-using-the-official-vtk-js-tutorials-slides-video/6003)

<div class="topic-metadata">

**Author:** [@davidshq](https://discourse.vtk.org/u/davidshq)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 8:25pm UTC](https://discourse.vtk.org/t/error-using-the-official-vtk-js-tutorials-slides-video/6003 "2021-06-18T20:25:29Z")

</div>

I’ve run into some challenges following the (official) video tutorial series on using VTK.js. I’m on part 2 and have built a project with the code provided. When I attempt to run npm run dev I receive an error about a m…

---

## [Context sharing between C/C++ and Python](https://discourse.vtk.org/t/context-sharing-between-c-c-and-python/4998)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 5\
**Last updated:** [June 18, 2021, 8:58am UTC](https://discourse.vtk.org/t/context-sharing-between-c-c-and-python/4998 "2021-06-18T08:58:20Z")

</div>

Dear All, Suppose that I displayed a 3D image with VTK in Python and I want to manipulate it with C/C++ (Rotate, pick a point etc). How I share VTK context between C/C++ and Python? Thanks, Luís Gonçalves

---

## [Python - Reading Multiple Volumes from NIfTI file](https://discourse.vtk.org/t/python-reading-multiple-volumes-from-nifti-file/5955)

<div class="topic-metadata">

**Author:** [@Birkl](https://discourse.vtk.org/u/Birkl)\
**Replies:** 6\
**Last updated:** [June 17, 2021, 1:08pm UTC](https://discourse.vtk.org/t/python-reading-multiple-volumes-from-nifti-file/5955 "2021-06-17T13:08:59Z")

</div>

Hi, some background: For my Bachelor’s Thesis I’m working on a medical application handling dosimetry images. For this I have to display them in 3d and 2d. So far, no problem. No I got a list of NIfTI files (.nii) w…

---

## [where vtkStripper class in vtk.js](https://discourse.vtk.org/t/where-vtkstripper-class-in-vtk-js/5973)

<div class="topic-metadata">

**Author:** [@agiles](https://discourse.vtk.org/u/agiles)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 12:11pm UTC](https://discourse.vtk.org/t/where-vtkstripper-class-in-vtk-js/5973 "2021-06-17T12:11:34Z")

</div>

I’m rewrite the C++ 's project , C++ using vtkStripper class show object’s section,but I can’t find the class in vtk.js

---

## [Question about Scalar Bar Actor via unpkg](https://discourse.vtk.org/t/question-about-scalar-bar-actor-via-unpkg/6010)

<div class="topic-metadata">

**Author:** [@Juan\_Camilo\_Del\_Rio](https://discourse.vtk.org/u/Juan_Camilo_Del_Rio)\
**Replies:** 3\
**Last updated:** [June 16, 2021, 9:26pm UTC](https://discourse.vtk.org/t/question-about-scalar-bar-actor-via-unpkg/6010 "2021-06-16T21:26:36Z")

</div>

Good afternoon. Currently, I’m developing an app to view and filter point clouds, and I wonder if the vtkScalarBarActor will be available via unpkg, due to the date is not possible to use that specific function. Thanks…

---

## [CGAL interoperability](https://discourse.vtk.org/t/cgal-interoperability/5985)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 9\
**Last updated:** [June 16, 2021, 3:05pm UTC](https://discourse.vtk.org/t/cgal-interoperability/5985 "2021-06-16T15:05:50Z")

</div>

Hello, is somebody aware of good examples on processing VTK objects - e.g. polydata triangulated surfaces - with CGAL tools - e.g. remeshing, Boolean operations, topology. I would be particularly interested in a way to d…

---

## [Clipping and cutting polydata shows incomplete contours](https://discourse.vtk.org/t/clipping-and-cutting-polydata-shows-incomplete-contours/4728)

<div class="topic-metadata">

**Author:** [@Marti.R](https://discourse.vtk.org/u/Marti.R)\
**Replies:** 10\
**Last updated:** [June 16, 2021, 2:47pm UTC](https://discourse.vtk.org/t/clipping-and-cutting-polydata-shows-incomplete-contours/4728 "2021-06-16T14:47:43Z")

</div>

Hello everyone! After my last question , to which I got a lot of useful suggestions, I managed to clip and cap a nested polydata. The result is supposed to look like this: The way I did this was to combine the invert…

---

## [Turn On/Off Interactivity](https://discourse.vtk.org/t/turn-on-off-interactivity/5993)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 5:11pm UTC](https://discourse.vtk.org/t/turn-on-off-interactivity/5993 "2021-06-15T17:11:18Z")

</div>

Dear All, How to switch on and off the implicit interactor in the example “web-project-templates-master”? I want to interact with other objects. I want if I press the mouse and drag, the picture do not rotate and do an…

---

## [vtk shared library lookup on linux](https://discourse.vtk.org/t/vtk-shared-library-lookup-on-linux/5997)

<div class="topic-metadata">

**Author:** [@Harald\_Scheirich](https://discourse.vtk.org/u/Harald_Scheirich)\
**Replies:** 5\
**Last updated:** [June 15, 2021, 1:18pm UTC](https://discourse.vtk.org/t/vtk-shared-library-lookup-on-linux/5997 "2021-06-15T13:18:13Z")

</div>

iMSTK depends on vtk for some part of its functionality, i recently rearranged the unit tests (that are utilizing) google test to link to gtest\_main rather than the binary produced via create\_test\_sourcelist in CMAKE, bu…

---

## [\[Help\] vtkPointPicker is not detecting points in glyph after scaling through camera](https://discourse.vtk.org/t/help-vtkpointpicker-is-not-detecting-points-in-glyph-after-scaling-through-camera/5995)

<div class="topic-metadata">

**Author:** [@srivastavaayurv](https://discourse.vtk.org/u/srivastavaayurv)\
**Replies:** 0\
**Last updated:** [June 14, 2021, 6:16pm UTC](https://discourse.vtk.org/t/help-vtkpointpicker-is-not-detecting-points-in-glyph-after-scaling-through-camera/5995 "2021-06-14T18:16:04Z")

</div>

Hello! I am using vtk to generate a a glyph of points. On double click , the point should be selected and highlighted green. The feature works correctly before scaling, however after scaling through the camera like such…

---

## [VTK installation in Anaconda python distribution](https://discourse.vtk.org/t/vtk-installation-in-anaconda-python-distribution/5990)

<div class="topic-metadata">

**Author:** [@DavidMiraut](https://discourse.vtk.org/u/DavidMiraut)\
**Replies:** 4\
**Last updated:** [June 14, 2021, 2:43pm UTC](https://discourse.vtk.org/t/vtk-installation-in-anaconda-python-distribution/5990 "2021-06-14T14:43:55Z")

</div>

I have some problems when I try to install VTK python package in latest anaconda distribution (2021.5 python 3.8). If I execute: conda install -c conda-forge vtk I only get error messages like: Collecting package …

---

## [multi-component, parallel volume rendering using vtk](https://discourse.vtk.org/t/multi-component-parallel-volume-rendering-using-vtk/5988)

<div class="topic-metadata">

**Author:** [@hari](https://discourse.vtk.org/u/hari)\
**Replies:** 0\
**Last updated:** [June 14, 2021, 9:34am UTC](https://discourse.vtk.org/t/multi-component-parallel-volume-rendering-using-vtk/5988 "2021-06-14T09:34:52Z")

</div>

Hi All, I am trying to do a parallel multi component volume rendering using vtk in python. To do this I developed a custom, parallel aware reader using vtkpythonalgorithmbase. Currently, my approach to achieve this is a…

---

## [Missing Library by configuration in Cmake & Sphere Example doesn't work](https://discourse.vtk.org/t/missing-library-by-configuration-in-cmake-sphere-example-doesnt-work/5978)

<div class="topic-metadata">

**Author:** [@Hassna87](https://discourse.vtk.org/u/Hassna87)\
**Replies:** 3\
**Last updated:** [June 13, 2021, 12:53am UTC](https://discourse.vtk.org/t/missing-library-by-configuration-in-cmake-sphere-example-doesnt-work/5978 "2021-06-13T00:53:26Z")

</div>

Hello everybody, I’m new to VTK, and I have some issues here. After doing the configuration in Cmake, Build\_Examples did not appear within the result of configuration: However, I have completed all the steps (gener…

---

## [How to subdivide designated facets efficiently?](https://discourse.vtk.org/t/how-to-subdivide-designated-facets-efficiently/5884)

<div class="topic-metadata">

**Author:** [@oyster](https://discourse.vtk.org/u/oyster)\
**Replies:** 1\
**Last updated:** [June 12, 2021, 3:53am UTC](https://discourse.vtk.org/t/how-to-subdivide-designated-facets-efficiently/5884 "2021-06-12T03:53:07Z")

</div>

Hi all, I have a mesh with some designated facets needed to be subdivided. To make topology consistent, first I remove the involved facet (with cell id), and then insert the new points and the new facets. Here is a cod…

---

## [Interacting with one only volume from a set](https://discourse.vtk.org/t/interacting-with-one-only-volume-from-a-set/5982)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 11:36am UTC](https://discourse.vtk.org/t/interacting-with-one-only-volume-from-a-set/5982 "2021-06-11T11:36:57Z")

</div>

Dear All, When running one VTK Python Interactor, all window is rotated when demanded. How to switch to rotate one of the volumes only? And switch to all the volumes again? How to do that also in the “web-project-templ…

---

## [Axes Thumbnail to interact with image.](https://discourse.vtk.org/t/axes-thumbnail-to-interact-with-image/5971)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 9:44pm UTC](https://discourse.vtk.org/t/axes-thumbnail-to-interact-with-image/5971 "2021-06-10T21:44:59Z")

</div>

Dear All, I want to have a plane with a coupled thumbnail axes image. With interaction wit the thumbnail I can rotate the plane in the direction of each axis. There is something in VTK that eases to do that? Thanks, L…

---

## [SIGSEGV in XSync () from /lib/x86\_64-linux-gnu/libX11.so.6 on Ubuntu 20.04 WSL](https://discourse.vtk.org/t/sigsegv-in-xsync-from-lib-x86-64-linux-gnu-libx11-so-6-on-ubuntu-20-04-wsl/5952)

<div class="topic-metadata">

**Author:** [@felmoreno1726](https://discourse.vtk.org/u/felmoreno1726)\
**Replies:** 6\
**Last updated:** [June 9, 2021, 10:23pm UTC](https://discourse.vtk.org/t/sigsegv-in-xsync-from-lib-x86-64-linux-gnu-libx11-so-6-on-ubuntu-20-04-wsl/5952 "2021-06-09T22:23:36Z")

</div>

I’m using Ubuntu WSL, and I have installed VTK 9.0.1. I get the error when running the following code. obj.h file: vtkSmartPointer\<vtkRenderWindow\> ren\_win\_; vtkSmartPointer\<vtkRenderWindowInteractor\> interacto…

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

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