# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=161

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

**Page:** 162

---

## [vtkPlotSurface status](https://discourse.vtk.org/t/vtkplotsurface-status/426)

<div class="topic-metadata">

**Author:** [@infinnovation-dev](https://discourse.vtk.org/u/infinnovation-dev)\
**Replies:** 2\
**Last updated:** [March 11, 2019, 1:07pm UTC](https://discourse.vtk.org/t/vtkplotsurface-status/426 "2019-03-11T13:07:33Z")

</div>

I came across VTK when looking for an easy way to view data from a data acquisition system I’m writing. Plus points were python bindings, interaction capability, and that it is already packaged for both Ubuntu/Debian a…

---

## [How to improve vtkDICOMImageReader output](https://discourse.vtk.org/t/how-to-improve-vtkdicomimagereader-output/430)

<div class="topic-metadata">

**Author:** [@Michele](https://discourse.vtk.org/u/Michele)\
**Replies:** 8\
**Last updated:** [March 11, 2019, 9:34am UTC](https://discourse.vtk.org/t/how-to-improve-vtkdicomimagereader-output/430 "2019-03-11T09:34:48Z")

</div>

Hi everyone, I am VTK user and recently I needed to start visualizing some DICOM in the 3D space. The idea is to shows some stl from segmentation together with some relative DICOM. Essentially, I follow the vtkDICOMImag…

---

## [World coordinate do not give me the correct dicom coordinate](https://discourse.vtk.org/t/world-coordinate-do-not-give-me-the-correct-dicom-coordinate/440)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [March 11, 2019, 2:41am UTC](https://discourse.vtk.org/t/world-coordinate-do-not-give-me-the-correct-dicom-coordinate/440 "2019-03-11T02:41:08Z")

</div>

Dear all, I use itk to perform 2d segmentation of a 3d volume given by a dicom series and i need to add some seeds with the mouse for some 2d slices. So i am forced to show a 2d slice in vtk obtained with itk (using e…

---

## [vtkImageData.ToBitmap() produces uncompatible bitmaps](https://discourse.vtk.org/t/vtkimagedata-tobitmap-produces-uncompatible-bitmaps/435)

<div class="topic-metadata">

**Author:** [@pettaa123](https://discourse.vtk.org/u/pettaa123)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 9:22pm UTC](https://discourse.vtk.org/t/vtkimagedata-tobitmap-produces-uncompatible-bitmaps/435 "2019-03-08T21:22:45Z")

</div>

Hi, I love VTK but im kind of struggling right now: double\[\] viewport=viewportRenderer.GetViewport(); vtkWindowToImageFilter imageFilter = vtkWindowToImageFilter.New(); imageFilter.SetInput(Rende…

---

## [Segmentation of objects in a point cloud (Python)](https://discourse.vtk.org/t/segmentation-of-objects-in-a-point-cloud-python/273)

<div class="topic-metadata">

**Author:** [@jball](https://discourse.vtk.org/u/jball)\
**Replies:** 9\
**Last updated:** [March 8, 2019, 11:18am UTC](https://discourse.vtk.org/t/segmentation-of-objects-in-a-point-cloud-python/273 "2019-03-08T11:18:46Z")

</div>

Hi all, I was wondering if anyone would be able to help me. I have a series of different point clouds (.ply files) of different fields containing crop plots. I’ve generated this using Pix4D. These field have a natural …

---

## [Doxygen pages](https://discourse.vtk.org/t/doxygen-pages/337)

<div class="topic-metadata">

**Author:** [@tirons](https://discourse.vtk.org/u/tirons)\
**Replies:** 5\
**Last updated:** [March 7, 2019, 4:59pm UTC](https://discourse.vtk.org/t/doxygen-pages/337 "2019-03-07T16:59:26Z")

</div>

From https://vtk.org/documentation/ the only links for the Doxygen files are for the nightly builds. Are the stable versions of documentation still hosted somewhere?

---

## [2D Polygon Boolean Operations](https://discourse.vtk.org/t/2d-polygon-boolean-operations/283)

<div class="topic-metadata">

**Author:** [@Harry](https://discourse.vtk.org/u/Harry)\
**Replies:** 8\
**Last updated:** [March 7, 2019, 5:51am UTC](https://discourse.vtk.org/t/2d-polygon-boolean-operations/283 "2019-03-07T05:51:10Z")

</div>

Hi all, I have what I think should be an extremely easy problem, but I can’t figure out how to do it. I have two coplanar polygons generated from vtkContourWidget and stored as vtkPolyData, and I want to be able to perf…

---

## [Move a scalar bar with pyq5 and python3.5](https://discourse.vtk.org/t/move-a-scalar-bar-with-pyq5-and-python3-5/289)

<div class="topic-metadata">

**Author:** [@guillaume](https://discourse.vtk.org/u/guillaume)\
**Replies:** 7\
**Last updated:** [March 6, 2019, 7:35pm UTC](https://discourse.vtk.org/t/move-a-scalar-bar-with-pyq5-and-python3-5/289 "2019-03-06T19:35:45Z")

</div>

Hi all, I’m trying write an application with a vtk windows. Nevertheless, I have some difficulties to move and resize manually the scalar bar when I use pyqt5. Here’s my code: # -\*- coding: utf-8 -\*- import sys from…

---

## [overlay/transparency issue with QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/overlay-transparency-issue-with-qvtkopenglnativewidget/196)

<div class="topic-metadata">

**Author:** [@mikewho](https://discourse.vtk.org/u/mikewho)\
**Replies:** 7\
**Last updated:** [March 5, 2019, 8:20pm UTC](https://discourse.vtk.org/t/overlay-transparency-issue-with-qvtkopenglnativewidget/196 "2019-03-05T20:20:33Z")

</div>

I had previously been using QVTKWidget in VTK 7.1.0 with no issues. I decided to upgrade to VTK 8.2.0 and try out QVTKOpenGLNativeWidget. However I am noticing that with the new widget when I overlay two vtkImageActors, …

---

## [Extracting boundary nodes from an unstructured grid](https://discourse.vtk.org/t/extracting-boundary-nodes-from-an-unstructured-grid/406)

<div class="topic-metadata">

**Author:** [@Zoltan\_Kovacs](https://discourse.vtk.org/u/Zoltan_Kovacs)\
**Replies:** 0\
**Last updated:** [March 5, 2019, 2:11pm UTC](https://discourse.vtk.org/t/extracting-boundary-nodes-from-an-unstructured-grid/406 "2019-03-05T14:11:50Z")

</div>

Dear all, I try to extract the boundary nodes of an unstructured grids. Based on the example https://vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges I used the following code: vtkSmartPointer grid = vtkSmartPointe…

---

## [How to check if rendering is done/ready](https://discourse.vtk.org/t/how-to-check-if-rendering-is-done-ready/399)

<div class="topic-metadata">

**Author:** [@mikewho](https://discourse.vtk.org/u/mikewho)\
**Replies:** 2\
**Last updated:** [March 5, 2019, 12:15pm UTC](https://discourse.vtk.org/t/how-to-check-if-rendering-is-done-ready/399 "2019-03-05T12:15:56Z")

</div>

Is there a way to check if rendering is done/ready (vtkRenderer & vtkRenderWindow)? I’m calling Render very frequently, and the GPU basically falls behind a bit which introduces a lag. What I’d like to do is have an if s…

---

## [VTK6.3 & Qt5 building issue](https://discourse.vtk.org/t/vtk6-3-qt5-building-issue/400)

<div class="topic-metadata">

**Author:** [@Massi](https://discourse.vtk.org/u/Massi)\
**Replies:** 1\
**Last updated:** [March 5, 2019, 4:07am UTC](https://discourse.vtk.org/t/vtk6-3-qt5-building-issue/400 "2019-03-05T04:07:04Z")

</div>

Good day VTK users, I’m trying to use VTK within a QT application on VS2017. I managed to build VTK6.3 and Qt on VS 64x but when I drag and drop QVTKWidget on my ui and build, I get the following: \_1&gt;MainWindo…

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

<div class="topic-metadata">

**Author:** [@vrkssai](https://discourse.vtk.org/u/vrkssai)\
**Replies:** 1\
**Last updated:** [February 16, 2019, 5:22am UTC](https://discourse.vtk.org/t/using-vtk-libraries-for-writing-in-xml-vtk-fileformat-using-fortran/281 "2019-02-16T05:22:12Z")

</div>

I was wondering if someone would help me on how to use install,use vtk libraries to write data in binary format in fortran. Or, suitable modifications to write in binary format from a fortran code wrting files in .vtk i…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=160)

[Next page](https://discourse.vtk.org/c/support/6.md?page=162)
