# Latest

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

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

**Page:** 137

---

## [VTK 9.1 Python overloaded method call broken](https://discourse.vtk.org/t/vtk-9-1-python-overloaded-method-call-broken/8235)

<div class="topic-metadata">

**Author:** [@efahl](https://discourse.vtk.org/u/efahl)\
**Replies:** 5\
**Last updated:** [April 9, 2022, 7:55pm UTC](https://discourse.vtk.org/t/vtk-9-1-python-overloaded-method-call-broken/8235 "2022-04-09T19:55:07Z")

</div>

It appears that vtkDICOMReader.GetMetaData.Get overloaded Python methods are broken in vtk 9.1. Tested in both Python 3.9 and 3.10, same result, so not Py-version specific. I’m building VTK with the remote vtkDICOM mod…

---

## [Need help connecting vtkClipPolyData with vtkSampleFunction](https://discourse.vtk.org/t/need-help-connecting-vtkclippolydata-with-vtksamplefunction/8238)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 0\
**Last updated:** [April 8, 2022, 6:33pm UTC](https://discourse.vtk.org/t/need-help-connecting-vtkclippolydata-with-vtksamplefunction/8238 "2022-04-08T18:33:08Z")

</div>

I’m still on the steep part of the vtk learning curve. I’m following the ImplicitPaneWidget2 example for this. I’m trying to use that methodology for the “clip widget” to clip the result of implicit functions that have…

---

## [QVKTWdiget and Interactors](https://discourse.vtk.org/t/qvktwdiget-and-interactors/8161)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 2:04pm UTC](https://discourse.vtk.org/t/qvktwdiget-and-interactors/8161 "2022-04-08T14:04:34Z")

</div>

I’ve been working for hours trying to get the orientation marker from the OrientationMarkerWidget example to work with the QVTKWidget in the SimpleView example – with no success. I’ve looked at a number of the the other…

---

## [VTK 9 + PyQt Application](https://discourse.vtk.org/t/vtk-9-pyqt-application/5079)

<div class="topic-metadata">

**Author:** [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Replies:** 10\
**Last updated:** [April 8, 2022, 10:49am UTC](https://discourse.vtk.org/t/vtk-9-pyqt-application/5079 "2022-04-08T10:49:26Z")

</div>

We are thinking about rewriting an existing C++ application to include 3D/2D visualization capabilities and we were thinking about using VTK 9 to do it. We are also possibly wanting to move over to python as the main lan…

---

## [How to Install VTKData-9.1.0 with CMake with Operating System: LFS](https://discourse.vtk.org/t/how-to-install-vtkdata-9-1-0-with-cmake-with-operating-system-lfs/8226)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.vtk.org/u/Freya_the_Goddess)\
**Replies:** 3\
**Last updated:** [April 7, 2022, 3:43pm UTC](https://discourse.vtk.org/t/how-to-install-vtkdata-9-1-0-with-cmake-with-operating-system-lfs/8226 "2022-04-07T15:43:47Z")

</div>

Hi all good day to you, I have tried to use VTK but a bit confused. I am downloading the source files of VTK-9.1.0.tar.gz VTKData-9.1.0.tar.gz from this link https://vtk.org/download/ I use Linux From Scratch OS. No…

---

## [setting the coordinates of a imported 3d model (stl file) within a render window](https://discourse.vtk.org/t/setting-the-coordinates-of-a-imported-3d-model-stl-file-within-a-render-window/8231)

<div class="topic-metadata">

**Author:** [@Afizi\_Adebisi](https://discourse.vtk.org/u/Afizi_Adebisi)\
**Replies:** 0\
**Last updated:** [April 7, 2022, 12:42pm UTC](https://discourse.vtk.org/t/setting-the-coordinates-of-a-imported-3d-model-stl-file-within-a-render-window/8231 "2022-04-07T12:42:19Z")

</div>

I am quite confused on how to do this. I found a function setPosition but i am confused on how to use it. C++

---

## [VTK interactor window opens but regular render window won't](https://discourse.vtk.org/t/vtk-interactor-window-opens-but-regular-render-window-wont/7917)

<div class="topic-metadata">

**Author:** [@pbaudin](https://discourse.vtk.org/u/pbaudin)\
**Replies:** 3\
**Last updated:** [April 6, 2022, 7:51pm UTC](https://discourse.vtk.org/t/vtk-interactor-window-opens-but-regular-render-window-wont/7917 "2022-04-06T19:51:19Z")

</div>

Hi everyone, I’m new to VTK and I’m trying to get started in python 3.10.2 in a conda environment. On a 2020 M1 Macbook Air I’m working on just running some minimal examples and I’ve noticed something odd. The followi…

---

## [Bug and customization of CameraOrientationWidget](https://discourse.vtk.org/t/bug-and-customization-of-cameraorientationwidget/8071)

<div class="topic-metadata">

**Author:** [@Flagada](https://discourse.vtk.org/u/Flagada)\
**Replies:** 8\
**Last updated:** [April 6, 2022, 5:07pm UTC](https://discourse.vtk.org/t/bug-and-customization-of-cameraorientationwidget/8071 "2022-04-06T17:07:30Z")

</div>

Hi all! I wanted to add a CameraOrientationWidget to my app because it seems to be a very handful widget but I’m facing two problems that I wanted to expose you. First, there is an annoying behavior when choosing one …

---

## [Proposal: Introduce data object caching in vtkCompositeDataPipeline](https://discourse.vtk.org/t/proposal-introduce-data-object-caching-in-vtkcompositedatapipeline/8222)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 4\
**Last updated:** [April 6, 2022, 2:38pm UTC](https://discourse.vtk.org/t/proposal-introduce-data-object-caching-in-vtkcompositedatapipeline/8222 "2022-04-06T14:38:55Z")

</div>

Motivation I work on an FEA application. Our pipeline data objects consist of composite data structures of vtkUnstructuredGrid or vtkPolyData. Both the number of leaf blocks and the size of the blocks may be large. Du…

---

## [Getting any dynamic image positions in screen coordinates with keyboard and mouse events for eye tracker](https://discourse.vtk.org/t/getting-any-dynamic-image-positions-in-screen-coordinates-with-keyboard-and-mouse-events-for-eye-tracker/8190)

<div class="topic-metadata">

**Author:** [@irmakci](https://discourse.vtk.org/u/irmakci)\
**Replies:** 2\
**Last updated:** [April 6, 2022, 12:57am UTC](https://discourse.vtk.org/t/getting-any-dynamic-image-positions-in-screen-coordinates-with-keyboard-and-mouse-events-for-eye-tracker/8190 "2022-04-06T00:57:21Z")

</div>

Dear VTK users and developers, I am working on image viewer which is going to be integrated with eye tracker device. Although I look at some open source project’s source code such as 3d slicer, mitk, smili, medInria, st…

---

## [vtu,animation](https://discourse.vtk.org/t/vtu-animation/8215)

<div class="topic-metadata">

**Author:** [@chengchengjing](https://discourse.vtk.org/u/chengchengjing)\
**Replies:** 4\
**Last updated:** [April 5, 2022, 8:57am UTC](https://discourse.vtk.org/t/vtu-animation/8215 "2022-04-05T08:57:35Z")

</div>

I have a series of vtu files, sincerely ask how to make animations？Thanks for you help.

---

## [Problem with the vtkImageReslice position - help please](https://discourse.vtk.org/t/problem-with-the-vtkimagereslice-position-help-please/8202)

<div class="topic-metadata">

**Author:** [@jamsoft](https://discourse.vtk.org/u/jamsoft)\
**Replies:** 4\
**Last updated:** [April 4, 2022, 11:42pm UTC](https://discourse.vtk.org/t/problem-with-the-vtkimagereslice-position-help-please/8202 "2022-04-04T23:42:03Z")

</div>

Hello all, I have the problem with imageReslice position. In my code, I have the vtkDICOMReader that reads the volume. Then I extract part of the volume by the vtkExtractVOI (regular cube form). This two things work acc…

---

## [Issue on AWS windows server 2019](https://discourse.vtk.org/t/issue-on-aws-windows-server-2019/8207)

<div class="topic-metadata">

**Author:** [@Girish\_Joshi](https://discourse.vtk.org/u/Girish_Joshi)\
**Replies:** 1\
**Last updated:** [April 4, 2022, 5:30pm UTC](https://discourse.vtk.org/t/issue-on-aws-windows-server-2019/8207 "2022-04-04T17:30:52Z")

</div>

I’m trying to run a simple vtk example on a Windows 2019 machine. I’ve got elastic graphics for this machine. I’m getting following error while running the VTK example on this machine. GLEW could not be initialized: M…

---

## [Cancel Token on reader promise](https://discourse.vtk.org/t/cancel-token-on-reader-promise/8210)

<div class="topic-metadata">

**Author:** [@peeling](https://discourse.vtk.org/u/peeling)\
**Replies:** 1\
**Last updated:** [April 4, 2022, 1:27pm UTC](https://discourse.vtk.org/t/cancel-token-on-reader-promise/8210 "2022-04-04T13:27:06Z")

</div>

Hey, I need to know if we can cancel the reader promise of loading data, like we can do it in axios for example. I want to use the Debounce functionnality to just execute the last loading data promise from a consecutif…

---

## [Centerline extraction](https://discourse.vtk.org/t/centerline-extraction/8138)

<div class="topic-metadata">

**Author:** [@ekmungi](https://discourse.vtk.org/u/ekmungi)\
**Replies:** 4\
**Last updated:** [April 3, 2022, 10:09pm UTC](https://discourse.vtk.org/t/centerline-extraction/8138 "2022-04-03T22:09:02Z")

</div>

I am new to VTK. I have a 3D model of a tubular structure and I am looking for a way to extract the centerline for it. Could someone help? So far, I have tried using VMTK but it requires a closed model (end points are c…

---

## [Axes Direction Cosines - please help](https://discourse.vtk.org/t/axes-direction-cosines-please-help/8094)

<div class="topic-metadata">

**Author:** [@jamsoft](https://discourse.vtk.org/u/jamsoft)\
**Replies:** 7\
**Last updated:** [April 3, 2022, 11:05am UTC](https://discourse.vtk.org/t/axes-direction-cosines-please-help/8094 "2022-04-03T11:05:03Z")

</div>

Hello, I have a cube and vtkImageReslice in my code and 3 ordinary cutting planes (a.k.a axial, sagittal, coronal) that make slices of the cube content. For these 3 planes I use the vtkImageReslice.SetResliceAxesDirect…

---

## [How to visualise vtkImageReslice in volume?](https://discourse.vtk.org/t/how-to-visualise-vtkimagereslice-in-volume/8147)

<div class="topic-metadata">

**Author:** [@jamsoft](https://discourse.vtk.org/u/jamsoft)\
**Replies:** 1\
**Last updated:** [April 3, 2022, 10:04am UTC](https://discourse.vtk.org/t/how-to-visualise-vtkimagereslice-in-volume/8147 "2022-04-03T10:04:25Z")

</div>

Hi all, I have a DICOM volume (read by the vtkDICOMreader) visualized using the vtkGPUVolumeRayCastMapper. Working fine. Moreover, I have vtkImageReslice with Dimensions set on 2, so the output is the plane in fact. I…

---

## [Why does the select polydata class not support the SetEdgeSearchModeToGreedy method?](https://discourse.vtk.org/t/why-does-the-select-polydata-class-not-support-the-setedgesearchmodetogreedy-method/8200)

<div class="topic-metadata">

**Author:** [@vahid\_rastgoo](https://discourse.vtk.org/u/vahid_rastgoo)\
**Replies:** 0\
**Last updated:** [April 2, 2022, 6:24pm UTC](https://discourse.vtk.org/t/why-does-the-select-polydata-class-not-support-the-setedgesearchmodetogreedy-method/8200 "2022-04-02T18:24:15Z")

</div>

To solve the problem of Can’t follow edge Follow Edge, I want to use the SetEdgeSearchModeToGreedy() method that has been introduced in the site, but I get the error of not supporting this method while I installed the la…

---

## [How to delete a cell from vtkunstracturedgrid](https://discourse.vtk.org/t/how-to-delete-a-cell-from-vtkunstracturedgrid/8199)

<div class="topic-metadata">

**Author:** [@Jacques.chen](https://discourse.vtk.org/u/Jacques.chen)\
**Replies:** 0\
**Last updated:** [April 2, 2022, 4:32pm UTC](https://discourse.vtk.org/t/how-to-delete-a-cell-from-vtkunstracturedgrid/8199 "2022-04-02T16:32:57Z")

</div>

I have a vtkunstracturedgrid used InsertNextCell add a lot of cell. And how to delete cell with cell id ? thank you!

---

## [Merging vtkpolydata and vtkpolydata issue / Add vtkpolydata to vtkpolydata failed / vtkBooleanOperation failed resulting in non-manifold](https://discourse.vtk.org/t/merging-vtkpolydata-and-vtkpolydata-issue-add-vtkpolydata-to-vtkpolydata-failed-vtkbooleanoperation-failed-resulting-in-non-manifold/8191)

<div class="topic-metadata">

**Author:** [@hye00525](https://discourse.vtk.org/u/hye00525)\
**Replies:** 2\
**Last updated:** [April 2, 2022, 6:30am UTC](https://discourse.vtk.org/t/merging-vtkpolydata-and-vtkpolydata-issue-add-vtkpolydata-to-vtkpolydata-failed-vtkbooleanoperation-failed-resulting-in-non-manifold/8191 "2022-04-02T06:30:32Z")

</div>

Hello, I am trying to add cone-shaped or triangular pyramid-shaped vtkpolydata fins to vtkpolydata at specific positions in polydata. (like picture below ) I plan to print this stl using 3d print, and I have tried t…

---

## [VTK.js Unable to preventDefault inside passive event listener](https://discourse.vtk.org/t/vtk-js-unable-to-preventdefault-inside-passive-event-listener/8122)

<div class="topic-metadata">

**Author:** [@Brandon\_Davis](https://discourse.vtk.org/u/Brandon_Davis)\
**Replies:** 2\
**Last updated:** [April 1, 2022, 7:44pm UTC](https://discourse.vtk.org/t/vtk-js-unable-to-preventdefault-inside-passive-event-listener/8122 "2022-04-01T19:44:58Z")

</div>

I’m getting this error in console from VTK-js using a fullScreenRenderer when dragging around with my mouse. I can see the error on live examples as well: vtk.js RenderWindowInteractor.js:26 \[Intervention\] Unable to pr…

---

## [Built vtk with tkinter on MacOS (Macbook Air), Render Window breaks down on Macbook Pro](https://discourse.vtk.org/t/built-vtk-with-tkinter-on-macos-macbook-air-render-window-breaks-down-on-macbook-pro/6635)

<div class="topic-metadata">

**Author:** [@cmengich](https://discourse.vtk.org/u/cmengich)\
**Replies:** 20\
**Last updated:** [April 1, 2022, 1:46pm UTC](https://discourse.vtk.org/t/built-vtk-with-tkinter-on-macos-macbook-air-render-window-breaks-down-on-macbook-pro/6635 "2022-04-01T13:46:46Z")

</div>

Hello. I built VTK 9.0.1 with tkinter Python 3.8.5 for Macos (Intel, Big Sur) on a Macbook Air, and built an app that visualizes dicom images. App works perfectly fine on Macbook Air. Tested it on multiple devices. Howe…

---

## [module configuration error](https://discourse.vtk.org/t/module-configuration-error/8185)

<div class="topic-metadata">

**Author:** [@djduke](https://discourse.vtk.org/u/djduke)\
**Replies:** 8\
**Last updated:** [April 1, 2022, 9:11am UTC](https://discourse.vtk.org/t/module-configuration-error/8185 "2022-04-01T09:11:46Z")

</div>

After resolving misunderstandings about the module system , I made progress on building my own module. However I have an error message that I’m struggling to understand. When I run ccmake and configure I get VTK::Int…

---

## [vtkClipClosedSurface behaviour different from vtkClipPolyData](https://discourse.vtk.org/t/vtkclipclosedsurface-behaviour-different-from-vtkclippolydata/8193)

<div class="topic-metadata">

**Author:** [@aveek-brahmachari](https://discourse.vtk.org/u/aveek-brahmachari)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 5:50am UTC](https://discourse.vtk.org/t/vtkclipclosedsurface-behaviour-different-from-vtkclippolydata/8193 "2022-04-01T05:50:33Z")

</div>

I am trying to use vtkClipClosedSurface with multiple planes and I want to get the region within the intersection of the cut by each plane to be cut off. However, for vtkClipClosedSurface I find that the union of the reg…

---

## [How to get dicom time tag](https://discourse.vtk.org/t/how-to-get-dicom-time-tag/8194)

<div class="topic-metadata">

**Author:** [@Eric-JH](https://discourse.vtk.org/u/Eric-JH)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 8:05am UTC](https://discourse.vtk.org/t/how-to-get-dicom-time-tag/8194 "2022-04-01T08:05:38Z")

</div>

I need to get the dicom generation time after loading a series of dicom files and I think the dicom tag is 0008|0033. But I couldn’t find a function to solve this. int main() { string OpenPath = "C:\\\\Users\\\\26327\\\\Des…

---

## [Can i get the documentation of ResliceCursor as it is removed from the version 23 in vtk.js.](https://discourse.vtk.org/t/can-i-get-the-documentation-of-reslicecursor-as-it-is-removed-from-the-version-23-in-vtk-js/8189)

<div class="topic-metadata">

**Author:** [@Mayukhdeep\_Mathur](https://discourse.vtk.org/u/Mayukhdeep_Mathur)\
**Replies:** 1\
**Last updated:** [April 1, 2022, 5:07am UTC](https://discourse.vtk.org/t/can-i-get-the-documentation-of-reslicecursor-as-it-is-removed-from-the-version-23-in-vtk-js/8189 "2022-04-01T05:07:05Z")

</div>

I am trying to implment reslice cursor in the vtk.js but now it is not supported by the 23 version of vtk.js how can i get the documentation back. Link: https://github.com/Kitware/vtk-js/tree/master/Sources/Interaction/…

---

## [How can I visualize passed series of Dicom inputs in ResliceCursorWidget?](https://discourse.vtk.org/t/how-can-i-visualize-passed-series-of-dicom-inputs-in-reslicecursorwidget/8135)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 9\
**Last updated:** [March 31, 2022, 8:39pm UTC](https://discourse.vtk.org/t/how-can-i-visualize-passed-series-of-dicom-inputs-in-reslicecursorwidget/8135 "2022-03-31T20:39:10Z")

</div>

Hi everyone, I am trying to implement ResliceCursorWidget (vtk.js) in my project. I was able to run to the example vtk.js) without a problem, but when I change an input file I am getting some errors like Invalid or Miss…

---

## [VTK for Android an iPhone.](https://discourse.vtk.org/t/vtk-for-android-an-iphone/8151)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [March 31, 2022, 5:14pm UTC](https://discourse.vtk.org/t/vtk-for-android-an-iphone/8151 "2022-03-31T17:14:13Z")

</div>

Dear All, Can VTK be used as a library in an Android or iPhone application? In C, Java application? Which ones? Thanks, Luís Gonçalves

---

## [how to get the mouse coordinate on dicom](https://discourse.vtk.org/t/how-to-get-the-mouse-coordinate-on-dicom/8187)

<div class="topic-metadata">

**Author:** [@longjiang321](https://discourse.vtk.org/u/longjiang321)\
**Replies:** 0\
**Last updated:** [March 31, 2022, 2:30pm UTC](https://discourse.vtk.org/t/how-to-get-the-mouse-coordinate-on-dicom/8187 "2022-03-31T14:30:03Z")

</div>

hi friends: I am trying to run the offically provide demo https://kitware.github.io/vtk-examples/site/Cxx/Images/PickPixel2/, for JPEG image(use vtkJPEGReader to load it), the mouse coordinate and pixel value get succes…

---

## [Lesson 2:Import .IGES .STEP files while using VTK visualization ,simple example.](https://discourse.vtk.org/t/lesson-2-import-iges-step-files-while-using-vtk-visualization-simple-example/7991)

<div class="topic-metadata">

**Author:** [@anon41080341](https://discourse.vtk.org/u/anon41080341)\
**Replies:** 4\
**Last updated:** [March 31, 2022, 11:04am UTC](https://discourse.vtk.org/t/lesson-2-import-iges-step-files-while-using-vtk-visualization-simple-example/7991 "2022-03-31T11:04:23Z")

</div>

Dear @cory.quammen Is this the Proper way to publish Code ? Thank You. :pray: In this example, I am adding Import .Iges file and .Step File to this YouTube Video Example \[Lesson 2: Bring OpenCascade and VTK together …

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

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