# Latest

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

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

**Page:** 153

---

## [Computing the intersection of a mask image and an arbitrary plane](https://discourse.vtk.org/t/computing-the-intersection-of-a-mask-image-and-an-arbitrary-plane/7314)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 6:46pm UTC](https://discourse.vtk.org/t/computing-the-intersection-of-a-mask-image-and-an-arbitrary-plane/7314 "2021-12-02T18:46:34Z")

</div>

Hi there, my VTK lessons are failing me, so asking this here. I have an anatomical image of a brain, and a segmentation of a region of interest. Both saved as NIfTI files. I would like to be able to compute and visual…

---

## [How to decimate a vtkPoints ?](https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 11:34am UTC](https://discourse.vtk.org/t/how-to-decimate-a-vtkpoints/7310 "2021-12-02T11:34:04Z")

</div>

Hello, How can I decimate a vtkPoints object (with a good distribution of points) to display only a part of the points ? Thanks for your help

---

## [Export 3D model to obj format file](https://discourse.vtk.org/t/export-3d-model-to-obj-format-file/7311)

<div class="topic-metadata">

**Author:** [@Wenhui-person](https://discourse.vtk.org/u/Wenhui-person)\
**Replies:** 0\
**Last updated:** [December 2, 2021, 11:23am UTC](https://discourse.vtk.org/t/export-3d-model-to-obj-format-file/7311 "2021-12-02T11:23:21Z")

</div>

I successfully carried out three-dimensional reconstruction through face rendering, and rendered it with particularly good effect. However, I found that there were no face elements in the exported obj file. What shall I …

---

## [Adding Text to Polydata](https://discourse.vtk.org/t/adding-text-to-polydata/7306)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 2:20am UTC](https://discourse.vtk.org/t/adding-text-to-polydata/7306 "2021-12-02T02:20:05Z")

</div>

Hi All, I am interested in adding text to Polydata that I can write to a file. I see that I can use vtkTextSource and vtkVectorText objects that I can use. I have seen examples where these objects are tied to actors an…

---

## [LOD and closest neighbour with vtk octree](https://discourse.vtk.org/t/lod-and-closest-neighbour-with-vtk-octree/7300)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 14\
**Last updated:** [December 1, 2021, 4:38pm UTC](https://discourse.vtk.org/t/lod-and-closest-neighbour-with-vtk-octree/7300 "2021-12-01T16:38:05Z")

</div>

Hello :smiley: I am creating a 3D viewer to display large point cloud, I want to add octree structure to my viewer. This octree must allow me : To display the number of level I want To find the closest neighbour point …

---

## [Computing Isosurface on a chosen attribute](https://discourse.vtk.org/t/computing-isosurface-on-a-chosen-attribute/7283)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 1\
**Last updated:** [December 1, 2021, 7:21am UTC](https://discourse.vtk.org/t/computing-isosurface-on-a-chosen-attribute/7283 "2021-12-01T07:21:14Z")

</div>

Hi, I work with an unstructured grid containing multiple attributes. I wish to process the isosurface of one of these attributes, which has been prototyped with Paraview successfully. I thrive to do the same with VTK ba…

---

## [Manually trigger vtkCommand](https://discourse.vtk.org/t/manually-trigger-vtkcommand/7158)

<div class="topic-metadata">

**Author:** [@brnk](https://discourse.vtk.org/u/brnk)\
**Replies:** 4\
**Last updated:** [December 1, 2021, 12:02am UTC](https://discourse.vtk.org/t/manually-trigger-vtkcommand/7158 "2021-12-01T00:02:14Z")

</div>

Hello, I want to create an interactive live visualization of data which I’m streaming from a hardware device. Instead of using a repeating vtkCommand::TimerEvent, I would like to trigger the update manually once the dat…

---

## [Placing vtkCaptionActor2D in 3D space](https://discourse.vtk.org/t/placing-vtkcaptionactor2d-in-3d-space/7302)

<div class="topic-metadata">

**Author:** [@raphf](https://discourse.vtk.org/u/raphf)\
**Replies:** 0\
**Last updated:** [November 30, 2021, 4:55pm UTC](https://discourse.vtk.org/t/placing-vtkcaptionactor2d-in-3d-space/7302 "2021-11-30T16:55:54Z")

</div>

Hi , I’ve been messing around with the vtkCaptionActor2D, and wrote an interaction style for it by following this example : https://kitware.github.io/vtk-examples/site/Cxx/Picking/HighlightPickedActor/ such that one can …

---

## [Capture window resize](https://discourse.vtk.org/t/capture-window-resize/7295)

<div class="topic-metadata">

**Author:** [@bernland](https://discourse.vtk.org/u/bernland)\
**Replies:** 3\
**Last updated:** [November 30, 2021, 3:55pm UTC](https://discourse.vtk.org/t/capture-window-resize/7295 "2021-11-30T15:55:29Z")

</div>

I would like to observe changes of the viewport size: genericRenderWindow.onResize(this.onRenderWindowResized) as vtkSubscription; onRenderWindowResized(obj: vtkObject) { console.log(obj); } Why is the output alway…

---

## [Share cameras between threads](https://discourse.vtk.org/t/share-cameras-between-threads/7276)

<div class="topic-metadata">

**Author:** [@AlexG](https://discourse.vtk.org/u/AlexG)\
**Replies:** 3\
**Last updated:** [November 30, 2021, 1:19pm UTC](https://discourse.vtk.org/t/share-cameras-between-threads/7276 "2021-11-30T13:19:40Z")

</div>

Hi all, I have two renderers one for a VR application and one as a standart 3D view in an QT GUI. I want to display these two vtkCamera via two vtkCameraActor and pass them to the other renderer. The two applications r…

---

## [Is it possible to read multi group obj as multiple vtkPolyDatas?](https://discourse.vtk.org/t/is-it-possible-to-read-multi-group-obj-as-multiple-vtkpolydatas/7299)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [November 30, 2021, 9:51am UTC](https://discourse.vtk.org/t/is-it-possible-to-read-multi-group-obj-as-multiple-vtkpolydatas/7299 "2021-11-30T09:51:20Z")

</div>

currently,vtkOBJReader will read all groups as a vtkPolyData,how to read different groups as different vtkPolyDatas?

---

## [vtkGeometryFilter not passing vtkStringArray](https://discourse.vtk.org/t/vtkgeometryfilter-not-passing-vtkstringarray/7245)

<div class="topic-metadata">

**Author:** [@Flagada](https://discourse.vtk.org/u/Flagada)\
**Replies:** 11\
**Last updated:** [November 30, 2021, 8:37am UTC](https://discourse.vtk.org/t/vtkgeometryfilter-not-passing-vtkstringarray/7245 "2021-11-30T08:37:52Z")

</div>

Hi ! Correct me if I’m wrong but it seems that in the latest version of VTK the vtkGeometryFilter behavior has changed and a vtkStringArray in source is no more passed to the output. It seems that the array is well crea…

---

## [Mingw compile error for vtkm](https://discourse.vtk.org/t/mingw-compile-error-for-vtkm/7265)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 7\
**Last updated:** [November 30, 2021, 2:25am UTC](https://discourse.vtk.org/t/mingw-compile-error-for-vtkm/7265 "2021-11-30T02:25:11Z")

</div>

Dear all. I compile the VTK with vtkm. I got the following compile errors. How to compile it correct with vtkm? D:/Msys64/mingw64/bin/…/lib/gcc/x86\_64-w64-mingw32/11.2.0/…/…/…/…/x86\_64-w64-mingw32/bin/ld.exe: CMakeFiles…

---

## [bind events to camera](https://discourse.vtk.org/t/bind-events-to-camera/3123)

<div class="topic-metadata">

**Author:** [@xuexl](https://discourse.vtk.org/u/xuexl)\
**Replies:** 4\
**Last updated:** [November 29, 2021, 8:05pm UTC](https://discourse.vtk.org/t/bind-events-to-camera/3123 "2021-11-29T20:05:23Z")

</div>

when operating the model, then callback function will be excuted. how to do in the vtkjs? thank you.

---

## [Colormaps RGBPoints clarification](https://discourse.vtk.org/t/colormaps-rgbpoints-clarification/7287)

<div class="topic-metadata">

**Author:** [@Alireza](https://discourse.vtk.org/u/Alireza)\
**Replies:** 3\
**Last updated:** [November 29, 2021, 7:55pm UTC](https://discourse.vtk.org/t/colormaps-rgbpoints-clarification/7287 "2021-11-29T19:55:42Z")

</div>

I am familiar with colorTransfer function and what the next two lines would do const ctfun = vtkColorTransferFunction.newInstance(); ctfun.addRGBPoint(200.0, 1.0, 1.0, 1.0); However, there are a number of colormaps her…

---

## [vtk.js@21.1.2 error：regeneratorRuntime is not defined](https://discourse.vtk.org/t/vtk-js-21-1-2-error-regeneratorruntime-is-not-defined/7278)

<div class="topic-metadata">

**Author:** [@lanranlaura](https://discourse.vtk.org/u/lanranlaura)\
**Replies:** 2\
**Last updated:** [November 29, 2021, 7:36pm UTC](https://discourse.vtk.org/t/vtk-js-21-1-2-error-regeneratorruntime-is-not-defined/7278 "2021-11-29T19:36:57Z")

</div>

Hello！I have a new problem. I updated the version of vtk.js from 17.0 to 21.1.2, but the statement vtkOpenGLRenderWindow. newnstance() reported an error during npm run dev, as shown in the figure below. My Babel conf…

---

## [Boolean operation to perform a substraction between polydatas is very slow](https://discourse.vtk.org/t/boolean-operation-to-perform-a-substraction-between-polydatas-is-very-slow/1079)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 2\
**Last updated:** [November 29, 2021, 7:24pm UTC](https://discourse.vtk.org/t/boolean-operation-to-perform-a-substraction-between-polydatas-is-very-slow/1079 "2021-11-29T19:24:11Z")

</div>

Hi everybody, I want to substract wo polydatas and i am using vtkBooleanOperationPolyDataFilter and it takes hours even for polydatas that are not very big. Any idea how to speed up the process? or any other way to do …

---

## [Transform an actor but keep it visible within the view](https://discourse.vtk.org/t/transform-an-actor-but-keep-it-visible-within-the-view/7243)

<div class="topic-metadata">

**Author:** [@lwh0328](https://discourse.vtk.org/u/lwh0328)\
**Replies:** 2\
**Last updated:** [November 29, 2021, 6:43pm UTC](https://discourse.vtk.org/t/transform-an-actor-but-keep-it-visible-within-the-view/7243 "2021-11-29T18:43:31Z")

</div>

Hi folks, I’m currently trying to translate an actor, but I was wondering how I can control the translation so as to avoid the actor outside the render view? In another way to describe my question, I would like to get t…

---

## [Local libraries with Python wrapping](https://discourse.vtk.org/t/local-libraries-with-python-wrapping/6808)

<div class="topic-metadata">

**Author:** [@djduke](https://discourse.vtk.org/u/djduke)\
**Replies:** 12\
**Last updated:** [November 29, 2021, 1:37pm UTC](https://discourse.vtk.org/t/local-libraries-with-python-wrapping/6808 "2021-11-29T13:37:04Z")

</div>

I’m after advice on the current recommended route for creating a local library for which the classes can be wrapped \[Python\] Previously releases provided an Examples/Build/vtkLocal directory that could be used as a te…

---

## [Arc in Polydata](https://discourse.vtk.org/t/arc-in-polydata/7242)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 4\
**Last updated:** [November 29, 2021, 1:31pm UTC](https://discourse.vtk.org/t/arc-in-polydata/7242 "2021-11-29T13:31:59Z")

</div>

I am using the following code to add an Arc to the Polydata. Please correct me if I am wrong but I can’t get arcs in Polydata. It will still be a line. center = \[0.00, 25.72, 30.99\] p1 = \[77.65, 63.01, 0.04\] p2 = \[77.5…

---

## [Some problems when configuring VTK](https://discourse.vtk.org/t/some-problems-when-configuring-vtk/7292)

<div class="topic-metadata">

**Author:** [@WDD](https://discourse.vtk.org/u/WDD)\
**Replies:** 1\
**Last updated:** [November 29, 2021, 9:36am UTC](https://discourse.vtk.org/t/some-problems-when-configuring-vtk/7292 "2021-11-29T09:36:17Z")

</div>

I meet some problems when configuring VTK .I am a new designer so I want to get some help.I complied VTK in Ubuntu21.10 .An error occurred when compiling to 99% with make.It shows that there are many libraries undefined(…

---

## [VtkLibrary upgrade](https://discourse.vtk.org/t/vtklibrary-upgrade/7262)

<div class="topic-metadata">

**Author:** [@Taimour](https://discourse.vtk.org/u/Taimour)\
**Replies:** 8\
**Last updated:** [November 29, 2021, 8:59am UTC](https://discourse.vtk.org/t/vtklibrary-upgrade/7262 "2021-11-29T08:59:43Z")

</div>

Hi, I was previously using vtk 5.80 version. I replaced the header files and modified my code and replaced the library files. I want to know Will it work same with this modificaion?

---

## [Composite rendering function](https://discourse.vtk.org/t/composite-rendering-function/7284)

<div class="topic-metadata">

**Author:** [@Wenhui-person](https://discourse.vtk.org/u/Wenhui-person)\
**Replies:** 1\
**Last updated:** [November 29, 2021, 8:58am UTC](https://discourse.vtk.org/t/composite-rendering-function/7284 "2021-11-29T08:58:15Z")

</div>

In the latest version of VTK, which is the composite rendering function?

---

## [Interpolate points in a given mesh from DVF image volume](https://discourse.vtk.org/t/interpolate-points-in-a-given-mesh-from-dvf-image-volume/6973)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 3\
**Last updated:** [November 28, 2021, 6:23pm UTC](https://discourse.vtk.org/t/interpolate-points-in-a-given-mesh-from-dvf-image-volume/6973 "2021-11-28T18:23:59Z")

</div>

I have generated a volumetric mesh and saved it as a vtkUnstrcturedGrid (i.e. a .vtk file). Now what I want is that I need to deform it according to the deforamtion vector field stored in nifti format. The dimension of t…

---

## [3D reconstruction of BMP image sequence](https://discourse.vtk.org/t/3d-reconstruction-of-bmp-image-sequence/7290)

<div class="topic-metadata">

**Author:** [@Wenhui-person](https://discourse.vtk.org/u/Wenhui-person)\
**Replies:** 0\
**Last updated:** [November 28, 2021, 2:32am UTC](https://discourse.vtk.org/t/3d-reconstruction-of-bmp-image-sequence/7290 "2021-11-28T02:32:50Z")

</div>

In the VTK 3D reconstruction surface rendering method, the required obj format file is exported, but it is found that there are no surface elements in the obj file. What should I do?

---

## [How to change interactor of QQuickVTKRenderWindow?](https://discourse.vtk.org/t/how-to-change-interactor-of-qquickvtkrenderwindow/7289)

<div class="topic-metadata">

**Author:** [@tmnku](https://discourse.vtk.org/u/tmnku)\
**Replies:** 0\
**Last updated:** [November 26, 2021, 5:16pm UTC](https://discourse.vtk.org/t/how-to-change-interactor-of-qquickvtkrenderwindow/7289 "2021-11-26T17:16:26Z")

</div>

Hi, I’m new to the forum. I’m currently working on a project with Qt 5.12 and VTK 9.1 in which I want to use a custom interactorStyle. In my qml I have VTKRenderWindow { id: vtkwindow width: 400 height: 40…

---

## [Is there a VTK installer available for Windows 10 (64-bit)?](https://discourse.vtk.org/t/is-there-a-vtk-installer-available-for-windows-10-64-bit/7286)

<div class="topic-metadata">

**Author:** [@hegde](https://discourse.vtk.org/u/hegde)\
**Replies:** 1\
**Last updated:** [November 26, 2021, 4:28pm UTC](https://discourse.vtk.org/t/is-there-a-vtk-installer-available-for-windows-10-64-bit/7286 "2021-11-26T16:28:05Z")

</div>

Hi, I’ve been trying without success to install vtk on my Windows computer. Regardless of what I try (different versions of vtk and different compilers, etc), I get a whole host of errors. I’m not sure it’s worth it for…

---

## [Volume Raycasting](https://discourse.vtk.org/t/volume-raycasting/7280)

<div class="topic-metadata">

**Author:** [@Wenhui-person](https://discourse.vtk.org/u/Wenhui-person)\
**Replies:** 2\
**Last updated:** [November 26, 2021, 10:47am UTC](https://discourse.vtk.org/t/volume-raycasting/7280 "2021-11-26T10:47:45Z")

</div>

An alternative to vtkVolumeRayCastCompositeFunction in the latest version.

---

## [When use vtkResliceCursorWidget, How to use mouse touch more conveniently to the handle ？](https://discourse.vtk.org/t/when-use-vtkreslicecursorwidget-how-to-use-mouse-touch-more-conveniently-to-the-handle/6916)

<div class="topic-metadata">

**Author:** [@lanranlaura](https://discourse.vtk.org/u/lanranlaura)\
**Replies:** 3\
**Last updated:** [November 26, 2021, 7:21am UTC](https://discourse.vtk.org/t/when-use-vtkreslicecursorwidget-how-to-use-mouse-touch-more-conveniently-to-the-handle/6916 "2021-11-26T07:21:21Z")

</div>

I use vtkResliceCursorWidget to display MPR.When I rotate the handle(reslicecursor), I must accurately place the mouse on the handle to succeed. The effect I want to achieve is that when my mouse is near the handle, I ca…

---

## [vtkProbeFilter or vtkImageReslice question](https://discourse.vtk.org/t/vtkprobefilter-or-vtkimagereslice-question/7270)

<div class="topic-metadata">

**Author:** [@GloriaArienti](https://discourse.vtk.org/u/GloriaArienti)\
**Replies:** 1\
**Last updated:** [November 26, 2021, 2:56am UTC](https://discourse.vtk.org/t/vtkprobefilter-or-vtkimagereslice-question/7270 "2021-11-26T02:56:35Z")

</div>

Hello, we are trying to extract an oblique cross-section across a 3D image, i.e. a 2D image extracted from the colored volume in image below, oriented as the plane (a vtkPlane) highlighted in white. We have tried in …

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

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