# Latest

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

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

**Page:** 255

---

## [Dashboard Outage Wednesday March 27th](https://discourse.vtk.org/t/dashboard-outage-wednesday-march-27th/606)

<div class="topic-metadata">

**Author:** [@RobertMaynard](https://discourse.vtk.org/u/RobertMaynard)\
**Replies:** 0\
**Last updated:** [March 26, 2019, 3:07pm UTC](https://discourse.vtk.org/t/dashboard-outage-wednesday-march-27th/606 "2019-03-26T15:07:39Z")

</div>

Hi, A collection of the VTK Dashboards will experience an outage Wednesday morning as we transition them to a location with a KVM. I expect the dashboards to be down between 7:30am Eastern and 9:30am Eastern.

---

## [dejagore OpenMP](https://discourse.vtk.org/t/dejagore-openmp/417)

<div class="topic-metadata">

**Author:** [@ken-martin](https://discourse.vtk.org/u/ken-martin)\
**Replies:** 2\
**Last updated:** [March 26, 2019, 3:04pm UTC](https://discourse.vtk.org/t/dejagore-openmp/417 "2019-03-26T15:04:44Z")

</div>

It looks like the VTK dejagore dashboard requires OpenMP 4.0 but it is finding OpenMP 3.1 causing a number of test failures. Can someone take a look at updating the OpenMP on that system?

---

## [Error building 8.2.0 on macOS Mojave](https://discourse.vtk.org/t/error-building-8-2-0-on-macos-mojave/604)

<div class="topic-metadata">

**Author:** [@langer](https://discourse.vtk.org/u/langer)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 9:02pm UTC](https://discourse.vtk.org/t/error-building-8-2-0-on-macos-mojave/604 "2019-03-25T21:02:19Z")

</div>

Hi – When building VTK 8.2.0 on macOS Mojave, configured with VTK\_USE\_X=ON and VTK\_USE\_COCOA=OFF, I get this error: \[ 42%\] Linking CXX shared library ../../lib/libvtkRenderingOpenGL2-8.2.dylib Undefined symbols for a…

---

## [Error handling](https://discourse.vtk.org/t/error-handling/603)

<div class="topic-metadata">

**Author:** [@michal.wozniak](https://discourse.vtk.org/u/michal.wozniak)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 4:36pm UTC](https://discourse.vtk.org/t/error-handling/603 "2019-03-25T16:36:11Z")

</div>

Hi, What is the best way to handle VTK errors while chaining multiple VTK filters? Use vtkErrorCode to add specific error code and then do const bool result = filter-\>GetErrorCode() == vtkErrorCode ::NoError; //co…

---

## [ModuleNotFoundError: No module named 'vtkCommonKitPython'](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595)

<div class="topic-metadata">

**Author:** [@mat](https://discourse.vtk.org/u/mat)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 12:46pm UTC](https://discourse.vtk.org/t/modulenotfounderror-no-module-named-vtkcommonkitpython/595 "2019-03-25T12:46:30Z")

</div>

Hello all, On a windows 7 64 bits computer, I installed pyhton 3.7.1. then in a command prompt I installed vtk with the command: pip3 install vtk This instaled vtk correctly as far as I can tell. But then in pytho…

---

## [how to filter points within polygon on 3d data in any view](https://discourse.vtk.org/t/how-to-filter-points-within-polygon-on-3d-data-in-any-view/600)

<div class="topic-metadata">

**Author:** [@kondreti](https://discourse.vtk.org/u/kondreti)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 11:39am UTC](https://discourse.vtk.org/t/how-to-filter-points-within-polygon-on-3d-data-in-any-view/600 "2019-03-25T11:39:35Z")

</div>

filter points within polygon on 3d data

---

## [Multiple .VTR files](https://discourse.vtk.org/t/multiple-vtr-files/586)

<div class="topic-metadata">

**Author:** [@S97](https://discourse.vtk.org/u/S97)\
**Replies:** 4\
**Last updated:** [March 21, 2019, 11:09pm UTC](https://discourse.vtk.org/t/multiple-vtr-files/586 "2019-03-21T23:09:32Z")

</div>

Hello, I am after some guidance on where to go with my project… I currently have a python pre processing file that reads a netCDF and generates a .vtr rectilinear grid which I then read in, to another python vtk file w…

---

## [Use VTK python with several CPUs](https://discourse.vtk.org/t/use-vtk-python-with-several-cpus/591)

<div class="topic-metadata">

**Author:** [@quentin\_douasbin](https://discourse.vtk.org/u/quentin_douasbin)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 10:07pm UTC](https://discourse.vtk.org/t/use-vtk-python-with-several-cpus/591 "2019-03-21T22:07:17Z")

</div>

Hi, I am using the vtk python module. It is awesome and I love it. I use VTK as a postprocessing tool for computing gradients of vector quantities in large unstructured meshes (typically tens of million cells). I heard…

---

## [Query to import nifty image in lut color](https://discourse.vtk.org/t/query-to-import-nifty-image-in-lut-color/588)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 5:08pm UTC](https://discourse.vtk.org/t/query-to-import-nifty-image-in-lut-color/588 "2019-03-21T17:08:01Z")

</div>

Hi, I am working on doing segmentation on medical images using neural networks and was trying to see if setting windowing to right levels helps in training the net to get better results. I was able to implement the look…

---

## [Intersect (vertical) line segment with triangulated surface (topo)](https://discourse.vtk.org/t/intersect-vertical-line-segment-with-triangulated-surface-topo/547)

<div class="topic-metadata">

**Author:** [@cobo](https://discourse.vtk.org/u/cobo)\
**Replies:** 3\
**Last updated:** [March 21, 2019, 4:17pm UTC](https://discourse.vtk.org/t/intersect-vertical-line-segment-with-triangulated-surface-topo/547 "2019-03-21T16:17:20Z")

</div>

What I want to achieve: I have a topo surface (triangulated, “2.5D” type) and a point, and I want to find the relative position of the point to that topo: is it outside the boundary of the topo or inside? if it is insi…

---

## [Memory problem when reading large files](https://discourse.vtk.org/t/memory-problem-when-reading-large-files/511)

<div class="topic-metadata">

**Author:** [@Oleg](https://discourse.vtk.org/u/Oleg)\
**Replies:** 9\
**Last updated:** [March 21, 2019, 4:02pm UTC](https://discourse.vtk.org/t/memory-problem-when-reading-large-files/511 "2019-03-21T16:02:02Z")

</div>

I have a certain problem reading large files that previously have been generated in a vtk application (VTK-7.1.1 64 bits). In this particular case I generated a model with 100 million points in double precision and a sca…

---

## [Multiple viewport interact problem on Mac python](https://discourse.vtk.org/t/multiple-viewport-interact-problem-on-mac-python/584)

<div class="topic-metadata">

**Author:** [@artzers](https://discourse.vtk.org/u/artzers)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 2:34pm UTC](https://discourse.vtk.org/t/multiple-viewport-interact-problem-on-mac-python/584 "2019-03-21T14:34:22Z")

</div>

Hi, I use python-VTK and pythonQT5 to build multiple viewport application. On windows, everything is OK. I can interact with vtk actor in corresponding viewport due to the mouse cursor position. But on Mac, I can just i…

---

## [vtkMultiThreshold strange API](https://discourse.vtk.org/t/vtkmultithreshold-strange-api/510)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 4\
**Last updated:** [March 21, 2019, 1:55pm UTC](https://discourse.vtk.org/t/vtkmultithreshold-strange-api/510 "2019-03-21T13:55:01Z")

</div>

Folks and @dcthomp First, vtkMultiThreshold is a very interesting and useful class. I notice the only place it is used in vtk is in its unit test I decided to write an example: CellsInsideObject The filter documentati…

---

## [What are vtkWeb and vtk.js?](https://discourse.vtk.org/t/what-are-vtkweb-and-vtk-js/530)

<div class="topic-metadata">

**Author:** [@tdchen](https://discourse.vtk.org/u/tdchen)\
**Replies:** 5\
**Last updated:** [March 20, 2019, 4:44pm UTC](https://discourse.vtk.org/t/what-are-vtkweb-and-vtk-js/530 "2019-03-20T16:44:09Z")

</div>

I think vtkWeb uses the python as the server-side language to make web vtk application. And vtk.js uses the Javascript as the server-side language to make web vtk application. Is that true? If it is. Does vtkWeb need…

---

## [mouse coordinates from a 3d volume with wrong y](https://discourse.vtk.org/t/mouse-coordinates-from-a-3d-volume-with-wrong-y/543)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 3:24pm UTC](https://discourse.vtk.org/t/mouse-coordinates-from-a-3d-volume-with-wrong-y/543 "2019-03-20T15:24:06Z")

</div>

Dear all, I want to get the positions of a volume using the mouse for segmentation. But the y coordinate is wrong. I only get the x and z fine but the depth (y) is not correct. I use this code to get the position. Is t…

---

## [No mode name 'VtkRendingQt' on Mac mini](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.vtk.org/u/fqzhice)\
**Replies:** 4\
**Last updated:** [March 19, 2019, 6:24pm UTC](https://discourse.vtk.org/t/no-mode-name-vtkrendingqt-on-mac-mini/513 "2019-03-19T18:24:22Z")

</div>

In terminal, it occurs when run python3 and import vtk after compiling VTK 8.2 branch in Mac mini and run ‘make install’. configure: MacOS: Mojave, Mac mini(2018), Graphic Card:Intel UHD Graphics 630 1536MB Python 3.…

---

## [theora in VTK 8.2.0 produces an error](https://discourse.vtk.org/t/theora-in-vtk-8-2-0-produces-an-error/515)

<div class="topic-metadata">

**Author:** [@Kenta\_Kabashima](https://discourse.vtk.org/u/Kenta_Kabashima)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 6:23pm UTC](https://discourse.vtk.org/t/theora-in-vtk-8-2-0-produces-an-error/515 "2019-03-19T18:23:11Z")

</div>

I’m using VTK 8.2.0 with Visual Studio 2017. When using debug build of VTK, an error about use of an uninitialized variable was detected at line 326 in “ThirdParty\\theora\\vtktheora\\lib\\analyze.c” as follows: static voi…

---

## [Compile vtk-master fails in Mac mini 2018](https://discourse.vtk.org/t/compile-vtk-master-fails-in-mac-mini-2018/517)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.vtk.org/u/fqzhice)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 6:21pm UTC](https://discourse.vtk.org/t/compile-vtk-master-fails-in-mac-mini-2018/517 "2019-03-19T18:21:27Z")

</div>

python 3.6 Qt5.11

---

## [visualize axial,coronal and sagittal slices using "imageSlicing.cxx'' example](https://discourse.vtk.org/t/visualize-axial-coronal-and-sagittal-slices-using-imageslicing-cxx-example/534)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 0\
**Last updated:** [March 19, 2019, 5:08pm UTC](https://discourse.vtk.org/t/visualize-axial-coronal-and-sagittal-slices-using-imageslicing-cxx-example/534 "2019-03-19T17:08:19Z")

</div>

Hi guys, I’m very new to VTK. What i want to do is use the ‘imageSlicing’ example and adapt it at my needs: I have to do what the example does (cut a 3D volume in slices), but also i have to show the 3 different slices …

---

## [How to create a vtkUnstructuredGrid in parallel](https://discourse.vtk.org/t/how-to-create-a-vtkunstructuredgrid-in-parallel/532)

<div class="topic-metadata">

**Author:** [@SergeLalonde](https://discourse.vtk.org/u/SergeLalonde)\
**Replies:** 0\
**Last updated:** [March 19, 2019, 2:31pm UTC](https://discourse.vtk.org/t/how-to-create-a-vtkunstructuredgrid-in-parallel/532 "2019-03-19T14:31:08Z")

</div>

Is it possible to initialize a vtkUnstructured grid in parallel? Ex: using OpenMP. The InsertNextCell() method is definitely not thread safe, even if Allocate() is called beforehand. If there was a SetCell(vtkIdType id…

---

## [Who opened the window for vtk python examples?](https://discourse.vtk.org/t/who-opened-the-window-for-vtk-python-examples/529)

<div class="topic-metadata">

**Author:** [@tdchen](https://discourse.vtk.org/u/tdchen)\
**Replies:** 0\
**Last updated:** [March 19, 2019, 8:53am UTC](https://discourse.vtk.org/t/who-opened-the-window-for-vtk-python-examples/529 "2019-03-19T08:53:14Z")

</div>

As I understand python has no function for drawing and window. So I want to know who is opening the window for vtk python examples? Is it TK or QT? For sometimes, you can’t run vtk python examples, untill you set QT d…

---

## [VTK produces aliased images when off-screen rendering is on. How do we get rid of it ?](https://discourse.vtk.org/t/vtk-produces-aliased-images-when-off-screen-rendering-is-on-how-do-we-get-rid-of-it/398)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.vtk.org/u/singularity)\
**Replies:** 7\
**Last updated:** [March 18, 2019, 4:57pm UTC](https://discourse.vtk.org/t/vtk-produces-aliased-images-when-off-screen-rendering-is-on-how-do-we-get-rid-of-it/398 "2019-03-18T16:57:15Z")

</div>

Hi. I do not understand why VTK produces aliased images when rendering off screen. I have the following code #include \<vtkCamera.h\> #include \<vtkConeSource.h\> #include \<vtkNamedColors.h\> #include \<vtkNew.h\> #include \<vt…

---

## [Filter vertices using a implicit function](https://discourse.vtk.org/t/filter-vertices-using-a-implicit-function/503)

<div class="topic-metadata">

**Author:** [@lmainguy](https://discourse.vtk.org/u/lmainguy)\
**Replies:** 6\
**Last updated:** [March 18, 2019, 3:33pm UTC](https://discourse.vtk.org/t/filter-vertices-using-a-implicit-function/503 "2019-03-18T15:33:09Z")

</div>

Hi, I’d like to select the vertices of a polydata, and their associated triangles, based on a condition using an implicit function. So it would be something like select my vertice if its position satisfies an inequality…

---

## [CannyEdge PolyData to ImageData](https://discourse.vtk.org/t/cannyedge-polydata-to-imagedata/509)

<div class="topic-metadata">

**Author:** [@pettaa123](https://discourse.vtk.org/u/pettaa123)\
**Replies:** 0\
**Last updated:** [March 17, 2019, 6:47pm UTC](https://discourse.vtk.org/t/cannyedge-polydata-to-imagedata/509 "2019-03-17T18:47:08Z")

</div>

Hi, is there a elegant way from the CannyEdgeDetector example vtkPolyData to vtkImageData? I would like to add the edge result to a vtkImageActor, to forces the camera to stay perpendicular to the x-y plane. The vtkPo…

---

## [.vtr Import & Isosurfaces](https://discourse.vtk.org/t/vtr-import-isosurfaces/506)

<div class="topic-metadata">

**Author:** [@S97](https://discourse.vtk.org/u/S97)\
**Replies:** 3\
**Last updated:** [March 17, 2019, 3:48pm UTC](https://discourse.vtk.org/t/vtr-import-isosurfaces/506 "2019-03-17T15:48:56Z")

</div>

Hello all, I was wondering if I could get some help/clarification on a few things. I have a 30x30x30 rectilinear grid vtk file, this has been pre generated using the pyevtk python extension(GridToVtk). I have successfu…

---

## [import 3D volume from ITK to VTK](https://discourse.vtk.org/t/import-3d-volume-from-itk-to-vtk/497)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 12\
**Last updated:** [March 17, 2019, 8:13am UTC](https://discourse.vtk.org/t/import-3d-volume-from-itk-to-vtk/497 "2019-03-17T08:13:12Z")

</div>

Hi guys! I’ve managed to read 200 DICOM files and use them to compose a volume…how can i pass this volume to VTK in order to actually see it? Thank u all for your answer :slight\_smile:

---

## [Scroll through 2d slices of 3d volume - ultrasound .mhd file](https://discourse.vtk.org/t/scroll-through-2d-slices-of-3d-volume-ultrasound-mhd-file/102)

<div class="topic-metadata">

**Author:** [@swetha](https://discourse.vtk.org/u/swetha)\
**Replies:** 3\
**Last updated:** [March 15, 2019, 6:37pm UTC](https://discourse.vtk.org/t/scroll-through-2d-slices-of-3d-volume-ultrasound-mhd-file/102 "2019-03-15T18:37:08Z")

</div>

Hi , I am new to vtk ,I want to display a 3d volume of .mhd file. I reused the following code which I got off the net ,made some changes to support vtk6.\` /\*==============================================================…

---

## [Building vtkDICOM as a Remote VTK Module with Java Wrapping fails](https://discourse.vtk.org/t/building-vtkdicom-as-a-remote-vtk-module-with-java-wrapping-fails/491)

<div class="topic-metadata">

**Author:** [@lars\_matthaeus](https://discourse.vtk.org/u/lars_matthaeus)\
**Replies:** 3\
**Last updated:** [March 15, 2019, 3:51pm UTC](https://discourse.vtk.org/t/building-vtkdicom-as-a-remote-vtk-module-with-java-wrapping-fails/491 "2019-03-15T15:51:25Z")

</div>

I’m trying to build VTK on Windows with VS 2017 (x64, Release). I have enabled the vtkDicom module in CMAKE as well as the VTK\_WRAP\_JAVA option (Java 1.8). When building the solution in VS, I get a linker error for the v…

---

## [Improve const correctness of vtkAbstractDataArray, vtkPoints and derived classes](https://discourse.vtk.org/t/improve-const-correctness-of-vtkabstractdataarray-vtkpoints-and-derived-classes/404)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.vtk.org/u/phcerdan)\
**Replies:** 9\
**Last updated:** [March 13, 2019, 3:45pm UTC](https://discourse.vtk.org/t/improve-const-correctness-of-vtkabstractdataarray-vtkpoints-and-derived-classes/404 "2019-03-13T15:45:49Z")

</div>

vtkPoints::GetNumberOfPoints(), vtkAbstractDataArray::GetNumberOfTuples are not constant. This impedes to be const correct, void ReadPoints(const vtkPoints \*read\_only\_points) { auto npoints = read\_only\_points-\>…

---

## [Point data from \`vtkProbeFilter\` lost after \`vtkSelectEnclosedPoints\`](https://discourse.vtk.org/t/point-data-from-vtkprobefilter-lost-after-vtkselectenclosedpoints/130)

<div class="topic-metadata">

**Author:** [@romangrothausmann](https://discourse.vtk.org/u/romangrothausmann)\
**Replies:** 1\
**Last updated:** [March 15, 2019, 9:20am UTC](https://discourse.vtk.org/t/point-data-from-vtkprobefilter-lost-after-vtkselectenclosedpoints/130 "2019-03-15T09:20:38Z")

</div>

Hi. It seems that point data from vtkProbeFilter (e.g. MetaImage from probing an MHA with a VTP) is lost when processed afterwards with vtkSelectEnclosedPoints (only contains SelectedPoints and vktValidPointMask). Since…

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

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