# Latest

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

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

**Page:** 125

---

## [Trouble interacting with contextviews on viewports](https://discourse.vtk.org/t/trouble-interacting-with-contextviews-on-viewports/8554)

<div class="topic-metadata">

**Author:** [@Afonso\_Pinto](https://discourse.vtk.org/u/Afonso_Pinto)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 10:30am UTC](https://discourse.vtk.org/t/trouble-interacting-with-contextviews-on-viewports/8554 "2022-07-19T10:30:16Z")

</div>

Hello everyone, I’m trying to implement a VTK widget that is supposed to display various charts on different viewports and I would like for the user to be able to get the tooltip that displays the information about the …

---

## [How to export renderer output in (vtk python) and used that exported info only to rendered results on other vtk python.](https://discourse.vtk.org/t/how-to-export-renderer-output-in-vtk-python-and-used-that-exported-info-only-to-rendered-results-on-other-vtk-python/8970)

<div class="topic-metadata">

**Author:** [@khadija](https://discourse.vtk.org/u/khadija)\
**Replies:** 5\
**Last updated:** [July 19, 2022, 9:41am UTC](https://discourse.vtk.org/t/how-to-export-renderer-output-in-vtk-python-and-used-that-exported-info-only-to-rendered-results-on-other-vtk-python/8970 "2022-07-19T09:41:16Z")

</div>

I want the rendering result on one pc from vtk python and just display rendered 3d data on the other pc by using some exported files? is it possible to export vtk rendered files in python in a format that can be open on…

---

## [How to achieve this clipping like OpenGL dose?](https://discourse.vtk.org/t/how-to-achieve-this-clipping-like-opengl-dose/8941)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 10:10pm UTC](https://discourse.vtk.org/t/how-to-achieve-this-clipping-like-opengl-dose/8941 "2022-07-18T22:10:34Z")

</div>

Hi all, I find an interesting blog showing the way clipping the iso surface like below. blog source Can VTK do this ? Actually, I’m using unstructured grid to achieve the same effort, but way more source consumptio…

---

## [Random horizontal lines when displaying image](https://discourse.vtk.org/t/random-horizontal-lines-when-displaying-image/8956)

<div class="topic-metadata">

**Author:** [@Jesper\_Henriksen](https://discourse.vtk.org/u/Jesper_Henriksen)\
**Replies:** 3\
**Last updated:** [July 18, 2022, 10:01pm UTC](https://discourse.vtk.org/t/random-horizontal-lines-when-displaying-image/8956 "2022-07-18T22:01:05Z")

</div>

I get a strange behavior when displaying an image in vtk. At random the image displays horizontal lines when being displayed. Has anybody encountered this bug before. The code (slightly stripped) looks like this: …

---

## [How to specify bounds for vtkAnnotatedCubeActor ?](https://discourse.vtk.org/t/how-to-specify-bounds-for-vtkannotatedcubeactor/8964)

<div class="topic-metadata">

**Author:** [@ujjwala](https://discourse.vtk.org/u/ujjwala)\
**Replies:** 2\
**Last updated:** [July 18, 2022, 8:03pm UTC](https://discourse.vtk.org/t/how-to-specify-bounds-for-vtkannotatedcubeactor/8964 "2022-07-18T20:03:12Z")

</div>

Hi, I’m trying to display a cube with labels on each face of the cube using vtkAnnotatedCubeActor. I was wondering if I can specify the size of cube (xlength, ylength, zlength along with xcenter, ycenter, zcenter) someh…

---

## [vtkOpenGLStickMapper usage](https://discourse.vtk.org/t/vtkopenglstickmapper-usage/8901)

<div class="topic-metadata">

**Author:** [@Justin\_Weber](https://discourse.vtk.org/u/Justin_Weber)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 7:24pm UTC](https://discourse.vtk.org/t/vtkopenglstickmapper-usage/8901 "2022-07-18T19:24:50Z")

</div>

I am trying to render lots of cylinders and would like to use vtkOpenGLStickMapper instead of glyphs to see if it is more performant. However I can’t figure out how to use vtkOpenGLStickMapper. I am just giving it polyda…

---

## [Fluid camera movement in a scene](https://discourse.vtk.org/t/fluid-camera-movement-in-a-scene/7548)

<div class="topic-metadata">

**Author:** [@efc](https://discourse.vtk.org/u/efc)\
**Replies:** 5\
**Last updated:** [July 18, 2022, 6:10pm UTC](https://discourse.vtk.org/t/fluid-camera-movement-in-a-scene/7548 "2022-07-18T18:10:35Z")

</div>

A bit of context: The GUI element for this question are made with QML. I’m currently building a scene – i.e. several actor in the same space related to one another through a matrix transform hierarchy – and am adding a …

---

## [Improve possible vtkMath bottleneck](https://discourse.vtk.org/t/improve-possible-vtkmath-bottleneck/8913)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)\
**Replies:** 2\
**Last updated:** [July 18, 2022, 5:13pm UTC](https://discourse.vtk.org/t/improve-possible-vtkmath-bottleneck/8913 "2022-07-18T17:13:18Z")

</div>

Hi. While using Slicer with VerySleepy I noticed it spent a lot of time on vtkJacobiN. I did a quick search and there is a faster convergence algorithm called GaussSeidel. You can see more here: I implemented it, bui…

---

## [Unable to find a valid OpenGL 3.2 or later implementation.](https://discourse.vtk.org/t/unable-to-find-a-valid-opengl-3-2-or-later-implementation/8857)

<div class="topic-metadata">

**Author:** [@edwardAllen](https://discourse.vtk.org/u/edwardAllen)\
**Replies:** 2\
**Last updated:** [July 18, 2022, 1:55pm UTC](https://discourse.vtk.org/t/unable-to-find-a-valid-opengl-3-2-or-later-implementation/8857 "2022-07-18T13:55:19Z")

</div>

I am build VTK on Macos M1 ,and here is the CmakeCache.txt CMakeCache.txt (162.1 KB) Here is application running output : vtkGenericOpenGLRenderWindow (0x7ff2aa10d4f0): Unable to find a valid OpenGL 3.2 or later imple…

---

## [Is there more support for typescript](https://discourse.vtk.org/t/is-there-more-support-for-typescript/8969)

<div class="topic-metadata">

**Author:** [@qq769747518](https://discourse.vtk.org/u/qq769747518)\
**Replies:** 1\
**Last updated:** [July 18, 2022, 1:18pm UTC](https://discourse.vtk.org/t/is-there-more-support-for-typescript/8969 "2022-07-18T13:18:27Z")

</div>

I can’t pass the “import vtkImageReslice from ‘@ kitware/VTK. Js/Imaging/Core/ImageReslice’” statement import vtkImageReslice in ‘.ts’ file,because The “ImageReslice. d. ts” declaration file is missing.I tried to write t…

---

## [SetLabelModeToLabelIds get all "zero values"](https://discourse.vtk.org/t/setlabelmodetolabelids-get-all-zero-values/8968)

<div class="topic-metadata">

**Author:** [@YuNie](https://discourse.vtk.org/u/YuNie)\
**Replies:** 0\
**Last updated:** [July 18, 2022, 8:44am UTC](https://discourse.vtk.org/t/setlabelmodetolabelids-get-all-zero-values/8968 "2022-07-18T08:44:42Z")

</div>

I was trying to show the label contour id using vtkLabeledDataMapper. when i set the mapper label mode to label id using “SetLabelModeToLabelIds”. I got all ids labeled “zero”. How can I solve this？

---

## [How to do "Annotation&Measurement" on MPR?](https://discourse.vtk.org/t/how-to-do-annotation-measurement-on-mpr/8920)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 4\
**Last updated:** [July 17, 2022, 5:26am UTC](https://discourse.vtk.org/t/how-to-do-annotation-measurement-on-mpr/8920 "2022-07-17T05:26:08Z")

</div>

How to do “Annotation&Measurement” on MPR like MITK or 3D Slicer?

---

## [vtk pick not working when zoomed very far in](https://discourse.vtk.org/t/vtk-pick-not-working-when-zoomed-very-far-in/8960)

<div class="topic-metadata">

**Author:** [@bheld](https://discourse.vtk.org/u/bheld)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 7:25pm UTC](https://discourse.vtk.org/t/vtk-pick-not-working-when-zoomed-very-far-in/8960 "2022-07-15T19:25:27Z")

</div>

We are using vtkHandleWidget and vtkPointHandleRepresentation3D together to support a dragable point in our VTK window. This works well except when zoomed way in. At some level of zooming, the widget can no longer be sel…

---

## [Added features in vtkSelectPolyData](https://discourse.vtk.org/t/added-features-in-vtkselectpolydata/8958)

<div class="topic-metadata">

**Author:** [@patrick-laurin](https://discourse.vtk.org/u/patrick-laurin)\
**Replies:** 1\
**Last updated:** [July 15, 2022, 2:58pm UTC](https://discourse.vtk.org/t/added-features-in-vtkselectpolydata/8958 "2022-07-15T14:58:07Z")

</div>

Hi, I’ve made some changes in vtkSelectPolyData regarding multiple points: When generating selection scalars, there was no array name set, giving an output without the array in question. Issue: https://gitlab.kitware…

---

## [vtkQuadricDecimation error in vtk9.0](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068)

<div class="topic-metadata">

**Author:** [@doublechen](https://discourse.vtk.org/u/doublechen)\
**Replies:** 4\
**Last updated:** [July 15, 2022, 6:12am UTC](https://discourse.vtk.org/t/vtkquadricdecimation-error-in-vtk9-0/6068 "2022-07-15T06:12:53Z")

</div>

vtk new version QuadricDecimation maybe have a numerical problem? when processing large polygon files will print unable refactor linear system lasting 10 mins. The picture above is the final output result. i fond same …

---

## [vtkDistancePolyDataFilter segmentation fault](https://discourse.vtk.org/t/vtkdistancepolydatafilter-segmentation-fault/8952)

<div class="topic-metadata">

**Author:** [@BraveDistribution](https://discourse.vtk.org/u/BraveDistribution)\
**Replies:** 0\
**Last updated:** [July 14, 2022, 1:45pm UTC](https://discourse.vtk.org/t/vtkdistancepolydatafilter-segmentation-fault/8952 "2022-07-14T13:45:36Z")

</div>

Hello, I’d like to compare 2 surface meshes (model-to-model avg distance). I have looked through the code and found few examples. Theoretically, it should work but on getting the output from PolyDataFilter I have seg fa…

---

## [vtk extension class implementation in typescript](https://discourse.vtk.org/t/vtk-extension-class-implementation-in-typescript/8933)

<div class="topic-metadata">

**Author:** [@cmoh](https://discourse.vtk.org/u/cmoh)\
**Replies:** 7\
**Last updated:** [July 14, 2022, 1:19pm UTC](https://discourse.vtk.org/t/vtk-extension-class-implementation-in-typescript/8933 "2022-07-14T13:19:36Z")

</div>

I want to make a widget(extends vtkAbstractWidgetFactory) in typescript class. But I don’t know how to implement this(I can’t extends vtk class). Any examples for reference? or let me know how to make it. (I alread…

---

## [Cannot log in to gitlab.kitware.com by using github](https://discourse.vtk.org/t/cannot-log-in-to-gitlab-kitware-com-by-using-github/8937)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)\
**Replies:** 5\
**Last updated:** [July 14, 2022, 10:23am UTC](https://discourse.vtk.org/t/cannot-log-in-to-gitlab-kitware-com-by-using-github/8937 "2022-07-14T10:23:49Z")

</div>

I could do it on Ubuntu, but not on Windows Now I cannot log in at all in Windows and it doesn’t even let me change the password, the page says: 422 The change you requested was rejected. --- Make sure you have acce…

---

## [How can I optimize the volume rendering code based on the webGL: max\_texture\_size of the web-browser so that it can render image in any web browser?](https://discourse.vtk.org/t/how-can-i-optimize-the-volume-rendering-code-based-on-the-webgl-max-texture-size-of-the-web-browser-so-that-it-can-render-image-in-any-web-browser/8938)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 4\
**Last updated:** [July 14, 2022, 10:19am UTC](https://discourse.vtk.org/t/how-can-i-optimize-the-volume-rendering-code-based-on-the-webgl-max-texture-size-of-the-web-browser-so-that-it-can-render-image-in-any-web-browser/8938 "2022-07-14T10:19:04Z")

</div>

Hello everyone, I am trying to render a volumetric (volume dimensions: \[5861, 3429, 27\]) image into desktop Google Chrome using the volume rendering method (vtkVolumeMapper), but I am encountering the following webGL er…

---

## [QVTKOpenGLWidget cannot be displayed with Remote Desktop xfce.](https://discourse.vtk.org/t/qvtkopenglwidget-cannot-be-displayed-with-remote-desktop-xfce/8942)

<div class="topic-metadata">

**Author:** [@nnw](https://discourse.vtk.org/u/nnw)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 6:08am UTC](https://discourse.vtk.org/t/qvtkopenglwidget-cannot-be-displayed-with-remote-desktop-xfce/8942 "2022-07-14T06:08:29Z")

</div>

Hello, I have been trying to use QVTKOpenGLWidget with PCL in Jetson nano. It’s working fine in Jetson nano but I need to run the program with remote desktop in windows10. When I open Qt Creator in remote desktop(xfce),…

---

## [import WorkerFactory Error in React](https://discourse.vtk.org/t/import-workerfactory-error-in-react/8936)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 8\
**Last updated:** [July 14, 2022, 2:49am UTC](https://discourse.vtk.org/t/import-workerfactory-error-in-react/8936 "2022-07-14T02:49:11Z")

</div>

the import statement in PiecewiseGaussianWidget.js file bellow occurs error when compiled in react project. import { W as WorkerFactory } from '../../\_virtual/rollup-plugin-worker-loader\_\_module\_Sources/Interaction/Widg…

---

## [Issue with GetScalarPointer and GetScalarRange in c++](https://discourse.vtk.org/t/issue-with-getscalarpointer-and-getscalarrange-in-c/8925)

<div class="topic-metadata">

**Author:** [@lonewolf](https://discourse.vtk.org/u/lonewolf)\
**Replies:** 3\
**Last updated:** [July 13, 2022, 6:51am UTC](https://discourse.vtk.org/t/issue-with-getscalarpointer-and-getscalarrange-in-c/8925 "2022-07-13T06:51:01Z")

</div>

Hi all, I am facing a strange behavior and I am pretty sure I am missing something. Using VTK 8.0.1. I have a 3D VtkImageData to which I need to modify the scalar values. When I get the ScalarRange is ok before changin…

---

## [vtk pick (select) not working when zoomed very far in](https://discourse.vtk.org/t/vtk-pick-select-not-working-when-zoomed-very-far-in/8939)

<div class="topic-metadata">

**Author:** [@bheld](https://discourse.vtk.org/u/bheld)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 9:02pm UTC](https://discourse.vtk.org/t/vtk-pick-select-not-working-when-zoomed-very-far-in/8939 "2022-07-12T21:02:24Z")

</div>

We are using vtkHandleWidget and vtkPointHandleRepresentation3D together to support a dragable point in our VTK window. This works well except when zoomed way in. At some level of zooming, the widget can no longer be s…

---

## [plotting grid data on chart scene](https://discourse.vtk.org/t/plotting-grid-data-on-chart-scene/8915)

<div class="topic-metadata">

**Author:** [@Odera\_Dim](https://discourse.vtk.org/u/Odera_Dim)\
**Replies:** 2\
**Last updated:** [July 12, 2022, 4:12pm UTC](https://discourse.vtk.org/t/plotting-grid-data-on-chart-scene/8915 "2022-07-12T16:12:01Z")

</div>

Hi all, I am trying to plot some figures using the vtk bindings in python. My figure is a simple 10 x 10 square grid with colors for each cell of the grid being colored based on an array of 100 values. I was able to ach…

---

## [VTK - Qt versions poll....](https://discourse.vtk.org/t/vtk-qt-versions-poll/8904)

<div class="topic-metadata">

**Author:** [@DominionSoftware](https://discourse.vtk.org/u/DominionSoftware)\
**Replies:** 8\
**Last updated:** [July 12, 2022, 3:44pm UTC](https://discourse.vtk.org/t/vtk-qt-versions-poll/8904 "2022-07-12T15:44:26Z")

</div>

I’m about to embark upon a new project using VTK and Qt and wondering what versions of each play well together? Which versions are any of you using together in a desktop application? Thanks Rick

---

## [Cannot build vtkrenderingExternal on windows](https://discourse.vtk.org/t/cannot-build-vtkrenderingexternal-on-windows/8921)

<div class="topic-metadata">

**Author:** [@edwardAllen](https://discourse.vtk.org/u/edwardAllen)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 9:37am UTC](https://discourse.vtk.org/t/cannot-build-vtkrenderingexternal-on-windows/8921 "2022-07-12T09:37:09Z")

</div>

This is external dependencies : This is build options : I can find three dependencies in cmake output . But the flag //Request building vtkRenderingExternal Module\_vtkRenderingExternal:BOOL=OFF It always OFF, e…

---

## [Is it possible to visualize the point cloud in QVTKOpenGLWidget?](https://discourse.vtk.org/t/is-it-possible-to-visualize-the-point-cloud-in-qvtkopenglwidget/8534)

<div class="topic-metadata">

**Author:** [@Panda12197](https://discourse.vtk.org/u/Panda12197)\
**Replies:** 23\
**Last updated:** [July 12, 2022, 7:04am UTC](https://discourse.vtk.org/t/is-it-possible-to-visualize-the-point-cloud-in-qvtkopenglwidget/8534 "2022-07-12T07:04:09Z")

</div>

I try to visualize the LiDAR point cloud in QVTKOpenGLWidget. In real time visualization, the program crash immediately after the widget appear. Is it possible to visualize the point cloud in QVTKOpenGLWidget? The main…

---

## [Compilation errors building vtk\_examples](https://discourse.vtk.org/t/compilation-errors-building-vtk-examples/8917)

<div class="topic-metadata">

**Author:** [@DStranz](https://discourse.vtk.org/u/DStranz)\
**Replies:** 14\
**Last updated:** [July 12, 2022, 6:15am UTC](https://discourse.vtk.org/t/compilation-errors-building-vtk-examples/8917 "2022-07-12T06:15:04Z")

</div>

I have downloaded VTK 9.2.0.rc1 and built it using Visual Studio 2022 without errors. I also downloaded vtk\_examples (as of July 8) from github. In trying to build vtk\_examples using VS 2022, the projects in the Geomet…

---

## [VTK 9.1 vtkResampleToImage() seg faults core dumps on CentOS 7](https://discourse.vtk.org/t/vtk-9-1-vtkresampletoimage-seg-faults-core-dumps-on-centos-7/8931)

<div class="topic-metadata">

**Author:** [@synthetic\_person](https://discourse.vtk.org/u/synthetic_person)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 7:13pm UTC](https://discourse.vtk.org/t/vtk-9-1-vtkresampletoimage-seg-faults-core-dumps-on-centos-7/8931 "2022-07-11T19:13:44Z")

</div>

Hello, my python script fails with Segmentation fault (core dumped) when I try to convert an unstructured grid into a 3D volume using vtkResampleToImage() import vtkmodules.all as vtk ... resample = vtk.vtkResampleToI…

---

## [Parallel projection causing rendering issues with geometry within volumes](https://discourse.vtk.org/t/parallel-projection-causing-rendering-issues-with-geometry-within-volumes/8927)

<div class="topic-metadata">

**Author:** [@aclarkequad](https://discourse.vtk.org/u/aclarkequad)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 3:32pm UTC](https://discourse.vtk.org/t/parallel-projection-causing-rendering-issues-with-geometry-within-volumes/8927 "2022-07-11T15:32:01Z")

</div>

I have a volume that is rendered with parallel projection on, this is a requirement so cannot be set to perspective projection. I also need to have geometry visible within the bounds of the volume, be it cube or plane so…

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

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