# Latest

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

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

**Page:** 96

---

## [Issue with vtkActor in different screen sizes](https://discourse.vtk.org/t/issue-with-vtkactor-in-different-screen-sizes/10847)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 10\
**Last updated:** [March 5, 2023, 2:52pm UTC](https://discourse.vtk.org/t/issue-with-vtkactor-in-different-screen-sizes/10847 "2023-03-05T14:52:22Z")

</div>

Hi teams, I am currently facing an issue while using vtkActor. The problem is that the actor is not clearly visible on different screen sizes. For instance, when viewed from a distance, it appears to be broken or fragme…

---

## [Controlling performance for vtkLODActor](https://discourse.vtk.org/t/controlling-performance-for-vtklodactor/10841)

<div class="topic-metadata">

**Author:** [@dimitrisoh](https://discourse.vtk.org/u/dimitrisoh)\
**Replies:** 1\
**Last updated:** [March 4, 2023, 9:24pm UTC](https://discourse.vtk.org/t/controlling-performance-for-vtklodactor/10841 "2023-03-04T21:24:10Z")

</div>

Hi all. System: Linux (Cent-OS 7), gcc10, C++14 VTK-7.1 (various reason for not updating) No GPU available (running in VNC with OpenGL2) I also use Mesa3D (OpenSWR driver) but you can ignore at least for now because i…

---

## [how to save objects that are in render window in a file and reopen as separate objects later.](https://discourse.vtk.org/t/how-to-save-objects-that-are-in-render-window-in-a-file-and-reopen-as-separate-objects-later/10866)

<div class="topic-metadata">

**Author:** [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)\
**Replies:** 4\
**Last updated:** [March 4, 2023, 8:59pm UTC](https://discourse.vtk.org/t/how-to-save-objects-that-are-in-render-window-in-a-file-and-reopen-as-separate-objects-later/10866 "2023-03-04T20:59:55Z")

</div>

Hi. I have developed a program in python using vtk which is used for 3D image processing. In this app user import some stl files or create widgets like contour widget or sphere widget and etc. Now i want to add project s…

---

## [CropPolyData for a new "Surface Patch Selection Widget"](https://discourse.vtk.org/t/croppolydata-for-a-new-surface-patch-selection-widget/10879)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [March 4, 2023, 1:30pm UTC](https://discourse.vtk.org/t/croppolydata-for-a-new-surface-patch-selection-widget/10879 "2023-03-04T13:30:22Z")

</div>

Hi Developers I am trying to create a widget similar to the vtkContourWidget for selecting vtkPolyData along a contour. For this, I created a new implicit function for clipping, vtkCapsule When updating the contour,…

---

## [Possible error in computing cell derivatives/Green Lagrange Strain](https://discourse.vtk.org/t/possible-error-in-computing-cell-derivatives-green-lagrange-strain/10788)

<div class="topic-metadata">

**Author:** [@aabrown100-git](https://discourse.vtk.org/u/aabrown100-git)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 5:10pm UTC](https://discourse.vtk.org/t/possible-error-in-computing-cell-derivatives-green-lagrange-strain/10788 "2023-03-03T17:10:33Z")

</div>

I believe there is an error in computing Green Lagrange strain. In the attached code, I am deforming a triangulated sphere with a uniform dilation. The Green Lagrange strain should be diagonal, but it is not. I have chec…

---

## [vtkPropPicker cannot pick vtkFollower with 0.8 opacity](https://discourse.vtk.org/t/vtkproppicker-cannot-pick-vtkfollower-with-0-8-opacity/10874)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 2:39pm UTC](https://discourse.vtk.org/t/vtkproppicker-cannot-pick-vtkfollower-with-0-8-opacity/10874 "2023-03-03T14:39:24Z")

</div>

I find vtkPropPicker can not pick a vtkFollower with 0.8 opacity, but it can pick vtkActor with 0.8 opacity. My test code is: import vtkmodules.all as vtk cylinder1 = vtk.vtkCylinderSource() cylinder1.SetCenter(0, 0, 0…

---

## [How should I understand when the description is empty in the official documentation?](https://discourse.vtk.org/t/how-should-i-understand-when-the-description-is-empty-in-the-official-documentation/10853)

<div class="topic-metadata">

**Author:** [@ArtistDeveloper](https://discourse.vtk.org/u/ArtistDeveloper)\
**Replies:** 3\
**Last updated:** [March 2, 2023, 11:50pm UTC](https://discourse.vtk.org/t/how-should-i-understand-when-the-description-is-empty-in-the-official-documentation/10853 "2023-03-02T23:50:13Z")

</div>

Hello and thank you for reading this article! I’m new to vtk.js and am learning by reading tutorials and official documentation. However, there are often things in the official documentation that do not have expl…

---

## [trame](https://discourse.vtk.org/t/trame/10854)

<div class="topic-metadata">

**Author:** [@jane](https://discourse.vtk.org/u/jane)\
**Replies:** 1\
**Last updated:** [March 2, 2023, 11:40pm UTC](https://discourse.vtk.org/t/trame/10854 "2023-03-02T23:40:49Z")

</div>

---

## [ICP transform fails when aligning incomplete source polydata with target polydata](https://discourse.vtk.org/t/icp-transform-fails-when-aligning-incomplete-source-polydata-with-target-polydata/10846)

<div class="topic-metadata">

**Author:** [@matthew.strugari](https://discourse.vtk.org/u/matthew.strugari)\
**Replies:** 5\
**Last updated:** [March 2, 2023, 7:00pm UTC](https://discourse.vtk.org/t/icp-transform-fails-when-aligning-incomplete-source-polydata-with-target-polydata/10846 "2023-03-02T19:00:02Z")

</div>

Hi there, I am currently using VTK to process 3D scanning data but require assistance in aligning polydata. The 3D scan data I obtain is randomly oriented and a bit noisy, but it contains fiducial markers, so my first s…

---

## [itk-vtk-viewer - CLI - Data types](https://discourse.vtk.org/t/itk-vtk-viewer-cli-data-types/10865)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 4:57pm UTC](https://discourse.vtk.org/t/itk-vtk-viewer-cli-data-types/10865 "2023-03-02T16:57:21Z")

</div>

If I run itk-vtk-viewer from the command line (as per Command Line Interface | itk-vtk-viewer) I can drag data sources in and visualise. This is a two part question What are the data types that can be dragged and dro…

---

## [Apply Marching Squares to ImageSlices](https://discourse.vtk.org/t/apply-marching-squares-to-imageslices/4279)

<div class="topic-metadata">

**Author:** [@samm-vs](https://discourse.vtk.org/u/samm-vs)\
**Replies:** 5\
**Last updated:** [March 2, 2023, 3:42pm UTC](https://discourse.vtk.org/t/apply-marching-squares-to-imageslices/4279 "2023-03-02T15:42:21Z")

</div>

I am using the vtkImageSlices to show individuals slices of a volume and I was wondering if I could apply Marching squares on the image slice. I am just asking to see if the data type check will flow through or if there …

---

## [Could not find the VTK package with the following required components:GuiSupportQt, ViewsQt](https://discourse.vtk.org/t/could-not-find-the-vtk-package-with-the-following-required-components-guisupportqt-viewsqt/8252)

<div class="topic-metadata">

**Author:** [@mnekkach](https://discourse.vtk.org/u/mnekkach)\
**Replies:** 4\
**Last updated:** [March 2, 2023, 1:54pm UTC](https://discourse.vtk.org/t/could-not-find-the-vtk-package-with-the-following-required-components-guisupportqt-viewsqt/8252 "2023-03-02T13:54:50Z")

</div>

Hi, I just compile VTK 9.1.0 on RedHat version 8.3 and I try to compile the SimpleView example. I have this message error but I don’t know how I can solve it. CMake Warning at CMakeLists.txt:4 (find\_package): Found…

---

## [alternatives to vtkWrapPython.cmake](https://discourse.vtk.org/t/alternatives-to-vtkwrappython-cmake/3229)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 10\
**Last updated:** [March 2, 2023, 1:10pm UTC](https://discourse.vtk.org/t/alternatives-to-vtkwrappython-cmake/3229 "2023-03-02T13:10:27Z")

</div>

The vmtk project relied on the cmake file vtkWrapPython.cmake and it looks that has gone away, which I have no preference about and imagine the newer stuff makes more sense, however in desiring to build vmtk with the …

---

## [the actor becomes abnormal in display.](https://discourse.vtk.org/t/the-actor-becomes-abnormal-in-display/10849)

<div class="topic-metadata">

**Author:** [@seeby](https://discourse.vtk.org/u/seeby)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 6:54am UTC](https://discourse.vtk.org/t/the-actor-becomes-abnormal-in-display/10849 "2023-03-02T06:54:20Z")

</div>

the actor becomes abnormal in display. when zooming the actors, the bone actor become blue (the color of the knife actor) when the knife actor is out of the view. who knows the cause of this phenomenon？

---

## [How to output error information to console?](https://discourse.vtk.org/t/how-to-output-error-information-to-console/10820)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 6\
**Last updated:** [March 1, 2023, 8:09pm UTC](https://discourse.vtk.org/t/how-to-output-error-information-to-console/10820 "2023-03-01T20:09:02Z")

</div>

vtkOutputWindow is used to print error/warning information. For example: Is there any method to keep the printed information but do not show the vtkOutputWindow? I have tested vtkOutputWindow::SetGlobalWarningDispa…

---

## [Unable to read binary slc file with VTK](https://discourse.vtk.org/t/unable-to-read-binary-slc-file-with-vtk/10809)

<div class="topic-metadata">

**Author:** [@Latika\_Vashishtha](https://discourse.vtk.org/u/Latika_Vashishtha)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 8:04pm UTC](https://discourse.vtk.org/t/unable-to-read-binary-slc-file-with-vtk/10809 "2023-03-01T20:04:39Z")

</div>

Hey, I am trying to use vtkSLCReader to red binary slc file but it complains that its unable to read magic number. ERR| vtkSLCReader (0x7fee9e404720): Error reading file: binary.slcFailed to read magic number 2023-02-26…

---

## [Move object to origin](https://discourse.vtk.org/t/move-object-to-origin/10830)

<div class="topic-metadata">

**Author:** [@shadyx](https://discourse.vtk.org/u/shadyx)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 6:51pm UTC](https://discourse.vtk.org/t/move-object-to-origin/10830 "2023-03-01T18:51:38Z")

</div>

Greetings. I started studying VTK, I don’t understand a lot of things. Now there is a problem. There are several objects in .vtk format that are very far from the origin (see example screenshot from Blender). Example I…

---

## [How to use raycasting for point projection in VTK?](https://discourse.vtk.org/t/how-to-use-raycasting-for-point-projection-in-vtk/9792)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 12\
**Last updated:** [March 1, 2023, 6:42pm UTC](https://discourse.vtk.org/t/how-to-use-raycasting-for-point-projection-in-vtk/9792 "2023-03-01T18:42:46Z")

</div>

Hello, I need to determine whether points from one polydata project onto cells in another polydata. I could use vtkOBBTree.IntersectWithLine() but I’m concerned about performance. It seems that GPU based ray casting c…

---

## [vtk js dashed lines?](https://discourse.vtk.org/t/vtk-js-dashed-lines/10745)

<div class="topic-metadata">

**Author:** [@lonewolf](https://discourse.vtk.org/u/lonewolf)\
**Replies:** 4\
**Last updated:** [March 1, 2023, 4:33pm UTC](https://discourse.vtk.org/t/vtk-js-dashed-lines/10745 "2023-03-01T16:33:25Z")

</div>

Hi there, I am using VTK js and I am producing lines as vtkpolydata. I would like to know if there is an option to render these lines in an actor as dashed lines. I can find the option in c++ and python, but not in JS…

---

## [Different results between VTK versions when clipping a PolyData](https://discourse.vtk.org/t/different-results-between-vtk-versions-when-clipping-a-polydata/10834)

<div class="topic-metadata">

**Author:** [@nmuzi](https://discourse.vtk.org/u/nmuzi)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 1:57pm UTC](https://discourse.vtk.org/t/different-results-between-vtk-versions-when-clipping-a-polydata/10834 "2023-03-01T13:57:28Z")

</div>

Hello everyone! This is my first post here. I am using vtkImplicitPolyDataDistance with clipPolyData, and I am getting different results when using VTK 8.2.0 and VTK 9.2.5. When using the latter I obtain “holes” in my m…

---

## [Shortcut for generic access to index buffer](https://discourse.vtk.org/t/shortcut-for-generic-access-to-index-buffer/10776)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 7:11am UTC](https://discourse.vtk.org/t/shortcut-for-generic-access-to-index-buffer/10776 "2023-03-01T07:11:48Z")

</div>

Hi Developers I have made a small raycaster using Embree. For the initial concept, I use // Access to points. I know this is not a viable solution. In my small test example, my polydata is the output from a vtkSphereSo…

---

## [Different shaped vertex points](https://discourse.vtk.org/t/different-shaped-vertex-points/10136)

<div class="topic-metadata">

**Author:** [@stu039](https://discourse.vtk.org/u/stu039)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 12:30am UTC](https://discourse.vtk.org/t/different-shaped-vertex-points/10136 "2023-03-01T00:30:32Z")

</div>

Hi there, I am working with a collection of point data, with vertices mapped accordingly. I currently have a set of points rendered with the square shaped points in the 3D space. I am wondering what is the simplest way…

---

## [Unable to compile vtk vtkMeshQuality.cxx(1289,10): error C2653: 'verdict'](https://discourse.vtk.org/t/unable-to-compile-vtk-vtkmeshquality-cxx-1289-10-error-c2653-verdict/10833)

<div class="topic-metadata">

**Author:** [@LaurentBerger](https://discourse.vtk.org/u/LaurentBerger)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 3:02pm UTC](https://discourse.vtk.org/t/unable-to-compile-vtk-vtkmeshquality-cxx-1289-10-error-c2653-verdict/10833 "2023-02-28T15:02:57Z")

</div>

Hi, I’m trying to compile VTK and I’ve got thoses error ( sorry it’s in french ): error 2653 : ‘identifier’ : is not a class or namespace name error C3861 ‘identifier’: identifier not found I use vtk branch v9.2.…

---

## [Using itk-vtk-viewer from local build](https://discourse.vtk.org/t/using-itk-vtk-viewer-from-local-build/10546)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 5\
**Last updated:** [February 28, 2023, 10:33am UTC](https://discourse.vtk.org/t/using-itk-vtk-viewer-from-local-build/10546 "2023-02-28T10:33:28Z")

</div>

(Newbie question) I want to be able to make changes to itk-vtk-viewer and test the new code within my current project. (Geometry / Point selection · Issue #575 · Kitware/itk-vtk-viewer · GitHub) I have forked the repo …

---

## [On the coordinate transformation of vtk and itk](https://discourse.vtk.org/t/on-the-coordinate-transformation-of-vtk-and-itk/10810)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 7\
**Last updated:** [February 28, 2023, 2:41pm UTC](https://discourse.vtk.org/t/on-the-coordinate-transformation-of-vtk-and-itk/10810 "2023-02-28T14:41:02Z")

</div>

The program I wrote uses itk image to read dicom image, and uses vtk to display it. What transformation should I make to make vtk display correctly? I know to use 0020 0037 tag to correct it. Can anyone tell me the detai…

---

## [Does vtk not allow changing display images?](https://discourse.vtk.org/t/does-vtk-not-allow-changing-display-images/10831)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 9:44am UTC](https://discourse.vtk.org/t/does-vtk-not-allow-changing-display-images/10831 "2023-02-28T09:44:51Z")

</div>

\#include “vtkSmartPointer.h” #include\<vtkRenderer.h\> #include \<vtkRenderWindowInteractor.h\> #include “vtkAutoInit.h” #include\<vtkImageData.h\> #include \<vtkDICOMImageReader.h\> #include \<vtkImageViewer2.h\> #include \<…

---

## [Cannot build vtk with Java Wrapping](https://discourse.vtk.org/t/cannot-build-vtk-with-java-wrapping/10828)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.vtk.org/u/turtle)\
**Replies:** 2\
**Last updated:** [February 28, 2023, 8:38am UTC](https://discourse.vtk.org/t/cannot-build-vtk-with-java-wrapping/10828 "2023-02-28T08:38:45Z")

</div>

Hello; I try to build vtk with Java Wrapping to simply read and write vtk-Files. This is my setup: Ubuntu 22.10 cmake version 3.24.2 GNU Make 4.3 openjdk 17.0.6 2023-01-17 vtk branch master I can build (run make afte…

---

## [Compile VTK with Emscripten For Windows](https://discourse.vtk.org/t/compile-vtk-with-emscripten-for-windows/4058)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 8\
**Last updated:** [February 28, 2023, 8:11am UTC](https://discourse.vtk.org/t/compile-vtk-with-emscripten-for-windows/4058 "2023-02-28T08:11:43Z")

</div>

Does anybody have a docker image or binaries that have VTK compiled for Emscripten for use on Windows? I have been able to compile it for Linux and create examples, but my current project is developed on Windows with Vis…

---

## [vtkScalarBarActor in WebAssembly](https://discourse.vtk.org/t/vtkscalarbaractor-in-webassembly/5078)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 18\
**Last updated:** [February 28, 2023, 8:03am UTC](https://discourse.vtk.org/t/vtkscalarbaractor-in-webassembly/5078 "2023-02-28T08:03:09Z")

</div>

I am having an issue using vtkScalarBarActor in WebAssembly. The code works correctly in C++ desktop VTK, but I get the following error when running it in WebAssembly in a browser: WebGL: INVALID\_ENUM: texParameter: in…

---

## [make a contour from a set of points](https://discourse.vtk.org/t/make-a-contour-from-a-set-of-points/10796)

<div class="topic-metadata">

**Author:** [@pravin\_poudel](https://discourse.vtk.org/u/pravin_poudel)\
**Replies:** 1\
**Last updated:** [February 27, 2023, 4:03pm UTC](https://discourse.vtk.org/t/make-a-contour-from-a-set-of-points/10796 "2023-02-27T16:03:45Z")

</div>

Hi I am trying to implement from scratch (i.e., without using any library functions for contouring or interpolation ) an iso contour algorithm. This is my code where i am using pyvista to plot isovalue = 0.15 def f(x,…

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

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