# Latest

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

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

**Page:** 211

---

## [Implementing FourPaneViewer in Java?](https://discourse.vtk.org/t/implementing-fourpaneviewer-in-java/3523)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 4:23pm UTC](https://discourse.vtk.org/t/implementing-fourpaneviewer-in-java/3523 "2020-06-11T16:23:18Z")

</div>

Is anybody out there attempting to implement FourPanesViewer in Java? :slight\_smile:

---

## [VTK 9.0 using Java Wrappers](https://discourse.vtk.org/t/vtk-9-0-using-java-wrappers/3475)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 8\
**Last updated:** [June 11, 2020, 3:33pm UTC](https://discourse.vtk.org/t/vtk-9-0-using-java-wrappers/3475 "2020-06-11T15:33:31Z")

</div>

I tried compiling VTK 9.0 with Java wrappers in Visual Studio 9.0. With VTK 8.2, VS creates the project .class file and vtk.jar. With VTK 9.0, it does not; no class files nor vtk.jar. Therefore, building the INSTALL proj…

---

## [vtkSeedRepresentation GetSeedDisplayPosition z value](https://discourse.vtk.org/t/vtkseedrepresentation-getseeddisplayposition-z-value/3516)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 2\
**Last updated:** [June 11, 2020, 12:16pm UTC](https://discourse.vtk.org/t/vtkseedrepresentation-getseeddisplayposition-z-value/3516 "2020-06-11T12:16:35Z")

</div>

I have setup a vtkSeedWidget (m\_pSeed) on a vtkVolume: vtkPointHandleRepresentation3D\* pPointHandle = vtkPointHandleRepresentation3D::New(); pPointHandle-\>GetProperty()-\>SetColor(1, 0, 0); pPointHandle-\>GetProperty()…

---

## [VTK 9.0.0](https://discourse.vtk.org/t/vtk-9-0-0/3205)

<div class="topic-metadata">

**Author:** [@TJ\_Corona](https://discourse.vtk.org/u/TJ_Corona)\
**Replies:** 5\
**Last updated:** [June 11, 2020, 12:00pm UTC](https://discourse.vtk.org/t/vtk-9-0-0/3205 "2020-06-11T12:00:48Z")

</div>

The VTK development team is pleased to introduce VTK 9.0.0. This major release includes many improvements and fixes to VTK, as well as new features that extend VTK’s utility as a state-of-the-art toolkit for scientific …

---

## [vtkSeedWidget vtkSeedRepresentation avoid right click](https://discourse.vtk.org/t/vtkseedwidget-vtkseedrepresentation-avoid-right-click/3521)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 11:40am UTC](https://discourse.vtk.org/t/vtkseedwidget-vtkseedrepresentation-avoid-right-click/3521 "2020-06-11T11:40:18Z")

</div>

How can I avoid right click event on a vtkSeedWidget / vtkSeedRepresentation ? I have tried: vtkSeedWidgetCallback\* pCallback = vtkSeedWidgetCallback::New(); pCallback-\>SetRepresentation(pSeedRepresentation); m\_pSee…

---

## [Issues interacting with the linewidget2](https://discourse.vtk.org/t/issues-interacting-with-the-linewidget2/3471)

<div class="topic-metadata">

**Author:** [@lwh0328](https://discourse.vtk.org/u/lwh0328)\
**Replies:** 4\
**Last updated:** [June 11, 2020, 10:19am UTC](https://discourse.vtk.org/t/issues-interacting-with-the-linewidget2/3471 "2020-06-11T10:19:14Z")

</div>

Hi VTK folks: Currently I’m doing a project to integrate VTK to a Qt program. The part I’m doing now is to display the three orthogonal planes, overlaying on the top with the two cross hair lines. I know there are some …

---

## [VTK downloads checksum](https://discourse.vtk.org/t/vtk-downloads-checksum/3519)

<div class="topic-metadata">

**Author:** [@kriegalex](https://discourse.vtk.org/u/kriegalex)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 8:20am UTC](https://discourse.vtk.org/t/vtk-downloads-checksum/3519 "2020-06-11T08:20:39Z")

</div>

It would be nice if like ITK, VTK would provide the checksums in form of downloadable files, making it easier to handle and check in a bash or python script. Thanks !

---

## [ICP Transform to SimpleITK images in Python](https://discourse.vtk.org/t/icp-transform-to-simpleitk-images-in-python/3511)

<div class="topic-metadata">

**Author:** [@GLG](https://discourse.vtk.org/u/GLG)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 8:12pm UTC](https://discourse.vtk.org/t/icp-transform-to-simpleitk-images-in-python/3511 "2020-06-10T20:12:19Z")

</div>

Hello ! I am new to VTK and I am trying to use VTK ICP algorithm in a rigid way to get a transform to use in SimpleITK then. I do that in Python. Here is how I proceed: Import nifty file and apply Discrete Marching C…

---

## [Use antialiasing only on some actors](https://discourse.vtk.org/t/use-antialiasing-only-on-some-actors/3500)

<div class="topic-metadata">

**Author:** [@embeddedmz](https://discourse.vtk.org/u/embeddedmz)\
**Replies:** 5\
**Last updated:** [June 10, 2020, 3:01pm UTC](https://discourse.vtk.org/t/use-antialiasing-only-on-some-actors/3500 "2020-06-10T15:01:28Z")

</div>

Hi, The title says it all : is it possible to use antialiasing only on some render window objects (e.g. a vtkPolyData). I’m using PNG image as textures for planes and antialisaing is modifiying their borders. Thanks.

---

## [VTK class development from VTK 4.2](https://discourse.vtk.org/t/vtk-class-development-from-vtk-4-2/3510)

<div class="topic-metadata">

**Author:** [@sugeng](https://discourse.vtk.org/u/sugeng)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 2:58pm UTC](https://discourse.vtk.org/t/vtk-class-development-from-vtk-4-2/3510 "2020-06-10T14:58:02Z")

</div>

Dear All, I have my own VTK header file that was written for VTK 4.2. The file has dependency with two header files from VTK namely “vtkDataSetToPolyDataFilter.h” and “vtkPolyDataSource.h”. After building process, ther…

---

## [The differences between VTKPythonPackage and VTK Python Wrapper.](https://discourse.vtk.org/t/the-differences-between-vtkpythonpackage-and-vtk-python-wrapper/3509)

<div class="topic-metadata">

**Author:** [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 8:10am UTC](https://discourse.vtk.org/t/the-differences-between-vtkpythonpackage-and-vtk-python-wrapper/3509 "2020-06-10T08:10:25Z")

</div>

Hi, It seems there are two methods for building the VTK interface for python. One is VTKPythonPackage and the other is VTK Python Wrapper. What’s the differences between the above two method for interfacing VTK with pyt…

---

## [Size of the line in a vtksplinewidget2 depends on the viewport size. How to fix the size](https://discourse.vtk.org/t/size-of-the-line-in-a-vtksplinewidget2-depends-on-the-viewport-size-how-to-fix-the-size/3465)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 11:47am UTC](https://discourse.vtk.org/t/size-of-the-line-in-a-vtksplinewidget2-depends-on-the-viewport-size-how-to-fix-the-size/3465 "2020-06-09T11:47:12Z")

</div>

Hello, I am rendering a spline widget in two different viewers. One viewer is made by different viewports and the other has only one in the render windows. I have two spline widgets created in the same way but the result…

---

## [Slider rotation appears incorrect - vtkSliderRepresentation3D](https://discourse.vtk.org/t/slider-rotation-appears-incorrect-vtksliderrepresentation3d/3328)

<div class="topic-metadata">

**Author:** [@jornskaa](https://discourse.vtk.org/u/jornskaa)\
**Replies:** 9\
**Last updated:** [June 8, 2020, 12:15pm UTC](https://discourse.vtk.org/t/slider-rotation-appears-incorrect-vtksliderrepresentation3d/3328 "2020-06-08T12:15:41Z")

</div>

I have created a small test program that creates vtkSliderWidgets with the vtkSliderRepresentation3D. I create one slider per axis (not necessarily along the main coordinate system axes). Even though the three sliders ha…

---

## [The handles of the vtkdistancewidget move when I move the camera](https://discourse.vtk.org/t/the-handles-of-the-vtkdistancewidget-move-when-i-move-the-camera/3498)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 8:47am UTC](https://discourse.vtk.org/t/the-handles-of-the-vtkdistancewidget-move-when-i-move-the-camera/3498 "2020-06-09T08:47:59Z")

</div>

Hello, I found a weird behabiour when I move the camera when I am using the vtkdistancewidget or vtkanglewidget. When I move the camera the handles separate from the lines of the widget. Someone knows how to correct this…

---

## [Reduce the data resolution](https://discourse.vtk.org/t/reduce-the-data-resolution/3495)

<div class="topic-metadata">

**Author:** [@Mao](https://discourse.vtk.org/u/Mao)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 2:33am UTC](https://discourse.vtk.org/t/reduce-the-data-resolution/3495 "2020-06-09T02:33:21Z")

</div>

I loaded a series of DICOM images of CT scan and extracted the surface data by vtkMarchingCubes. When I saved the 3d model into .stl file by vtkSTLWriter, it became a vary large file,so i thought the resolution of surfa…

---

## [How to use Png Reader to geneate ImageData](https://discourse.vtk.org/t/how-to-use-png-reader-to-geneate-imagedata/3493)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.vtk.org/u/beginner)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 6:22am UTC](https://discourse.vtk.org/t/how-to-use-png-reader-to-geneate-imagedata/3493 "2020-06-09T06:22:10Z")

</div>

Hi. I am new to VTK and I am wondering as to how I can generate Image Data after using png reader. Any form of help would be appreciated. Thanks!

---

## [How do I set frustum data on a vtkSelectionNode?](https://discourse.vtk.org/t/how-do-i-set-frustum-data-on-a-vtkselectionnode/3484)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 2\
**Last updated:** [June 9, 2020, 6:03am UTC](https://discourse.vtk.org/t/how-do-i-set-frustum-data-on-a-vtkselectionnode/3484 "2020-06-09T06:03:23Z")

</div>

I’m experimenting with various strategies to support rubber band picking and I’ve been successful when using vtkExtractGeometry to do the picking, but I see some advantages if I can switch to using vtkExtractSelection, v…

---

## [Build VTK with Vcpkg on the machine](https://discourse.vtk.org/t/build-vtk-with-vcpkg-on-the-machine/3489)

<div class="topic-metadata">

**Author:** [@Andy-Cheng](https://discourse.vtk.org/u/Andy-Cheng)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 12:09pm UTC](https://discourse.vtk.org/t/build-vtk-with-vcpkg-on-the-machine/3489 "2020-06-08T12:09:00Z")

</div>

I failed to build VTK 8.2.0 on Windows 10 with VS 2017 and VS 2019, but after removing the integration between vcpkg and Visual Studio by vcpkg integrate remove, the build is successful.

---

## [Failed to install latest version of mayavi with the self-compiled git master version of vtk.](https://discourse.vtk.org/t/failed-to-install-latest-version-of-mayavi-with-the-self-compiled-git-master-version-of-vtk/3485)

<div class="topic-metadata">

**Author:** [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)\
**Replies:** 1\
**Last updated:** [June 8, 2020, 1:49am UTC](https://discourse.vtk.org/t/failed-to-install-latest-version-of-mayavi-with-the-self-compiled-git-master-version-of-vtk/3485 "2020-06-08T01:49:14Z")

</div>

Hi, See here for more info: https://github.com/enthought/mayavi/issues/927. Any hints for this problem? Regards.

---

## [Getting 2d coordinates from 3d point?](https://discourse.vtk.org/t/getting-2d-coordinates-from-3d-point/3425)

<div class="topic-metadata">

**Author:** [@mdaley](https://discourse.vtk.org/u/mdaley)\
**Replies:** 4\
**Last updated:** [June 6, 2020, 8:08pm UTC](https://discourse.vtk.org/t/getting-2d-coordinates-from-3d-point/3425 "2020-06-06T20:08:09Z")

</div>

Hello, I have some additional points that I’ve added into my own implementation of the vtkChartXYZ. Actually, they are the mid points of all of the vertices of the 3d box that bounds the chart. What I would like to be …

---

## [VTK Mouse Drag Implementation](https://discourse.vtk.org/t/vtk-mouse-drag-implementation/3480)

<div class="topic-metadata">

**Author:** [@jjjl](https://discourse.vtk.org/u/jjjl)\
**Replies:** 0\
**Last updated:** [June 6, 2020, 12:19pm UTC](https://discourse.vtk.org/t/vtk-mouse-drag-implementation/3480 "2020-06-06T12:19:48Z")

</div>

Hello, I am developing in python and want to implement a custom mouse drag implementation. When moving the mouse I want the clicked actor to move as well (I know how to do this). I also know how to fire the mouse move …

---

## [Get picked vtk actor](https://discourse.vtk.org/t/get-picked-vtk-actor/3474)

<div class="topic-metadata">

**Author:** [@jjjl](https://discourse.vtk.org/u/jjjl)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 12:16pm UTC](https://discourse.vtk.org/t/get-picked-vtk-actor/3474 "2020-06-06T12:16:11Z")

</div>

my vtk setup looks like this: I have displayed 1 DICOM image as a vtk2DActor (rendered in one renderer) and on top of the vtk2DActor I have placed a bunch of other vtk2DActors based on a vtkImageCanvasSource. My code for…

---

## [Reading a png and creating a mesh from it](https://discourse.vtk.org/t/reading-a-png-and-creating-a-mesh-from-it/3479)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.vtk.org/u/beginner)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 6:09pm UTC](https://discourse.vtk.org/t/reading-a-png-and-creating-a-mesh-from-it/3479 "2020-06-05T18:09:47Z")

</div>

Hello everyone. I am just starting out with VTK and I am wondering as to how I can read a png image and creating a mesh from it. I tried this: pngreader and I got a segmentation fault saying there is no override found f…

---

## [Bezier cells for cylindrical meshes?](https://discourse.vtk.org/t/bezier-cells-for-cylindrical-meshes/3468)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 2:48am UTC](https://discourse.vtk.org/t/bezier-cells-for-cylindrical-meshes/3468 "2020-06-05T02:48:16Z")

</div>

Are there any examples of using the new Bezier cells in VTK 9?/Can someone point me to examples/tests that show how to generate meshes with Bezier cells? I have been trying to manually create them but it’s not going so …

---

## [How do I detect whether picking mode is enabled when using rubber band picking via Python?](https://discourse.vtk.org/t/how-do-i-detect-whether-picking-mode-is-enabled-when-using-rubber-band-picking-via-python/3466)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 1:11am UTC](https://discourse.vtk.org/t/how-do-i-detect-whether-picking-mode-is-enabled-when-using-rubber-band-picking-via-python/3466 "2020-06-05T01:11:29Z")

</div>

I’m trying to write a rubber band picker using the vtk Python bindings on Windows, VTK 8.2. I based my code off of one of the C++ examples, by creating my own Interactor style, inheriting from vtkInteractorStyleRubberBa…

---

## [Is it possible to implement rubber band picking from a vtkMultiBlockDataSet using vtkExtractGeometry and an ImplicitFunction?](https://discourse.vtk.org/t/is-it-possible-to-implement-rubber-band-picking-from-a-vtkmultiblockdataset-using-vtkextractgeometry-and-an-implicitfunction/3467)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 1:07am UTC](https://discourse.vtk.org/t/is-it-possible-to-implement-rubber-band-picking-from-a-vtkmultiblockdataset-using-vtkextractgeometry-and-an-implicitfunction/3467 "2020-06-05T01:07:31Z")

</div>

Hello!!! I’ve been experimenting with picking/selection in vtk and started with picking points and cells from a vtkUnstructuredGrid using the frustum from a vtkInteractorStyleRubberBandPick style in a vtkExtractGeometry…

---

## [gitlab.kitware.com is down](https://discourse.vtk.org/t/gitlab-kitware-com-is-down/3464)

<div class="topic-metadata">

**Author:** [@sankhesh](https://discourse.vtk.org/u/sankhesh)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 11:45pm UTC](https://discourse.vtk.org/t/gitlab-kitware-com-is-down/3464 "2020-06-04T23:45:22Z")

</div>

Hello devs, gitlab.kitware.com is down due to unexpected maintenance. Please note that any updates pushed after 4pm EST yesterday might be lost and would have to be re-pushed once the system is back up. I’ll update her…

---

## [Are Python bindings available for vtkm?](https://discourse.vtk.org/t/are-python-bindings-available-for-vtkm/2388)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 5\
**Last updated:** [June 4, 2020, 11:36pm UTC](https://discourse.vtk.org/t/are-python-bindings-available-for-vtkm/2388 "2020-06-04T23:36:55Z")

</div>

I’m using vtk 8.2 on Windows via the Python bindings - downloaded via Anaconda. I’m interested in exploring some of the vtkm capabilities, but they are not exposed in the software I downloaded. I can’t find any info on…

---

## [Physical Based Rendering fails with renderer.SetEnvironmentCubeMap not found](https://discourse.vtk.org/t/physical-based-rendering-fails-with-renderer-setenvironmentcubemap-not-found/3318)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 11:35pm UTC](https://discourse.vtk.org/t/physical-based-rendering-fails-with-renderer-setenvironmentcubemap-not-found/3318 "2020-06-04T23:35:24Z")

</div>

Hello!!! I’m using VTK 9.0 with Python 3.8 on a windows 64 bit machine. I downloaded the PBR example from the VTKExamples site and the sample cubemaps, textures etc. But the example program exits with the message ren…

---

## [Better sqrt](https://discourse.vtk.org/t/better-sqrt/3460)

<div class="topic-metadata">

**Author:** [@Ron84](https://discourse.vtk.org/u/Ron84)\
**Replies:** 12\
**Last updated:** [June 4, 2020, 4:12pm UTC](https://discourse.vtk.org/t/better-sqrt/3460 "2020-06-04T16:12:09Z")

</div>

Is someone able to translate the sqrt14-function into asm of gcc? double inline \_\_declspec (naked) \_\_fastcall sqrt14(double n) { \_asm fld qword ptr \[esp+4\] \_asm fsqrt \_asm ret 8 } Reference: https://www.codeproject…

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

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