# Latest

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

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

**Page:** 178

---

## [get intersection between 2 obj](https://discourse.vtk.org/t/get-intersection-between-2-obj/5699)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.vtk.org/u/RAUMIK_RANA)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 11:57am UTC](https://discourse.vtk.org/t/get-intersection-between-2-obj/5699 "2021-05-04T11:57:35Z")

</div>

I am trying to get intersection between 2 obj files. first one is sphere and second one is cylinder. I am using ‘vtkCollisionDetectionFilter’ for that. but I did not get it. I got 0 points in polyData. here is my co…

---

## [Encrypt stl](https://discourse.vtk.org/t/encrypt-stl/5672)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 2\
**Last updated:** [May 4, 2021, 8:48am UTC](https://discourse.vtk.org/t/encrypt-stl/5672 "2021-05-04T08:48:56Z")

</div>

Hello, I have a doubt, I have a database with stls you can use in the software and select them and the vtk reads the stl. But everybody that has the software, can copy the stls. Is there something in vtk, to encrypt it …

---

## [Error while Running CMAKE configure on VTK9.0 in Ubuntu](https://discourse.vtk.org/t/error-while-running-cmake-configure-on-vtk9-0-in-ubuntu/5688)

<div class="topic-metadata">

**Author:** [@Homersbm](https://discourse.vtk.org/u/Homersbm)\
**Replies:** 2\
**Last updated:** [May 4, 2021, 5:32am UTC](https://discourse.vtk.org/t/error-while-running-cmake-configure-on-vtk9-0-in-ubuntu/5688 "2021-05-04T05:32:59Z")

</div>

Environment: Ubuntu:20.04.2 LST Compiler: G++ 9.3.0 CMAKE Version: 3.20.2 - Generator - Unix MakeFIles vtk version: 9 I get the following error: Could NOT find X11 (missing: Xt) CMake Error at CMake/vtkModule.cmake:4…

---

## [Segfault while finding intersection of vtkPolyData with python](https://discourse.vtk.org/t/segfault-while-finding-intersection-of-vtkpolydata-with-python/317)

<div class="topic-metadata">

**Author:** [@dimkal](https://discourse.vtk.org/u/dimkal)\
**Replies:** 5\
**Last updated:** [May 4, 2021, 1:54am UTC](https://discourse.vtk.org/t/segfault-while-finding-intersection-of-vtkpolydata-with-python/317 "2021-05-04T01:54:33Z")

</div>

Visualizing two polyData objects, I see that they overlap, however, I cannot calculate their intersection with VTK in python. What am I doing wrong??? I get the following error: $ python test.py VOLUME of probe1: 8.3…

---

## [CMAKE Generation issue in Ubuntu](https://discourse.vtk.org/t/cmake-generation-issue-in-ubuntu/5687)

<div class="topic-metadata">

**Author:** [@Homersbm](https://discourse.vtk.org/u/Homersbm)\
**Replies:** 4\
**Last updated:** [May 3, 2021, 12:59pm UTC](https://discourse.vtk.org/t/cmake-generation-issue-in-ubuntu/5687 "2021-05-03T12:59:49Z")

</div>

I am having trouble generating cmake files in ubuntu. Can someone help with the Compatibility metrics of the various vtx versions VTK Version G++ version Cmake Version 9 -----------?-----------------------? 8…

---

## [VTK find\_package fails with includes](https://discourse.vtk.org/t/vtk-find-package-fails-with-includes/5671)

<div class="topic-metadata">

**Author:** [@nparent](https://discourse.vtk.org/u/nparent)\
**Replies:** 12\
**Last updated:** [May 3, 2021, 10:55am UTC](https://discourse.vtk.org/t/vtk-find-package-fails-with-includes/5671 "2021-05-03T10:55:35Z")

</div>

Hi, I am facing an issue with the includes in my code. In my CMakeLists.txt I first create a library, then an executable which include vtk headers. If I remove the add\_library (so far my executable does not depend on i…

---

## [VTK 9 and Java- vtk.jar not automatically generated. Also location of wrapper dlls](https://discourse.vtk.org/t/vtk-9-and-java-vtk-jar-not-automatically-generated-also-location-of-wrapper-dlls/3354)

<div class="topic-metadata">

**Author:** [@eclrgp](https://discourse.vtk.org/u/eclrgp)\
**Replies:** 17\
**Last updated:** [May 2, 2021, 5:46am UTC](https://discourse.vtk.org/t/vtk-9-and-java-vtk-jar-not-automatically-generated-also-location-of-wrapper-dlls/3354 "2021-05-02T05:46:41Z")

</div>

Using Visual Studio ( actually 2019 but I also have 2017) and using cmake 3.17.2 on Windows 10 1909 The step to compile the java wrappers and build vtk.jar seems not to be run although the rest of the build happens. Th…

---

## [vtkAssembly and vtkExporter](https://discourse.vtk.org/t/vtkassembly-and-vtkexporter/5679)

<div class="topic-metadata">

**Author:** [@a-u](https://discourse.vtk.org/u/a-u)\
**Replies:** 0\
**Last updated:** [May 1, 2021, 11:13pm UTC](https://discourse.vtk.org/t/vtkassembly-and-vtkexporter/5679 "2021-05-01T23:13:45Z")

</div>

I’m trying to export an assembly to e.g. gltf but all the positions and colors are lost. It does render correctly before exporting. Is this to be expected? import vtk renderer = vtk.vtkRenderer() renderWindow = vtk.vtk…

---

## [Problems aligning oblique slice with objects in scene](https://discourse.vtk.org/t/problems-aligning-oblique-slice-with-objects-in-scene/5668)

<div class="topic-metadata">

**Author:** [@Egredior](https://discourse.vtk.org/u/Egredior)\
**Replies:** 1\
**Last updated:** [May 1, 2021, 8:56pm UTC](https://discourse.vtk.org/t/problems-aligning-oblique-slice-with-objects-in-scene/5668 "2021-05-01T20:56:20Z")

</div>

Hello, I am trying to render oblique slices from a DICOM with an object in the scene in the right spot and orientation. I know where the object is in DICOM space, and have a 4x4 matrix for it. I have calculated axial, s…

---

## [vtkObject and C++ const-ness - not possible?](https://discourse.vtk.org/t/vtkobject-and-c-const-ness-not-possible/4942)

<div class="topic-metadata">

**Author:** [@dsemikin](https://discourse.vtk.org/u/dsemikin)\
**Replies:** 6\
**Last updated:** [May 1, 2021, 8:48am UTC](https://discourse.vtk.org/t/vtkobject-and-c-const-ness-not-possible/4942 "2021-05-01T08:48:18Z")

</div>

Hello, I just wanted to be sure on this topic: is it correct, that VTK basically gives up on using const-ness in C++ sense? For example, it is not meaningful to e.g. implement an algorithm, which would expost its resul…

---

## [Making an arcball camera in vtk python](https://discourse.vtk.org/t/making-an-arcball-camera-in-vtk-python/5658)

<div class="topic-metadata">

**Author:** [@Kiordestruk\_k](https://discourse.vtk.org/u/Kiordestruk_k)\
**Replies:** 6\
**Last updated:** [May 1, 2021, 3:45am UTC](https://discourse.vtk.org/t/making-an-arcball-camera-in-vtk-python/5658 "2021-05-01T03:45:10Z")

</div>

Hello, I am trying to modify the Rotate() function of vtkInteractorStyleTrackballCamera in order to obtain an arcball camera instead of a trackball camera. The advantage of arcball camera is path invariance, as describ…

---

## [Re-divide surface to get similar-sized cell](https://discourse.vtk.org/t/re-divide-surface-to-get-similar-sized-cell/5621)

<div class="topic-metadata">

**Author:** [@cbhushan](https://discourse.vtk.org/u/cbhushan)\
**Replies:** 5\
**Last updated:** [April 30, 2021, 4:36pm UTC](https://discourse.vtk.org/t/re-divide-surface-to-get-similar-sized-cell/5621 "2021-04-30T16:36:04Z")

</div>

I am looking for some suggestions of how to achieve this: Re-divide a surface (polydata with only triangles) to get similar-sized cells with minimal change from the original surface. May be I am overlooking something, bu…

---

## [Python 3.9](https://discourse.vtk.org/t/python-3-9/4369)

<div class="topic-metadata">

**Author:** [@axh](https://discourse.vtk.org/u/axh)\
**Replies:** 3\
**Last updated:** [April 30, 2021, 10:44am UTC](https://discourse.vtk.org/t/python-3-9/4369 "2021-04-30T10:44:42Z")

</div>

Will there be Python 3.9 pre-built binary wheels as you have for Python 3.8?

---

## [TimeSteps on vtkMultiBlockDataSet](https://discourse.vtk.org/t/timesteps-on-vtkmultiblockdataset/5670)

<div class="topic-metadata">

**Author:** [@j-miguel](https://discourse.vtk.org/u/j-miguel)\
**Replies:** 0\
**Last updated:** [April 30, 2021, 4:52am UTC](https://discourse.vtk.org/t/timesteps-on-vtkmultiblockdataset/5670 "2021-04-30T04:52:21Z")

</div>

Hi there, I’m currently trying to implement some animations on top of our current Vtk system. So far, I’ve been using the Interactor Timer Event and updating my data manually but now I need to interpolate my Series. I…

---

## [vtkOpenGLSphereMapper not working (or perhaps not understood how it works)](https://discourse.vtk.org/t/vtkopenglspheremapper-not-working-or-perhaps-not-understood-how-it-works/5665)

<div class="topic-metadata">

**Author:** [@Guillaume\_Gillet](https://discourse.vtk.org/u/Guillaume_Gillet)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 12:42pm UTC](https://discourse.vtk.org/t/vtkopenglspheremapper-not-working-or-perhaps-not-understood-how-it-works/5665 "2021-04-29T12:42:12Z")

</div>

So i wanted to make some memory used and time of rendering tests with 3D points, to display them i needed them to be spheres, i first used the glyph3d Filter but it turns out when you go over a million points it takes wa…

---

## [How to calculate the surface area generated from vtkCutter?](https://discourse.vtk.org/t/how-to-calculate-the-surface-area-generated-from-vtkcutter/5662)

<div class="topic-metadata">

**Author:** [@x2778768](https://discourse.vtk.org/u/x2778768)\
**Replies:** 0\
**Last updated:** [April 29, 2021, 9:54am UTC](https://discourse.vtk.org/t/how-to-calculate-the-surface-area-generated-from-vtkcutter/5662 "2021-04-29T09:54:13Z")

</div>

Hi, I’m using vtkCutter to cut my 3d model(vtkPolydata). Through this I get a cutter surface. Now I want to calculate the area of the surface. Here is a part of my code: vtkSmartPointer\<vtkCutter\> Cutter = vtkS…

---

## [vtk 9.0.1 build problems](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652)

<div class="topic-metadata">

**Author:** [@bhb2048](https://discourse.vtk.org/u/bhb2048)\
**Replies:** 2\
**Last updated:** [April 28, 2021, 1:36pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652 "2021-04-28T13:36:43Z")

</div>

I downloaded and unpacked vtk-9.0.1. I used cmake in a ‘build’ subdirectory to create the Makefile with ‘Debug’ on. I’m getting several ‘use of deleted function’ errors. The first is: \[ 2%\] Building CXX object Commo…

---

## [Creating multiple lines in vtk python](https://discourse.vtk.org/t/creating-multiple-lines-in-vtk-python/5644)

<div class="topic-metadata">

**Author:** [@jamesnoel](https://discourse.vtk.org/u/jamesnoel)\
**Replies:** 1\
**Last updated:** [April 28, 2021, 11:47am UTC](https://discourse.vtk.org/t/creating-multiple-lines-in-vtk-python/5644 "2021-04-28T11:47:02Z")

</div>

Hello Everyone, I am a relatively new user to vtk and I am trying to insert multiple lines into my polyData object to later apply the tubefilter.I have seen suggestions on how to do this in c++ plus not for python. Does…

---

## [Write 1D structure for paraview](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646)

<div class="topic-metadata">

**Author:** [@nparent](https://discourse.vtk.org/u/nparent)\
**Replies:** 2\
**Last updated:** [April 27, 2021, 12:20pm UTC](https://discourse.vtk.org/t/write-1d-structure-for-paraview/5646 "2021-04-27T12:20:39Z")

</div>

Hello, I am trying to read files generated by ExportPolyDataScene with paraview …unsuccessfully. Any idea why ? More generally, I have a slender 1D structure (yarn, rod, hair, beam) given in terms of its centerline an…

---

## [TBB build](https://discourse.vtk.org/t/tbb-build/5636)

<div class="topic-metadata">

**Author:** [@zdwei](https://discourse.vtk.org/u/zdwei)\
**Replies:** 4\
**Last updated:** [April 27, 2021, 1:48am UTC](https://discourse.vtk.org/t/tbb-build/5636 "2021-04-27T01:48:17Z")

</div>

Does anybody know what path we need here？？

---

## [VTK9 behavior of vtkRenderWindowInteractor](https://discourse.vtk.org/t/vtk9-behavior-of-vtkrenderwindowinteractor/5587)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 11\
**Last updated:** [April 26, 2021, 8:39am UTC](https://discourse.vtk.org/t/vtk9-behavior-of-vtkrenderwindowinteractor/5587 "2021-04-26T08:39:18Z")

</div>

With vtk\<9 I could interact with 2 independent rendering windows, eg.: import vtk cone = vtk.vtkConeSource() cone.Update() coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInputData(cone.GetOutput()) coneActor = vtk.…

---

## [Models served from a servlet](https://discourse.vtk.org/t/models-served-from-a-servlet/5628)

<div class="topic-metadata">

**Author:** [@no2497](https://discourse.vtk.org/u/no2497)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 8:04am UTC](https://discourse.vtk.org/t/models-served-from-a-servlet/5628 "2021-04-26T08:04:46Z")

</div>

Hi! I’m writing here because I need some help with the HttpDataSetReader. The situation is as follows: the server I’m using generates the model as the HttpDataSetReader wants (with the index.json and the data folder) an…

---

## [Hole in a hollow cylinder](https://discourse.vtk.org/t/hole-in-a-hollow-cylinder/5597)

<div class="topic-metadata">

**Author:** [@Anish\_Basnet](https://discourse.vtk.org/u/Anish_Basnet)\
**Replies:** 5\
**Last updated:** [April 26, 2021, 7:59am UTC](https://discourse.vtk.org/t/hole-in-a-hollow-cylinder/5597 "2021-04-26T07:59:22Z")

</div>

Hello everyone, I have created a disk by cutting a plane source with 2 cylinders. Then created a Hollow cylinder using an Extrusion filter. When I tried to cut a hole in the cylinder using vtkCylinder, it doesn’t work. …

---

## [How to get the 'aspect' property of the Renderer in VTK.js.](https://discourse.vtk.org/t/how-to-get-the-aspect-property-of-the-renderer-in-vtk-js/5641)

<div class="topic-metadata">

**Author:** [@MountainAndMorning](https://discourse.vtk.org/u/MountainAndMorning)\
**Replies:** 0\
**Last updated:** [April 26, 2021, 6:25am UTC](https://discourse.vtk.org/t/how-to-get-the-aspect-property-of-the-renderer-in-vtk-js/5641 "2021-04-26T06:25:14Z")

</div>

In VTK Python binding, there is a GetAspect getter in the render object. It seems that the VTK.js dosen’t have the corresponding one.

---

## [VTK 9 build](https://discourse.vtk.org/t/vtk-9-build/5635)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.vtk.org/u/melrobin)\
**Replies:** 3\
**Last updated:** [April 25, 2021, 11:38pm UTC](https://discourse.vtk.org/t/vtk-9-build/5635 "2021-04-25T23:38:08Z")

</div>

Building VTK from development sources is broken. I have tried to narrow this down and get the following error: make -f CMakeFiles/vtkIOParallelXMLPython.dir/build.make CMakeFiles/vtkIOParallelXMLPython.dir/depend mak…

---

## [Slow voxelisation with vtkPolyDataToImageStencil](https://discourse.vtk.org/t/slow-voxelisation-with-vtkpolydatatoimagestencil/5571)

<div class="topic-metadata">

**Author:** [@rootofpi](https://discourse.vtk.org/u/rootofpi)\
**Replies:** 12\
**Last updated:** [April 25, 2021, 10:40pm UTC](https://discourse.vtk.org/t/slow-voxelisation-with-vtkpolydatatoimagestencil/5571 "2021-04-25T22:40:15Z")

</div>

Hello everybody, I am currently writing a code for numerical simulation and would like to use VTK for creating voxel geometries from given STL and OBJ files. I am new to the VTK library so I have tried to work with the …

---

## [Split Volume by Label values](https://discourse.vtk.org/t/split-volume-by-label-values/5629)

<div class="topic-metadata">

**Author:** [@Chuck\_Spencer](https://discourse.vtk.org/u/Chuck_Spencer)\
**Replies:** 4\
**Last updated:** [April 25, 2021, 8:25pm UTC](https://discourse.vtk.org/t/split-volume-by-label-values/5629 "2021-04-25T20:25:31Z")

</div>

In vtk.js, I have VTI files that I’m reading in using the vtkXMLImageDataReader. The image data has a known, discrete set of label values corresponding to regions. I’d like to separate this volume into separate volumes (…

---

## [Rendering a triangle in 3D](https://discourse.vtk.org/t/rendering-a-triangle-in-3d/5622)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 5\
**Last updated:** [April 25, 2021, 3:21pm UTC](https://discourse.vtk.org/t/rendering-a-triangle-in-3d/5622 "2021-04-25T15:21:18Z")

</div>

Dear All, Generally this forum have persons with great expertise. See the following link in Section " Intersection of a Ray/Segment with a Triangle" http://geomalgorithms.com/a06-\_intersect-2.html I am having problem…

---

## [Status of VTK 9.0 with respect to off screen rendering under Ubuntu with pip install](https://discourse.vtk.org/t/status-of-vtk-9-0-with-respect-to-off-screen-rendering-under-ubuntu-with-pip-install/5631)

<div class="topic-metadata">

**Author:** [@aborsic](https://discourse.vtk.org/u/aborsic)\
**Replies:** 7\
**Last updated:** [April 24, 2021, 3:41pm UTC](https://discourse.vtk.org/t/status-of-vtk-9-0-with-respect-to-off-screen-rendering-under-ubuntu-with-pip-install/5631 "2021-04-24T15:41:56Z")

</div>

Hello All, I have been experimenting with off screen rendering under Ubuntu 20.04 LTS and VTK 9.0.1 installed on Python 3.8 using pip3 install. I have simply set SetOffScreenRendering(1) on a rendering window on a small…

---

## [Vtk.js issue tracker update...](https://discourse.vtk.org/t/vtk-js-issue-tracker-update/5633)

<div class="topic-metadata">

**Author:** [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)\
**Replies:** 0\
**Last updated:** [April 23, 2021, 10:10pm UTC](https://discourse.vtk.org/t/vtk-js-issue-tracker-update/5633 "2021-04-23T22:10:00Z")

</div>

Today we went through vtk.js issue tracker to label and close any fixed bugs or answered questions. During that process we didn’t necessarily updated code to fix issues but mostly clean up our process to better track an…

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

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