# Support

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

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

**Page:** 105

---

## [Rotation of two vectors](https://discourse.vtk.org/t/rotation-of-two-vectors/5858)

<div class="topic-metadata">

**Author:** [@Koly](https://discourse.vtk.org/u/Koly)\
**Replies:** 1\
**Last updated:** [May 25, 2021, 9:54pm UTC](https://discourse.vtk.org/t/rotation-of-two-vectors/5858 "2021-05-25T21:54:16Z")

</div>

Given two three-dimensional unit vectors A and B, calculate the rotation angle (including the order) from A to B.

---

## [Glyph3D problems with orientation](https://discourse.vtk.org/t/glyph3d-problems-with-orientation/5797)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 5\
**Last updated:** [May 25, 2021, 3:31pm UTC](https://discourse.vtk.org/t/glyph3d-problems-with-orientation/5797 "2021-05-25T15:31:35Z")

</div>

Hello I am new to VTK and have the problem that my glyphs are not oriented and i don’t understand why This is the orientation i get: and this should be their orientation: This is my Code: void performGlyph(const…

---

## [Assigning node number vtk file](https://discourse.vtk.org/t/assigning-node-number-vtk-file/5859)

<div class="topic-metadata">

**Author:** [@gaetanocmr](https://discourse.vtk.org/u/gaetanocmr)\
**Replies:** 0\
**Last updated:** [May 25, 2021, 8:18am UTC](https://discourse.vtk.org/t/assigning-node-number-vtk-file/5859 "2021-05-25T08:18:46Z")

</div>

Hello there, I’m facing the following problem: I’m making a vtk file with all my point, but I do not want to assign the default number of the node in vtk I have my numbering instead. I’m generating a file like this: #…

---

## [Generate VTK mesh from point and connectivity](https://discourse.vtk.org/t/generate-vtk-mesh-from-point-and-connectivity/5855)

<div class="topic-metadata">

**Author:** [@gaetanocmr](https://discourse.vtk.org/u/gaetanocmr)\
**Replies:** 1\
**Last updated:** [May 25, 2021, 12:44am UTC](https://discourse.vtk.org/t/generate-vtk-mesh-from-point-and-connectivity/5855 "2021-05-25T00:44:48Z")

</div>

Hello guys, I have two dictionary in python with the same information: first dictionary at each key contains the informations about nodes of my mesh, so the node number and the (x,y,z) coordinate Second dictionary…

---

## [Changing color space of vtkAlgorithmOutput to BGR for vtkImageExport?](https://discourse.vtk.org/t/changing-color-space-of-vtkalgorithmoutput-to-bgr-for-vtkimageexport/5832)

<div class="topic-metadata">

**Author:** [@Nmlgc](https://discourse.vtk.org/u/Nmlgc)\
**Replies:** 3\
**Last updated:** [May 21, 2021, 12:58pm UTC](https://discourse.vtk.org/t/changing-color-space-of-vtkalgorithmoutput-to-bgr-for-vtkimageexport/5832 "2021-05-21T12:58:03Z")

</div>

Hello, I’m trying to export an image from a vtkAlgorithmOutput source to a C array in BGRA32 format. The export itself is working fine as long as vtkImageMapToColors is used to (apparently) ensure 8 bits per color compo…

---

## [Maximum edge length for vtkAdaptiveSubdivisionFilter()](https://discourse.vtk.org/t/maximum-edge-length-for-vtkadaptivesubdivisionfilter/5814)

<div class="topic-metadata">

**Author:** [@ttsesm](https://discourse.vtk.org/u/ttsesm)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 12:44pm UTC](https://discourse.vtk.org/t/maximum-edge-length-for-vtkadaptivesubdivisionfilter/5814 "2021-05-20T12:44:34Z")

</div>

Hi, I have two meshes with the following properties: m\_faces: 16640 m\_points: 49920 m\_area: 178.82696989147524 m1\_faces: 8 m1\_points: 24 m1\_area: 1.440205667851934 Now I would like to subdivide m1 so that it has appr…

---

## [Smooth surface boundary](https://discourse.vtk.org/t/smooth-surface-boundary/5826)

<div class="topic-metadata">

**Author:** [@Beheshtian](https://discourse.vtk.org/u/Beheshtian)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 11:26am UTC](https://discourse.vtk.org/t/smooth-surface-boundary/5826 "2021-05-20T11:26:50Z")

</div>

Hi all, I have a surface with a bad boundary. I need to smooth and repair the boundary. I used vtkSmoothPolydata but not useful. smoothFilter = vtk.vtkSmoothPolyDataFilter() smoothFilter.SetInputData(part) smoothFi…

---

## [how can I increase the number of Polydata cells?](https://discourse.vtk.org/t/how-can-i-increase-the-number-of-polydata-cells/5705)

<div class="topic-metadata">

**Author:** [@Beheshtian](https://discourse.vtk.org/u/Beheshtian)\
**Replies:** 3\
**Last updated:** [May 20, 2021, 7:32am UTC](https://discourse.vtk.org/t/how-can-i-increase-the-number-of-polydata-cells/5705 "2021-05-20T07:32:57Z")

</div>

Hi all, I need to increase the number of Polydata points. I already used the vtkAdaptiveSubdivisionFilter: ASF = vtk.vtkAdaptiveSubdivisionFilter() ASF.SetInputData(part) ASF.SetMaximumTriangleArea(0.2) ASF.Update() b…

---

## [Which XML file format for 3D mesh consisting of rectangular cuboids with variable elevations and sizes?](https://discourse.vtk.org/t/which-xml-file-format-for-3d-mesh-consisting-of-rectangular-cuboids-with-variable-elevations-and-sizes/5770)

<div class="topic-metadata">

**Author:** [@datathing](https://discourse.vtk.org/u/datathing)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 8:57pm UTC](https://discourse.vtk.org/t/which-xml-file-format-for-3d-mesh-consisting-of-rectangular-cuboids-with-variable-elevations-and-sizes/5770 "2021-05-19T20:57:54Z")

</div>

Hi, I’m trying to use the serial XML file formats to import data into ParaView for visualization. I have followed a tutorial that gets me pretty close to what I want: However, the cells in the model mesh are actuall…

---

## [How to disable vtkBillboardTextActor3D occlusion?](https://discourse.vtk.org/t/how-to-disable-vtkbillboardtextactor3d-occlusion/5816)

<div class="topic-metadata">

**Author:** [@JAHDv](https://discourse.vtk.org/u/JAHDv)\
**Replies:** 0\
**Last updated:** [May 19, 2021, 11:43am UTC](https://discourse.vtk.org/t/how-to-disable-vtkbillboardtextactor3d-occlusion/5816 "2021-05-19T11:43:12Z")

</div>

Hi, I need to use this object for text rendering and I can’t switch to another one. How could I force the labels to always be displayed in front of the 3D model? Thank you very much in advance

---

## [vtkBillboardTextActor3D how to get text box size?](https://discourse.vtk.org/t/vtkbillboardtextactor3d-how-to-get-text-box-size/5815)

<div class="topic-metadata">

**Author:** [@JAHDv](https://discourse.vtk.org/u/JAHDv)\
**Replies:** 0\
**Last updated:** [May 19, 2021, 11:40am UTC](https://discourse.vtk.org/t/vtkbillboardtextactor3d-how-to-get-text-box-size/5815 "2021-05-19T11:40:14Z")

</div>

I am using vtkBillBoardTextActor3D to render 3D text and I need to know the size of the text box. This method has neither getPosition2 nor getWidth and the getBounds method seems to be returning a minimax box that does n…

---

## [LNK1120: An external command that could not be resolved](https://discourse.vtk.org/t/lnk1120-an-external-command-that-could-not-be-resolved/5794)

<div class="topic-metadata">

**Author:** [@Jame](https://discourse.vtk.org/u/Jame)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 1:46pm UTC](https://discourse.vtk.org/t/lnk1120-an-external-command-that-could-not-be-resolved/5794 "2021-05-18T13:46:02Z")

</div>

Hello, everyone,I recently encountered a tricky problem in a test program: LNK2019 : Unable to parse external symbol main, function “int \_\_cDecl invoke\_main(void)” (? invoke\_main@yahxz) refers to the symbol project1d :\\V…

---

## [Unable to get vtkImageViewer2 to display image](https://discourse.vtk.org/t/unable-to-get-vtkimageviewer2-to-display-image/5801)

<div class="topic-metadata">

**Author:** [@josiahblaisdell](https://discourse.vtk.org/u/josiahblaisdell)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 5:51am UTC](https://discourse.vtk.org/t/unable-to-get-vtkimageviewer2-to-display-image/5801 "2021-05-18T05:51:07Z")

</div>

Hello, I am having trouble getting some imaging data to appear correctly using the VTK C++ API. When I run the code below and read in my image, all I get is a blank white box where the image should be. The image is a “…

---

## [File format conversion](https://discourse.vtk.org/t/file-format-conversion/5789)

<div class="topic-metadata">

**Author:** [@Jame](https://discourse.vtk.org/u/Jame)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 11:25pm UTC](https://discourse.vtk.org/t/file-format-conversion/5789 "2021-05-17T23:25:29Z")

</div>

How do I convert.txt to.vtk format

---

## [C++ Delaunay triangulation algorithm](https://discourse.vtk.org/t/c-delaunay-triangulation-algorithm/5792)

<div class="topic-metadata">

**Author:** [@Jame](https://discourse.vtk.org/u/Jame)\
**Replies:** 1\
**Last updated:** [May 16, 2021, 10:07pm UTC](https://discourse.vtk.org/t/c-delaunay-triangulation-algorithm/5792 "2021-05-16T22:07:13Z")

</div>

Hello, everyone! For help a point cloud data Delaunay triangulation algorithm source code, the best note reference learning, thank you.

---

## [Is this a bug for planeWidget?](https://discourse.vtk.org/t/is-this-a-bug-for-planewidget/5793)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.vtk.org/u/timeanddoctor)\
**Replies:** 2\
**Last updated:** [May 16, 2021, 2:53pm UTC](https://discourse.vtk.org/t/is-this-a-bug-for-planewidget/5793 "2021-05-16T14:53:43Z")

</div>

I created a planeWidget to cut the volume. However the volume was disappeared when I rotate the window to a angle by mouse. def clipPlane(obj, event): obj.GetPlane(clippingPlane) #planeWidget.Ge…

---

## [Compiling VTK with X11-xcb on Ubuntu 20](https://discourse.vtk.org/t/compiling-vtk-with-x11-xcb-on-ubuntu-20/5518)

<div class="topic-metadata">

**Author:** [@nantille](https://discourse.vtk.org/u/nantille)\
**Replies:** 1\
**Last updated:** [May 15, 2021, 7:36pm UTC](https://discourse.vtk.org/t/compiling-vtk-with-x11-xcb-on-ubuntu-20/5518 "2021-05-15T19:36:58Z")

</div>

I cloned a vtk nightly-master repo, created a build folder and ran ccmake ../vtk Now I see that it cannot find X11-xcb related stuff: X11\_xcb\_util\_INCLUDE\_PATH X11\_xcb\_util\_LIB X11\_xcb\_icccm\_INCLUDE\_PATH X11\_xcb\_icccm\_…

---

## [filtering out vtkpolydata a frustum can't see (due to obstruction)](https://discourse.vtk.org/t/filtering-out-vtkpolydata-a-frustum-cant-see-due-to-obstruction/5771)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 9\
**Last updated:** [May 14, 2021, 7:22pm UTC](https://discourse.vtk.org/t/filtering-out-vtkpolydata-a-frustum-cant-see-due-to-obstruction/5771 "2021-05-14T19:22:57Z")

</div>

Hi - here’s the case I’m trying to solve (well, optimize really). We have a Frustum and a polydata, and we want to do the following: Only get the data within the frustum (which we can do with vtkClipPolyData and the f…

---

## [Working with whole slide images in VTK](https://discourse.vtk.org/t/working-with-whole-slide-images-in-vtk/5767)

<div class="topic-metadata">

**Author:** [@Jason\_Daniel](https://discourse.vtk.org/u/Jason_Daniel)\
**Replies:** 10\
**Last updated:** [May 14, 2021, 5:18am UTC](https://discourse.vtk.org/t/working-with-whole-slide-images-in-vtk/5767 "2021-05-14T05:18:56Z")

</div>

Hi everyone. I am new to VTK and I’ve been trying to apply it to whole slide images (WSI) in digital pathology. This has presented some interesting challenges and I would be interested to know how some of these challenge…

---

## [Generating streamlines for random vector fields with Python](https://discourse.vtk.org/t/generating-streamlines-for-random-vector-fields-with-python/5774)

<div class="topic-metadata">

**Author:** [@Davide\_sd](https://discourse.vtk.org/u/Davide_sd)\
**Replies:** 0\
**Last updated:** [May 13, 2021, 9:06pm UTC](https://discourse.vtk.org/t/generating-streamlines-for-random-vector-fields-with-python/5774 "2021-05-13T21:06:59Z")

</div>

I’m trying to build a visualization tool for 3D vector fields (could be any vector field). All I know is that the vector field is discretized in a cubic region. import k3d import vtk from vtk.util import numpy\_support i…

---

## [Setting each glyph opacity and representation](https://discourse.vtk.org/t/setting-each-glyph-opacity-and-representation/5666)

<div class="topic-metadata">

**Author:** [@sboogert](https://discourse.vtk.org/u/sboogert)\
**Replies:** 4\
**Last updated:** [May 13, 2021, 3:03pm UTC](https://discourse.vtk.org/t/setting-each-glyph-opacity-and-representation/5666 "2021-05-13T15:03:21Z")

</div>

I have a large vtkPolyData set that I visualize with vtkTensorGlyph. Is it possible to change the opacity and representation (wireframe/surface) for each glyph independently? I suppose in a simiilar way that each glyph c…

---

## [VTK 9.0.1 with GDCM3.0, CMAKE](https://discourse.vtk.org/t/vtk-9-0-1-with-gdcm3-0-cmake/5768)

<div class="topic-metadata">

**Author:** [@Frank\_Gao](https://discourse.vtk.org/u/Frank_Gao)\
**Replies:** 3\
**Last updated:** [May 13, 2021, 1:08pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-with-gdcm3-0-cmake/5768 "2021-05-13T13:08:55Z")

</div>

Hello VTK experts, I am having some trouble with VTK 9.0 and GDCM 3.0.8. Using CMAKE 3.14 to configure both, turn on USING VTK on GDCM and using GDCM on VTK. It seems that cmake can never generate the correct VS 2019 p…

---

## [Extract Points from vtkParametricSpline](https://discourse.vtk.org/t/extract-points-from-vtkparametricspline/5715)

<div class="topic-metadata">

**Author:** [@jamesnoel](https://discourse.vtk.org/u/jamesnoel)\
**Replies:** 3\
**Last updated:** [May 13, 2021, 10:10am UTC](https://discourse.vtk.org/t/extract-points-from-vtkparametricspline/5715 "2021-05-13T10:10:20Z")

</div>

Dear All, Does anyone know how I can extract all points calculated in the vtkParametric spline? I only seem to be able to return the control points I inserted as input. Greatly appreciate any help. Best Regards, Jame…

---

## [Actor flash once after change actor input connect](https://discourse.vtk.org/t/actor-flash-once-after-change-actor-input-connect/5642)

<div class="topic-metadata">

**Author:** [@11112](https://discourse.vtk.org/u/11112)\
**Replies:** 4\
**Last updated:** [May 13, 2021, 5:52am UTC](https://discourse.vtk.org/t/actor-flash-once-after-change-actor-input-connect/5642 "2021-05-13T05:52:15Z")

</div>

I have an actor in renderer window with QVTKOpenGLNativeWidget And every time I changed actor input poly data, than I interact with mouse. It will show old vision suddenly. Why that happened? Any solution? actor-\>Ge…

---

## [VTK interaction (zooming, panning) is very laggy with alpha color](https://discourse.vtk.org/t/vtk-interaction-zooming-panning-is-very-laggy-with-alpha-color/5753)

<div class="topic-metadata">

**Author:** [@hoongdt](https://discourse.vtk.org/u/hoongdt)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 12:55pm UTC](https://discourse.vtk.org/t/vtk-interaction-zooming-panning-is-very-laggy-with-alpha-color/5753 "2021-05-12T12:55:31Z")

</div>

Hi guys, I have a problem with VTK graphics. The interaction is very slow when alpha color is set in the color map. The panning and zooming is very laggy which makes the program not so responsive. My vtkPolyData saved …

---

## [Issues with line rendering](https://discourse.vtk.org/t/issues-with-line-rendering/5752)

<div class="topic-metadata">

**Author:** [@jensgw](https://discourse.vtk.org/u/jensgw)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 12:25pm UTC](https://discourse.vtk.org/t/issues-with-line-rendering/5752 "2021-05-12T12:25:59Z")

</div>

Hi there, does anybody have an idea what happens to the lines in the attached picture? Depending on the viewing angle the thick part of the line moves. The line should be of uniform thickness of 3 px.

---

## [Remote visualisation. Any advantages of Paraview-based server as it is compared to VTK-based server in multi-user mode?](https://discourse.vtk.org/t/remote-visualisation-any-advantages-of-paraview-based-server-as-it-is-compared-to-vtk-based-server-in-multi-user-mode/5763)

<div class="topic-metadata">

**Author:** [@EMalikova](https://discourse.vtk.org/u/EMalikova)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 6:16pm UTC](https://discourse.vtk.org/t/remote-visualisation-any-advantages-of-paraview-based-server-as-it-is-compared-to-vtk-based-server-in-multi-user-mode/5763 "2021-05-11T18:16:14Z")

</div>

Dear All, I have been playing with launching remote visualisation in multi-user mode and I am trying to understand the possibilities/limitations that I have to deal with depending on the solutions that I chose. In the …

---

## [How to project points to Polydata?](https://discourse.vtk.org/t/how-to-project-points-to-polydata/5694)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 7\
**Last updated:** [May 11, 2021, 1:47pm UTC](https://discourse.vtk.org/t/how-to-project-points-to-polydata/5694 "2021-05-11T13:47:11Z")

</div>

Hello!!! I’m using VTK 9.01 and Python 3.8.3 and I’m trying to probe point scalar values from a Polydata to a set of target Points. The target Points lie close to, but not necessarily ON the cells in the polydata and t…

---

## [Parallel Projection not working](https://discourse.vtk.org/t/parallel-projection-not-working/5741)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 11\
**Last updated:** [May 11, 2021, 5:21am UTC](https://discourse.vtk.org/t/parallel-projection-not-working/5741 "2021-05-11T05:21:18Z")

</div>

Hey All, I am trying to make the ParallelProjection work and I am able to create a camera that uses parallel projection bu the I observe that it does not generate flat views that I expect. Following is what I am doing t…

---

## [New here](https://discourse.vtk.org/t/new-here/5748)

<div class="topic-metadata">

**Author:** [@drishti\_vishesh](https://discourse.vtk.org/u/drishti_vishesh)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 7:52pm UTC](https://discourse.vtk.org/t/new-here/5748 "2021-05-10T19:52:25Z")

</div>

Hi, Can anyone help me in knowing how I can get started with making custom modules for VTK in Python?

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

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