# Latest

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

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

**Page:** 76

---

## [Python 3.6 and 3.7 EOL](https://discourse.vtk.org/t/python-3-6-and-3-7-eol/7402)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 4\
**Last updated:** [August 16, 2023, 11:35am UTC](https://discourse.vtk.org/t/python-3-6-and-3-7-eol/7402 "2023-08-16T11:35:46Z")

</div>

So Python 3.6 is EOL this month. We still notionally support 3.4 (though even 3.5 isn’t actively tested), so is it OK to change this: set(vtk\_python\_min\_version "3.4") set(vtk\_python\_version\_support "3.6") to: set(vtk…

---

## [vtkMultiBlockDataSet + vtkClipDataSet](https://discourse.vtk.org/t/vtkmultiblockdataset-vtkclipdataset/7031)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 3\
**Last updated:** [August 16, 2023, 8:48am UTC](https://discourse.vtk.org/t/vtkmultiblockdataset-vtkclipdataset/7031 "2023-08-16T08:48:57Z")

</div>

Hi, Is it possible to cut a vtkMultiBlockDataSet somehow ? Seams that vtkClipDataSet does not accept vtkMultiBlockDataSet as input … Thanks !

---

## [How to draw division lines between colors on the surface of the grid?](https://discourse.vtk.org/t/how-to-draw-division-lines-between-colors-on-the-surface-of-the-grid/12146)

<div class="topic-metadata">

**Author:** [@SkyFishers](https://discourse.vtk.org/u/SkyFishers)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 2:12pm UTC](https://discourse.vtk.org/t/how-to-draw-division-lines-between-colors-on-the-surface-of-the-grid/12146 "2023-08-15T14:12:38Z")

</div>

I use vtkUnstructuredGrid to display a grid and display relevant cloud images. There is a clear division between cloud image colors. How to draw division lines between colors on the surface of the grid. import vtk …

---

## [vtkbool crash when execute SetOperModeToDifference](https://discourse.vtk.org/t/vtkbool-crash-when-execute-setopermodetodifference/12149)

<div class="topic-metadata">

**Author:** [@jealtw](https://discourse.vtk.org/u/jealtw)\
**Replies:** 0\
**Last updated:** [August 15, 2023, 2:37am UTC](https://discourse.vtk.org/t/vtkbool-crash-when-execute-setopermodetodifference/12149 "2023-08-15T02:37:19Z")

</div>

Recently I’ve been using vtkbool to do difference operation of two vtkPolyData. When the program run to CombineRegions() method, it will crash. And I found that the crash happened at Line2894~Line2895 in vtkPolyDataBoole…

---

## [Unit Testing Approach for Vtk.js](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142)

<div class="topic-metadata">

**Author:** [@ranjeet\_aey](https://discourse.vtk.org/u/ranjeet_aey)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 5:45pm UTC](https://discourse.vtk.org/t/unit-testing-approach-for-vtk-js/12142 "2023-08-14T17:45:44Z")

</div>

I’m trying to implement unit testing for my vtk.js code but not able to perform it for loading stl models. Is there any example for unit testing in vtk.js

---

## [VTK 9.3.0.rc1 has been tagged](https://discourse.vtk.org/t/vtk-9-3-0-rc1-has-been-tagged/12144)

<div class="topic-metadata">

**Author:** [@willdunklin](https://discourse.vtk.org/u/willdunklin)\
**Replies:** 0\
**Last updated:** [August 14, 2023, 2:49pm UTC](https://discourse.vtk.org/t/vtk-9-3-0-rc1-has-been-tagged/12144 "2023-08-14T14:49:32Z")

</div>

VTK 9.3.0.rc1 has been tagged! Downloads for docs, sources, wheels should be available later today (Aug 14). Please report any issues you find. Downloads: https://vtk.org/download/ Release notes: https://gitlab.kitwar…

---

## [auto compeletion in vs code](https://discourse.vtk.org/t/auto-compeletion-in-vs-code/7728)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.vtk.org/u/RAUMIK_RANA)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 3:25pm UTC](https://discourse.vtk.org/t/auto-compeletion-in-vs-code/7728 "2023-08-11T15:25:10Z")

</div>

I am new to vtk pyhton. I installed python 3.9.6 and vtk 9.1.0 there are 2 questions. Proper way to import vtk is there any other requirement for auto completion of vtk classes

---

## [vtkImplicitPolyDataDistance - speed depends on distance from surface](https://discourse.vtk.org/t/vtkimplicitpolydatadistance-speed-depends-on-distance-from-surface/12134)

<div class="topic-metadata">

**Author:** [@gatti](https://discourse.vtk.org/u/gatti)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 6:26am UTC](https://discourse.vtk.org/t/vtkimplicitpolydatadistance-speed-depends-on-distance-from-surface/12134 "2023-08-11T06:26:29Z")

</div>

Hi! Im using vtk.vtkImplicitPolyDataDistance and have found that the amount of time it takes for vtk to calculate the signed distance is related to the distance the sampled points are from the surface. Further points ta…

---

## [Training coming up on trame](https://discourse.vtk.org/t/training-coming-up-on-trame/11922)

<div class="topic-metadata">

**Author:** [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 7:02pm UTC](https://discourse.vtk.org/t/training-coming-up-on-trame/11922 "2023-08-10T19:02:30Z")

</div>

Wondering what trame is? Well it is a Python framework for building desktop like application with a Web UI that can then be deployed either as a regular desktop application or in the cloud without any code change. Trame …

---

## [Volume opacity](https://discourse.vtk.org/t/volume-opacity/12123)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.vtk.org/u/Xoz)\
**Replies:** 3\
**Last updated:** [August 10, 2023, 11:57am UTC](https://discourse.vtk.org/t/volume-opacity/12123 "2023-08-10T11:57:05Z")

</div>

Hi everyone, I’ve met a problem when trying to change the volume opacity, see these pics: When a volume is placed in a same renderer with a polyData actor and is applied an RGBTransferFunction and a PiecewiseFunc…

---

## [How to add observer to handle viewport changing(rotate) event?](https://discourse.vtk.org/t/how-to-add-observer-to-handle-viewport-changing-rotate-event/7256)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 11:34am UTC](https://discourse.vtk.org/t/how-to-add-observer-to-handle-viewport-changing-rotate-event/7256 "2023-08-10T11:34:59Z")

</div>

Hello,I want to recalculate the normal of all actors in the window when view port changing(rotating) by dragging or left key pressing.Below approaches have been tried: class Callback: def \_\_init\_\_(self): …

---

## [Does VTK support modifying VTK pipelines in real-time?](https://discourse.vtk.org/t/does-vtk-support-modifying-vtk-pipelines-in-real-time/12130)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 10:16am UTC](https://discourse.vtk.org/t/does-vtk-support-modifying-vtk-pipelines-in-real-time/12130 "2023-08-10T10:16:29Z")

</div>

Does VTK support modifying VTK pipelines in real-time? Say I have a source S, I add a filter F1, I add mapper M and an actor A. Finally I add A to a renderer linked to a window. Can I add a filter F2 on/in demand/real-…

---

## [Unable to import vtk libraries.](https://discourse.vtk.org/t/unable-to-import-vtk-libraries/12013)

<div class="topic-metadata">

**Author:** [@sunita](https://discourse.vtk.org/u/sunita)\
**Replies:** 6\
**Last updated:** [August 9, 2023, 7:06pm UTC](https://discourse.vtk.org/t/unable-to-import-vtk-libraries/12013 "2023-08-09T19:06:31Z")

</div>

Dear VTK Team, We are trying to use vtk.js as suggested in the following link. However, we are unable to import vtk libraries. Could you please answer why is so? Thank you so much for the help. Best regards, Suni…

---

## [Failed to read TIFF 64-bit samples](https://discourse.vtk.org/t/failed-to-read-tiff-64-bit-samples/12118)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.vtk.org/u/jamesobutler)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 3:02pm UTC](https://discourse.vtk.org/t/failed-to-read-tiff-64-bit-samples/12118 "2023-08-09T15:02:12Z")

</div>

Hi VTK community :wave: I’m coming from the 3D Slicer community (cc: @jcfr) where I have been attempting to a load a TIFF file where Slicer’s usage of the vtkTIFFReader is reporting \[VTK\] Unable to read tiff file: Sorry…

---

## [possible to export vtkvolume??](https://discourse.vtk.org/t/possible-to-export-vtkvolume/12121)

<div class="topic-metadata">

**Author:** [@tigerhu7](https://discourse.vtk.org/u/tigerhu7)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 9:22am UTC](https://discourse.vtk.org/t/possible-to-export-vtkvolume/12121 "2023-08-09T09:22:30Z")

</div>

Dear All, My 【object】to render a vtkvolume, take several snapshots accoring to renderer’s difference camera settings. My 【requirement】is that, whenever I input a camera setting, I will get a snapshot immediatelly. I…

---

## [VTK exe crash in Ubuntu, no core dump, no crash log, no VTK output window...what tools or cmd is popular when dev on Ubuntu?](https://discourse.vtk.org/t/vtk-exe-crash-in-ubuntu-no-core-dump-no-crash-log-no-vtk-output-window-what-tools-or-cmd-is-popular-when-dev-on-ubuntu/12095)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 8:21am UTC](https://discourse.vtk.org/t/vtk-exe-crash-in-ubuntu-no-core-dump-no-crash-log-no-vtk-output-window-what-tools-or-cmd-is-popular-when-dev-on-ubuntu/12095 "2023-08-09T08:21:44Z")

</div>

VTK exe crash in Ubuntu, no core dump, no crash log, no VTK output window…what tools or cmd is popular when dev on Ubuntu? must build Debug lib of VTK to enable the things above? is it able to build Debug and Release a…

---

## [possible to catch the vtk error after a reader or filter update?](https://discourse.vtk.org/t/possible-to-catch-the-vtk-error-after-a-reader-or-filter-update/12122)

<div class="topic-metadata">

**Author:** [@John\_Sunly](https://discourse.vtk.org/u/John_Sunly)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 7:29am UTC](https://discourse.vtk.org/t/possible-to-catch-the-vtk-error-after-a-reader-or-filter-update/12122 "2023-08-09T07:29:40Z")

</div>

Are there a correct way to possiblly catch the vtk error after a reader or filter update? My EMPHASIS is why some vtkErrorEvent could be caught while some can not be caught, by the following means (1) method? At this…

---

## [Color of the vtkFullScreenRenderWindow](https://discourse.vtk.org/t/color-of-the-vtkfullscreenrenderwindow/12115)

<div class="topic-metadata">

**Author:** [@lke735636](https://discourse.vtk.org/u/lke735636)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 7:16am UTC](https://discourse.vtk.org/t/color-of-the-vtkfullscreenrenderwindow/12115 "2023-08-09T07:16:56Z")

</div>

Hello. I noticed that it is possible to set gradient background effect in vtkc++ renderer-\>SetBackground(1.0, 1.0, 1.0); renderer-\>SetBackground2(0.529, 0.8078, 0.92157); renderer-\>SetGradientBackground(1); but I di…

---

## [CompositePolyDataMapper2 and QuadricLODActor](https://discourse.vtk.org/t/compositepolydatamapper2-and-quadriclodactor/5440)

<div class="topic-metadata">

**Author:** [@afa](https://discourse.vtk.org/u/afa)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 8:51pm UTC](https://discourse.vtk.org/t/compositepolydatamapper2-and-quadriclodactor/5440 "2023-08-08T20:51:28Z")

</div>

Hello all, I managed to use a QuadricLODActor with a composite mapper but then encountered crashes for example, when zooming out. It appears that vtkQuadricLODActor::Render will decide whether or not to rebuild LOD. If…

---

## [Label](https://discourse.vtk.org/t/label/10555)

<div class="topic-metadata">

**Author:** [@jane](https://discourse.vtk.org/u/jane)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 10:05am UTC](https://discourse.vtk.org/t/label/10555 "2023-08-08T10:05:10Z")

</div>

I have the following problem when I use the LabelWidget tag ERROR in ./static/js/test1.js 10:0-85 Module not found: Error: Can’t resolve ‘vtk.js/Sources/Rendering/Core/InteractorObserver’ in ‘C:\\Users\\18530\\Desktop\\fla…

---

## [How to draw lines and annotate on vtkImageView2](https://discourse.vtk.org/t/how-to-draw-lines-and-annotate-on-vtkimageview2/12110)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 4:18am UTC](https://discourse.vtk.org/t/how-to-draw-lines-and-annotate-on-vtkimageview2/12110 "2023-08-08T04:18:23Z")

</div>

How to draw lines and annotate on vtkImageView2？How to use the python language, correctly use line classes such as vtkLineWidget and vtkImageTracerWidget in vtkImageView2？

---

## [debug, log, find out why VTK exe crash in Ubuntu? exe exit main() after vtkRenderWindowInteractor::Start()](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 12:32am UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090 "2023-08-08T00:32:44Z")

</div>

how to find out why exe crash in Ubuntu, make -g, but gdb only show ‘Inferior 1(process 221729) exited normally’ in /var/log/apport.log, only has ‘executable does not belong to a package, ignoring’; ‘core limit 0, dump …

---

## [Rebase any topic created before 2023.07.25](https://discourse.vtk.org/t/rebase-any-topic-created-before-2023-07-25/12093)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 9:58pm UTC](https://discourse.vtk.org/t/rebase-any-topic-created-before-2023-07-25/12093 "2023-08-07T21:58:41Z")

</div>

Following the introduction of the SPDX related improvements (MR-10320), it is now required to rebase existing topics. Failure to do so will lead in KitwareRobot reporting CI has not completed successfully; please see th…

---

## [VTK not finding FontConfig during application CMake configuration on Windows](https://discourse.vtk.org/t/vtk-not-finding-fontconfig-during-application-cmake-configuration-on-windows/12100)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 9:17pm UTC](https://discourse.vtk.org/t/vtk-not-finding-fontconfig-during-application-cmake-configuration-on-windows/12100 "2023-08-07T21:17:50Z")

</div>

Hi folks, On one of our Windows build workers we have a FontConfig installation as follows: C:\\Users\\Elvis\\Dev\\libfontconfig\_2.13.1-4\_msvc16\\include\\fontconfig\\fontconfig.h C:\\Users\\Elvis\\Dev\\libfontconfig\_2.13.1-4\_msv…

---

## [How to use VTK in multi-threaded context?](https://discourse.vtk.org/t/how-to-use-vtk-in-multi-threaded-context/12103)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 2:09pm UTC](https://discourse.vtk.org/t/how-to-use-vtk-in-multi-threaded-context/12103 "2023-08-07T14:09:14Z")

</div>

How to use VTK in multi-threaded context? In some examples where VTK can be used along with OpenGL and GLEW (using vtkOpenGLRenderWindow or vtkVRRenderWindow for instance), my understanding is that, depending on cases, …

---

## [How to keep the texture clear while moving camera towards it](https://discourse.vtk.org/t/how-to-keep-the-texture-clear-while-moving-camera-towards-it/12111)

<div class="topic-metadata">

**Author:** [@LiuEECS](https://discourse.vtk.org/u/LiuEECS)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 10:08am UTC](https://discourse.vtk.org/t/how-to-keep-the-texture-clear-while-moving-camera-towards-it/12111 "2023-08-07T10:08:31Z")

</div>

I use the given example file RectGrid2.vtk as input file, and I construct a capping cylidner in the input file’s coordinates using a vtkImplicitBoolean as vtkActor’s input.But I find the texture of the cylinder is not cl…

---

## [vtk.js picking when VolumeRendering](https://discourse.vtk.org/t/vtk-js-picking-when-volumerendering/12109)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.vtk.org/u/mazurkin.daniel)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 6:05am UTC](https://discourse.vtk.org/t/vtk-js-picking-when-volumerendering/12109 "2023-08-07T06:05:54Z")

</div>

Hello, I don’t understand how vtk.js stores information about voxel transparency and other data during volume rendering. This understanding is necessary in order to write a ray casting picking algorithm for models that h…

---

## [Cannot change the font size of texts in a vtkCubeAxesActor](https://discourse.vtk.org/t/cannot-change-the-font-size-of-texts-in-a-vtkcubeaxesactor/12106)

<div class="topic-metadata">

**Author:** [@turnagundam](https://discourse.vtk.org/u/turnagundam)\
**Replies:** 0\
**Last updated:** [August 6, 2023, 12:05pm UTC](https://discourse.vtk.org/t/cannot-change-the-font-size-of-texts-in-a-vtkcubeaxesactor/12106 "2023-08-06T12:05:51Z")

</div>

Hello all, How can I change the font size of texts in a vtkCubeAxesActor? Modifying TextProperty doesn’t work for me vtkSmartPointer axesActor = vtkSmartPointer::New(); axesActor-\>SetXTitle(“X”); axesActor-\>GetTitleT…

---

## [Interpolation On Points](https://discourse.vtk.org/t/interpolation-on-points/12102)

<div class="topic-metadata">

**Author:** [@A.M\_Shahpouri](https://discourse.vtk.org/u/A.M_Shahpouri)\
**Replies:** 0\
**Last updated:** [August 5, 2023, 2:22pm UTC](https://discourse.vtk.org/t/interpolation-on-points/12102 "2023-08-05T14:22:25Z")

</div>

Hello I have a vtkImagedata (in this code : ContourData) which the value of inside points have 100 and on border 200 and outsides are 0. vtkNew\<vtkImageResliceMapper\> ContoureResliceMappers; ContoureResliceMappers-\>Set…

---

## [Unable to display the render window inside html canvas](https://discourse.vtk.org/t/unable-to-display-the-render-window-inside-html-canvas/12066)

<div class="topic-metadata">

**Author:** [@sunita](https://discourse.vtk.org/u/sunita)\
**Replies:** 3\
**Last updated:** [August 3, 2023, 10:39pm UTC](https://discourse.vtk.org/t/unable-to-display-the-render-window-inside-html-canvas/12066 "2023-08-03T22:39:01Z")

</div>

Dear All, We are trying to show the render window inside the html canvas using following example. However, we can not see the image in the html canvas. The code we used is as follows. The image looks blank. T…

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

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