# Development

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

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

**Page:** 43

---

## [vtkArray constructors or initializers try to free something and fail](https://discourse.vtk.org/t/vtkarray-constructors-or-initializers-try-to-free-something-and-fail/3810)

<div class="topic-metadata">

**Author:** [@hugo-manet](https://discourse.vtk.org/u/hugo-manet)\
**Replies:** 2\
**Last updated:** [July 20, 2020, 6:07pm UTC](https://discourse.vtk.org/t/vtkarray-constructors-or-initializers-try-to-free-something-and-fail/3810 "2020-07-20T18:07:59Z")

</div>

(copy-paste of https://gitlab.kitware.com/vtk/vtk/-/issues/17962) Hi, I’m having trouble with some (long) piece of code, part of a Paraview filter (part of the Topology ToolKit project). That code takes vtkMultiBlockD…

---

## [Hi all, is there anyone known multi-modal medical image fusion project,like CT/PET, CT/MRI and so on?](https://discourse.vtk.org/t/hi-all-is-there-anyone-known-multi-modal-medical-image-fusion-project-like-ct-pet-ct-mri-and-so-on/3788)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 2\
**Last updated:** [July 17, 2020, 12:14am UTC](https://discourse.vtk.org/t/hi-all-is-there-anyone-known-multi-modal-medical-image-fusion-project-like-ct-pet-ct-mri-and-so-on/3788 "2020-07-17T00:14:22Z")

</div>

Now I want to reseach the multi-modal medical image fusion, i want to find an open source project as first.

---

## [Blur skybox](https://discourse.vtk.org/t/blur-skybox/3783)

<div class="topic-metadata">

**Author:** [@kaiwen](https://discourse.vtk.org/u/kaiwen)\
**Replies:** 3\
**Last updated:** [July 16, 2020, 1:55pm UTC](https://discourse.vtk.org/t/blur-skybox/3783 "2020-07-16T13:55:08Z")

</div>

I want to know how to blur the skybox.

---

## [VTK Examples Python testing](https://discourse.vtk.org/t/vtk-examples-python-testing/3743)

<div class="topic-metadata">

**Author:** [@dgobbi](https://discourse.vtk.org/u/dgobbi)\
**Replies:** 4\
**Last updated:** [July 14, 2020, 3:12am UTC](https://discourse.vtk.org/t/vtk-examples-python-testing/3743 "2020-07-14T03:12:53Z")

</div>

I’m putting together some plans for automating the testing the Python examples in the vtk-examples repository. All comments are welcome, especially from @amaclean since you have already done a lot of great work with the…

---

## [Crash in vtkPolyData.GetCell](https://discourse.vtk.org/t/crash-in-vtkpolydata-getcell/3731)

<div class="topic-metadata">

**Author:** [@efahl](https://discourse.vtk.org/u/efahl)\
**Replies:** 8\
**Last updated:** [July 12, 2020, 7:00pm UTC](https://discourse.vtk.org/t/crash-in-vtkpolydata-getcell/3731 "2020-07-12T19:00:03Z")

</div>

I’m getting a seg fault when trying to extract a cut boundary…I think. I’m using Visual Studio and Python 3.8, which don’t work together yet, so I can see the cxx code at the point of failure, but have no idea how I got…

---

## [ICP is not working for specific data](https://discourse.vtk.org/t/icp-is-not-working-for-specific-data/3670)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.vtk.org/u/siaeleni)\
**Replies:** 2\
**Last updated:** [July 6, 2020, 6:48pm UTC](https://discourse.vtk.org/t/icp-is-not-working-for-specific-data/3670 "2020-07-06T18:48:24Z")

</div>

Hi all, I an using ICP (Iterative Closest Point algorithm - vtkIterativeClosestPointTransform) and so far works great for stl data that I have. But I just received some new stl files and it doesn’t give correct results…

---

## [Changing image file for test?](https://discourse.vtk.org/t/changing-image-file-for-test/3710)

<div class="topic-metadata">

**Author:** [@mdaley](https://discourse.vtk.org/u/mdaley)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 3:13pm UTC](https://discourse.vtk.org/t/changing-image-file-for-test/3710 "2020-07-06T15:13:03Z")

</div>

Hello, I’ve changed some code. A test fails. I can see my image file from the test run and compare it to the expected image file. The existing expected image file is now wrong and my new one is correct. However, I c…

---

## [About the VTK examples](https://discourse.vtk.org/t/about-the-vtk-examples/3292)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 24\
**Last updated:** [July 3, 2020, 12:23pm UTC](https://discourse.vtk.org/t/about-the-vtk-examples/3292 "2020-07-03T12:23:52Z")

</div>

With the release of VTK 9 (and, of course, the passing of Bill Lorensen), all the Examples from https://lorensen.github.io/VTKExamples/site/ can now be considered out of date. In my opinion, these examples are great res…

---

## [Assign colors to VtkElevationFilter?](https://discourse.vtk.org/t/assign-colors-to-vtkelevationfilter/3695)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 3:57pm UTC](https://discourse.vtk.org/t/assign-colors-to-vtkelevationfilter/3695 "2020-07-02T15:57:10Z")

</div>

How can I replace the default “rainbow” color scale associated with VtkElevation filter? Can I assign an alternate vtkLookupTable to the filter? I couldn’t find anything obvious in the Doxygen page… Thanks!

---

## [vtkWindowToImageFilter - how to get voxel coordinate from pixel coordinate?](https://discourse.vtk.org/t/vtkwindowtoimagefilter-how-to-get-voxel-coordinate-from-pixel-coordinate/3679)

<div class="topic-metadata">

**Author:** [@veltia](https://discourse.vtk.org/u/veltia)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 2:10am UTC](https://discourse.vtk.org/t/vtkwindowtoimagefilter-how-to-get-voxel-coordinate-from-pixel-coordinate/3679 "2020-07-02T02:10:24Z")

</div>

Hi all, I’m using class vtkWindowToImageFilter to get the 2D screenshot from renderwindow. Then I get some interested pixels from 2D image. Any chance I can get the corresponding voxel coordinates back to vtk 3D rende…

---

## [VTK 9.0.1 source tar ball appears to be truncated](https://discourse.vtk.org/t/vtk-9-0-1-source-tar-ball-appears-to-be-truncated/3652)

<div class="topic-metadata">

**Author:** [@opoplawski](https://discourse.vtk.org/u/opoplawski)\
**Replies:** 5\
**Last updated:** [June 27, 2020, 3:13am UTC](https://discourse.vtk.org/t/vtk-9-0-1-source-tar-ball-appears-to-be-truncated/3652 "2020-06-27T03:13:53Z")

</div>

It appears that the VTK 9.0.1 source tar ball appears to be truncated. Everything after: ThirdParty/vtkm/vtkvtkm/vtk-m/benchmarking/Benchmarker.h ThirdParty/vtkm/vtkvtkm/vtk-m/benchmarking/CMakeLists.txt ThirdParty/v…

---

## [MSVC static runtime option /MT is overwritten by /MD](https://discourse.vtk.org/t/msvc-static-runtime-option-mt-is-overwritten-by-md/3651)

<div class="topic-metadata">

**Author:** [@sdobashi](https://discourse.vtk.org/u/sdobashi)\
**Replies:** 2\
**Last updated:** [June 27, 2020, 12:17am UTC](https://discourse.vtk.org/t/msvc-static-runtime-option-mt-is-overwritten-by-md/3651 "2020-06-27T00:17:45Z")

</div>

Hello, VTK developers When building the latest version of VTK (Commit: 318abc9fda820b3c1619a13008182c84d09ae5b6) MSVC static runtime option /MT was overwritten by /MD. This issue is not observed for VTK 9.0.1 release…

---

## [Proposal: meta-programmed matrix operations?](https://discourse.vtk.org/t/proposal-meta-programmed-matrix-operations/3579)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 4\
**Last updated:** [June 26, 2020, 5:27pm UTC](https://discourse.vtk.org/t/proposal-meta-programmed-matrix-operations/3579 "2020-06-26T17:27:17Z")

</div>

Hi, I recently needed a few matrix operations for a filter where I am using ranges. In order to be able to feed those objects in vtkMath, there needs to be templated versions of each operation. It is pretty straightforw…

---

## [Locate cell containing a point](https://discourse.vtk.org/t/locate-cell-containing-a-point/3588)

<div class="topic-metadata">

**Author:** [@SimonFuet](https://discourse.vtk.org/u/SimonFuet)\
**Replies:** 1\
**Last updated:** [June 26, 2020, 6:17am UTC](https://discourse.vtk.org/t/locate-cell-containing-a-point/3588 "2020-06-26T06:17:45Z")

</div>

Hi I’m trying to locate a point (with xyz coordinates) in a grid (i.e. find the cell containing that point). It can be any type of grid: image data, structured, explicit structured, unstructured. My goal is to get inter…

---

## [A question about converting unstructured grid to explicit structured grid](https://discourse.vtk.org/t/a-question-about-converting-unstructured-grid-to-explicit-structured-grid/3632)

<div class="topic-metadata">

**Author:** [@rodrigomologni](https://discourse.vtk.org/u/rodrigomologni)\
**Replies:** 0\
**Last updated:** [June 24, 2020, 2:15pm UTC](https://discourse.vtk.org/t/a-question-about-converting-unstructured-grid-to-explicit-structured-grid/3632 "2020-06-24T14:15:01Z")

</div>

I have a question about converting unstructured grid to explicit structured using vtkUnstructuredGridToExplicitStructuredGrid: Two errors are shown when I run this code using SetWholeExtent: \>\>\> converter = vtk.vtkUnst…

---

## [VTK 8.2.0 + Qt Quick + MSVC 2017 issue](https://discourse.vtk.org/t/vtk-8-2-0-qt-quick-msvc-2017-issue/1266)

<div class="topic-metadata">

**Author:** [@JoseJaramillo](https://discourse.vtk.org/u/JoseJaramillo)\
**Replies:** 2\
**Last updated:** [June 22, 2020, 3:23am UTC](https://discourse.vtk.org/t/vtk-8-2-0-qt-quick-msvc-2017-issue/1266 "2020-06-22T03:23:06Z")

</div>

Hi everyone, A couple months ago I reported this bug in Gitlab ( \[https://gitlab.kitware.com/vtk/vtk/issues/17579\] ) but I haven’t received any answer yet, so if someone of you can pinpoint why might this be happening I…

---

## [Extraction size vtkPolyDataConnectivityFilter Issue](https://discourse.vtk.org/t/extraction-size-vtkpolydataconnectivityfilter-issue/3577)

<div class="topic-metadata">

**Author:** [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Replies:** 4\
**Last updated:** [June 17, 2020, 7:31pm UTC](https://discourse.vtk.org/t/extraction-size-vtkpolydataconnectivityfilter-issue/3577 "2020-06-17T19:31:25Z")

</div>

Hi!, I have around 2000 hair like strands in 3d space. All of those strands are actually loaded from a single vtk file (size k) and the loaded polydata has number of points n. When I use vtkPolyDataConnectivityFilter, …

---

## [Rendering Using GPU](https://discourse.vtk.org/t/rendering-using-gpu/3423)

<div class="topic-metadata">

**Author:** [@Rasoul\_Sharifian](https://discourse.vtk.org/u/Rasoul_Sharifian)\
**Replies:** 4\
**Last updated:** [June 17, 2020, 6:28am UTC](https://discourse.vtk.org/t/rendering-using-gpu/3423 "2020-06-17T06:28:58Z")

</div>

Hi all, I have a question about using GPU for rendering 3d data. I found this example in lorensen site, but I have an error. The exception is: Exception thrown at 0x00007FF8631E96BC (vtkRenderingVolume-8.1.dll) in VTK…

---

## [The future of VTK\_LEGACY\_REMOVE](https://discourse.vtk.org/t/the-future-of-vtk-legacy-remove/3561)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 4\
**Last updated:** [June 16, 2020, 5:40pm UTC](https://discourse.vtk.org/t/the-future-of-vtk-legacy-remove/3561 "2020-06-16T17:40:26Z")

</div>

\[ I had this as a draft and never actually published it. Sorry for the delay in this information. \] Is to be removed itself :slight\_smile: . Instead, there will now be VTK\_DEPRECATED\_IN\_X\_Y\_Z where X, Y, and Z form the…

---

## [VTK\_POLYHEDRON difficulties](https://discourse.vtk.org/t/vtk-polyhedron-difficulties/3545)

<div class="topic-metadata">

**Author:** [@cobo](https://discourse.vtk.org/u/cobo)\
**Replies:** 6\
**Last updated:** [June 16, 2020, 11:31am UTC](https://discourse.vtk.org/t/vtk-polyhedron-difficulties/3545 "2020-06-16T11:31:47Z")

</div>

I am generating VTK\_POLYHEDRON items programmatically and they do not show. If I save them to a vtu file, reload directly that file - and still do not see the polyhedra! Reading docs and studying the vtu file I see that…

---

## [release vs master branch VTK\_MAJOR\_VERSION / VTK\_MINOR\_VERSION](https://discourse.vtk.org/t/release-vs-master-branch-vtk-major-version-vtk-minor-version/3557)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 5\
**Last updated:** [June 16, 2020, 2:02am UTC](https://discourse.vtk.org/t/release-vs-master-branch-vtk-major-version-vtk-minor-version/3557 "2020-06-16T02:02:12Z")

</div>

Hi all, It seems that VTK\_MAJOR\_VERSION and VTK\_MINOR\_VERSION are currently 9.0 in both the release and master branch. Shouldn’t master be incremented by now? I’m not aware of how/when this is done, but their being th…

---

## [New feature: getting a stack trace on leaked objects with VTK\_DEBUG\_LEAKS](https://discourse.vtk.org/t/new-feature-getting-a-stack-trace-on-leaked-objects-with-vtk-debug-leaks/835)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 18\
**Last updated:** [June 15, 2020, 3:45am UTC](https://discourse.vtk.org/t/new-feature-getting-a-stack-trace-on-leaked-objects-with-vtk-debug-leaks/835 "2020-06-15T03:45:27Z")

</div>

I just merged a new feature to VTK that augments vtkDebugLeaks. This feature lets you record a stack trace where leaked VTK objects were allocated. This can be a very useful when debugging VTK object leaks. Previously, …

---

## [DICOM Print SCU and DICOM Print SCP](https://discourse.vtk.org/t/dicom-print-scu-and-dicom-print-scp/3535)

<div class="topic-metadata">

**Author:** [@gunavg](https://discourse.vtk.org/u/gunavg)\
**Replies:** 2\
**Last updated:** [June 12, 2020, 4:08pm UTC](https://discourse.vtk.org/t/dicom-print-scu-and-dicom-print-scp/3535 "2020-06-12T16:08:31Z")

</div>

Hi Good day Does DICOM Print SCU and DICOM Print SCP available in VTK ? Looking forward your reply. Thanks

---

## [Eclipse/Java - VTK native libraries can't be found with release mode](https://discourse.vtk.org/t/eclipse-java-vtk-native-libraries-cant-be-found-with-release-mode/3476)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 6\
**Last updated:** [June 12, 2020, 10:25am UTC](https://discourse.vtk.org/t/eclipse-java-vtk-native-libraries-cant-be-found-with-release-mode/3476 "2020-06-12T10:25:53Z")

</div>

After integrating my vtk.jar and setting the library path in eclipse for use with the Java wrappers, the examples run fine in debug mode. But, in release mode, it can’t load the vtk native libraries; vtkNativeLibrary.Loa…

---

## [Implementing FourPaneViewer in Java?](https://discourse.vtk.org/t/implementing-fourpaneviewer-in-java/3523)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 4:23pm UTC](https://discourse.vtk.org/t/implementing-fourpaneviewer-in-java/3523 "2020-06-11T16:23:18Z")

</div>

Is anybody out there attempting to implement FourPanesViewer in Java? :slight\_smile:

---

## [VTK 9.0 using Java Wrappers](https://discourse.vtk.org/t/vtk-9-0-using-java-wrappers/3475)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 8\
**Last updated:** [June 11, 2020, 3:33pm UTC](https://discourse.vtk.org/t/vtk-9-0-using-java-wrappers/3475 "2020-06-11T15:33:31Z")

</div>

I tried compiling VTK 9.0 with Java wrappers in Visual Studio 9.0. With VTK 8.2, VS creates the project .class file and vtk.jar. With VTK 9.0, it does not; no class files nor vtk.jar. Therefore, building the INSTALL proj…

---

## [Slider rotation appears incorrect - vtkSliderRepresentation3D](https://discourse.vtk.org/t/slider-rotation-appears-incorrect-vtksliderrepresentation3d/3328)

<div class="topic-metadata">

**Author:** [@jornskaa](https://discourse.vtk.org/u/jornskaa)\
**Replies:** 9\
**Last updated:** [June 8, 2020, 12:15pm UTC](https://discourse.vtk.org/t/slider-rotation-appears-incorrect-vtksliderrepresentation3d/3328 "2020-06-08T12:15:41Z")

</div>

I have created a small test program that creates vtkSliderWidgets with the vtkSliderRepresentation3D. I create one slider per axis (not necessarily along the main coordinate system axes). Even though the three sliders ha…

---

## [VTK Mouse Drag Implementation](https://discourse.vtk.org/t/vtk-mouse-drag-implementation/3480)

<div class="topic-metadata">

**Author:** [@jjjl](https://discourse.vtk.org/u/jjjl)\
**Replies:** 0\
**Last updated:** [June 6, 2020, 12:19pm UTC](https://discourse.vtk.org/t/vtk-mouse-drag-implementation/3480 "2020-06-06T12:19:48Z")

</div>

Hello, I am developing in python and want to implement a custom mouse drag implementation. When moving the mouse I want the clicked actor to move as well (I know how to do this). I also know how to fire the mouse move …

---

## [Get picked vtk actor](https://discourse.vtk.org/t/get-picked-vtk-actor/3474)

<div class="topic-metadata">

**Author:** [@jjjl](https://discourse.vtk.org/u/jjjl)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 12:16pm UTC](https://discourse.vtk.org/t/get-picked-vtk-actor/3474 "2020-06-06T12:16:11Z")

</div>

my vtk setup looks like this: I have displayed 1 DICOM image as a vtk2DActor (rendered in one renderer) and on top of the vtk2DActor I have placed a bunch of other vtk2DActors based on a vtkImageCanvasSource. My code for…

---

## [gitlab.kitware.com is down](https://discourse.vtk.org/t/gitlab-kitware-com-is-down/3464)

<div class="topic-metadata">

**Author:** [@sankhesh](https://discourse.vtk.org/u/sankhesh)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 11:45pm UTC](https://discourse.vtk.org/t/gitlab-kitware-com-is-down/3464 "2020-06-04T23:45:22Z")

</div>

Hello devs, gitlab.kitware.com is down due to unexpected maintenance. Please note that any updates pushed after 4pm EST yesterday might be lost and would have to be re-pushed once the system is back up. I’ll update her…

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

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