# Latest

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

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

**Page:** 182

---

## [How to use the webpack dev server with recent vtkjs?](https://discourse.vtk.org/t/how-to-use-the-webpack-dev-server-with-recent-vtkjs/5412)

<div class="topic-metadata">

**Author:** [@nicoco](https://discourse.vtk.org/u/nicoco)\
**Replies:** 2\
**Last updated:** [March 23, 2021, 9:39am UTC](https://discourse.vtk.org/t/how-to-use-the-webpack-dev-server-with-recent-vtkjs/5412 "2021-03-23T09:39:56Z")

</div>

Hey, I recently tried to start a new project using VTK.js. Using the latest node and NPM from their debian repos on debian stable, the ES6 tutorial from the vtk.js docs failed at the step \> npm install kw-web-suite --…

---

## [Questions about the Point Cloud Data representation.](https://discourse.vtk.org/t/questions-about-the-point-cloud-data-representation/969)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 6\
**Last updated:** [March 23, 2021, 2:35am UTC](https://discourse.vtk.org/t/questions-about-the-point-cloud-data-representation/969 "2021-03-23T02:35:34Z")

</div>

Hi all! I have some questions about Point Cloud Data. Question 1) The colors are represented differently depending on zoom(In my code). (zoom in) (zoom out) But ParaView shows the same color regardless of zoom. …

---

## [All discussions to do with vtkClipDataSet, vtkCookieCutter, vtkCell::Clip, vtkCell::CookieCut(?)](https://discourse.vtk.org/t/all-discussions-to-do-with-vtkclipdataset-vtkcookiecutter-vtkcell-clip-vtkcell-cookiecut/5421)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 3:25pm UTC](https://discourse.vtk.org/t/all-discussions-to-do-with-vtkclipdataset-vtkcookiecutter-vtkcell-clip-vtkcell-cookiecut/5421 "2021-03-22T15:25:56Z")

</div>

@will.schroeder @Yohann\_Bearzi This post should serve as a central site for all ideas, opinions, suggestions, thoughts about the state of 2D and 3D boolean capabilities in the VTK library. Scalar-based clipping is grea…

---

## [Segm fault on Renderer render and RenderWindow Render](https://discourse.vtk.org/t/segm-fault-on-renderer-render-and-renderwindow-render/5409)

<div class="topic-metadata">

**Author:** [@IVarha](https://discourse.vtk.org/u/IVarha)\
**Replies:** 3\
**Last updated:** [March 22, 2021, 2:41pm UTC](https://discourse.vtk.org/t/segm-fault-on-renderer-render-and-renderwindow-render/5409 "2021-03-22T14:41:34Z")

</div>

Hello VTK community, I reusing some parts of code from “Screenshoot” sample to visualise my mesh. I receive Signal: SIGSEGV (Segmentation fault) on the line renderWindow-\>Render(); Additionally, I removed import “vtk…

---

## [objects whose property is manipulated by AnimationCue don't response to the callback , but this callback response in common render. How can I make this callback respose properly in AnimationCue ?](https://discourse.vtk.org/t/objects-whose-property-is-manipulated-by-animationcue-dont-response-to-the-callback-but-this-callback-response-in-common-render-how-can-i-make-this-callback-respose-properly-in-animationcue/5419)

<div class="topic-metadata">

**Author:** [@pi42](https://discourse.vtk.org/u/pi42)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 12:02pm UTC](https://discourse.vtk.org/t/objects-whose-property-is-manipulated-by-animationcue-dont-response-to-the-callback-but-this-callback-response-in-common-render-how-can-i-make-this-callback-respose-properly-in-animationcue/5419 "2021-03-22T12:02:51Z")

</div>

class CurtainAnimationCue : public vtkAnimationCue { public: static CurtainAnimationCue \* New() { return new CurtainAnimationCue; }; vtkTypeMacro(CurtainAnimationCue, vtkAnimationCue); public: CurtainAnimationCue() …

---

## [How to overcome Failed to load vtkClientServerPython?](https://discourse.vtk.org/t/how-to-overcome-failed-to-load-vtkclientserverpython/5417)

<div class="topic-metadata">

**Author:** [@rasunag27](https://discourse.vtk.org/u/rasunag27)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 8:59am UTC](https://discourse.vtk.org/t/how-to-overcome-failed-to-load-vtkclientserverpython/5417 "2021-03-22T08:59:10Z")

</div>

I have to run some paraview trace file in python to automate the process. For this, I have I am trying to import paraview as from paraview.simple import \* But, it is showing me an error as “Failed to load vtkClient…

---

## [LNK2005 error when use VTK&OpenCV static library in VS2019](https://discourse.vtk.org/t/lnk2005-error-when-use-vtk-opencv-static-library-in-vs2019/5371)

<div class="topic-metadata">

**Author:** [@Peiqi](https://discourse.vtk.org/u/Peiqi)\
**Replies:** 2\
**Last updated:** [March 22, 2021, 12:44am UTC](https://discourse.vtk.org/t/lnk2005-error-when-use-vtk-opencv-static-library-in-vs2019/5371 "2021-03-22T00:44:05Z")

</div>

Conflict between vtkpng-9.0.lib and libpng.lib, but all of them must be link. VTK use vtkpng-9.0.lib and vtkfreetype-9.0.lib，and opencv must link libpng.lib and freetype.lib. I don’t know how to fix it. How to build V…

---

## [Compiling CTK with ITK & VTK same compilation error](https://discourse.vtk.org/t/compiling-ctk-with-itk-vtk-same-compilation-error/5228)

<div class="topic-metadata">

**Author:** [@al-sabr](https://discourse.vtk.org/u/al-sabr)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 12:42am UTC](https://discourse.vtk.org/t/compiling-ctk-with-itk-vtk-same-compilation-error/5228 "2021-03-22T00:42:07Z")

</div>

In both there is a problem with hdf5

---

## [vtkGeometryFilter problem](https://discourse.vtk.org/t/vtkgeometryfilter-problem/5037)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 20\
**Last updated:** [March 22, 2021, 12:39am UTC](https://discourse.vtk.org/t/vtkgeometryfilter-problem/5037 "2021-03-22T00:39:16Z")

</div>

I don’t understand the behavior of vtkGeometryFilter in the case of a hexahedron - I would expect it to extract 6 faces and I get zero: import vtk reader = vtk.vtkXMLUnstructuredGridReader() reader.SetFileName('a.vtu')…

---

## [Error: no override found for 'vtkContextDevice2D'](https://discourse.vtk.org/t/error-no-override-found-for-vtkcontextdevice2d/5033)

<div class="topic-metadata">

**Author:** [@suejay](https://discourse.vtk.org/u/suejay)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 12:37am UTC](https://discourse.vtk.org/t/error-no-override-found-for-vtkcontextdevice2d/5033 "2021-03-22T00:37:12Z")

</div>

hello everyone！When i run the example named ‘Charts/QScalarsToColors’,it’s not work.The warning is here:

---

## [Preparing minimalistic binary package for CI (use of cpack and disabling modules)](https://discourse.vtk.org/t/preparing-minimalistic-binary-package-for-ci-use-of-cpack-and-disabling-modules/4937)

<div class="topic-metadata">

**Author:** [@dsemikin](https://discourse.vtk.org/u/dsemikin)\
**Replies:** 7\
**Last updated:** [March 22, 2021, 12:31am UTC](https://discourse.vtk.org/t/preparing-minimalistic-binary-package-for-ci-use-of-cpack-and-disabling-modules/4937 "2021-03-22T00:31:31Z")

</div>

Hello, I have two questions (for the background see below): Question 1: I would like to pack VTK binaries using CPack. But it seems, that it is not supported (or at least not considered) because I don’t see “include(C…

---

## [Using VTK with Python on Windows 10](https://discourse.vtk.org/t/using-vtk-with-python-on-windows-10/4920)

<div class="topic-metadata">

**Author:** [@oduncu90](https://discourse.vtk.org/u/oduncu90)\
**Replies:** 5\
**Last updated:** [March 22, 2021, 12:28am UTC](https://discourse.vtk.org/t/using-vtk-with-python-on-windows-10/4920 "2021-03-22T00:28:20Z")

</div>

I am using Python3 on Windows 10 x64. I am using python by using Msys2. I have installed several packages by using Msys2 and they work with python without problems. I have installed vtk 8.2 by using Msys2. vtk 8.2 is th…

---

## [How to wrap VTK-derived C++ function for Python](https://discourse.vtk.org/t/how-to-wrap-vtk-derived-c-function-for-python/4862)

<div class="topic-metadata">

**Author:** [@desheng](https://discourse.vtk.org/u/desheng)\
**Replies:** 4\
**Last updated:** [March 22, 2021, 12:25am UTC](https://discourse.vtk.org/t/how-to-wrap-vtk-derived-c-function-for-python/4862 "2021-03-22T00:25:17Z")

</div>

Is there any place I can find a working example to wrap a C++ function (using VTK) to be used by Python? Searched and found this page mix VTK and SWIG Python but there is no compiling details, and this simple example on…

---

## [CMake 3.17.2 to 3.18.4 update seems to have made all python tests fail?](https://discourse.vtk.org/t/cmake-3-17-2-to-3-18-4-update-seems-to-have-made-all-python-tests-fail/4737)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 9\
**Last updated:** [March 22, 2021, 12:22am UTC](https://discourse.vtk.org/t/cmake-3-17-2-to-3-18-4-update-seems-to-have-made-all-python-tests-fail/4737 "2021-03-22T00:22:42Z")

</div>

Hi all, For weeks now, the dashboards I submit have been very non-green. There are a huge number of tests failing, just about all of them Python tests. ex: On Rogue14, things were ok on 2020-10-12 then ~700 test start…

---

## [Excess memory usage when visualising vtkCubes or other objects](https://discourse.vtk.org/t/excess-memory-usage-when-visualising-vtkcubes-or-other-objects/3923)

<div class="topic-metadata">

**Author:** [@mastrogiorgis](https://discourse.vtk.org/u/mastrogiorgis)\
**Replies:** 4\
**Last updated:** [March 21, 2021, 10:45pm UTC](https://discourse.vtk.org/t/excess-memory-usage-when-visualising-vtkcubes-or-other-objects/3923 "2021-03-21T22:45:21Z")

</div>

Hi, I noticed an excessive usage of memory when using vtkCubes to visualise an 8x8x2 blocks as seen in the image. The memory usage is ~ 380Mb Is there anything I can try to reduce this? Many thanks.

---

## [Coverage is Missing](https://discourse.vtk.org/t/coverage-is-missing/293)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 6\
**Last updated:** [March 21, 2021, 8:34pm UTC](https://discourse.vtk.org/t/coverage-is-missing/293 "2021-03-21T20:34:21Z")

</div>

Folks, Coverage has been missing for quite a while. The coverage machine configure is failing: https://open.cdash.org/viewConfigure.php?buildid=5760331

---

## [VTK and vtk.js in the Arctic Vault through the GitHub Archive Program](https://discourse.vtk.org/t/vtk-and-vtk-js-in-the-arctic-vault-through-the-github-archive-program/4079)

<div class="topic-metadata">

**Author:** [@agirault](https://discourse.vtk.org/u/agirault)\
**Replies:** 1\
**Last updated:** [March 21, 2021, 8:24pm UTC](https://discourse.vtk.org/t/vtk-and-vtk-js-in-the-arctic-vault-through-the-github-archive-program/4079 "2021-03-21T20:24:02Z")

</div>

I got a notification today on my GitHub profile that I was an Artic Code Vault Contributor :snowflake:: This links to the GitHub Archive Program. I had heard of the program before, just not that VTK/vtk.js got pi…

---

## [vtkCutter no data at the boundary edge with current interpolation algorithm](https://discourse.vtk.org/t/vtkcutter-no-data-at-the-boundary-edge-with-current-interpolation-algorithm/5413)

<div class="topic-metadata">

**Author:** [@aldis](https://discourse.vtk.org/u/aldis)\
**Replies:** 0\
**Last updated:** [March 20, 2021, 3:48am UTC](https://discourse.vtk.org/t/vtkcutter-no-data-at-the-boundary-edge-with-current-interpolation-algorithm/5413 "2021-03-20T03:48:38Z")

</div>

Hello I have a CFD postprocessing task with \*.plt file as surface data source. After the surface data was imported via vtkTecplotReader, I tried to cut a slice at the symmetry boundary plane (Y=0 ) with “vtkCutter”. How…

---

## [Measuring of rendering performance for Remote python-based Visualisation](https://discourse.vtk.org/t/measuring-of-rendering-performance-for-remote-python-based-visualisation/5404)

<div class="topic-metadata">

**Author:** [@EMalikova](https://discourse.vtk.org/u/EMalikova)\
**Replies:** 11\
**Last updated:** [March 19, 2021, 8:21pm UTC](https://discourse.vtk.org/t/measuring-of-rendering-performance-for-remote-python-based-visualisation/5404 "2021-03-19T20:21:00Z")

</div>

Dear All, I need to obtain an FPS performance of python-based server for remote visualisation. I have run several tests from C++ and python code on Nvidia GTX 2080 and has obtained quite different results for Mesh visua…

---

## [VTK ray cast volume rendering window freeze if volumeMapper.SetImageSampleDistance less than 1.0](https://discourse.vtk.org/t/vtk-ray-cast-volume-rendering-window-freeze-if-volumemapper-setimagesampledistance-less-than-1-0/5405)

<div class="topic-metadata">

**Author:** [@desheng](https://discourse.vtk.org/u/desheng)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 9:17pm UTC](https://discourse.vtk.org/t/vtk-ray-cast-volume-rendering-window-freeze-if-volumemapper-setimagesampledistance-less-than-1-0/5405 "2021-03-18T21:17:19Z")

</div>

Hi, I notice a confusing vtk problem: when we use vtk.vtkGPUVolumeRayCastMapper() and set volumeMapper.SetImageSampleDistance(0.5) ----or any value less than 1.0, the interactive window freeze. No response to mouse movem…

---

## [How to retain watertight mesh after merging two stl using surfaceAdd?](https://discourse.vtk.org/t/how-to-retain-watertight-mesh-after-merging-two-stl-using-surfaceadd/5402)

<div class="topic-metadata">

**Author:** [@rasunag27](https://discourse.vtk.org/u/rasunag27)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 8:16am UTC](https://discourse.vtk.org/t/how-to-retain-watertight-mesh-after-merging-two-stl-using-surfaceadd/5402 "2021-03-18T08:16:15Z")

</div>

Dear all, I have an stl mesh which is watertight mesh (Checked with surfaceCheck utility of OpenFoam). I splitted this mesh to two stl’s using Paraview filters. (STL \> GenerateNormals \> Connectivity \> Threshold \> Extr…

---

## [How to split single stl file into two based on threshold in vertices?](https://discourse.vtk.org/t/how-to-split-single-stl-file-into-two-based-on-threshold-in-vertices/5401)

<div class="topic-metadata">

**Author:** [@rasunag27](https://discourse.vtk.org/u/rasunag27)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 5:53am UTC](https://discourse.vtk.org/t/how-to-split-single-stl-file-into-two-based-on-threshold-in-vertices/5401 "2021-03-18T05:53:26Z")

</div>

Dear All, I have a watertight stl mesh which is created using pointclouds from Open3D python library. This stl file is a single file. I want this stl file to be splitted into two based on the criteria say z-coordinated …

---

## [How can I prevent zooming in/out using an interactor style?](https://discourse.vtk.org/t/how-can-i-prevent-zooming-in-out-using-an-interactor-style/5315)

<div class="topic-metadata">

**Author:** [@joel](https://discourse.vtk.org/u/joel)\
**Replies:** 3\
**Last updated:** [March 18, 2021, 5:10am UTC](https://discourse.vtk.org/t/how-can-i-prevent-zooming-in-out-using-an-interactor-style/5315 "2021-03-18T05:10:21Z")

</div>

I need to set min and max zoom levels for the application that I work on. It uses the InteractorStyleTrackballCamera and I’d like to be able to stop the zooming in and out once a certain min/max zoom level is reached. I…

---

## [vtk9 rc1: OSMESA support doesn't compile](https://discourse.vtk.org/t/vtk9-rc1-osmesa-support-doesnt-compile/2927)

<div class="topic-metadata">

**Author:** [@Marcin\_Krotkiewski](https://discourse.vtk.org/u/Marcin_Krotkiewski)\
**Replies:** 11\
**Last updated:** [March 17, 2021, 11:10pm UTC](https://discourse.vtk.org/t/vtk9-rc1-osmesa-support-doesnt-compile/2927 "2021-03-17T23:10:21Z")

</div>

Hi, I try to compile vtk 9 rc1 with osmesa support. It seems that although I set the include and library path, those variables are not used by CMake in the build process. I configure as follows: OSMESA\_INCLUDE\_DIR …

---

## [ImageData make black transparent](https://discourse.vtk.org/t/imagedata-make-black-transparent/5393)

<div class="topic-metadata">

**Author:** [@ctfirman](https://discourse.vtk.org/u/ctfirman)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 4:57pm UTC](https://discourse.vtk.org/t/imagedata-make-black-transparent/5393 "2021-03-17T16:57:41Z")

</div>

Hi, I have an ImageData object in which I would like to replace the black area with a transparent area. I am new to VTK so sorry if this is trivial. Also is there any good python documentation regarding with working …

---

## [Text labels and controls enhancements?](https://discourse.vtk.org/t/text-labels-and-controls-enhancements/5376)

<div class="topic-metadata">

**Author:** [@lonewolf](https://discourse.vtk.org/u/lonewolf)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 10:08pm UTC](https://discourse.vtk.org/t/text-labels-and-controls-enhancements/5376 "2021-03-16T22:08:41Z")

</div>

Hi there, with the release of version 16 and (maybe) soon 17, I am wondering if it could be possible to add vtkTextProperty and vtkTextActor to the VTK js; just like it is in C++ :slight\_smile: I would very much like t…

---

## [Is it possible to overlay two raycast volumes in the same render window?](https://discourse.vtk.org/t/is-it-possible-to-overlay-two-raycast-volumes-in-the-same-render-window/2177)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 9\
**Last updated:** [March 16, 2021, 4:33am UTC](https://discourse.vtk.org/t/is-it-possible-to-overlay-two-raycast-volumes-in-the-same-render-window/2177 "2021-03-16T04:33:19Z")

</div>

Hi everybody, I would like to render two different volumes using two different color maps in the same renderer. I can’t tell if this is currently possible in VTK. This post makes me think it is not yet possible: How…

---

## [BoxWidget in a vtkMultiVolume renderer with more than one volume](https://discourse.vtk.org/t/boxwidget-in-a-vtkmultivolume-renderer-with-more-than-one-volume/5386)

<div class="topic-metadata">

**Author:** [@MissMac](https://discourse.vtk.org/u/MissMac)\
**Replies:** 2\
**Last updated:** [March 15, 2021, 5:14pm UTC](https://discourse.vtk.org/t/boxwidget-in-a-vtkmultivolume-renderer-with-more-than-one-volume/5386 "2021-03-15T17:14:46Z")

</div>

Hello, I render three volumes using the vtkMultiVolume renderer. Know, I need to apply a BoxWidgets to clip/crop the volumes. However, when I apply the BoxWidget, the Box is shown, but the Volume stays as it is. When…

---

## [vtkImageMarchingCubes](https://discourse.vtk.org/t/vtkimagemarchingcubes/5373)

<div class="topic-metadata">

**Author:** [@mauro](https://discourse.vtk.org/u/mauro)\
**Replies:** 1\
**Last updated:** [March 15, 2021, 3:31pm UTC](https://discourse.vtk.org/t/vtkimagemarchingcubes/5373 "2021-03-15T15:31:09Z")

</div>

Hello there, I’m struggling to read a vti volume using vtk.js. I feel I’m close to a solution, but still not quite there. Maybe someone with a trained eye can easy detect the problem? Here my code: const actor = vtkAct…

---

## [How can I get cell's type from Polydata or UGrid ?](https://discourse.vtk.org/t/how-can-i-get-cells-type-from-polydata-or-ugrid/5379)

<div class="topic-metadata">

**Author:** [@11114](https://discourse.vtk.org/u/11114)\
**Replies:** 1\
**Last updated:** [March 14, 2021, 8:30pm UTC](https://discourse.vtk.org/t/how-can-i-get-cells-type-from-polydata-or-ugrid/5379 "2021-03-14T20:30:56Z")

</div>

Hi, I want to get each individual cell’s type from polydata or UGrid source , I looked up the online documentation , but I didn’t find any useful method there, I think I need to do some conversion ,But don’t know how ,an…

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

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