# Development

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

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

**Page:** 38

---

## [std::thread as a new vtkSMPTools backend](https://discourse.vtk.org/t/std-thread-as-a-new-vtksmptools-backend/5525)

<div class="topic-metadata">

**Author:** [@Timothee\_Couble](https://discourse.vtk.org/u/Timothee_Couble)\
**Replies:** 7\
**Last updated:** [April 19, 2021, 2:58pm UTC](https://discourse.vtk.org/t/std-thread-as-a-new-vtksmptools-backend/5525 "2021-04-19T14:58:57Z")

</div>

Hi everyone, We would like to introduce std::thread as a new backend in the vtkSMPTools backend. As it won’t add any external dependencies it can be useful for user who can’t use directly OpenMP or TBB (for example on …

---

## [Correcting the Gantry Tilt in CT scans](https://discourse.vtk.org/t/correcting-the-gantry-tilt-in-ct-scans/5526)

<div class="topic-metadata">

**Author:** [@sanidhya26](https://discourse.vtk.org/u/sanidhya26)\
**Replies:** 29\
**Last updated:** [April 17, 2021, 10:16am UTC](https://discourse.vtk.org/t/correcting-the-gantry-tilt-in-ct-scans/5526 "2021-04-17T10:16:59Z")

</div>

Hi I am using vtkDicomReader to read the scans and then using vtkDICOMCTRectifier for gantry tilt correction. Here is my code: rectify = vtkDICOMCTRectifier() rectify.SetVolumeMatrix(self.reader.GetPatientMatrix()) re…

---

## [Status of the GitLab-CI migration](https://discourse.vtk.org/t/status-of-the-gitlab-ci-migration/5549)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 6\
**Last updated:** [April 16, 2021, 12:14pm UTC](https://discourse.vtk.org/t/status-of-the-gitlab-ci-migration/5549 "2021-04-16T12:14:05Z")

</div>

As many have probably noticed, there is an in-progress migration to GitLab-CI for VTK. You can see CI jobs at the top of your Merge Request in the “Pipelines” tab. There are still a few builds that have not migrated and …

---

## [3D visualization of wavefield at given points](https://discourse.vtk.org/t/3d-visualization-of-wavefield-at-given-points/5540)

<div class="topic-metadata">

**Author:** [@aida](https://discourse.vtk.org/u/aida)\
**Replies:** 0\
**Last updated:** [April 12, 2021, 6:36pm UTC](https://discourse.vtk.org/t/3d-visualization-of-wavefield-at-given-points/5540 "2021-04-12T18:36:10Z")

</div>

Hello, I am writing to you to ask for some guidance about a visualization goal. I have performed 3D simulations for wave propagation. I have the snapshots at different times for the whole propagation medium (i.e. a cub…

---

## [Volume Rendering with Binary mask](https://discourse.vtk.org/t/volume-rendering-with-binary-mask/4339)

<div class="topic-metadata">

**Author:** [@assia.shabeeba](https://discourse.vtk.org/u/assia.shabeeba)\
**Replies:** 3\
**Last updated:** [April 11, 2021, 4:57pm UTC](https://discourse.vtk.org/t/volume-rendering-with-binary-mask/4339 "2021-04-11T16:57:21Z")

</div>

Hi , I have rendered a volume using vtkGPUVolumeRaycastMapper, now I need to mask the volume using binary mask Mapper.SetMaskTypeToBinary() Mapper.SetMaskInput(maskImageData) , but the mask is not working. Does anyone …

---

## [Large point cloud with varying colors and radii](https://discourse.vtk.org/t/large-point-cloud-with-varying-colors-and-radii/5519)

<div class="topic-metadata">

**Author:** [@nantille](https://discourse.vtk.org/u/nantille)\
**Replies:** 0\
**Last updated:** [April 8, 2021, 4:02pm UTC](https://discourse.vtk.org/t/large-point-cloud-with-varying-colors-and-radii/5519 "2021-04-08T16:02:03Z")

</div>

Is it possible to use vtkVertexGlyphFilter (or any other method) and set custom radii and colors for millions of points? I could make it work with colors but I couldn’t find a way to define individual vertex/point size. …

---

## [VTK9 vtkBalloonWidget seg faults](https://discourse.vtk.org/t/vtk9-vtkballoonwidget-seg-faults/5498)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 0\
**Last updated:** [April 5, 2021, 4:11pm UTC](https://discourse.vtk.org/t/vtk9-vtkballoonwidget-seg-faults/5498 "2021-04-05T16:11:18Z")

</div>

Example: https://kitware.github.io/vtk-examples/site/Python/Widgets/BalloonWidget/ gives Segmentation fault on vtk==9.0.1 while it works ok in vtk==8.1.2 (Ubuntu 20.04.2 LTS)

---

## [VTK segfault - intersectWithLine() on Ubuntu](https://discourse.vtk.org/t/vtk-segfault-intersectwithline-on-ubuntu/5463)

<div class="topic-metadata">

**Author:** [@nantille](https://discourse.vtk.org/u/nantille)\
**Replies:** 8\
**Last updated:** [April 1, 2021, 1:17pm UTC](https://discourse.vtk.org/t/vtk-segfault-intersectwithline-on-ubuntu/5463 "2021-04-01T13:17:34Z")

</div>

When testing a visualiser I developed for neuroscientific data, I narrowed down the reason for abrupt segfault when using VTK. I’ve got a surface mesh and I use the method intersectWithLine to find intersections with a …

---

## [Is Gitlab misbehaving?](https://discourse.vtk.org/t/is-gitlab-misbehaving/5473)

<div class="topic-metadata">

**Author:** [@toddy](https://discourse.vtk.org/u/toddy)\
**Replies:** 5\
**Last updated:** [March 31, 2021, 12:56pm UTC](https://discourse.vtk.org/t/is-gitlab-misbehaving/5473 "2021-03-31T12:56:20Z")

</div>

I can no longer initiate a merge request from my VTK fork. Has something been changed in Gitlab webview?

---

## [custom shader uniform in vtk802](https://discourse.vtk.org/t/custom-shader-uniform-in-vtk802/5472)

<div class="topic-metadata">

**Author:** [@beijihuohu](https://discourse.vtk.org/u/beijihuohu)\
**Replies:** 0\
**Last updated:** [March 30, 2021, 10:59pm UTC](https://discourse.vtk.org/t/custom-shader-uniform-in-vtk802/5472 "2021-03-30T22:59:36Z")

</div>

I am using VTK8.2 version. I want to generate simulation animation by updating the shader uniform variables in the graphical interface. However, all the examples use vtkCommand as the basis for updating control. I can on…

---

## [picking 1 cube out of many in an actor](https://discourse.vtk.org/t/picking-1-cube-out-of-many-in-an-actor/5470)

<div class="topic-metadata">

**Author:** [@unclejunior](https://discourse.vtk.org/u/unclejunior)\
**Replies:** 0\
**Last updated:** [March 30, 2021, 10:22pm UTC](https://discourse.vtk.org/t/picking-1-cube-out-of-many-in-an-actor/5470 "2021-03-30T22:22:21Z")

</div>

Hi, I have 1 actor with 100s of cubes (just a starter project). I create the cubes like this: // create points int bias=0; for (const QRect & rect : layer-\>rects()) { QRectF r = rect; points-\>InsertNextPoint(r.…

---

## [Compiling VTK with OSPRay + Java wrappers enabled](https://discourse.vtk.org/t/compiling-vtk-with-ospray-java-wrappers-enabled/5461)

<div class="topic-metadata">

**Author:** [@thegbiv](https://discourse.vtk.org/u/thegbiv)\
**Replies:** 5\
**Last updated:** [March 30, 2021, 4:36am UTC](https://discourse.vtk.org/t/compiling-vtk-with-ospray-java-wrappers-enabled/5461 "2021-03-30T04:36:28Z")

</div>

Hello, After a long hiatus, I’ve recently started picking up VTK, and WOW, so much progress and new features to play around with. Kudos to all involved! On to the question… I have been evaluating language support of v…

---

## [Rendering time on structured grid](https://discourse.vtk.org/t/rendering-time-on-structured-grid/5446)

<div class="topic-metadata">

**Author:** [@Guillaume\_Gillet](https://discourse.vtk.org/u/Guillaume_Gillet)\
**Replies:** 0\
**Last updated:** [March 26, 2021, 8:36am UTC](https://discourse.vtk.org/t/rendering-time-on-structured-grid/5446 "2021-03-26T08:36:00Z")

</div>

Hello, so i’m using VtkStructuredGrid to render 3D grids and i need to make rendering speed tests to compare vtk with another tool, but i saw after a few tests that when i blanck a part of the cells like i need to do wit…

---

## [Slicer to Magic Leap Integration](https://discourse.vtk.org/t/slicer-to-magic-leap-integration/5434)

<div class="topic-metadata">

**Author:** [@cshreyas](https://discourse.vtk.org/u/cshreyas)\
**Replies:** 0\
**Last updated:** [March 24, 2021, 6:03pm UTC](https://discourse.vtk.org/t/slicer-to-magic-leap-integration/5434 "2021-03-24T18:03:14Z")

</div>

Hello, I am exploring ways to render Slicer 3D in Magic Leap and make them interactive both ways. Looks like OpenXR integration with Slicer seems to one possible option as per the discuss below. Can you please let m…

---

## [Building dicom](https://discourse.vtk.org/t/building-dicom/5420)

<div class="topic-metadata">

**Author:** [@djduke](https://discourse.vtk.org/u/djduke)\
**Replies:** 7\
**Last updated:** [March 23, 2021, 6:42pm UTC](https://discourse.vtk.org/t/building-dicom/5420 "2021-03-23T18:42:39Z")

</div>

I’ve just tried building the vtk-dicom library from David Gobbi. I have VTK freshly built from git sources, configured with shared-objects on and wrap-python on \[using Python 3\]. Building the DICOM library is fine ho…

---

## [Help with TBB "warning: definition of implicit copy ctor"](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 4\
**Last updated:** [March 23, 2021, 2:37pm UTC](https://discourse.vtk.org/t/help-with-tbb-warning-definition-of-implicit-copy-ctor/4738 "2021-03-23T14:37:33Z")

</div>

Hi all, Could one of you C++ wizards help with some TBB-related clang warnings on cdash: https://open.cdash.org/viewBuildError.php?type=1&buildid=6899833 Common/Core/vtkSMPToolsInternal.h:43:8: warning: definition of …

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [vtkFrustumSelector and poly-lines](https://discourse.vtk.org/t/vtkfrustumselector-and-poly-lines/5258)

<div class="topic-metadata">

**Author:** [@Aron\_Helser](https://discourse.vtk.org/u/Aron_Helser)\
**Replies:** 2\
**Last updated:** [March 13, 2021, 9:37pm UTC](https://discourse.vtk.org/t/vtkfrustumselector-and-poly-lines/5258 "2021-03-13T21:37:30Z")

</div>

I’ve identified an unexpected behavior in frustum-selection, and wanted to ask whether others think it’s a bug or a feature. We’re using a small 9x9 pixel frustum around the mouse click to select all poly-lines near the…

---

## [New feature: vtkDataSet::GetPointsDataArray ?](https://discourse.vtk.org/t/new-feature-vtkdataset-getpointsdataarray/5351)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 12\
**Last updated:** [March 11, 2021, 3:18pm UTC](https://discourse.vtk.org/t/new-feature-vtkdataset-getpointsdataarray/5351 "2021-03-11T15:18:02Z")

</div>

It already has occurred to me a few times that, while developing a filter for VTK, I would need to iterate on points in a generic vtkDataSet. This can currently be done by calling void vtkDataSet::GetPoint(vtkIdType, dou…

---

## [Rotating vectors around an axis](https://discourse.vtk.org/t/rotating-vectors-around-an-axis/5365)

<div class="topic-metadata">

**Author:** [@Guillaume\_Gillet](https://discourse.vtk.org/u/Guillaume_Gillet)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 8:58am UTC](https://discourse.vtk.org/t/rotating-vectors-around-an-axis/5365 "2021-03-11T08:58:43Z")

</div>

So, i have a vector field i need to display in vtk, i have x and y coordinates (it’s a vector field on a 0 z axis, just a plane) but i also have for every vector a rotation around an axis, so what i’m asking here is, is …

---

## [Error for read bmp file](https://discourse.vtk.org/t/error-for-read-bmp-file/5345)

<div class="topic-metadata">

**Author:** [@xiaocaiji](https://discourse.vtk.org/u/xiaocaiji)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 6:52am UTC](https://discourse.vtk.org/t/error-for-read-bmp-file/5345 "2021-03-09T06:52:44Z")

</div>

Thanks for attention. I succeed building the example ReadBmp and running it in cmd. Then I try to run the code in visual studio. But once I modify the code: reader-\>SetFileName(argv\[1\]); to reader-\>SetFileName(“m…

---

## [Enable parallel projection without resetting the camera](https://discourse.vtk.org/t/enable-parallel-projection-without-resetting-the-camera/5289)

<div class="topic-metadata">

**Author:** [@rodrigomologni](https://discourse.vtk.org/u/rodrigomologni)\
**Replies:** 9\
**Last updated:** [March 6, 2021, 4:51pm UTC](https://discourse.vtk.org/t/enable-parallel-projection-without-resetting-the-camera/5289 "2021-03-06T16:51:20Z")

</div>

Hi, Support! When I press P to enable parallel projection, the camera is “restarted”. Is this a bug? Must I reimplement the transformations to overcome this problem or is there a simpler solution? Thanks for any help! …

---

## [Migration from VTK 5.10 to VTK 6.3](https://discourse.vtk.org/t/migration-from-vtk-5-10-to-vtk-6-3/5329)

<div class="topic-metadata">

**Author:** [@PotatoGirl](https://discourse.vtk.org/u/PotatoGirl)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 3:18pm UTC](https://discourse.vtk.org/t/migration-from-vtk-5-10-to-vtk-6-3/5329 "2021-03-05T15:18:19Z")

</div>

Hello everyone, I had to perform a migration from VTK 5.10 to VTK 6.3 recently, but I have been stuck with an unexpected behavior with the vtkImageData I’m trying to visualize. The values that should be fully transparen…

---

## [VTK grid: define cells with (i,j,k) index](https://discourse.vtk.org/t/vtk-grid-define-cells-with-i-j-k-index/5323)

<div class="topic-metadata">

**Author:** [@Mohamedelhamzawy](https://discourse.vtk.org/u/Mohamedelhamzawy)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 11:34pm UTC](https://discourse.vtk.org/t/vtk-grid-define-cells-with-i-j-k-index/5323 "2021-03-04T23:34:45Z")

</div>

Hello everyone, I am pretty new to vtk. I am using openvdb for a slam application and I am trying to use VTK for visualization. So lets say I have a 3d grid with size of 100x100x100. And lets say, I want to visualize s…

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

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