# Latest

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

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

**Page:** 170

---

## [VTK 9.0.2](https://discourse.vtk.org/t/vtk-9-0-2/6107)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 27\
**Last updated:** [July 16, 2021, 7:29pm UTC](https://discourse.vtk.org/t/vtk-9-0-2/6107 "2021-07-16T19:29:27Z")

</div>

It’s finally here :slight\_smile: . Wheels have been uploaded to PyPI and VTK’s package registry. Source, data, and documentation tarballs are on the website. Still TODO: upload 9.0.2 Doxygen to the website Seems VTK…

---

## [Problem building VTK](https://discourse.vtk.org/t/problem-building-vtk/6197)

<div class="topic-metadata">

**Author:** [@GeorgeS](https://discourse.vtk.org/u/GeorgeS)\
**Replies:** 6\
**Last updated:** [July 16, 2021, 7:14pm UTC](https://discourse.vtk.org/t/problem-building-vtk/6197 "2021-07-16T19:14:36Z")

</div>

I’ve been happily developing large projects for VTK and ITK for years, but I am not a CMake expert. I just switched to a new Mac Powerbook with the M1 chip, and I’m getting errors running CMake on VTK I’ve updated to t…

---

## [Plot3D File Reader Problems](https://discourse.vtk.org/t/plot3d-file-reader-problems/6201)

<div class="topic-metadata">

**Author:** [@luismsfern](https://discourse.vtk.org/u/luismsfern)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 5:52pm UTC](https://discourse.vtk.org/t/plot3d-file-reader-problems/6201 "2021-07-16T17:52:11Z")

</div>

I’m trying to read a Plot3D file into ParaView using vtk directly, but I am running into problems. I have the grid file (.x) and the code I have access to writes out the function file containing the solution data (.f). T…

---

## [In ParaView, what plane widget is used when clipping?](https://discourse.vtk.org/t/in-paraview-what-plane-widget-is-used-when-clipping/6199)

<div class="topic-metadata">

**Author:** [@tobias](https://discourse.vtk.org/u/tobias)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 12:35pm UTC](https://discourse.vtk.org/t/in-paraview-what-plane-widget-is-used-when-clipping/6199 "2021-07-16T12:35:43Z")

</div>

What plane widget is used in ParaView to represent where the clipping plane goes?

---

## [How to achieve a single actor mouse drag, rotation and other interactive issues?](https://discourse.vtk.org/t/how-to-achieve-a-single-actor-mouse-drag-rotation-and-other-interactive-issues/6187)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 2:08am UTC](https://discourse.vtk.org/t/how-to-achieve-a-single-actor-mouse-drag-rotation-and-other-interactive-issues/6187 "2021-07-16T02:08:56Z")

</div>

How to achieve a single actor mouse drag, rotation and other interactive issues like this:

---

## [Byte array in vtk pipeline](https://discourse.vtk.org/t/byte-array-in-vtk-pipeline/6195)

<div class="topic-metadata">

**Author:** [@kit](https://discourse.vtk.org/u/kit)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 5:56pm UTC](https://discourse.vtk.org/t/byte-array-in-vtk-pipeline/6195 "2021-07-15T17:56:14Z")

</div>

Hi All, I am looking to create a vtk pipeline that passes a byte array as data. The data array does not contain any topological structure and can be any length (it’s a custom encoding of a data array). As such I am not …

---

## [SQLITE data types and VTK - little suggestion](https://discourse.vtk.org/t/sqlite-data-types-and-vtk-little-suggestion/3144)

<div class="topic-metadata">

**Author:** [@cobo](https://discourse.vtk.org/u/cobo)\
**Replies:** 2\
**Last updated:** [July 15, 2021, 9:03am UTC](https://discourse.vtk.org/t/sqlite-data-types-and-vtk-little-suggestion/3144 "2021-07-15T09:03:48Z")

</div>

In the vtkSQLiteQuery class I see that the mapping of SQLITE data types to VTK data types does the following (among others): SQLITE\_FLOAT -\> VTK\_FLOAT Looking further into the SQLite documentations and source codes, SQ…

---

## [VTK debug\_leaks with Visual studio 2013](https://discourse.vtk.org/t/vtk-debug-leaks-with-visual-studio-2013/5829)

<div class="topic-metadata">

**Author:** [@sateesh](https://discourse.vtk.org/u/sateesh)\
**Replies:** 7\
**Last updated:** [July 15, 2021, 8:18am UTC](https://discourse.vtk.org/t/vtk-debug-leaks-with-visual-studio-2013/5829 "2021-07-15T08:18:41Z")

</div>

Hi, I have observed some strange behavior with “VTK debug leaks” in VS 2013. In a sample project made with VTK 8.1, I’m able to get the debug leaks in console when I close the application. But in Main project, unable t…

---

## [CreateRepeatingTimer Issue in HoverWidget](https://discourse.vtk.org/t/createrepeatingtimer-issue-in-hoverwidget/6194)

<div class="topic-metadata">

**Author:** [@sateesh](https://discourse.vtk.org/u/sateesh)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 7:30am UTC](https://discourse.vtk.org/t/createrepeatingtimer-issue-in-hoverwidget/6194 "2021-07-15T07:30:17Z")

</div>

Hi Vtk’ers This is regarding the HoverWidget code where the timer implementation seems to be having a bug. Internally Hover Widget is using vtkRenderWindowInteractor::CreateRepeatingTimer function to create the timer a…

---

## [How to assembly two actors?](https://discourse.vtk.org/t/how-to-assembly-two-actors/6193)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 7:04am UTC](https://discourse.vtk.org/t/how-to-assembly-two-actors/6193 "2021-07-15T07:04:44Z")

</div>

Whe I assembly two actors using vtkAssembly, the position of the second actor differ from I added these two actors one by one,like this:

---

## [Clipping a volume with a plane and vtkImplicitPlaneWidget2](https://discourse.vtk.org/t/clipping-a-volume-with-a-plane-and-vtkimplicitplanewidget2/6168)

<div class="topic-metadata">

**Author:** [@Edoardo\_Pasca](https://discourse.vtk.org/u/Edoardo_Pasca)\
**Replies:** 1\
**Last updated:** [July 14, 2021, 7:49pm UTC](https://discourse.vtk.org/t/clipping-a-volume-with-a-plane-and-vtkimplicitplanewidget2/6168 "2021-07-14T19:49:09Z")

</div>

Hi all, I’m successfully clipping a volume render using the mapper’s (vtkSmartVolumeMapper) AddClippingPlane, passing a fully configured vtkPlane: plane = vtk.vtkPlane() plane.SetOrigin(0,125,0) plane.SetNormal(0.,1.,0…

---

## [VTK XML format and data type specific variants](https://discourse.vtk.org/t/vtk-xml-format-and-data-type-specific-variants/3623)

<div class="topic-metadata">

**Author:** [@utkarshayachit](https://discourse.vtk.org/u/utkarshayachit)\
**Replies:** 11\
**Last updated:** [July 14, 2021, 7:01pm UTC](https://discourse.vtk.org/t/vtk-xml-format-and-data-type-specific-variants/3623 "2021-07-14T19:01:59Z")

</div>

Does anyone know why do separate VTK-XML file extensions exist? For Legacy VTK files, we have .vtk which suffices to write all supported VTK data types. For VTK-XML, we have different variants .vtp for poly-data, .vtu fo…

---

## [how to write .xml .vtk or vtp with color?](https://discourse.vtk.org/t/how-to-write-xml-vtk-or-vtp-with-color/2731)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.vtk.org/u/ShaneKirkbride)\
**Replies:** 11\
**Last updated:** [July 14, 2021, 4:59pm UTC](https://discourse.vtk.org/t/how-to-write-xml-vtk-or-vtp-with-color/2731 "2021-07-14T16:59:54Z")

</div>

I’m trying to save a polyData mesh with color. I set the color like this: // Generate the colors for each point based on the color map vtkSmartPointer\<vtkUnsignedCharArray\> colors = vtkSmartPointer\<vtkUnsignedCharA…

---

## [Scalar bar Collision](https://discourse.vtk.org/t/scalar-bar-collision/6188)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 11:43am UTC](https://discourse.vtk.org/t/scalar-bar-collision/6188 "2021-07-14T11:43:33Z")

</div>

Hi All, I am wondering if it is possible to do collision detection between two scalar bar actors. I saw this thread that mentioned CollisionDetectionFilter. I saw that the filter works with Polydata. Is there a way to …

---

## [How to set the center of vtkactor autobiography？](https://discourse.vtk.org/t/how-to-set-the-center-of-vtkactor-autobiography/6071)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 7\
**Last updated:** [July 14, 2021, 11:27am UTC](https://discourse.vtk.org/t/how-to-set-the-center-of-vtkactor-autobiography/6071 "2021-07-14T11:27:18Z")

</div>

How to set the center of vtkActor autobiography when I moved the translate the actor？

---

## [vtkMoleculeMapper: gaps in bonds on zooming in](https://discourse.vtk.org/t/vtkmoleculemapper-gaps-in-bonds-on-zooming-in/6183)

<div class="topic-metadata">

**Author:** [@SunTzunami](https://discourse.vtk.org/u/SunTzunami)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 6:10am UTC](https://discourse.vtk.org/t/vtkmoleculemapper-gaps-in-bonds-on-zooming-in/6183 "2021-07-14T06:10:26Z")

</div>

Hi all! I was using vtkMoleculeMapper to render atoms and bonds. It renders them well but on zooming in, I observe gaps between bonds - What might be causing them and is there any way to fix this? Thanks in advance!

---

## [vtkProteinRibbonFilter usage without using vtkPDBReader](https://discourse.vtk.org/t/vtkproteinribbonfilter-usage-without-using-vtkpdbreader/6079)

<div class="topic-metadata">

**Author:** [@SunTzunami](https://discourse.vtk.org/u/SunTzunami)\
**Replies:** 1\
**Last updated:** [July 14, 2021, 5:42am UTC](https://discourse.vtk.org/t/vtkproteinribbonfilter-usage-without-using-vtkpdbreader/6079 "2021-07-14T05:42:26Z")

</div>

Hi all! I’m trying to use vtk (via python) to render Ribbon diagrams for proteins and vtkProteinRibbonFilter has been quite helpful in this. I am able to render Ribbon diagrams for PDB files by using the code below - #…

---

## [Problem with the installation of vtk and qt modules](https://discourse.vtk.org/t/problem-with-the-installation-of-vtk-and-qt-modules/4464)

<div class="topic-metadata">

**Author:** [@Ruf](https://discourse.vtk.org/u/Ruf)\
**Replies:** 3\
**Last updated:** [July 14, 2021, 2:40am UTC](https://discourse.vtk.org/t/problem-with-the-installation-of-vtk-and-qt-modules/4464 "2021-07-14T02:40:50Z")

</div>

Hello everybody, I’m trying to install VTK with some Qt modules, when trying to compile ALL\_BUILD in Visual Studio 2019, I get a series of errors that seem to come from the main error related to the vtkRenderingQt module…

---

## [use cases for enabling kits](https://discourse.vtk.org/t/use-cases-for-enabling-kits/6179)

<div class="topic-metadata">

**Author:** [@marcwang](https://discourse.vtk.org/u/marcwang)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 9:01pm UTC](https://discourse.vtk.org/t/use-cases-for-enabling-kits/6179 "2021-07-13T21:01:21Z")

</div>

Hi, I was looking though the vtk modules and noticed kits. What are its usages, does it just reduce the number of library files? Regards

---

## [Which method in VTK could I detect and repaire the mesh overlap?](https://discourse.vtk.org/t/which-method-in-vtk-could-i-detect-and-repaire-the-mesh-overlap/6070)

<div class="topic-metadata">

**Author:** [@Koly](https://discourse.vtk.org/u/Koly)\
**Replies:** 5\
**Last updated:** [July 13, 2021, 5:19pm UTC](https://discourse.vtk.org/t/which-method-in-vtk-could-i-detect-and-repaire-the-mesh-overlap/6070 "2021-07-13T17:19:18Z")

</div>

Which method in VTK could I use to detect and repaire the mesh overlap? Thanks in advance Koly

---

## [Laplacian Filter](https://discourse.vtk.org/t/laplacian-filter/6174)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 3\
**Last updated:** [July 13, 2021, 5:16pm UTC](https://discourse.vtk.org/t/laplacian-filter/6174 "2021-07-13T17:16:23Z")

</div>

Hi, I want to use a smoothing tool for my poly data. my poly data is a surface mesh of grey matter. However, when I use a smoothing filter, the surfaces intersect each other. int smoothingIterations = 40; …

---

## [build vtk v9.0.0 + Examples for iOS](https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412)

<div class="topic-metadata">

**Author:** [@gpotari](https://discourse.vtk.org/u/gpotari)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 9:20am UTC](https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412 "2021-07-13T09:20:18Z")

</div>

I’m trying to compile VTK 9.0.0 for iOS, as per the instructions inside README file under Examples/iOS folder which means run cmake with -DVTK\_IOS\_BUILD=ON. When I run make -j8, I got the following error: vtk/Rendering…

---

## [How to build VTK on a supercomputer without X-Server and no root previliges](https://discourse.vtk.org/t/how-to-build-vtk-on-a-supercomputer-without-x-server-and-no-root-previliges/377)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.vtk.org/u/singularity)\
**Replies:** 4\
**Last updated:** [July 13, 2021, 12:40am UTC](https://discourse.vtk.org/t/how-to-build-vtk-on-a-supercomputer-without-x-server-and-no-root-previliges/377 "2021-07-13T00:40:28Z")

</div>

Hi. With all the great help from this forum, I have managed to write a usable VTK volume rendering C++ code. I want to use this code on a supercomputer with no X display server or root privileges. The main thing that I w…

---

## [depth image to stl and vice versa](https://discourse.vtk.org/t/depth-image-to-stl-and-vice-versa/6170)

<div class="topic-metadata">

**Author:** [@11117](https://discourse.vtk.org/u/11117)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 9:33am UTC](https://discourse.vtk.org/t/depth-image-to-stl-and-vice-versa/6170 "2021-07-12T09:33:21Z")

</div>

I’m new in vtk, Is there any module to create depth image from stl model and reconstruct to stl model again?

---

## [Low remote GPU Utilization with vtk.web](https://discourse.vtk.org/t/low-remote-gpu-utilization-with-vtk-web/6155)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 2\
**Last updated:** [July 11, 2021, 8:11am UTC](https://discourse.vtk.org/t/low-remote-gpu-utilization-with-vtk-web/6155 "2021-07-11T08:11:38Z")

</div>

Hi. I’m loading a dicom dataset with vtk pipeline and volume rendering it and vtk.web protocols on a remote system. And accessing that on a different machine. I see that the GPU utilization is very low on the remote sys…

---

## [vtkrenderedareaselector with one vtkAssembly for the renderer](https://discourse.vtk.org/t/vtkrenderedareaselector-with-one-vtkassembly-for-the-renderer/6163)

<div class="topic-metadata">

**Author:** [@Bill\_McGrory](https://discourse.vtk.org/u/Bill_McGrory)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 6:06pm UTC](https://discourse.vtk.org/t/vtkrenderedareaselector-with-one-vtkassembly-for-the-renderer/6163 "2021-07-09T18:06:50Z")

</div>

I have an application that I am porting an earlier version of VTK (5.2) to use the latest supported version. The legacy app has a single renderer with a single vtkAssembly that builds a nested structure of actors. Pickin…

---

## [vtk.js: reading gzipped, binary STLs with vtkSTLReader](https://discourse.vtk.org/t/vtk-js-reading-gzipped-binary-stls-with-vtkstlreader/6134)

<div class="topic-metadata">

**Author:** [@aerogt3](https://discourse.vtk.org/u/aerogt3)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 6:44pm UTC](https://discourse.vtk.org/t/vtk-js-reading-gzipped-binary-stls-with-vtkstlreader/6134 "2021-07-05T18:44:44Z")

</div>

Hi, I’m using vtk.js to read in and display locally stored STL files in the browser, which so far is working great for binary STLs. It works for reading/displaying remotely stored files as well, but the file size can be…

---

## [Correct Application of a Smoothing filter on an IsoSurface](https://discourse.vtk.org/t/correct-application-of-a-smoothing-filter-on-an-isosurface/6147)

<div class="topic-metadata">

**Author:** [@vsrivastava](https://discourse.vtk.org/u/vsrivastava)\
**Replies:** 7\
**Last updated:** [July 9, 2021, 3:30pm UTC](https://discourse.vtk.org/t/correct-application-of-a-smoothing-filter-on-an-isosurface/6147 "2021-07-09T15:30:24Z")

</div>

vtkSmartPointer\<vtkMarchingCubes\> iso = vtkSmartPointer\<vtkMarchingCubes\>::New(); iso-\>SetInputConnection(NrrdFileReader-\>GetOutputPort()); iso-\>ComputeGradientsOn(); iso-\>ComputeScalarsOff(); iso-\>SetValue(0, 1); iso-\>U…

---

## [Question about vtkHardWareSelector](https://discourse.vtk.org/t/question-about-vtkhardwareselector/6161)

<div class="topic-metadata">

**Author:** [@yuhaoqiu](https://discourse.vtk.org/u/yuhaoqiu)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 3:14pm UTC](https://discourse.vtk.org/t/question-about-vtkhardwareselector/6161 "2021-07-09T15:14:33Z")

</div>

I noticed that vtkHardwareSelector provided a function for mappers to support hardware selection without having to rebuild any of their VBO/IBOs to maintain fast picking performance. Here is my code,I wish to re-color …

---

## [Python - Rendering multiple stacked vtkImageData in 2D](https://discourse.vtk.org/t/python-rendering-multiple-stacked-vtkimagedata-in-2d/6160)

<div class="topic-metadata">

**Author:** [@Birkl](https://discourse.vtk.org/u/Birkl)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 1:45pm UTC](https://discourse.vtk.org/t/python-rendering-multiple-stacked-vtkimagedata-in-2d/6160 "2021-07-09T13:45:10Z")

</div>

Hello, Right to the point: I’ve got several vtkImageData stored in an array. I want to take slice from each image and render them on top of each other. I also need to be able to set different images active and inactiv…

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

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