# Latest

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

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

**Page:** 86

---

## [How not to output InformationKey when data is output to vtu](https://discourse.vtk.org/t/how-not-to-output-informationkey-when-data-is-output-to-vtu/11552)

<div class="topic-metadata">

**Author:** [@xiaojinyu-hhu](https://discourse.vtk.org/u/xiaojinyu-hhu)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 4:14pm UTC](https://discourse.vtk.org/t/how-not-to-output-informationkey-when-data-is-output-to-vtu/11552 "2023-05-27T16:14:40Z")

</div>

I output data to .vtu with vtkXMLUnstructuredGridWriter. However, VTU files always have InformationKey name=“L2\_NORM\_RANGE” location=“vtkDataArray” length=“2” Value index=“0” 0 Value Value index=“1” 1.1661903912 …

---

## [How to fix 3D data viewing angle setting](https://discourse.vtk.org/t/how-to-fix-3d-data-viewing-angle-setting/11508)

<div class="topic-metadata">

**Author:** [@Seram](https://discourse.vtk.org/u/Seram)\
**Replies:** 4\
**Last updated:** [May 27, 2023, 1:24pm UTC](https://discourse.vtk.org/t/how-to-fix-3d-data-viewing-angle-setting/11508 "2023-05-27T13:24:04Z")

</div>

Hello, I always get a lot of help. I have one question for you. I am using VTK 8.9 Version and I am developing a program with Visual Studio 2015 MFC (C++). And I’m showing 3D data in Picture Control. I want to see t…

---

## [Possible Error in vtkCocoaGLView.mm](https://discourse.vtk.org/t/possible-error-in-vtkcocoaglview-mm/11547)

<div class="topic-metadata">

**Author:** [@aschrempf](https://discourse.vtk.org/u/aschrempf)\
**Replies:** 1\
**Last updated:** [May 27, 2023, 12:56pm UTC](https://discourse.vtk.org/t/possible-error-in-vtkcocoaglview-mm/11547 "2023-05-27T12:56:24Z")

</div>

Hi there! Thanks for developing VTK! Actually im using vtk 9.2.6 on a new M2 (Mac mini 2023) on macOS Ventura (SDK 13.1, Ventura 13.4) and within my app an error occurs when destructing an QVTKOpenGLNativeWidget with Q…

---

## [Is it possible to set the different edge color for specific cell?](https://discourse.vtk.org/t/is-it-possible-to-set-the-different-edge-color-for-specific-cell/11545)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 1\
**Last updated:** [May 27, 2023, 12:35pm UTC](https://discourse.vtk.org/t/is-it-possible-to-set-the-different-edge-color-for-specific-cell/11545 "2023-05-27T12:35:23Z")

</div>

Is it possible to set the edge color to WHITE for entire actor,then set the edge color of specific cell to RED?

---

## [Why does the actor disappeared when rotating to some specific angle?](https://discourse.vtk.org/t/why-does-the-actor-disappeared-when-rotating-to-some-specific-angle/11546)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 1\
**Last updated:** [May 26, 2023, 2:40pm UTC](https://discourse.vtk.org/t/why-does-the-actor-disappeared-when-rotating-to-some-specific-angle/11546 "2023-05-26T14:40:35Z")

</div>

Hello,as the gif animation shows,when rotating to specific angle,the actor disappeared and continue to rotate to another angle,the actor appears again. Would you please tell me: Why does this happen? How to make the…

---

## [vtk.js rendering on Hololens](https://discourse.vtk.org/t/vtk-js-rendering-on-hololens/11263)

<div class="topic-metadata">

**Author:** [@aliceb](https://discourse.vtk.org/u/aliceb)\
**Replies:** 8\
**Last updated:** [May 26, 2023, 2:18pm UTC](https://discourse.vtk.org/t/vtk-js-rendering-on-hololens/11263 "2023-05-26T14:18:47Z")

</div>

Hello, I’m trying to display a hologram by launching AR on a web page in vtk.js. The hologram should be displayed on a Hololens 2 device. I currently observe a stereo effect on Hololens, as I am seeing two times the sam…

---

## [Making a surface using polylines](https://discourse.vtk.org/t/making-a-surface-using-polylines/11536)

<div class="topic-metadata">

**Author:** [@Sai\_Chaitanya\_Rodda](https://discourse.vtk.org/u/Sai_Chaitanya_Rodda)\
**Replies:** 2\
**Last updated:** [May 26, 2023, 3:29am UTC](https://discourse.vtk.org/t/making-a-surface-using-polylines/11536 "2023-05-26T03:29:48Z")

</div>

Hello Everyone, Greetings! I have polylines in my polydata which are curved and kind of parllel to each other as shown in the bottom fig. Now, I want to create a surface using the lines which should be like this as …

---

## [read STL begginer](https://discourse.vtk.org/t/read-stl-begginer/9569)

<div class="topic-metadata">

**Author:** [@Minigandi](https://discourse.vtk.org/u/Minigandi)\
**Replies:** 6\
**Last updated:** [November 28, 2022, 5:58pm UTC](https://discourse.vtk.org/t/read-stl-begginer/9569 "2022-11-28T17:58:52Z")

</div>

Hey, I’m new with VTK and I compiled all the basics tutorial without any problems. But I wanted to try to read a .stl file with the example in the VTK website https://kitware.github.io/vtk-examples/site/Cxx/IO/ReadSTL/ …

---

## [I have the vtkResliceCursorWidget functions are not doing the same thing as before](https://discourse.vtk.org/t/i-have-the-vtkreslicecursorwidget-functions-are-not-doing-the-same-thing-as-before/11433)

<div class="topic-metadata">

**Author:** [@stoune](https://discourse.vtk.org/u/stoune)\
**Replies:** 3\
**Last updated:** [May 24, 2023, 10:01pm UTC](https://discourse.vtk.org/t/i-have-the-vtkreslicecursorwidget-functions-are-not-doing-the-same-thing-as-before/11433 "2023-05-24T22:01:48Z")

</div>

In an inferior vtk.js version I used a function from widgetState (vtkResliceCursorWidget), to hide the sphere in the center I did that: const widget = vtkResliceCursorWidget.newInstance(); const widgetState = widget.get…

---

## [2D coordinates of labels](https://discourse.vtk.org/t/2d-coordinates-of-labels/11498)

<div class="topic-metadata">

**Author:** [@machur](https://discourse.vtk.org/u/machur)\
**Replies:** 8\
**Last updated:** [May 24, 2023, 7:06pm UTC](https://discourse.vtk.org/t/2d-coordinates-of-labels/11498 "2023-05-24T19:06:48Z")

</div>

Hi, I’m trying to get 2D coordinates of point labels visualized based on the code from the example https://examples.vtk.org/site/Cxx/Visualization/LabelPlacementMapper/. I want to allow the users to interact with the lab…

---

## [How to determine the CMake VTK "COMPONENTS" necessary for a class?](https://discourse.vtk.org/t/how-to-determine-the-cmake-vtk-components-necessary-for-a-class/11429)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 8\
**Last updated:** [May 24, 2023, 5:54pm UTC](https://discourse.vtk.org/t/how-to-determine-the-cmake-vtk-components-necessary-for-a-class/11429 "2023-05-24T17:54:45Z")

</div>

I haven’t written a CMakeLists.txt file for VTK in a while, and things seem to have evolved somewhat. I’m sure that the reasons are important, and the results are great, but it did take me a while to figure out why I was…

---

## [VTK-9: How to know which VTK COMPONENT contains which VTK class?](https://discourse.vtk.org/t/vtk-9-how-to-know-which-vtk-component-contains-which-vtk-class/11533)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 2\
**Last updated:** [May 24, 2023, 4:50pm UTC](https://discourse.vtk.org/t/vtk-9-how-to-know-which-vtk-component-contains-which-vtk-class/11533 "2023-05-24T16:50:52Z")

</div>

VTK-9: How to know which VTK COMPONENT contains which VTK class? In CMakeLists.txt, we call find\_package(VTK) to get VTK libraries: worked for me as is with apt-get install VTK package. Now I need a specific class vtkO…

---

## [Set the boundary of the clipping planes when using vtkClipClosedSurface](https://discourse.vtk.org/t/set-the-boundary-of-the-clipping-planes-when-using-vtkclipclosedsurface/11522)

<div class="topic-metadata">

**Author:** [@SFC](https://discourse.vtk.org/u/SFC)\
**Replies:** 9\
**Last updated:** [May 24, 2023, 4:39pm UTC](https://discourse.vtk.org/t/set-the-boundary-of-the-clipping-planes-when-using-vtkclipclosedsurface/11522 "2023-05-24T16:39:39Z")

</div>

When using vtkClipClosedSurface, the clipping planes seem to have no boundaries so they will clip something that I don’t want to be clipped. Is there any easy way to solve this.

---

## [Unable find "vtkIOExodusModule.h" and IOExodus](https://discourse.vtk.org/t/unable-find-vtkioexodusmodule-h-and-ioexodus/11479)

<div class="topic-metadata">

**Author:** [@hu243285237](https://discourse.vtk.org/u/hu243285237)\
**Replies:** 9\
**Last updated:** [May 24, 2023, 3:58pm UTC](https://discourse.vtk.org/t/unable-find-vtkioexodusmodule-h-and-ioexodus/11479 "2023-05-24T15:58:30Z")

</div>

I’m front-end engineer, want to build vtk to webAssembly for read exodus file, and follow the “examples/emscripten/cxx” step, it’s work, but when i add exodus reader code, there show message “unable find vtkIOExodusModul…

---

## [vtkobjImporter](https://discourse.vtk.org/t/vtkobjimporter/11531)

<div class="topic-metadata">

**Author:** [@xu\_siang](https://discourse.vtk.org/u/xu_siang)\
**Replies:** 1\
**Last updated:** [May 24, 2023, 9:16am UTC](https://discourse.vtk.org/t/vtkobjimporter/11531 "2023-05-24T09:16:31Z")

</div>

hello， I want to import obj and mtl files in python-vtk 8.1.2,but I find the texture picture in mtl is not be loaded. This is my code: import vtk def main(): objimporter = vtk.vtkOBJImporter() objimporter.SetFileN…

---

## [The bottom of the first picture is not closed. If you want to achieve the same effect as the second picture, how can vtk do it or can vtk achieve such a task?](https://discourse.vtk.org/t/the-bottom-of-the-first-picture-is-not-closed-if-you-want-to-achieve-the-same-effect-as-the-second-picture-how-can-vtk-do-it-or-can-vtk-achieve-such-a-task/11492)

<div class="topic-metadata">

**Author:** [@649841458](https://discourse.vtk.org/u/649841458)\
**Replies:** 3\
**Last updated:** [May 24, 2023, 7:45am UTC](https://discourse.vtk.org/t/the-bottom-of-the-first-picture-is-not-closed-if-you-want-to-achieve-the-same-effect-as-the-second-picture-how-can-vtk-do-it-or-can-vtk-achieve-such-a-task/11492 "2023-05-24T07:45:07Z")

</div>

---

## [Hidden structured data (shown anyway, bug?)](https://discourse.vtk.org/t/hidden-structured-data-shown-anyway-bug/11482)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 3\
**Last updated:** [May 23, 2023, 10:53pm UTC](https://discourse.vtk.org/t/hidden-structured-data-shown-anyway-bug/11482 "2023-05-23T22:53:44Z")

</div>

Hi guys I am having some trouble hiding cells or points. It seems like no matter what I do, the points as well as the cell remain visible. from vtkmodules.util.numpy\_support import vtk\_to\_numpy import numpy as np nxy …

---

## [Multiple output types](https://discourse.vtk.org/t/multiple-output-types/11518)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 3\
**Last updated:** [May 23, 2023, 10:41pm UTC](https://discourse.vtk.org/t/multiple-output-types/11518 "2023-05-23T22:41:46Z")

</div>

I am developing a filter which I would like to output whatever the downstream filter can take as input. When calling RequestDataObject, I can set the output type to something based on the upstream filter, but the downst…

---

## [How to triangulate polygon with holes?](https://discourse.vtk.org/t/how-to-triangulate-polygon-with-holes/11497)

<div class="topic-metadata">

**Author:** [@gongwaner](https://discourse.vtk.org/u/gongwaner)\
**Replies:** 3\
**Last updated:** [May 23, 2023, 8:38am UTC](https://discourse.vtk.org/t/how-to-triangulate-polygon-with-holes/11497 "2023-05-23T08:38:47Z")

</div>

I have a set of 3d points defining a polygon A, and a set of points defining polygon B. All these points are planar, and A is actually a loop within B. My question is: how can i generate a triangulated polygon with hole…

---

## [Improvement to vtkDepthImageToPointCloud](https://discourse.vtk.org/t/improvement-to-vtkdepthimagetopointcloud/11503)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [May 21, 2023, 8:44pm UTC](https://discourse.vtk.org/t/improvement-to-vtkdepthimagetopointcloud/11503 "2023-05-21T20:44:54Z")

</div>

Hi guys I have made a new class vtkRendererToRectilinearGrid. It can be used for generating a grid output, where the depth coordinate is an attribute ZValues. The output can be passed to a vtkWarpScalar to generate a s…

---

## [Is there a way to set min/max zoom (parallelScales) for mouseManipulators?](https://discourse.vtk.org/t/is-there-a-way-to-set-min-max-zoom-parallelscales-for-mousemanipulators/11517)

<div class="topic-metadata">

**Author:** [@DavidO](https://discourse.vtk.org/u/DavidO)\
**Replies:** 0\
**Last updated:** [May 22, 2023, 3:55pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-set-min-max-zoom-parallelscales-for-mousemanipulators/11517 "2023-05-22T15:55:33Z")

</div>

Sorry for the quick second post, but a separate question so makes sense for a separate thread. I’d like to cap the zoomLevels permitted by vtkMouseCameraTrackballZoomToMouseManipulator in terms of a min and a max. Is t…

---

## [Is there a way to track pan and zoom events from certain mouseManipulators?](https://discourse.vtk.org/t/is-there-a-way-to-track-pan-and-zoom-events-from-certain-mousemanipulators/11513)

<div class="topic-metadata">

**Author:** [@DavidO](https://discourse.vtk.org/u/DavidO)\
**Replies:** 0\
**Last updated:** [May 22, 2023, 3:53pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-track-pan-and-zoom-events-from-certain-mousemanipulators/11513 "2023-05-22T15:53:13Z")

</div>

Hi there, I’d like to track the user interactions of pan and zooming events that are enabled by the following manipulators: vtkMouseCameraTrackballPanManipulator vtkMouseCameraTrackballZoomToMouseManipulator Does VTK…

---

## [Slider v. VTK transfer functions](https://discourse.vtk.org/t/slider-v-vtk-transfer-functions/11446)

<div class="topic-metadata">

**Author:** [@AndreaC](https://discourse.vtk.org/u/AndreaC)\
**Replies:** 1\
**Last updated:** [May 22, 2023, 2:27pm UTC](https://discourse.vtk.org/t/slider-v-vtk-transfer-functions/11446 "2023-05-22T14:27:56Z")

</div>

I’m migrating a project from vispy to VTK to visualize OCT volumes (mainly because VTK seems to have better memory management than vispy in our tests). However, I have issues optimizing the transfer function for our data…

---

## [How to place multiple labelwidgets at series specific coordinates](https://discourse.vtk.org/t/how-to-place-multiple-labelwidgets-at-series-specific-coordinates/11506)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 1\
**Last updated:** [May 22, 2023, 2:06pm UTC](https://discourse.vtk.org/t/how-to-place-multiple-labelwidgets-at-series-specific-coordinates/11506 "2023-05-22T14:06:52Z")

</div>

How to place multiple labelwidgets at series specific coordinates？I don’t want to pick one by one…

---

## [Device Orientation](https://discourse.vtk.org/t/device-orientation/11484)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.vtk.org/u/Xoz)\
**Replies:** 4\
**Last updated:** [May 22, 2023, 11:13am UTC](https://discourse.vtk.org/t/device-orientation/11484 "2023-05-22T11:13:32Z")

</div>

Hi everyone, I’m working on a function to show a window in landscape mode in a portrait container, it’s like this(device oritention is still portrait): I rotated the container by 90deg to achieve this, but the getBo…

---

## [How to use vtk.js image cutting](https://discourse.vtk.org/t/how-to-use-vtk-js-image-cutting/11378)

<div class="topic-metadata">

**Author:** [@HWsir](https://discourse.vtk.org/u/HWsir)\
**Replies:** 4\
**Last updated:** [May 22, 2023, 1:52am UTC](https://discourse.vtk.org/t/how-to-use-vtk-js-image-cutting/11378 "2023-05-22T01:52:26Z")

</div>

I am currently working on 3D medical image cutting on the web side，I want to know, Whether the 3D medical image can be customized irregular cutting through vtk.js

---

## [About vtkResliceCursorWidget](https://discourse.vtk.org/t/about-vtkreslicecursorwidget/11490)

<div class="topic-metadata">

**Author:** [@YaoDongcai](https://discourse.vtk.org/u/YaoDongcai)\
**Replies:** 2\
**Last updated:** [May 22, 2023, 1:43am UTC](https://discourse.vtk.org/t/about-vtkreslicecursorwidget/11490 "2023-05-22T01:43:23Z")

</div>

hi, in the vtkResliceCursorWidget example used according to the official documentation, I found that after using the real DICOM data, when I rotated it I found other white padding in the background, which I hope to elimi…

---

## [Questions about Slicer Coordinates](https://discourse.vtk.org/t/questions-about-slicer-coordinates/11485)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 6\
**Last updated:** [May 21, 2023, 3:22am UTC](https://discourse.vtk.org/t/questions-about-slicer-coordinates/11485 "2023-05-21T03:22:53Z")

</div>

This is the image information I read and printed from DCM images through ITK Based on the calculation, I found that the physical spatial coordinates should be at (-420, -140, -420, -140, -140，140) Why is the coord…

---

## [I want to know how the slicer can display two sets of images at the same timeI want to know how the slicer can display two sets of images at the same time](https://discourse.vtk.org/t/i-want-to-know-how-the-slicer-can-display-two-sets-of-images-at-the-same-timei-want-to-know-how-the-slicer-can-display-two-sets-of-images-at-the-same-time/11486)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [May 20, 2023, 4:38am UTC](https://discourse.vtk.org/t/i-want-to-know-how-the-slicer-can-display-two-sets-of-images-at-the-same-timei-want-to-know-how-the-slicer-can-display-two-sets-of-images-at-the-same-time/11486 "2023-05-20T04:38:34Z")

</div>

I want to know how slicer can display two sets of images in a vtk window and can set Opacity. And they can interact with the slicer at the same time, I want to display two sets of mpr images in a vtk window. I ran into s…

---

## [How to make mesliced images have real physical coordinates？](https://discourse.vtk.org/t/how-to-make-mesliced-images-have-real-physical-coordinates/11496)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [May 20, 2023, 3:57am UTC](https://discourse.vtk.org/t/how-to-make-mesliced-images-have-real-physical-coordinates/11496 "2023-05-20T03:57:47Z")

</div>

How to correspond the coordinate points of this 2D image to the 3D volume data when using vtkImageResulice to re slice, that is, the coordinates of points that appear to be the same are the same. If I set it to correspon…

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

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