# Latest

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

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

**Page:** 257

---

## [vtkGDCMPolyDataWriter RTStruct from scratch, segmentation fault](https://discourse.vtk.org/t/vtkgdcmpolydatawriter-rtstruct-from-scratch-segmentation-fault/359)

<div class="topic-metadata">

**Author:** [@Harry](https://discourse.vtk.org/u/Harry)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 6:49pm UTC](https://discourse.vtk.org/t/vtkgdcmpolydatawriter-rtstruct-from-scratch-segmentation-fault/359 "2019-03-04T18:49:53Z")

</div>

Hi all, I’m trying to figure out how to use vtkGDCMPolyDataWriter. I’m currently able to write user-created contours and have them display correctly in a DICOM reader, but only using the “cheating” strategy in this exam…

---

## [proj.4 6.1.0 compatibility?](https://discourse.vtk.org/t/proj-4-6-1-0-compatibility/397)

<div class="topic-metadata">

**Author:** [@jiapei100](https://discourse.vtk.org/u/jiapei100)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 6:44pm UTC](https://discourse.vtk.org/t/proj-4-6-1-0-compatibility/397 "2019-03-04T18:44:18Z")

</div>

I’m trying to build VTK git of the day Mar. 4, 2019. It looks to me there is a small bug in file pj\_errno.c? ....../VTK/ThirdParty/libproj/vtklibproj/src/pj\_errno.c:5:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘\_\_attr…

---

## [dejagore maintainter](https://discourse.vtk.org/t/dejagore-maintainter/389)

<div class="topic-metadata">

**Author:** [@ken-martin](https://discourse.vtk.org/u/ken-martin)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 5:46pm UTC](https://discourse.vtk.org/t/dejagore-maintainter/389 "2019-03-04T17:46:07Z")

</div>

Could the maintainer of dejagore (maybe @RobertMaynard) please either turn off the infovisboost module or point vtk to a gcc4 version of boost. I believe the system boost may be gcc5 based which I believe is incompatible…

---

## [How to add multiple viewports to vtkGenericOpenGLRenderWindow](https://discourse.vtk.org/t/how-to-add-multiple-viewports-to-vtkgenericopenglrenderwindow/393)

<div class="topic-metadata">

**Author:** [@Jay](https://discourse.vtk.org/u/Jay)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 2:10pm UTC](https://discourse.vtk.org/t/how-to-add-multiple-viewports-to-vtkgenericopenglrenderwindow/393 "2019-03-04T14:10:59Z")

</div>

I had tried to add multiple view ports to vtkRenderWindow and was able to get the various viewports displayed as expected. \* vtkSmartPointer&lt;vtkRenderer&gt; testRendererA = vtkSmartPointer&lt;vtkRenderer&…

---

## [Ike maintainer](https://discourse.vtk.org/t/ike-maintainer/388)

<div class="topic-metadata">

**Author:** [@ken-martin](https://discourse.vtk.org/u/ken-martin)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 1:32pm UTC](https://discourse.vtk.org/t/ike-maintainer/388 "2019-03-04T13:32:48Z")

</div>

Could the maintainer of ike please turn off the openvr module. It is causing the configure to fail. Thanks!

---

## [eeloo failures expected for a little bit](https://discourse.vtk.org/t/eeloo-failures-expected-for-a-little-bit/367)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 1\
**Last updated:** [March 4, 2019, 1:30pm UTC](https://discourse.vtk.org/t/eeloo-failures-expected-for-a-little-bit/367 "2019-03-04T13:30:27Z")

</div>

I’ve made eeloo build with spaces in its path today. Until https://gitlab.kitware.com/vtk/vtk/merge\_requests/5255 lands, it will be unhappy. Cc: @utkarshayachit @ken-martin

---

## [Strange behavior. If camera is far away, VTK only renders upon clicking on the render window.](https://discourse.vtk.org/t/strange-behavior-if-camera-is-far-away-vtk-only-renders-upon-clicking-on-the-render-window/327)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.vtk.org/u/singularity)\
**Replies:** 8\
**Last updated:** [March 3, 2019, 3:47am UTC](https://discourse.vtk.org/t/strange-behavior-if-camera-is-far-away-vtk-only-renders-upon-clicking-on-the-render-window/327 "2019-03-03T03:47:34Z")

</div>

Hi. I am new to VTK and I just encountered a strange behavior. If the camera is far away from the focal point, that is, if I set camera position as SetPosition(700,700,700) in the code below, VTK only produces a blank wi…

---

## [How to add intensity value at every point in a point cloud using vtk? I am using python](https://discourse.vtk.org/t/how-to-add-intensity-value-at-every-point-in-a-point-cloud-using-vtk-i-am-using-python/349)

<div class="topic-metadata">

**Author:** [@ral](https://discourse.vtk.org/u/ral)\
**Replies:** 5\
**Last updated:** [March 3, 2019, 3:15am UTC](https://discourse.vtk.org/t/how-to-add-intensity-value-at-every-point-in-a-point-cloud-using-vtk-i-am-using-python/349 "2019-03-03T03:15:10Z")

</div>

Hello!! I’m working on this example https://pastebin.com/reu0dXYj and i want to add intensity value for each point. I know i need to use a lookup table and i think i should use a vtk.vtkFloatArray() with intesity compon…

---

## [modules.json - Request for enhancement](https://discourse.vtk.org/t/modules-json-request-for-enhancement/318)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 2\
**Last updated:** [March 1, 2019, 9:18pm UTC](https://discourse.vtk.org/t/modules-json-request-for-enhancement/318 "2019-03-01T21:18:16Z")

</div>

@ben.boeckel it would be nice to add includes into modules.json. How much work would be entailed in adding a list of includes to this file for each module? As an example, the module VTK::CommonColor would then look som…

---

## [vtkSortDataArray sorts keys array](https://discourse.vtk.org/t/vtksortdataarray-sorts-keys-array/356)

<div class="topic-metadata">

**Author:** [@Patrick\_Laurin](https://discourse.vtk.org/u/Patrick_Laurin)\
**Replies:** 2\
**Last updated:** [March 1, 2019, 4:59pm UTC](https://discourse.vtk.org/t/vtksortdataarray-sorts-keys-array/356 "2019-03-01T16:59:30Z")

</div>

Hi, I’ve been using the following method to sort an array of values in the same order as my key array: static void vtkSortDataArray::Sort(vtkAbstractArray\* keys,vtkAbstractArray\* values) My “keys” array is not sorted …

---

## [null in this-\>GetDefaultRenderer() in virtual void OnRightButtonDown()](https://discourse.vtk.org/t/null-in-this-getdefaultrenderer-in-virtual-void-onrightbuttondown/352)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 1\
**Last updated:** [March 1, 2019, 2:12pm UTC](https://discourse.vtk.org/t/null-in-this-getdefaultrenderer-in-virtual-void-onrightbuttondown/352 "2019-03-01T14:12:39Z")

</div>

Dear all, I have a doubt of programming. I am trying the examples of picking points from the mouse. I see in the virtual function of the mouse (OnRightButtonDown()) when i want to get the renderer, it returns null. I…

---

## [A slew of OpenGL errors reported in VTK version 8.2.0, static libs, Windows](https://discourse.vtk.org/t/a-slew-of-opengl-errors-reported-in-vtk-version-8-2-0-static-libs-windows/329)

<div class="topic-metadata">

**Author:** [@jmcauley](https://discourse.vtk.org/u/jmcauley)\
**Replies:** 6\
**Last updated:** [March 1, 2019, 1:24pm UTC](https://discourse.vtk.org/t/a-slew-of-opengl-errors-reported-in-vtk-version-8-2-0-static-libs-windows/329 "2019-03-01T13:24:54Z")

</div>

I used -DBUILD\_SHARED\_LIBS:BOOL=“0” to build a static lib version of 8.2.0 I built debug libs using Visual Studio 2017. I used the cmake-gui to configure, generate, and open the generated solution and built the libs usi…

---

## [removing added texture from actor](https://discourse.vtk.org/t/removing-added-texture-from-actor/137)

<div class="topic-metadata">

**Author:** [@pettaa123](https://discourse.vtk.org/u/pettaa123)\
**Replies:** 2\
**Last updated:** [February 27, 2019, 8:10pm UTC](https://discourse.vtk.org/t/removing-added-texture-from-actor/137 "2019-02-27T20:10:23Z")

</div>

Hi there, i would like to remove a texture from an actor. I added the texture before, but dont know how to remove it then. cheers Peter

---

## [visualize moving Laserline on actor](https://discourse.vtk.org/t/visualize-moving-laserline-on-actor/344)

<div class="topic-metadata">

**Author:** [@pettaa123](https://discourse.vtk.org/u/pettaa123)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 8:07pm UTC](https://discourse.vtk.org/t/visualize-moving-laserline-on-actor/344 "2019-02-27T20:07:22Z")

</div>

Hello, how would you render projecting a moving laserline over actors? my only idea is using a positional light and putting a mask with a slit directly in front of it.

---

## [vtkSimpleBondPerceiver in python](https://discourse.vtk.org/t/vtksimplebondperceiver-in-python/334)

<div class="topic-metadata">

**Author:** [@Jellby](https://discourse.vtk.org/u/Jellby)\
**Replies:** 2\
**Last updated:** [February 27, 2019, 1:53pm UTC](https://discourse.vtk.org/t/vtksimplebondperceiver-in-python/334 "2019-02-27T13:53:40Z")

</div>

I’m trying to use vtkSimpleBondPerceiver in python (python 2.7, vtk 8.1.2, PyQt4 4.10.4). I can define it, but I can’t (or I don’t know how to) use it: mol = vtk.vtkMolecule() for i in mydata: # mydata is a dictionary w…

---

## [How does vtkCamera reflect camera pinholemodel](https://discourse.vtk.org/t/how-does-vtkcamera-reflect-camera-pinholemodel/341)

<div class="topic-metadata">

**Author:** [@pettaa123](https://discourse.vtk.org/u/pettaa123)\
**Replies:** 0\
**Last updated:** [February 27, 2019, 8:49am UTC](https://discourse.vtk.org/t/how-does-vtkcamera-reflect-camera-pinholemodel/341 "2019-02-27T08:49:47Z")

</div>

I read the vtk book and googled but couldnt find a state towards how the vtkCamera reflects the pinholemodel. I simulate a real camera, from which i have the focallength/diagonal viewangle and exactly known chip positio…

---

## [vtkImage::GetScalarPointer from Python (to numpy array)?](https://discourse.vtk.org/t/vtkimage-getscalarpointer-from-python-to-numpy-array/324)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 5\
**Last updated:** [February 27, 2019, 7:51am UTC](https://discourse.vtk.org/t/vtkimage-getscalarpointer-from-python-to-numpy-array/324 "2019-02-27T07:51:28Z")

</div>

It returns a str on the format \_00007f55d65c1010\_p\_void. Any way to get a Python array to the underlying image data in a zero copy way? I looked at numpy\_support.py but couldn’t find anything like that.

---

## [porting vtkHyperOctree to vtkHyperTreeGrid](https://discourse.vtk.org/t/porting-vtkhyperoctree-to-vtkhypertreegrid/265)

<div class="topic-metadata">

**Author:** [@tirons](https://discourse.vtk.org/u/tirons)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 5:02am UTC](https://discourse.vtk.org/t/porting-vtkhyperoctree-to-vtkhypertreegrid/265 "2019-02-27T05:02:40Z")

</div>

Hi, I’m looking for any resources which might be available as I try to port some code which used vtkHyperOctree. The new classes of vtkHyperTree(Grid) don’t great documentation regarding how the pieces fit together, for …

---

## [Scaling tube radius by distance to camera](https://discourse.vtk.org/t/scaling-tube-radius-by-distance-to-camera/95)

<div class="topic-metadata">

**Author:** [@TravStu22](https://discourse.vtk.org/u/TravStu22)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 2:28am UTC](https://discourse.vtk.org/t/scaling-tube-radius-by-distance-to-camera/95 "2019-02-27T02:28:13Z")

</div>

Hi, I would like to scale the radius of vtkTubeFilter in my vtkPolyDataMapper the same way I’m able to scale the radius of vtkSphereSource in my vtkGlyph3DMapper, with respect to vtkDistanceToCamera. In the TubesWithVa…

---

## [update VTK's minimum ospray version to 1.8.1?](https://discourse.vtk.org/t/update-vtks-minimum-ospray-version-to-1-8-1/332)

<div class="topic-metadata">

**Author:** [@Dave\_DeMarle](https://discourse.vtk.org/u/Dave_DeMarle)\
**Replies:** 0\
**Last updated:** [February 26, 2019, 2:53pm UTC](https://discourse.vtk.org/t/update-vtks-minimum-ospray-version-to-1-8-1/332 "2019-02-26T14:53:58Z")

</div>

Hey gang, I am working to incorporate image denoising. As part of that work I want to update the minimum required version of OSPRay a bit. Doing so will let me remove a bunch of conditionally defined paths in the code a…

---

## [bumping ospray on dashboards to 1.8.1](https://discourse.vtk.org/t/bumping-ospray-on-dashboards-to-1-8-1/330)

<div class="topic-metadata">

**Author:** [@Dave\_DeMarle](https://discourse.vtk.org/u/Dave_DeMarle)\
**Replies:** 0\
**Last updated:** [February 26, 2019, 2:47pm UTC](https://discourse.vtk.org/t/bumping-ospray-on-dashboards-to-1-8-1/330 "2019-02-26T14:47:34Z")

</div>

I am planning to update VTK’s minimum version to 1.8.1. In the process I will update duma and other dashboards’ version to the same.

---

## [List of Readers](https://discourse.vtk.org/t/list-of-readers/184)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 4\
**Last updated:** [February 25, 2019, 11:37pm UTC](https://discourse.vtk.org/t/list-of-readers/184 "2019-02-25T23:37:21Z")

</div>

I’ve been thinking it would be beneficial to compile a list of readers in the VTK library and their respective, typical file extensions. I think this would be awesome to include in the docs somewhere… perhaps on the lore…

---

## [VTK 8.1.2 with VTK\_WRAP\_PYTHON: Installation problem on macOS](https://discourse.vtk.org/t/vtk-8-1-2-with-vtk-wrap-python-installation-problem-on-macos/313)

<div class="topic-metadata">

**Author:** [@Romain](https://discourse.vtk.org/u/Romain)\
**Replies:** 0\
**Last updated:** [February 24, 2019, 11:08am UTC](https://discourse.vtk.org/t/vtk-8-1-2-with-vtk-wrap-python-installation-problem-on-macos/313 "2019-02-24T11:08:36Z")

</div>

Hi everyone, I try to install VTK 8.1.2 with python support on macOS 10.14.3 (Mohaje). I use python 3.6.8 from anaconda, Qt 5.12.1, and the default clang obtained by XCode. I configure vtk like this: cmake .. \\ -DV…

---

## [VTKRenderWindow Render() crashes with Abort 6 on mac mini 2018](https://discourse.vtk.org/t/vtkrenderwindow-render-crashes-with-abort-6-on-mac-mini-2018/315)

<div class="topic-metadata">

**Author:** [@benjaminhon](https://discourse.vtk.org/u/benjaminhon)\
**Replies:** 2\
**Last updated:** [February 25, 2019, 4:47am UTC](https://discourse.vtk.org/t/vtkrenderwindow-render-crashes-with-abort-6-on-mac-mini-2018/315 "2019-02-25T04:47:05Z")

</div>

Hi All, Has anyone experienced this issue? I’ve narrowed the issue down to the Render call. It works totally fine on my old mac and macbook, but has issues with the mac mini 2018 and the new macbook pros. I am guessing …

---

## [How to read a binary structured\_points data file from a fortran code in VTK?](https://discourse.vtk.org/t/how-to-read-a-binary-structured-points-data-file-from-a-fortran-code-in-vtk/307)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.vtk.org/u/singularity)\
**Replies:** 2\
**Last updated:** [February 23, 2019, 7:15pm UTC](https://discourse.vtk.org/t/how-to-read-a-binary-structured-points-data-file-from-a-fortran-code-in-vtk/307 "2019-02-23T19:15:14Z")

</div>

I am new to VTK, and I am trying to read a binary structured\_points (image data) file in vtk but getting the “Error reading binary data” error with a blank window. I am using a simple fortran program to create the data f…

---

## [How should we do volume rendering for this simple data file in VTK?](https://discourse.vtk.org/t/how-should-we-do-volume-rendering-for-this-simple-data-file-in-vtk/292)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.vtk.org/u/singularity)\
**Replies:** 2\
**Last updated:** [February 22, 2019, 3:20am UTC](https://discourse.vtk.org/t/how-should-we-do-volume-rendering-for-this-simple-data-file-in-vtk/292 "2019-02-22T03:20:44Z")

</div>

Hi. I am new to VTK and trying to write a simple code for volumetric rendering. I used examples from the VTK website to write this following code. #include \<vtkNamedColors.h\> #include \<vtkRenderWindow.h\> #include \<vtkRe…

---

## [Get the volume associated with an vtkimageactor](https://discourse.vtk.org/t/get-the-volume-associated-with-an-vtkimageactor/301)

<div class="topic-metadata">

**Author:** [@swetha](https://discourse.vtk.org/u/swetha)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 2:05pm UTC](https://discourse.vtk.org/t/get-the-volume-associated-with-an-vtkimageactor/301 "2019-02-20T14:05:24Z")

</div>

Hi All, I am displaying thumbnail of all the ultrasound volumes captured and when the user selects the thumbnail it opens in another window , it is supposed to render in axial,saggital ,coronal view. How I do it is i …

---

## [Doxygen after Module API changes](https://discourse.vtk.org/t/doxygen-after-module-api-changes/299)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 0\
**Last updated:** [February 19, 2019, 8:23pm UTC](https://discourse.vtk.org/t/doxygen-after-module-api-changes/299 "2019-02-19T20:23:41Z")

</div>

Folks, It looks like the doxygen generation stuff references module.cmake from the old Module API. Bill

---

## [vtk build error linux release](https://discourse.vtk.org/t/vtk-build-error-linux-release/277)

<div class="topic-metadata">

**Author:** [@jal](https://discourse.vtk.org/u/jal)\
**Replies:** 7\
**Last updated:** [February 19, 2019, 12:14pm UTC](https://discourse.vtk.org/t/vtk-build-error-linux-release/277 "2019-02-19T12:14:32Z")

</div>

Hi, something changed within the past week or so on the vtk master branch, as of today when I build on linux with config RELEASE I get a build failure /…/VTK/Common/DataModel/vtkSimpleCellTessellator.cxx:2529:5: error: …

---

## [Why is vtkTimerLog Gone?](https://discourse.vtk.org/t/why-is-vtktimerlog-gone/286)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 2\
**Last updated:** [February 17, 2019, 12:34am UTC](https://discourse.vtk.org/t/why-is-vtktimerlog-gone/286 "2019-02-17T00:34:01Z")

</div>

The subject says it all.

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

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