# Development

**URL:** https://discourse.vtk.org/c/development/7.md?page=35

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

**Page:** 36

---

## [Emails from CDash](https://discourse.vtk.org/t/emails-from-cdash/6289)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 11\
**Last updated:** [August 6, 2021, 6:46am UTC](https://discourse.vtk.org/t/emails-from-cdash/6289 "2021-08-06T06:46:38Z")

</div>

After a VTK commit is made, CDash sends out emails to the committer if any build or test failures occur in nightly builds. This was enabled presumably to help point out errors that may have been introduce, but typically …

---

## [Triangle-triangle intersection detects incorrect intersection.](https://discourse.vtk.org/t/triangle-triangle-intersection-detects-incorrect-intersection/6258)

<div class="topic-metadata">

**Author:** [@antomaxi](https://discourse.vtk.org/u/antomaxi)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 9:00am UTC](https://discourse.vtk.org/t/triangle-triangle-intersection-detects-incorrect-intersection/6258 "2021-07-28T09:00:52Z")

</div>

Hello, I am new here so please let me know if I placed this topic in the wrong category. Context: I have been studying the following paper on Triangle-triangle intersection testing : https://hal.inria.fr/inria-0007210…

---

## [Designing a CSS-styled representation for vtkDataAssembly](https://discourse.vtk.org/t/designing-a-css-styled-representation-for-vtkdataassembly/6190)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 8\
**Last updated:** [July 27, 2021, 3:31am UTC](https://discourse.vtk.org/t/designing-a-css-styled-representation-for-vtkdataassembly/6190 "2021-07-27T03:31:53Z")

</div>

This started as a ParaView discussion on visual properties for partitioned datasets, but seems more appropriate here. Problem statement Complex composite datasets do not get fine-grained control of their visual style. P…

---

## [VTK Synchronized MPR behavior issue(Re-initiating)](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue-re-initiating/6246)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 1\
**Last updated:** [July 27, 2021, 8:19pm UTC](https://discourse.vtk.org/t/vtk-synchronized-mpr-behavior-issue-re-initiating/6246 "2021-07-27T20:19:25Z")

</div>

Hi all, I wanted to link the 3 views axial, coronal and sagittal views so that when mouse interaction takes place on one view, it simultaneously updates the other views. Things I’ve tried… I have tried the following e…

---

## [VTK android compilation fails to find OpenGL librairies](https://discourse.vtk.org/t/vtk-android-compilation-fails-to-find-opengl-librairies/5443)

<div class="topic-metadata">

**Author:** [@Charles](https://discourse.vtk.org/u/Charles)\
**Replies:** 2\
**Last updated:** [July 27, 2021, 3:06pm UTC](https://discourse.vtk.org/t/vtk-android-compilation-fails-to-find-opengl-librairies/5443 "2021-07-27T15:06:30Z")

</div>

Hello, I’m currently trying to manually cross compile VTK for the arm64-v8a android ABI but the compilation process fails to find backend librairies (OpenGL for rendering). I tried many VTK versions (v8.2.0, v9.0.0, v7.…

---

## [how to switching interactorStyle?](https://discourse.vtk.org/t/how-to-switching-interactorstyle/5135)

<div class="topic-metadata">

**Author:** [@jhp](https://discourse.vtk.org/u/jhp)\
**Replies:** 1\
**Last updated:** [July 26, 2021, 12:18pm UTC](https://discourse.vtk.org/t/how-to-switching-interactorstyle/5135 "2021-07-26T12:18:46Z")

</div>

3 objects receive the trackballcamera event (simultaneous rotation). Select object #1. (pickingInteratorStyle definition) Only object 1 is rotated. (trackballActor applied) After deselecting object 1, the 3 objects rota…

---

## [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…

---

## [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…

---

## [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…

---

## [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

---

## [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?

---

## [Unstable sorting of nodes in e.g. vtkColorTransferFunction](https://discourse.vtk.org/t/unstable-sorting-of-nodes-in-e-g-vtkcolortransferfunction/6141)

<div class="topic-metadata">

**Author:** [@Jesper](https://discourse.vtk.org/u/Jesper)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 7:31pm UTC](https://discourse.vtk.org/t/unstable-sorting-of-nodes-in-e-g-vtkcolortransferfunction/6141 "2021-07-06T19:31:51Z")

</div>

Hi I am working with a vtkColorTransferFunction with AllowDuplicateScalarsOn() and noticed after building it by repeated calls to AddRGBPoint() that the order comes out unexpected. This appears to result from the call t…

---

## [vtkWindowedSincPolyDataFilter performance improvement](https://discourse.vtk.org/t/vtkwindowedsincpolydatafilter-performance-improvement/3262)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 15\
**Last updated:** [June 30, 2021, 4:48pm UTC](https://discourse.vtk.org/t/vtkwindowedsincpolydatafilter-performance-improvement/3262 "2021-06-30T16:48:10Z")

</div>

This topic is a follow-up of modernization/performance improvement of filters - focusing on vtkWindowedSincPolyDataFilter optimization. Here are sample VTK polydata data sets that we typically work with. They are creat…

---

## [How to make vtkCamera to follow along a path? Similar to what we have in paraview.](https://discourse.vtk.org/t/how-to-make-vtkcamera-to-follow-along-a-path-similar-to-what-we-have-in-paraview/6097)

<div class="topic-metadata">

**Author:** [@vishalkumar2222](https://discourse.vtk.org/u/vishalkumar2222)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 11:44am UTC](https://discourse.vtk.org/t/how-to-make-vtkcamera-to-follow-along-a-path-similar-to-what-we-have-in-paraview/6097 "2021-06-30T11:44:25Z")

</div>

Hi, I have a requirement where I need to create my camera along a path. I have seen similar feature in paraview. How can I implement similar feature. Thanks,

---

## [Example of VTK module built after VTK is built?](https://discourse.vtk.org/t/example-of-vtk-module-built-after-vtk-is-built/6099)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.vtk.org/u/adamrankin)\
**Replies:** 3\
**Last updated:** [June 28, 2021, 9:13pm UTC](https://discourse.vtk.org/t/example-of-vtk-module-built-after-vtk-is-built/6099 "2021-06-28T21:13:24Z")

</div>

Hello all, Would anyone have an example of developing a VTK module in a separate project/repo?

---

## [Failed to use Vue + vtk.js](https://discourse.vtk.org/t/failed-to-use-vue-vtk-js/6094)

<div class="topic-metadata">

**Author:** [@agiles](https://discourse.vtk.org/u/agiles)\
**Replies:** 1\
**Last updated:** [June 28, 2021, 3:37pm UTC](https://discourse.vtk.org/t/failed-to-use-vue-vtk-js/6094 "2021-06-28T15:37:35Z")

</div>

Hello Sebastien, I used “Vue create…” and “NPM install – save VTK. JS” to create a very simple project, the purpose is to verify the correctness of a piece of code, but I found that the canvas of the web page has appe…

---

## [Compare a pixel value between a VTK volume and ITK image](https://discourse.vtk.org/t/compare-a-pixel-value-between-a-vtk-volume-and-itk-image/6092)

<div class="topic-metadata">

**Author:** [@Hector\_Martinez](https://discourse.vtk.org/u/Hector_Martinez)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 12:38pm UTC](https://discourse.vtk.org/t/compare-a-pixel-value-between-a-vtk-volume-and-itk-image/6092 "2021-06-28T12:38:02Z")

</div>

I have two vtkPolyData, one is a liver and the other a tumor. First of all, I select n points from the liver and then, I calculate the Hausdorff distance “” between this points and the tumor. (These vtkPolyDatas, “.vtp” …

---

## [Setting values of CMAKE\_XYZ\_OUTPUT\_DIRECTORY](https://discourse.vtk.org/t/setting-values-of-cmake-xyz-output-directory/6051)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.vtk.org/u/adamrankin)\
**Replies:** 5\
**Last updated:** [June 27, 2021, 9:04pm UTC](https://discourse.vtk.org/t/setting-values-of-cmake-xyz-output-directory/6051 "2021-06-27T21:04:53Z")

</div>

@ben.boeckel @lassoan In previous versions of VTK, we were able to set the build output directories for the various files, which we rely on in order to be able to launch our project from within the development environme…

---

## [Read STL Binary](https://discourse.vtk.org/t/read-stl-binary/6075)

<div class="topic-metadata">

**Author:** [@bot](https://discourse.vtk.org/u/bot)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 10:55am UTC](https://discourse.vtk.org/t/read-stl-binary/6075 "2021-06-25T10:55:08Z")

</div>

I have an stl binary in an XML file like this. Can you share with me how to read the data? \<strRawSTLData encoding="base64" datatype="STL"\> RXhwb3J0ZWQgZnJvbSBCbGVuZGVyLTIuOTIuMAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAA…

---

## [How to display point cloud in gray value](https://discourse.vtk.org/t/how-to-display-point-cloud-in-gray-value/6073)

<div class="topic-metadata">

**Author:** [@Wei\_Sam](https://discourse.vtk.org/u/Wei_Sam)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 8:51am UTC](https://discourse.vtk.org/t/how-to-display-point-cloud-in-gray-value/6073 "2021-06-25T08:51:45Z")

</div>

Hi Everyone i would like to display the point cloud data in grayscale value, does anyone know how to do? Thanks very much!

---

## [Keep the scene horizontal](https://discourse.vtk.org/t/keep-the-scene-horizontal/6060)

<div class="topic-metadata">

**Author:** [@ali-zakaria](https://discourse.vtk.org/u/ali-zakaria)\
**Replies:** 0\
**Last updated:** [June 24, 2021, 9:08am UTC](https://discourse.vtk.org/t/keep-the-scene-horizontal/6060 "2021-06-24T09:08:09Z")

</div>

Hello, I am using vtkInteractorStyleTrackballCamera, and I want to always keep the scene horizontal and avoid situations where the scene tilts: Is there a simple way to achieve that please ?

---

## [DebugTools for MSVC](https://discourse.vtk.org/t/debugtools-for-msvc/6043)

<div class="topic-metadata">

**Author:** [@shogarth](https://discourse.vtk.org/u/shogarth)\
**Replies:** 0\
**Last updated:** [June 22, 2021, 10:44pm UTC](https://discourse.vtk.org/t/debugtools-for-msvc/6043 "2021-06-22T22:44:45Z")

</div>

If you are debugging VTK on Windows with Visual Studio, there are some natvis files to configure your debugger available to as part of DebugTools. They configure the debugger to show a synthesized, easier to debug with, …

---

## [Where to look for difference image on gitlab ci?](https://discourse.vtk.org/t/where-to-look-for-difference-image-on-gitlab-ci/6042)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 2\
**Last updated:** [June 22, 2021, 6:09pm UTC](https://discourse.vtk.org/t/where-to-look-for-difference-image-on-gitlab-ci/6042 "2021-06-22T18:09:23Z")

</div>

A test failed on GitLab ci. The logs indicate that a difference png file is in build/Testing/Temporary . I downloaded artifacts and I can’t find them, maybe I’m looking in the wrong place? \<DartMeasurementFile name="Dif…

---

## [Mutliple depth-buffer render passes](https://discourse.vtk.org/t/mutliple-depth-buffer-render-passes/6033)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 7:14pm UTC](https://discourse.vtk.org/t/mutliple-depth-buffer-render-passes/6033 "2021-06-21T19:14:31Z")

</div>

Hi all (but esp @ken-martin ), we have some multiscale data we’re rendering that runs into problems with depth-buffer precision; we can’t fit the frustum to the entire dataset’s bounds without severe z-fighting due to a …

---

## [Using vtk libraries for writing in xml/vtk fileformat](https://discourse.vtk.org/t/using-vtk-libraries-for-writing-in-xml-vtk-fileformat/6017)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 4\
**Last updated:** [June 21, 2021, 1:12pm UTC](https://discourse.vtk.org/t/using-vtk-libraries-for-writing-in-xml-vtk-fileformat/6017 "2021-06-21T13:12:53Z")

</div>

I am interested in writing files of finite element meshes and results in vtk format. I have found information about it in Text Book Manual of VTK. However, I would like to know if there are libraries that allows to write…

---

## [Vtkimage data over vtkstrcturedgrid (performance)](https://discourse.vtk.org/t/vtkimage-data-over-vtkstrcturedgrid-performance/5524)

<div class="topic-metadata">

**Author:** [@Guillaume\_Gillet](https://discourse.vtk.org/u/Guillaume_Gillet)\
**Replies:** 13\
**Last updated:** [June 21, 2021, 1:06pm UTC](https://discourse.vtk.org/t/vtkimage-data-over-vtkstrcturedgrid-performance/5524 "2021-06-21T13:06:30Z")

</div>

Hello, i’m having issues with vtk, as i’m learning it i was asked to make some performance tests, and so i made this little program. It createsa vtkstructuredgrid with different sizes and displays the rendering time, bu…

---

## [Need for help. There are some errors when I built the VTK8.2.0 using MingG64.](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-when-i-built-the-vtk8-2-0-using-mingg64/1898)

<div class="topic-metadata">

**Author:** [@pngjian](https://discourse.vtk.org/u/pngjian)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 4:22am UTC](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-when-i-built-the-vtk8-2-0-using-mingg64/1898 "2021-06-21T04:22:49Z")

</div>

I selected the option “BUILD\_SHAREED\_LIBS”, cmake is ok, but errors appeared like this during compling: In file included from E:\\shot\\VTK\\VTK-8.2.0\_src\\Domains\\Chemistry\\vtkSimpleBondPerceiver.cxx:26: E:/shot/VTK/VTK-…

---

## [Pause shift-scale during interaction](https://discourse.vtk.org/t/pause-shift-scale-during-interaction/5992)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.vtk.org/u/dcthomp)\
**Replies:** 2\
**Last updated:** [June 19, 2021, 3:52pm UTC](https://discourse.vtk.org/t/pause-shift-scale-during-interaction/5992 "2021-06-19T15:52:41Z")

</div>

@ken-martin We have a customer with some large-ish, multi-scale data. They definitely want the focal-point shift-scale enabled on their mappers, but have noticed unwanted pauses during interaction when a VBO gets re-uplo…

---

## [SetActiveScalars function is too slow](https://discourse.vtk.org/t/setactivescalars-function-is-too-slow/5984)

<div class="topic-metadata">

**Author:** [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Replies:** 1\
**Last updated:** [June 14, 2021, 11:09am UTC](https://discourse.vtk.org/t/setactivescalars-function-is-too-slow/5984 "2021-06-14T11:09:11Z")

</div>

Hi, I have unstructured data having tetrahedral cells in it. The data also contains 25 different scalar arrays in it. I am able to quickly switch(instantaneous update) between those scalar arrays in paraview, but when it…

[Previous page](https://discourse.vtk.org/c/development/7.md?page=34)

[Next page](https://discourse.vtk.org/c/development/7.md?page=36)
