# Latest

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

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

**Page:** 233

---

## [draw line](https://discourse.vtk.org/t/draw-line/320)

<div class="topic-metadata">

**Author:** [@dp1991](https://discourse.vtk.org/u/dp1991)\
**Replies:** 1\
**Last updated:** [November 13, 2019, 11:56am UTC](https://discourse.vtk.org/t/draw-line/320 "2019-11-13T11:56:42Z")

</div>

Hello friends, how can i draw a line on the dicom image using mouse ?? 2D and 3D mode .

---

## [vtkVolume not rendering when using QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/vtkvolume-not-rendering-when-using-qvtkopenglnativewidget/1547)

<div class="topic-metadata">

**Author:** [@NewProggie](https://discourse.vtk.org/u/NewProggie)\
**Replies:** 9\
**Last updated:** [November 13, 2019, 10:07am UTC](https://discourse.vtk.org/t/vtkvolume-not-rendering-when-using-qvtkopenglnativewidget/1547 "2019-11-13T10:07:14Z")

</div>

Hi all, I’m currently experiencing a strange rendering issue where a vtkVolume is not rendered when displayed inside a QVTKOpenGLNativeWidget. It works fine when testing the same code/pipeline with a simple vtkSphere th…

---

## [vtkViewsQt](https://discourse.vtk.org/t/vtkviewsqt/2087)

<div class="topic-metadata">

**Author:** [@DominionSoftware](https://discourse.vtk.org/u/DominionSoftware)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 6:03pm UTC](https://discourse.vtk.org/t/vtkviewsqt/2087 "2019-11-12T18:03:05Z")

</div>

In CMake, what does vtkViewQt do vs the other Qt flags? It’s confusing what one needs and what one doesn’t need to check off.

---

## [How I write a properity for a system not for a determined point in vtk unstructuredreader](https://discourse.vtk.org/t/how-i-write-a-properity-for-a-system-not-for-a-determined-point-in-vtk-unstructuredreader/2077)

<div class="topic-metadata">

**Author:** [@hgropelli](https://discourse.vtk.org/u/hgropelli)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 4:07pm UTC](https://discourse.vtk.org/t/how-i-write-a-properity-for-a-system-not-for-a-determined-point-in-vtk-unstructuredreader/2077 "2019-11-12T16:07:04Z")

</div>

Writing during a calculation demands much time, I am searching a for a way, for example, print time, average total energy, average overlap… In other words properties that applies for a system of particles without having …

---

## [Is there a way to find pick actor index from vtkActorCollection?](https://discourse.vtk.org/t/is-there-a-way-to-find-pick-actor-index-from-vtkactorcollection/2086)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 9:16am UTC](https://discourse.vtk.org/t/is-there-a-way-to-find-pick-actor-index-from-vtkactorcollection/2086 "2019-11-12T09:16:13Z")

</div>

I have imported actors and added to vtkActorCollection. Then I implemented a vtkPropPicker. Now I want to know the i’th value of that picked actor from that vtkActorCollection? There is a vtkActorCollection method vtkOb…

---

## [QVTKOpenGLNativeWidget and volume renderering](https://discourse.vtk.org/t/qvtkopenglnativewidget-and-volume-renderering/2085)

<div class="topic-metadata">

**Author:** [@DominionSoftware](https://discourse.vtk.org/u/DominionSoftware)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 2:48am UTC](https://discourse.vtk.org/t/qvtkopenglnativewidget-and-volume-renderering/2085 "2019-11-12T02:48:29Z")

</div>

I have a Qt 5.13 app with 2 views and a splitter. I’m using QVTKOpenGLNativeWidget. I can render geometry no problem - cylinders, etc. But I cannot render a vtkVolume. Anyone have any sample code that works? I can str…

---

## [Build error in VTK-based project: "include called with wrong number of arguments. include() only takes one file."](https://discourse.vtk.org/t/build-error-in-vtk-based-project-include-called-with-wrong-number-of-arguments-include-only-takes-one-file/2078)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 1:32am UTC](https://discourse.vtk.org/t/build-error-in-vtk-based-project-include-called-with-wrong-number-of-arguments-include-only-takes-one-file/2078 "2019-11-12T01:32:21Z")

</div>

I’m making progress with building 3D Slicer with VTK master. Now build fails where a VTK-based library is configured. The error message is: include called with wrong number of arguments. include() only takes one file…

---

## [Compilation issue after migrating to VTK-8.2](https://discourse.vtk.org/t/compilation-issue-after-migrating-to-vtk-8-2/2082)

<div class="topic-metadata">

**Author:** [@efourkal](https://discourse.vtk.org/u/efourkal)\
**Replies:** 4\
**Last updated:** [November 11, 2019, 4:59pm UTC](https://discourse.vtk.org/t/compilation-issue-after-migrating-to-vtk-8-2/2082 "2019-11-11T16:59:00Z")

</div>

I have a research code that uses VTK-5.2 for visualization. In my Makefile I link specific VTK libraries for compilation. After installing VTK-8.2, the program does not compile. How do I need to change the Makefile to ma…

---

## [Python vtk: vtkImageImport method SetDataDirection() is not available in python vtk 8.2.0](https://discourse.vtk.org/t/python-vtk-vtkimageimport-method-setdatadirection-is-not-available-in-python-vtk-8-2-0/1837)

<div class="topic-metadata">

**Author:** [@vipulraikar](https://discourse.vtk.org/u/vipulraikar)\
**Replies:** 2\
**Last updated:** [November 10, 2019, 11:58pm UTC](https://discourse.vtk.org/t/python-vtk-vtkimageimport-method-setdatadirection-is-not-available-in-python-vtk-8-2-0/1837 "2019-11-10T23:58:37Z")

</div>

Hi Team, I have been trying to set the data direction for some volumes in vtkImageImport in python. The issue I am facing is that it’s not possible to access the method Set/GetDataDirection for the object of the type vt…

---

## [Prevent Renderer from Smoothing Image - Prefer to See Pixelated](https://discourse.vtk.org/t/prevent-renderer-from-smoothing-image-prefer-to-see-pixelated/2075)

<div class="topic-metadata">

**Author:** [@MichelleKline](https://discourse.vtk.org/u/MichelleKline)\
**Replies:** 6\
**Last updated:** [November 9, 2019, 8:26am UTC](https://discourse.vtk.org/t/prevent-renderer-from-smoothing-image-prefer-to-see-pixelated/2075 "2019-11-09T08:26:37Z")

</div>

Hello, I am displaying images in a vtkRenderWindow using vtkImageSlice (with a vtkImageResliceToColors mapper), a vtkImageStack, and a vtkRenderer. When the images render, they appear “smoothed”. If I zoom in on an in…

---

## [(Call for Participation) ISAV 2019: In Situ Infrastructures for Enabling Extreme-scale Analysis and Visualization](https://discourse.vtk.org/t/call-for-participation-isav-2019-in-situ-infrastructures-for-enabling-extreme-scale-analysis-and-visualization/2076)

<div class="topic-metadata">

**Author:** [@eduque](https://discourse.vtk.org/u/eduque)\
**Replies:** 0\
**Last updated:** [November 8, 2019, 9:55pm UTC](https://discourse.vtk.org/t/call-for-participation-isav-2019-in-situ-infrastructures-for-enabling-extreme-scale-analysis-and-visualization/2076 "2019-11-08T21:55:37Z")

</div>

ISAV 2019: In Situ Infrastructures for Enabling Extreme-scale Analysis and Visualization Held in conjunction with SC19: The International Conference on High Performance Computing, Networking, Storage, and Analysis. Mo…

---

## [improving VTK rendering speed on Windows virtual machines](https://discourse.vtk.org/t/improving-vtk-rendering-speed-on-windows-virtual-machines/2050)

<div class="topic-metadata">

**Author:** [@dmgroppe](https://discourse.vtk.org/u/dmgroppe)\
**Replies:** 2\
**Last updated:** [November 8, 2019, 9:45pm UTC](https://discourse.vtk.org/t/improving-vtk-rendering-speed-on-windows-virtual-machines/2050 "2019-11-08T21:45:59Z")

</div>

Hi all, I’m developing a VTK app for Windows but occasionally I want to run it on a Mac via a Windows virtual machine. When I run my app on Windows, VTK uses OpenGL2. However, to run the app on a Virtual Machine, I need …

---

## [VTK build fails: cannot open input file '..\\..\\lib\\Release\\vtkWrappingTools-8.90.lib'](https://discourse.vtk.org/t/vtk-build-fails-cannot-open-input-file-lib-release-vtkwrappingtools-8-90-lib/2074)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 4\
**Last updated:** [November 8, 2019, 4:31pm UTC](https://discourse.vtk.org/t/vtk-build-fails-cannot-open-input-file-lib-release-vtkwrappingtools-8-90-lib/2074 "2019-11-08T16:31:09Z")

</div>

I’m trying to build 3D Slicer with latest VTK master. I have hard time figuring out what how to translate previously used CMake options (VTK\_Group\_Qt, VTK\_ENABLE\_KITS, VTK\_USE\_PARALLEL, …) to the new build system. Is …

---

## [vtkGenericDataArray lookup](https://discourse.vtk.org/t/vtkgenericdataarray-lookup/2055)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 2\
**Last updated:** [November 8, 2019, 1:37pm UTC](https://discourse.vtk.org/t/vtkgenericdataarray-lookup/2055 "2019-11-08T13:37:32Z")

</div>

I was using the vtkIntArray::LookupValue on an array with repetitive values, similar to this: import vtk values = \[ 2, 2, 3, 3, 3, 8, 7, 8, 7, 8, 7, 6, 9, 6, 9, 6, 9\] array = vtk.vtkIntArray() for v in values: arr…

---

## [Need for Help.There are some errors while configuring VTK 6.2.0 using RHEL8](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-while-configuring-vtk-6-2-0-using-rhel8/2059)

<div class="topic-metadata">

**Author:** [@Manasa](https://discourse.vtk.org/u/Manasa)\
**Replies:** 1\
**Last updated:** [November 7, 2019, 7:40pm UTC](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-while-configuring-vtk-6-2-0-using-rhel8/2059 "2019-11-07T19:40:04Z")

</div>

While configuring and building VTK 6.2.0 using RHEL8 i am getting error in CMake like this: CMake Error at CMake/vtkCompilerExtras.cmake:42 (if): if given arguments: "cc: error: ARGS: No such file or directory …

---

## [vtkImageReslice execution speed difference](https://discourse.vtk.org/t/vtkimagereslice-execution-speed-difference/2064)

<div class="topic-metadata">

**Author:** [@Aisec](https://discourse.vtk.org/u/Aisec)\
**Replies:** 1\
**Last updated:** [November 7, 2019, 6:40pm UTC](https://discourse.vtk.org/t/vtkimagereslice-execution-speed-difference/2064 "2019-11-07T18:40:15Z")

</div>

Hello, I’m using vtkImageReslice to make oblique mpr for my application. The other day I found out that it takes couple times longer for filter to extract sagittal slices than coronal. Is it expected behavior?

---

## [Visualise 3D finite element data by slice](https://discourse.vtk.org/t/visualise-3d-finite-element-data-by-slice/1900)

<div class="topic-metadata">

**Author:** [@gib](https://discourse.vtk.org/u/gib)\
**Replies:** 2\
**Last updated:** [November 7, 2019, 12:07pm UTC](https://discourse.vtk.org/t/visualise-3d-finite-element-data-by-slice/1900 "2019-11-07T12:07:14Z")

</div>

I have a program that solves for scalar fields on a 3D finite element mesh, and I I want to be able to view slices, e.g. 2D field at a given value of z. Further, I want to display this within a Qt application. I assume…

---

## [missing VTKData](https://discourse.vtk.org/t/missing-vtkdata/1945)

<div class="topic-metadata">

**Author:** [@toddy](https://discourse.vtk.org/u/toddy)\
**Replies:** 16\
**Last updated:** [November 7, 2019, 1:40am UTC](https://discourse.vtk.org/t/missing-vtkdata/1945 "2019-11-07T01:40:32Z")

</div>

Is there an environment variable which needs to be set, so that when the tests are run they find data in ./ExternalData/Testing/Data? Or is it set in CMake? Thanks.

---

## [point rendering problem in vtkimageviewer2](https://discourse.vtk.org/t/point-rendering-problem-in-vtkimageviewer2/2058)

<div class="topic-metadata">

**Author:** [@sanidhya26](https://discourse.vtk.org/u/sanidhya26)\
**Replies:** 0\
**Last updated:** [November 6, 2019, 8:21pm UTC](https://discourse.vtk.org/t/point-rendering-problem-in-vtkimageviewer2/2058 "2019-11-06T20:21:37Z")

</div>

I am trying to render a point on vtkimageviewer2. I am using vtkpointpicker for selecting the point but sometimes the point is not visible on the slice I select it on. Here is my code: Picker initialization: worldPicke…

---

## [Error: Building VTK from Source - vtkWrapHierarchy](https://discourse.vtk.org/t/error-building-vtk-from-source-vtkwraphierarchy/2053)

<div class="topic-metadata">

**Author:** [@Nicholas\_Draper](https://discourse.vtk.org/u/Nicholas_Draper)\
**Replies:** 1\
**Last updated:** [November 6, 2019, 12:19pm UTC](https://discourse.vtk.org/t/error-building-vtk-from-source-vtkwraphierarchy/2053 "2019-11-06T12:19:50Z")

</div>

I cloned the VTK repository to my local machine. I created a build folder inside the cloned directory and ran the CMake file from within the build folder. I then ran make from within that build directory as well. I rece…

---

## [VTK Crash (through Point Cloud Library) - In vtkOpenGLIndexBufferObject::AppendPointIndexBuffer](https://discourse.vtk.org/t/vtk-crash-through-point-cloud-library-in-vtkopenglindexbufferobject-appendpointindexbuffer/1764)

<div class="topic-metadata">

**Author:** [@tmaslach](https://discourse.vtk.org/u/tmaslach)\
**Replies:** 1\
**Last updated:** [November 6, 2019, 11:12am UTC](https://discourse.vtk.org/t/vtk-crash-through-point-cloud-library-in-vtkopenglindexbufferobject-appendpointindexbuffer/1764 "2019-11-06T11:12:54Z")

</div>

Hi, I’m trying to diagnose a crash I’m running into while drawing a point cloud using the PCL library. The crash is happening in vtkOpenGLIndexBufferObject, in vtkOpenGLIndexBufferObject::AppendPointIndexBuffer. Speci…

---

## [after Reslice does the world coordinates of a point change?](https://discourse.vtk.org/t/after-reslice-does-the-world-coordinates-of-a-point-change/2048)

<div class="topic-metadata">

**Author:** [@Aravind](https://discourse.vtk.org/u/Aravind)\
**Replies:** 8\
**Last updated:** [November 6, 2019, 6:18am UTC](https://discourse.vtk.org/t/after-reslice-does-the-world-coordinates-of-a-point-change/2048 "2019-11-06T06:18:30Z")

</div>

Hello - I have run into some basic issues and unable to find a clear explanation of that on the web. I have a brain scan that i want to reorient such that I have the AC ( anterior commisure point in the brain ) and PC (…

---

## [A VTK Hackathon on November 6, 2019](https://discourse.vtk.org/t/a-vtk-hackathon-on-november-6-2019/1896)

<div class="topic-metadata">

**Author:** [@Dave\_DeMarle](https://discourse.vtk.org/u/Dave_DeMarle)\
**Replies:** 16\
**Last updated:** [November 6, 2019, 1:48am UTC](https://discourse.vtk.org/t/a-vtk-hackathon-on-november-6-2019/1896 "2019-11-06T01:48:00Z")

</div>

Hey developers, Who is in the mood for a hackathon? We could meet, both virtually and in person at Kitware’s NY headquarters, drink some coffee, do some coding, drink some more coffee, maybe do some informal presentatio…

---

## [Problem setting normals to polydata and TubeFilter](https://discourse.vtk.org/t/problem-setting-normals-to-polydata-and-tubefilter/2046)

<div class="topic-metadata">

**Author:** [@anon10073585](https://discourse.vtk.org/u/anon10073585)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 10:37pm UTC](https://discourse.vtk.org/t/problem-setting-normals-to-polydata-and-tubefilter/2046 "2019-11-05T22:37:43Z")

</div>

I can set my own normals to a polydata (lines) in vtk.js, and it works fine. But when I try to use a TubeFilter with said polydata, it doesn’t work; I can only generate the tube if I don’t set the normals. The program do…

---

## [What's the version of libtiff used in VTK 8.2.0](https://discourse.vtk.org/t/whats-the-version-of-libtiff-used-in-vtk-8-2-0/2039)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 6:52pm UTC](https://discourse.vtk.org/t/whats-the-version-of-libtiff-used-in-vtk-8-2-0/2039 "2019-11-05T18:52:26Z")

</div>

I am a beginner of VTK. I build VTK8.2.0 with mingw (for QT) in Windows. I have download the latest version libTiff from the link(http://download.osgeo.org/libtiff/). I have generate files successfully in CMake. I chose …

---

## [rendering slows down](https://discourse.vtk.org/t/rendering-slows-down/226)

<div class="topic-metadata">

**Author:** [@kondreti](https://discourse.vtk.org/u/kondreti)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 3:16pm UTC](https://discourse.vtk.org/t/rendering-slows-down/226 "2019-11-05T15:16:28Z")

</div>

Adding same actor multiple times on first time added point cloud is ok. After that I have attached another point cloud, but now rendering and all other operations slowed down (even i have removes all actors). Any suggest…

---

## [Anaglyph rendering bug?](https://discourse.vtk.org/t/anaglyph-rendering-bug/1887)

<div class="topic-metadata">

**Author:** [@dmgroppe](https://discourse.vtk.org/u/dmgroppe)\
**Replies:** 2\
**Last updated:** [November 5, 2019, 4:54pm UTC](https://discourse.vtk.org/t/anaglyph-rendering-bug/1887 "2019-11-05T16:54:47Z")

</div>

Hi all, I’m trying to render a raycast volume with some polydata (spheres and tubes) in 3D with VTK’s anaglyph functionality. I set the render window’s stereo type to the default red-cyan anaglyph with the SetStereoType…

---

## [What best to pick and move actor?](https://discourse.vtk.org/t/what-best-to-pick-and-move-actor/2024)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 8:23am UTC](https://discourse.vtk.org/t/what-best-to-pick-and-move-actor/2024 "2019-11-05T08:23:45Z")

</div>

I have seen vtkInteractorStyleTrackballActor approach. But can’t use two styles vtkInteractorStyleTrackballActor and vtkInteractorStyleTrackballCamera at same time. What will be best way to achieve the movement of an act…

---

## [VTK Surface creation with vtkExtractSurface](https://discourse.vtk.org/t/vtk-surface-creation-with-vtkextractsurface/2041)

<div class="topic-metadata">

**Author:** [@gishu](https://discourse.vtk.org/u/gishu)\
**Replies:** 0\
**Last updated:** [November 5, 2019, 8:05am UTC](https://discourse.vtk.org/t/vtk-surface-creation-with-vtkextractsurface/2041 "2019-11-05T08:05:44Z")

</div>

Dear all, I have a set of unstructured points that lies on a surface. I want to create a surface, I am using below example: http://www.kwwidgets.com/Wiki/VTK/Examples/Cxx/Points/ExtractSurfaceDemo However the mesh is…

---

## [Import multiple images using vtkImageImport](https://discourse.vtk.org/t/import-multiple-images-using-vtkimageimport/1991)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 8\
**Last updated:** [November 4, 2019, 11:52pm UTC](https://discourse.vtk.org/t/import-multiple-images-using-vtkimageimport/1991 "2019-11-04T23:52:15Z")

</div>

Hello. I have to implement MPR using VTK. With the help of my last question, I succeeded in converting PixelData (c-style) read with a third-party DicomReader to vtkImageData using vtkImageImport. However, I want to l…

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

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