# Latest

**URL:** https://discourse.vtk.org/latest.md?page=175

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

**Page:** 176

---

## [vtk.js modifying WidgetState always reloads all WidgetRepresentations](https://discourse.vtk.org/t/vtk-js-modifying-widgetstate-always-reloads-all-widgetrepresentations/5806)

<div class="topic-metadata">

**Author:** [@siebe](https://discourse.vtk.org/u/siebe)\
**Replies:** 7\
**Last updated:** [May 19, 2021, 10:05pm UTC](https://discourse.vtk.org/t/vtk-js-modifying-widgetstate-always-reloads-all-widgetrepresentations/5806 "2021-05-19T22:05:03Z")

</div>

Dear vtk-team, I’ve created a simple widget with a state and two representations: a basic representation displaying a ball at the position of the mouse a complex representation generating a large polyData The represe…

---

## [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…

---

## [Why do basic classes need to be loaded in genericRenderWindow and fullScreenRenderWindow?](https://discourse.vtk.org/t/why-do-basic-classes-need-to-be-loaded-in-genericrenderwindow-and-fullscreenrenderwindow/5810)

<div class="topic-metadata">

**Author:** [@take5v](https://discourse.vtk.org/u/take5v)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 3:47pm UTC](https://discourse.vtk.org/t/why-do-basic-classes-need-to-be-loaded-in-genericrenderwindow-and-fullscreenrenderwindow/5810 "2021-05-19T15:47:09Z")

</div>

Hi, Please see vtk-js/index.js at master · Kitware/vtk-js · GitHub and vtk-js/index.js at master · Kitware/vtk-js · GitHub. If I remove these imports I still get rendered scene and everything works fine. Why these impor…

---

## [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…

---

## [AverageIPScalarRange](https://discourse.vtk.org/t/averageipscalarrange/5544)

<div class="topic-metadata">

**Author:** [@Zaeran](https://discourse.vtk.org/u/Zaeran)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 10:13am UTC](https://discourse.vtk.org/t/averageipscalarrange/5544 "2021-05-19T10:13:58Z")

</div>

Hi, I’ve been trying to use setAverageIPScalarRange but when ever I try to set the minimum to anything above 0 I find that everything disappears. I am adding mapper.setAverageIPScalarRange(0.001, 100000000); to line 39…

---

## [VTK\_PYTHON\_OPTIONAL\_LINK](https://discourse.vtk.org/t/vtk-python-optional-link/484)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 8\
**Last updated:** [May 18, 2021, 10:21pm UTC](https://discourse.vtk.org/t/vtk-python-optional-link/484 "2021-05-18T22:21:24Z")

</div>

In Windows using Anaconda Python 3.7.1, I had to switch this off in order to get a build. I was getting the following error: LINK : fatal error LNK1104: cannot open file 'python37.lib' It relates to this commit: Merge…

---

## [Do we want to support GPU backend in the SMPTools?](https://discourse.vtk.org/t/do-we-want-to-support-gpu-backend-in-the-smptools/5802)

<div class="topic-metadata">

**Author:** [@Timothee\_Couble](https://discourse.vtk.org/u/Timothee_Couble)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 5:00pm UTC](https://discourse.vtk.org/t/do-we-want-to-support-gpu-backend-in-the-smptools/5802 "2021-05-18T17:00:16Z")

</div>

Hi everyone, We are currently trying to integrate VTKm as a new SMPTools backend with @Charles\_Gueunet. (MR-7823). We realized we couldn’t use the “standard” version of VTKm (with GPU backends) for this work. The GPU b…

---

## [Volume Controller genericRenderWindow](https://discourse.vtk.org/t/volume-controller-genericrenderwindow/5779)

<div class="topic-metadata">

**Author:** [@Julia](https://discourse.vtk.org/u/Julia)\
**Replies:** 14\
**Last updated:** [May 18, 2021, 3:01pm UTC](https://discourse.vtk.org/t/volume-controller-genericrenderwindow/5779 "2021-05-18T15:01:03Z")

</div>

Hi, I managed to get the volume viewer functionality of adding the controller widget to work in full screen render mode. However, I experience difficulty making it work with a generic render window (so not full screen).…

---

## [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

---

## [vtk gitlab repo unreachable - just for me](https://discourse.vtk.org/t/vtk-gitlab-repo-unreachable-just-for-me/5675)

<div class="topic-metadata">

**Author:** [@marcwang](https://discourse.vtk.org/u/marcwang)\
**Replies:** 6\
**Last updated:** [May 17, 2021, 4:47pm UTC](https://discourse.vtk.org/t/vtk-gitlab-repo-unreachable-just-for-me/5675 "2021-05-17T16:47:00Z")

</div>

I would like know if anybody else had and managed to solve the same issue. For some reason, the gitlab kitware website is unreachable using my homes internet. The website is definitely not down since isItDownOrJustMe web…

---

## [ParaView 5.9.0 2D plots are corrupted (regression, caused by bug in VTK shader)](https://discourse.vtk.org/t/paraview-5-9-0-2d-plots-are-corrupted-regression-caused-by-bug-in-vtk-shader/5778)

<div class="topic-metadata">

**Author:** [@a2leexx](https://discourse.vtk.org/u/a2leexx)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 9:25am UTC](https://discourse.vtk.org/t/paraview-5-9-0-2d-plots-are-corrupted-regression-caused-by-bug-in-vtk-shader/5778 "2021-05-17T09:25:05Z")

</div>

System information OS: Fedora Workstation 34 GPU: NVIDIA Corporation GM107M \[GeForce GTX 860M\] / Intel® HD Graphics 4600 (HSW GT2) Kernel version: 5.11.16 Mesa version: 21.0.3 X.Org Server 1.20.11 GNOME 40.0.0 Issue st…

---

## [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…

---

## [VTK Examples - Graph Testing](https://discourse.vtk.org/t/vtk-examples-graph-testing/5561)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 7\
**Last updated:** [May 16, 2021, 6:16am UTC](https://discourse.vtk.org/t/vtk-examples-graph-testing/5561 "2021-05-16T06:16:48Z")

</div>

I have come across an interesting discrepancy in testing vtk-examples. The following five tests all pass in Windows but fail in Linux: ConstructGraph EdgeWeights RandomGraphSource ScaleVertices SideBySideGraphs These…

---

## [compile error building master with intel compiler](https://discourse.vtk.org/t/compile-error-building-master-with-intel-compiler/5708)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 8\
**Last updated:** [May 15, 2021, 8:41pm UTC](https://discourse.vtk.org/t/compile-error-building-master-with-intel-compiler/5708 "2021-05-15T20:41:23Z")

</div>

I’m trying to build master on centos-7 with intel icc (ICC) 19.1.1.217 20200306 and I get this compile error: Filters/Sources/vtkPlaneSource.cxx(405): error: more than one instance of overloaded function "abs" matches t…

---

## [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…

---

## [Dynamically performing SetActiveScalars not working for .vti dataset](https://discourse.vtk.org/t/dynamically-performing-setactivescalars-not-working-for-vti-dataset/5784)

<div class="topic-metadata">

**Author:** [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Replies:** 0\
**Last updated:** [May 14, 2021, 7:19pm UTC](https://discourse.vtk.org/t/dynamically-performing-setactivescalars-not-working-for-vti-dataset/5784 "2021-05-14T19:19:56Z")

</div>

Hi, I have a .vti image dataset. I have 21 different arrays inside the PointData. I am able to statically display all those 21 scalar data values by using the following statement. ds = reader.getOutputData(); ds.get…

---

## [Composes error](https://discourse.vtk.org/t/composes-error/5780)

<div class="topic-metadata">

**Author:** [@Julia](https://discourse.vtk.org/u/Julia)\
**Replies:** 4\
**Last updated:** [May 14, 2021, 2:31pm UTC](https://discourse.vtk.org/t/composes-error/5780 "2021-05-14T14:31:37Z")

</div>

Hi, When importing vtkVolumeController I get the error: 'composition is only allowed when selector is single: local class name not in “.sliderIcon, “sliderIcon” is weird” ’ from the VolumeController.module.css file. How…

---

## [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…

---

## [Change background Color for vtkRenderWindowWithControlBar](https://discourse.vtk.org/t/change-background-color-for-vtkrenderwindowwithcontrolbar/5764)

<div class="topic-metadata">

**Author:** [@shrikant](https://discourse.vtk.org/u/shrikant)\
**Replies:** 2\
**Last updated:** [May 13, 2021, 3:18am UTC](https://discourse.vtk.org/t/change-background-color-for-vtkrenderwindowwithcontrolbar/5764 "2021-05-13T03:18:36Z")

</div>

Hi, I need help to change background color of the vtkRenderWindowWithControlBar. I saw vtkFullScreenRenderWindow has background property to set and exploring it but if somebody knows to change background color for vtkFu…

---

## [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 …

[Previous page](https://discourse.vtk.org/latest.md?page=174)

[Next page](https://discourse.vtk.org/latest.md?page=176)
