# Development

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

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

**Page:** 51

---

## [CheckCXXSourceRuns bug?](https://discourse.vtk.org/t/checkcxxsourceruns-bug/1188)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 4\
**Last updated:** [June 25, 2019, 1:24pm UTC](https://discourse.vtk.org/t/checkcxxsourceruns-bug/1188 "2019-06-25T13:24:44Z")

</div>

Folks, I’m trying to use VTK/CMake/CheckCXXSourceRuns.cmake. My CXX file runs and checks to see if a certain capability works correctly. The VTK version of the cmake macro reports success if the program compiles, no…

---

## [How to open Nrrd File using mapper/actor](https://discourse.vtk.org/t/how-to-open-nrrd-file-using-mapper-actor/1202)

<div class="topic-metadata">

**Author:** [@Script\_K](https://discourse.vtk.org/u/Script_K)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 12:06am UTC](https://discourse.vtk.org/t/how-to-open-nrrd-file-using-mapper-actor/1202 "2019-06-25T00:06:26Z")

</div>

Hi. I want to make a program that prints the nrrd file. I wrote the code like this and it prints only black screen with nothing. I can not find any problems with other code. I would appreciate it if you could see wha…

---

## [consider a specific float value as a NaN in a vtkColorTransferFunction](https://discourse.vtk.org/t/consider-a-specific-float-value-as-a-nan-in-a-vtkcolortransferfunction/1185)

<div class="topic-metadata">

**Author:** [@PBrockmann](https://discourse.vtk.org/u/PBrockmann)\
**Replies:** 1\
**Last updated:** [June 21, 2019, 7:44pm UTC](https://discourse.vtk.org/t/consider-a-specific-float-value-as-a-nan-in-a-vtkcolortransferfunction/1185 "2019-06-21T19:44:00Z")

</div>

Hi, I am wondering if it could be interesting to add a function to vtkColorTransferFunction to define a specific float value to act as Nan values. Nan values are indeed perfectly well handled by the lookup.setNanColor(…

---

## [Merge topic 'allow-optional-python-linking' fails in Windows.](https://discourse.vtk.org/t/merge-topic-allow-optional-python-linking-fails-in-windows/1151)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 7\
**Last updated:** [June 19, 2019, 12:51pm UTC](https://discourse.vtk.org/t/merge-topic-allow-optional-python-linking-fails-in-windows/1151 "2019-06-19T12:51:47Z")

</div>

@ben.boeckel, this merge causes a build failure wrt Python wrapping in Windows. It seems the linker is unable to find the Python library: LINK : fatal error LNK1104: cannot open file 'python37.lib' I can get a build i…

---

## [Cannot modify frame rate for a video using vtkFFMPEGWriter class](https://discourse.vtk.org/t/cannot-modify-frame-rate-for-a-video-using-vtkffmpegwriter-class/1163)

<div class="topic-metadata">

**Author:** [@aravind90](https://discourse.vtk.org/u/aravind90)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 6:02pm UTC](https://discourse.vtk.org/t/cannot-modify-frame-rate-for-a-video-using-vtkffmpegwriter-class/1163 "2019-06-17T18:02:38Z")

</div>

I’m trying to save an animation using vtkFFMPEGWriter class and it outputs MJPG videos with a fixed frame rate of 600 frames/sec. I tried explicitly setting the frame rate by calling SetRate() method but it seems to igno…

---

## [Could vtkCookieCutter return the outside mesh?](https://discourse.vtk.org/t/could-vtkcookiecutter-return-the-outside-mesh/1152)

<div class="topic-metadata">

**Author:** [@borisb](https://discourse.vtk.org/u/borisb)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 3:52pm UTC](https://discourse.vtk.org/t/could-vtkcookiecutter-return-the-outside-mesh/1152 "2019-06-17T15:52:23Z")

</div>

I wanted to use vtkCookieCutter for a project to cut a hole in a surface but for now, it’s only meant to return the mesh lying inside the given contour loop, while I wanted to opposite. I tried other filters like vtkClip…

---

## [Rendering volume to fixed resolution output then rescale to window](https://discourse.vtk.org/t/rendering-volume-to-fixed-resolution-output-then-rescale-to-window/1156)

<div class="topic-metadata">

**Author:** [@klayman](https://discourse.vtk.org/u/klayman)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 10:08am UTC](https://discourse.vtk.org/t/rendering-volume-to-fixed-resolution-output-then-rescale-to-window/1156 "2019-06-17T10:08:08Z")

</div>

Hello, how do I setup the volume mapper + render window (+ potential new nodes in the pipeline) to ensure I never use an output render target which is larger than a certain maximum width,height? I want to keep rendering …

---

## [Unit Testing Approach VTK TDD](https://discourse.vtk.org/t/unit-testing-approach-vtk-tdd/1124)

<div class="topic-metadata">

**Author:** [@joe.maliszewski](https://discourse.vtk.org/u/joe.maliszewski)\
**Replies:** 4\
**Last updated:** [June 14, 2019, 12:33pm UTC](https://discourse.vtk.org/t/unit-testing-approach-vtk-tdd/1124 "2019-06-14T12:33:30Z")

</div>

I have current set up a unit testing framework with CMake and Google Tests with vtk and qt. I cant find much documentation or examples of how people are developing VTK applications with TDD. Problems I am finding: I…

---

## [Problems when calling SupportsOpenGL with windows 10 and Intel HD Graphic (520, 530 and 630) graphics card](https://discourse.vtk.org/t/problems-when-calling-supportsopengl-with-windows-10-and-intel-hd-graphic-520-530-and-630-graphics-card/1133)

<div class="topic-metadata">

**Author:** [@SFischer](https://discourse.vtk.org/u/SFischer)\
**Replies:** 0\
**Last updated:** [June 14, 2019, 10:02am UTC](https://discourse.vtk.org/t/problems-when-calling-supportsopengl-with-windows-10-and-intel-hd-graphic-520-530-and-630-graphics-card/1133 "2019-06-14T10:02:35Z")

</div>

Hi I am using VTK 8.1 I call vtkRenderWindow::Render() and vtkRenderWindow::SupportsOpenGL() on the same view. With windows 10 and Intel HD Graphic (520, 530 and 630) graphics card this leads since a windows update a …

---

## [3d Reconstruction with spacial coordinates](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122)

<div class="topic-metadata">

**Author:** [@Onur\_GUZELDEMIRCI](https://discourse.vtk.org/u/Onur_GUZELDEMIRCI)\
**Replies:** 4\
**Last updated:** [June 13, 2019, 1:24pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122 "2019-06-13T13:24:36Z")

</div>

I am trying to reconstruct a 3d medical image from 2d images with spacial coordinates. Can I Do? How can I do in VTK?

---

## [Bad regression testing](https://discourse.vtk.org/t/bad-regression-testing/1120)

<div class="topic-metadata">

**Author:** [@utkarshayachit](https://discourse.vtk.org/u/utkarshayachit)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 7:45am UTC](https://discourse.vtk.org/t/bad-regression-testing/1120 "2019-06-13T07:45:54Z")

</div>

I know we’ve discussed this one in the past, but I can’t remember what the conclusion was and hence I am posting this again. I am trying to add a test for ParaView for this issue and am failing to get the test framework…

---

## [View Shear with vtkGPUVolumeRayCastMapper](https://discourse.vtk.org/t/view-shear-with-vtkgpuvolumeraycastmapper/1114)

<div class="topic-metadata">

**Author:** [@Matthew\_Troke](https://discourse.vtk.org/u/Matthew_Troke)\
**Replies:** 3\
**Last updated:** [June 12, 2019, 6:37pm UTC](https://discourse.vtk.org/t/view-shear-with-vtkgpuvolumeraycastmapper/1114 "2019-06-12T18:37:43Z")

</div>

I’m working on a vtk application which generates oblique views (by turning parallel projection on and setting view shear in the camera) and discovered that vtkGPUVolumeRayCastMapper does not appear to handle cameras with…

---

## [Adding and wrapping a custom namespace within VTK](https://discourse.vtk.org/t/adding-and-wrapping-a-custom-namespace-within-vtk/1099)

<div class="topic-metadata">

**Author:** [@agirault](https://discourse.vtk.org/u/agirault)\
**Replies:** 17\
**Last updated:** [June 11, 2019, 9:58pm UTC](https://discourse.vtk.org/t/adding-and-wrapping-a-custom-namespace-within-vtk/1099 "2019-06-11T21:58:27Z")

</div>

I’m currently working on adding orientation support to vtkImageData (more on Discourse and GitLab). While working on IO, I came up with this solution to define anatomical orientation, axis, to be able to get the transfo…

---

## [Clipping planes with vtkOSPRayVolumeMapper](https://discourse.vtk.org/t/clipping-planes-with-vtkosprayvolumemapper/1102)

<div class="topic-metadata">

**Author:** [@jeffreyak](https://discourse.vtk.org/u/jeffreyak)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 11:51pm UTC](https://discourse.vtk.org/t/clipping-planes-with-vtkosprayvolumemapper/1102 "2019-06-07T23:51:32Z")

</div>

Hello, I was recently experimenting with the vtkOSPRayVolumeMapper with a vtkImage dataset and it appears that clipping planes (i.e., added with mapper-\>AddClippingPlane(myPlane)) are not respected / supported. Rather,…

---

## [Multipass filter](https://discourse.vtk.org/t/multipass-filter/1097)

<div class="topic-metadata">

**Author:** [@Felipe\_Bordeu](https://discourse.vtk.org/u/Felipe_Bordeu)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 12:49pm UTC](https://discourse.vtk.org/t/multipass-filter/1097 "2019-06-07T12:49:34Z")

</div>

Hi, I’m trying to port an old filter to the current version of paraview (vtk 8.2.0) but I’m having trouble finding the same functionalities. this is the main idea of the filter. The filter is an optimization algorithm c…

---

## [Updating Contour widget using QVTKInteractor](https://discourse.vtk.org/t/updating-contour-widget-using-qvtkinteractor/1094)

<div class="topic-metadata">

**Author:** [@sateesh](https://discourse.vtk.org/u/sateesh)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 9:52am UTC](https://discourse.vtk.org/t/updating-contour-widget-using-qvtkinteractor/1094 "2019-06-07T09:52:17Z")

</div>

Hi , As shown in vtkContour widget Example, i have created a contour. using actor point placer placed it on Image Actor. But after initializing the widget with polydata, im not able to use the Start() on interactor as…

---

## [How to properly use multiple QVTKOpenGLNativeWidgets](https://discourse.vtk.org/t/how-to-properly-use-multiple-qvtkopenglnativewidgets/1081)

<div class="topic-metadata">

**Author:** [@bschleimer](https://discourse.vtk.org/u/bschleimer)\
**Replies:** 2\
**Last updated:** [June 5, 2019, 6:06pm UTC](https://discourse.vtk.org/t/how-to-properly-use-multiple-qvtkopenglnativewidgets/1081 "2019-06-05T18:06:03Z")

</div>

Hi, I’m porting our system from vtk7.1.1 to 8.2 and have been encountering several annoying issues. We have multiple viewports each with a QVTKOpenGLNativeWidget. Rendering works okay (with some issues with alpha) but…

---

## [TIFF images flipped in vtkTIFFReader](https://discourse.vtk.org/t/tiff-images-flipped-in-vtktiffreader/1033)

<div class="topic-metadata">

**Author:** [@cryos](https://discourse.vtk.org/u/cryos)\
**Replies:** 2\
**Last updated:** [May 28, 2019, 10:59pm UTC](https://discourse.vtk.org/t/tiff-images-flipped-in-vtktiffreader/1033 "2019-05-28T22:59:42Z")

</div>

I have been looking into an issue with the vtkTIFFReader, and commit 84f9a173d81 made by @lorensen in 2014. The line that confuses me is: const bool flip = this-\>InternalImage-\>Orientation != ORIENTATION\_TOPLEFT; This …

---

## [Commit 05f87557cd broke our app, causes pure red view](https://discourse.vtk.org/t/commit-05f87557cd-broke-our-app-causes-pure-red-view/950)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 8:03pm UTC](https://discourse.vtk.org/t/commit-05f87557cd-broke-our-app-causes-pure-red-view/950 "2019-05-23T20:03:13Z")

</div>

Hi all, Building our app against VTK master now results in all VTK views being pure opaque red instead of showing whatever they would normally show. We git bisected it to: commit 05f87557cd9fb6c20486398e2088fd70418276…

---

## [2-D drawing](https://discourse.vtk.org/t/2-d-drawing/1010)

<div class="topic-metadata">

**Author:** [@Kevin\_Hall](https://discourse.vtk.org/u/Kevin_Hall)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 3:11pm UTC](https://discourse.vtk.org/t/2-d-drawing/1010 "2019-05-23T15:11:43Z")

</div>

I’m investigating using VTK for some 3-d model animations, but the application I’m working on also needs a 2-d drawing area with ability to draw straight lines, points, and text. Does VTK easily support this type of 2-d…

---

## [OpenGLGPUVolumeRayCastMapper : rendering is not working](https://discourse.vtk.org/t/openglgpuvolumeraycastmapper-rendering-is-not-working/967)

<div class="topic-metadata">

**Author:** [@CNA](https://discourse.vtk.org/u/CNA)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 1:04pm UTC](https://discourse.vtk.org/t/openglgpuvolumeraycastmapper-rendering-is-not-working/967 "2019-05-21T13:04:13Z")

</div>

Hi everyone, I’m working on replace the vtkFixedPointVolumeRayCastMapper with the vtkOpenGLGPUVolumeRayCastMapper and I found something weird. First of all you have to know that i’m doing some transformations on the vt…

---

## [Preventing duplication of algorithm output data for timeseries, using vtkDataObject::DATA\_TIME\_STEP](https://discourse.vtk.org/t/preventing-duplication-of-algorithm-output-data-for-timeseries-using-vtkdataobject-data-time-step/994)

<div class="topic-metadata">

**Author:** [@kvankooten](https://discourse.vtk.org/u/kvankooten)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 5:06pm UTC](https://discourse.vtk.org/t/preventing-duplication-of-algorithm-output-data-for-timeseries-using-vtkdataobject-data-time-step/994 "2019-05-20T17:06:48Z")

</div>

I’ve come across an issue which has cropped up a number of times in cases where I had to make a conversion between in-memory VTK graphics class instances and an external graphics format that mirrors those VTK class insta…

---

## [vtkProbeFilter uses vtkStaticCellLocator::FindCell which produces different results than vtkDataSet::FindCell](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984)

<div class="topic-metadata">

**Author:** [@psandana](https://discourse.vtk.org/u/psandana)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 6:46pm UTC](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984 "2019-05-17T18:46:39Z")

</div>

Hi, I found that vtkProbeFilter, since vtk8.2 uses by default a vtkStaticCellLocator. That breaks some of my tests. So I propose either of these two options: Modify vtkStaticCellLocator::FindCell() to use the this-\>Da…

---

## [Java Wrapping in Windows](https://discourse.vtk.org/t/java-wrapping-in-windows/956)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 15\
**Last updated:** [May 17, 2019, 5:27am UTC](https://discourse.vtk.org/t/java-wrapping-in-windows/956 "2019-05-17T05:27:12Z")

</div>

Is anyone having trouble building Java wrapping in Windows? I think this commit Add glTF reader and importer (Mon, 8 April2019 19:25) is the culprit: b377cf79ccbd272ce7d4d508d5f6fc53f57d5f42 I’m using VTK 8.90 Java JDK…

---

## [Add Word Cloud to InfoVis](https://discourse.vtk.org/t/add-word-cloud-to-infovis/976)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 10:32pm UTC](https://discourse.vtk.org/t/add-word-cloud-to-infovis/976 "2019-05-15T22:32:46Z")

</div>

Folks, As I reported earlier, I add a Word Cloud example to the VTKExamples Project.. Now, I plan to add a vtkWordCloud class InfoVis/Core. I think it will be a useful addition for presentations. For example, I wrot…

---

## [vtkMetaImageWriter crashes when writing MHD file to long absolute path](https://discourse.vtk.org/t/vtkmetaimagewriter-crashes-when-writing-mhd-file-to-long-absolute-path/943)

<div class="topic-metadata">

**Author:** [@lukas](https://discourse.vtk.org/u/lukas)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 6:42am UTC](https://discourse.vtk.org/t/vtkmetaimagewriter-crashes-when-writing-mhd-file-to-long-absolute-path/943 "2019-05-13T06:42:26Z")

</div>

Hi all, I have encountered a problem with the vtkMetaImageWriter when writing mhd files with long absolute paths. When the absolute path exceeds a certain number of characters (262 in my case), the program crashes with…

---

## [Deprecate vtkTemporalStreamTracer and vtkPTemporalStreamTracer](https://discourse.vtk.org/t/deprecate-vtktemporalstreamtracer-and-vtkptemporalstreamtracer/936)

<div class="topic-metadata">

**Author:** [@danlipsa](https://discourse.vtk.org/u/danlipsa)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 2:47pm UTC](https://discourse.vtk.org/t/deprecate-vtktemporalstreamtracer-and-vtkptemporalstreamtracer/936 "2019-05-10T14:47:48Z")

</div>

Hi all, We are working to deprecate vtkTemporalStreamTracer and vtkPTemporalStreamTracer. These classes don’t have tests and have been refactored a while ago into vtkParticleTracerBase and vtkPParticleTracerBase. Als…

---

## [vtkCellLocator with vtkLagrangeHexehdron](https://discourse.vtk.org/t/vtkcelllocator-with-vtklagrangehexehdron/900)

<div class="topic-metadata">

**Author:** [@ataber](https://discourse.vtk.org/u/ataber)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 5:22am UTC](https://discourse.vtk.org/t/vtkcelllocator-with-vtklagrangehexehdron/900 "2019-05-06T05:22:28Z")

</div>

It appears that when I attempt to use vtkCellLocator with cells of type vtkLagrangeHexehdron, the cell locator sets the closest point out parameter to be the same as the original query point. It also does not show an err…

---

## [Will VTK ever be thread-safe for parallel use ?](https://discourse.vtk.org/t/will-vtk-ever-be-thread-safe-for-parallel-use/871)

<div class="topic-metadata">

**Author:** [@aravind90](https://discourse.vtk.org/u/aravind90)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 2:09pm UTC](https://discourse.vtk.org/t/will-vtk-ever-be-thread-safe-for-parallel-use/871 "2019-05-02T14:09:27Z")

</div>

I’m looking for ways to parallelize VTK and there’s static data in VTK (the Executives classes in particular) that manage static data that can’t be called in parallel without corrupting the heap. Also, I’ve noticed that…

---

## [Hello. I got problem on the geometry for vtk.](https://discourse.vtk.org/t/hello-i-got-problem-on-the-geometry-for-vtk/874)

<div class="topic-metadata">

**Author:** [@David](https://discourse.vtk.org/u/David)\
**Replies:** 1\
**Last updated:** [April 30, 2019, 12:51pm UTC](https://discourse.vtk.org/t/hello-i-got-problem-on-the-geometry-for-vtk/874 "2019-04-30T12:51:16Z")

</div>

I did Volume rendering my CT by using vtkSmartVolumeMapper , and did Modeling on same CT by using vtkMarchingCubes. But the Geometry of between Volume rendering and Modeling is different. I attach the picture for the…

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

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