# Latest

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

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

**Page:** 191

---

## [Simplifying algorithms by making parallel/composite-data support universal](https://discourse.vtk.org/t/simplifying-algorithms-by-making-parallel-composite-data-support-universal/4825)

<div class="topic-metadata">

**Author:** [@utkarshayachit](https://discourse.vtk.org/u/utkarshayachit)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 2:46pm UTC](https://discourse.vtk.org/t/simplifying-algorithms-by-making-parallel-composite-data-support-universal/4825 "2020-12-15T14:46:58Z")

</div>

Time and time again we run into implementations of algorithms of this form: a basic implementation A a subclass of A, say B, to handle composite-dataset input a subclass of B, say C, to handle parallel/distributed use-…

---

## [Camera operation do not work](https://discourse.vtk.org/t/camera-operation-do-not-work/4813)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 5\
**Last updated:** [December 15, 2020, 1:57pm UTC](https://discourse.vtk.org/t/camera-operation-do-not-work/4813 "2020-12-15T13:57:01Z")

</div>

Now, I display a 2D image by the following code: import vtk img = vtk.vtkDICOMImageReader() img.SetFileName('C:\\\\Users\\\\MLoong\\\\Desktop\\\\dicom\_data\\\\Chang Cheng\\\\TOF\\\\IM\_0174') img.Update() mapper = vtk.vtkImageMapper…

---

## [problem with vtkcelllocator intersectwithline](https://discourse.vtk.org/t/problem-with-vtkcelllocator-intersectwithline/4821)

<div class="topic-metadata">

**Author:** [@wael869](https://discourse.vtk.org/u/wael869)\
**Replies:** 2\
**Last updated:** [December 15, 2020, 9:58am UTC](https://discourse.vtk.org/t/problem-with-vtkcelllocator-intersectwithline/4821 "2020-12-15T09:58:55Z")

</div>

I have a capped cylinder that I have have drawn from points and polys. when I am trying to find intersection between it and a finite line 0 is returned , on the other hand when I am trying to do this with another mesh th…

---

## [VTK Memory Management](https://discourse.vtk.org/t/vtk-memory-management/4820)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 9:50am UTC](https://discourse.vtk.org/t/vtk-memory-management/4820 "2020-12-15T09:50:42Z")

</div>

Good morning, could someone direct me to documentation on VTK memory management. How do you handle large image sets and processing without special hardware?

---

## [Vertical flip with the vtkImageData](https://discourse.vtk.org/t/vertical-flip-with-the-vtkimagedata/4818)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 3:40am UTC](https://discourse.vtk.org/t/vertical-flip-with-the-vtkimagedata/4818 "2020-12-15T03:40:23Z")

</div>

Hi all. I have a question about vertical flip with the vtkImageData. I would like to display the image buffer received from the camera on the vtkImageViewer2. By referring to some example code, I made a sample code an…

---

## [How to put a vtkContextView into a QVTKOpenGLWidget](https://discourse.vtk.org/t/how-to-put-a-vtkcontextview-into-a-qvtkopenglwidget/4823)

<div class="topic-metadata">

**Author:** [@Carle](https://discourse.vtk.org/u/Carle)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 2:40am UTC](https://discourse.vtk.org/t/how-to-put-a-vtkcontextview-into-a-qvtkopenglwidget/4823 "2020-12-15T02:40:57Z")

</div>

This is my first try using VTK in Qt, I almost copied the codes of VTKExamples/site/Cxx)/Plotting/LinePlot to my Qt program. but got an error “QVTKOpenGLNativeWidget requires a vtkGenericOpenGLRenderWindow. vtkWin32OpenG…

---

## [Oblique Slicing and Thick Slicing UI](https://discourse.vtk.org/t/oblique-slicing-and-thick-slicing-ui/4806)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 3\
**Last updated:** [December 14, 2020, 6:59pm UTC](https://discourse.vtk.org/t/oblique-slicing-and-thick-slicing-ui/4806 "2020-12-14T18:59:37Z")

</div>

Hello VTK Users! Does anyone have UI software that you can share, that performs Orthogonal Oblique slicing with the ability to set thick slices. We’re developing a viewer here at the Mayo Clinic that could benefit from y…

---

## [OpenGLRender error](https://discourse.vtk.org/t/openglrender-error/4809)

<div class="topic-metadata">

**Author:** [@Elise\_B](https://discourse.vtk.org/u/Elise_B)\
**Replies:** 6\
**Last updated:** [December 14, 2020, 4:49pm UTC](https://discourse.vtk.org/t/openglrender-error/4809 "2020-12-14T16:49:28Z")

</div>

Just trying to run the Cylinder Example and getting this example, I have OpenGL in my site-packages… I’m a python beginer, any idea? python3 CylinderExample.py ERROR: In /work/standalone-x64-build/VTK-source/Rendering/…

---

## [No color data saved by vtkVRMLExporter?](https://discourse.vtk.org/t/no-color-data-saved-by-vtkvrmlexporter/4817)

<div class="topic-metadata">

**Author:** [@rw2020](https://discourse.vtk.org/u/rw2020)\
**Replies:** 0\
**Last updated:** [December 13, 2020, 11:39pm UTC](https://discourse.vtk.org/t/no-color-data-saved-by-vtkvrmlexporter/4817 "2020-12-13T23:39:27Z")

</div>

I was using vtkVRMLExporter to save a vtk scene to a VRML file (.wrl). The scene contains objects (tubes) that uses a vtklookuptable for the color assignment. But when I load the wrl file into paraview, it does not show …

---

## [VTK do not show image in some situation](https://discourse.vtk.org/t/vtk-do-not-show-image-in-some-situation/4814)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [December 13, 2020, 1:52pm UTC](https://discourse.vtk.org/t/vtk-do-not-show-image-in-some-situation/4814 "2020-12-13T13:52:14Z")

</div>

I am using VTK im my project. In some situations, vtk do not show image and it really make me confuzed. Firstly, the following code work: import vtk, sys from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowIn…

---

## [How show the bone of a serial dicom files!](https://discourse.vtk.org/t/how-show-the-bone-of-a-serial-dicom-files/4802)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 4\
**Last updated:** [December 13, 2020, 2:04am UTC](https://discourse.vtk.org/t/how-show-the-bone-of-a-serial-dicom-files/4802 "2020-12-13T02:04:10Z")

</div>

Now I have the same serials of dicom files, How to show only bones when i rendering it using Volume rendering? Like the RadiAnt Dicom Viewer software!!!

---

## [New class to modify vtkCutter](https://discourse.vtk.org/t/new-class-to-modify-vtkcutter/4801)

<div class="topic-metadata">

**Author:** [@sugeng](https://discourse.vtk.org/u/sugeng)\
**Replies:** 1\
**Last updated:** [December 12, 2020, 3:56am UTC](https://discourse.vtk.org/t/new-class-to-modify-vtkcutter/4801 "2020-12-12T03:56:09Z")

</div>

Dear All, I have a new class designed to modify output from vtkCutter as shown below. Here, this class must be placed directly after vtkCutter. This new class had been actually written before in VTK 4.2 which worked pr…

---

## [vtkLSDynaReader, i got an error ERROR: In ../vtkExecutive.cxx, line 782](https://discourse.vtk.org/t/vtklsdynareader-i-got-an-error-error-in-vtkexecutive-cxx-line-782/4805)

<div class="topic-metadata">

**Author:** [@Arvin](https://discourse.vtk.org/u/Arvin)\
**Replies:** 0\
**Last updated:** [December 11, 2020, 1:39pm UTC](https://discourse.vtk.org/t/vtklsdynareader-i-got-an-error-error-in-vtkexecutive-cxx-line-782/4805 "2020-12-11T13:39:41Z")

</div>

i just use a example to read the d3plot files, but i got a error ERROR: In C:\\VTK\\VTK-8.2.0\\Common\\ExecutionModel\\vtkExecutive.cxx, line 782 vtkCompositeDataPipeline (0x354580): Algorithm vtkLSDynaReader(0x56dd10) retu…

---

## [RemoveAllObservers do not work](https://discourse.vtk.org/t/removeallobservers-do-not-work/4796)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [December 11, 2020, 12:03pm UTC](https://discourse.vtk.org/t/removeallobservers-do-not-work/4796 "2020-12-11T12:03:25Z")

</div>

I want to remove all observers in interactor, but it do not work. My code is: from PyQt5.QtWidgets import \* import sys, os import vtk from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor def mouseM…

---

## [pycharm as ide for vtk python](https://discourse.vtk.org/t/pycharm-as-ide-for-vtk-python/4272)

<div class="topic-metadata">

**Author:** [@Francesc](https://discourse.vtk.org/u/Francesc)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 2:51am UTC](https://discourse.vtk.org/t/pycharm-as-ide-for-vtk-python/4272 "2020-12-10T02:51:47Z")

</div>

Hello guys, I am new at VTK. I managed to set-up PyCharm as IDE for VTK Python development. I wanted to share this info with you in case it is useful and also for some experts in the subject to review if I am missing so…

---

## [Wide String Support for VTK Writers](https://discourse.vtk.org/t/wide-string-support-for-vtk-writers/4797)

<div class="topic-metadata">

**Author:** [@mdh](https://discourse.vtk.org/u/mdh)\
**Replies:** 2\
**Last updated:** [December 9, 2020, 10:17pm UTC](https://discourse.vtk.org/t/wide-string-support-for-vtk-writers/4797 "2020-12-09T22:17:43Z")

</div>

In VTK 8, vtkDataWriter::SetFileName() accepts only normal strings and vtkDataWriter::OpenVTKFile() uses ofstream to open the output file for writing. Is there a plan to add wide-character support to these methods in the…

---

## [Sphere.vtk PolyDataReader](https://discourse.vtk.org/t/sphere-vtk-polydatareader/4755)

<div class="topic-metadata">

**Author:** [@spolanski](https://discourse.vtk.org/u/spolanski)\
**Replies:** 1\
**Last updated:** [December 9, 2020, 4:19pm UTC](https://discourse.vtk.org/t/sphere-vtk-polydatareader/4755 "2020-12-09T16:19:33Z")

</div>

Hello, First of all, thank you for creating such a great library. I am trying to run the PolyDataReader example. Unfortunately, it does not load correctly. I am fairly sure it has something to do with the localisation …

---

## [import vtkVolumeController](https://discourse.vtk.org/t/import-vtkvolumecontroller/4792)

<div class="topic-metadata">

**Author:** [@liyunfei18](https://discourse.vtk.org/u/liyunfei18)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 4:13pm UTC](https://discourse.vtk.org/t/import-vtkvolumecontroller/4792 "2020-12-09T16:13:20Z")

</div>

I am trying to use vtkVolumeController to create the volumeController as shown in example VolumeViewer，so I import vtkVolumeController from ‘vtk.js/Sources/Interaction/UI/VolumeController’. But when I run npm run build,…

---

## [\[vtk.js\] trackball/default interaction style with pan/zoom on other mouse buttons](https://discourse.vtk.org/t/vtk-js-trackball-default-interaction-style-with-pan-zoom-on-other-mouse-buttons/4059)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 19\
**Last updated:** [December 8, 2020, 8:41pm UTC](https://discourse.vtk.org/t/vtk-js-trackball-default-interaction-style-with-pan-zoom-on-other-mouse-buttons/4059 "2020-12-08T20:41:00Z")

</div>

Is there an easy way to enable pan with right-click on the default trackball interactor style? Currently, if I want to add pan with the right mouse button and zoom with the middle mouse button (the typical defaults for V…

---

## [How to get arbitrarily oblique image from vtkImageData](https://discourse.vtk.org/t/how-to-get-arbitrarily-oblique-image-from-vtkimagedata/4783)

<div class="topic-metadata">

**Author:** [@camel97](https://discourse.vtk.org/u/camel97)\
**Replies:** 1\
**Last updated:** [December 8, 2020, 4:16pm UTC](https://discourse.vtk.org/t/how-to-get-arbitrarily-oblique-image-from-vtkimagedata/4783 "2020-12-08T16:16:42Z")

</div>

Very thankful for all your help! I want to get a 2d image from a 3d vtkImageData. It’s easy to get tangent plane that is paraller to XY(maybe you can use vtkImageViewer2::SetSliceOrientationToXY() ) , but how could I g…

---

## [How to apply mask to a transformed vtkVolume](https://discourse.vtk.org/t/how-to-apply-mask-to-a-transformed-vtkvolume/4791)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 0\
**Last updated:** [December 8, 2020, 11:19am UTC](https://discourse.vtk.org/t/how-to-apply-mask-to-a-transformed-vtkvolume/4791 "2020-12-08T11:19:28Z")

</div>

I can apply a binary mask to a vtkVolume by using SetMaskInput()(in vtkGPUVolumeRayCastMapper class). volumeMapper-\>SetMaskTypeToBinary(); volumeMapper-\>SetMaskInput(imageMask); The vtkVolume has the mask effects(hole)…

---

## [Show nothing with QtQuick and VTK 9.0?](https://discourse.vtk.org/t/show-nothing-with-qtquick-and-vtk-9-0/4790)

<div class="topic-metadata">

**Author:** [@Behtgod](https://discourse.vtk.org/u/Behtgod)\
**Replies:** 0\
**Last updated:** [December 7, 2020, 8:33am UTC](https://discourse.vtk.org/t/show-nothing-with-qtquick-and-vtk-9-0/4790 "2020-12-07T08:33:36Z")

</div>

I build a GitHub project QtVtk with Qt 5.12 and VTK 8.2. It worked fine. But when I migrate the project to VTK 9.0,it show nothing in widget. Seems that something is changed but I have no idea. Does anyone knows how …

---

## [how to cmake VTK with VTKData-9.0.1 and 	VTKLargeData](https://discourse.vtk.org/t/how-to-cmake-vtk-with-vtkdata-9-0-1-and-vtklargedata/4787)

<div class="topic-metadata">

**Author:** [@Yang](https://discourse.vtk.org/u/Yang)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 1:24pm UTC](https://discourse.vtk.org/t/how-to-cmake-vtk-with-vtkdata-9-0-1-and-vtklargedata/4787 "2020-12-06T13:24:50Z")

</div>

I’m new to VTK. i used to build vtk8 with vtk in windows successful, but now,i want to build vtk9 completely, i don’t know where to add the path of VTKData and VTKLargeData when build with cmake in windows.

---

## [Reorient oblique DICOM into pure axial](https://discourse.vtk.org/t/reorient-oblique-dicom-into-pure-axial/4785)

<div class="topic-metadata">

**Author:** [@Net200](https://discourse.vtk.org/u/Net200)\
**Replies:** 1\
**Last updated:** [December 6, 2020, 2:53am UTC](https://discourse.vtk.org/t/reorient-oblique-dicom-into-pure-axial/4785 "2020-12-06T02:53:47Z")

</div>

Is there an easy way to reorient oblique 3D DICOM images into pure axial slices and save the output as nifti file, from command line? If there is no such an easy tool, I am aware of the transform tool in 3DSlicer, but g…

---

## [No module named 'vtkIOExodusPython' on Windows](https://discourse.vtk.org/t/no-module-named-vtkioexoduspython-on-windows/456)

<div class="topic-metadata">

**Author:** [@addisonElliott](https://discourse.vtk.org/u/addisonElliott)\
**Replies:** 5\
**Last updated:** [December 4, 2020, 10:14pm UTC](https://discourse.vtk.org/t/no-module-named-vtkioexoduspython-on-windows/456 "2020-12-04T22:14:59Z")

</div>

Hello, First time poster here. Let me know if this isn’t the correct section for my issue… I am on Windows 10 64-bit using Python 3.7 and Anaconda. I’ve installed vtk v8.2.0 from the conda-forge channel on Anaconda and…

---

## [Disconnect endpoints in vtkPolyData](https://discourse.vtk.org/t/disconnect-endpoints-in-vtkpolydata/4771)

<div class="topic-metadata">

**Author:** [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 8:15am UTC](https://discourse.vtk.org/t/disconnect-endpoints-in-vtkpolydata/4771 "2020-12-04T08:15:21Z")

</div>

Hi All, I am trying to create an arc suing vtkPolyData and it works well except I don’t want the ends to be connected. I just want ti to be like ‘C’. I tried to remove the last point but it still connects the ends. H…

---

## [When I load the tiff file, the image is displayed upside down.](https://discourse.vtk.org/t/when-i-load-the-tiff-file-the-image-is-displayed-upside-down/4763)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 2:30am UTC](https://discourse.vtk.org/t/when-i-load-the-tiff-file-the-image-is-displayed-upside-down/4763 "2020-12-04T02:30:46Z")

</div>

I have tested to draw an image by using vtkImageReader2 and vtkImageViewer2. Strangely, a bitmap file works well but tiff has a problem When I load the tiff file, the image is displayed upside down. Original Image: o…

---

## [about actor color Interpolate](https://discourse.vtk.org/t/about-actor-color-interpolate/4765)

<div class="topic-metadata">

**Author:** [@DL\_men](https://discourse.vtk.org/u/DL_men)\
**Replies:** 1\
**Last updated:** [December 3, 2020, 1:39pm UTC](https://discourse.vtk.org/t/about-actor-color-interpolate/4765 "2020-12-03T13:39:00Z")

</div>

I colored the actor with the following codes: data = actor.GetMapper().GetInput() data.GetPointData().SetScalars(color\_array) How to make the bounds clearly without Interpolate like the following pic. SetInterpolat…

---

## [Multiple html panels in vtk js](https://discourse.vtk.org/t/multiple-html-panels-in-vtk-js/4766)

<div class="topic-metadata">

**Author:** [@lonewolf](https://discourse.vtk.org/u/lonewolf)\
**Replies:** 5\
**Last updated:** [December 2, 2020, 8:46pm UTC](https://discourse.vtk.org/t/multiple-html-panels-in-vtk-js/4766 "2020-12-02T20:46:08Z")

</div>

Hi, in the examples provided I see there is always one panel with controls. Would it be possible to add more panels? I searched in the code, forum and examples but I could not find anything. Cheers!

---

## [Building vtk 8.2 with VTKDicom in C++](https://discourse.vtk.org/t/building-vtk-8-2-with-vtkdicom-in-c/4762)

<div class="topic-metadata">

**Author:** [@dporter](https://discourse.vtk.org/u/dporter)\
**Replies:** 11\
**Last updated:** [December 2, 2020, 8:06pm UTC](https://discourse.vtk.org/t/building-vtk-8-2-with-vtkdicom-in-c/4762 "2020-12-02T20:06:17Z")

</div>

I had this working before :expressionless: … I modified a version of FourPaneViewer, QtVTKRenderWindows to use David Gobbi’s VTKDicom so that it would read compressed DICOM files. I’m also using vtk version 8.2 and GDCM…

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

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