# Latest

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

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

**Page:** 117

---

## [How to connect Shaders to Actor2D?](https://discourse.vtk.org/t/how-to-connect-shaders-to-actor2d/9384)

<div class="topic-metadata">

**Author:** [@ganimtron\_10](https://discourse.vtk.org/u/ganimtron_10)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 1:14am UTC](https://discourse.vtk.org/t/how-to-connect-shaders-to-actor2d/9384 "2022-09-28T01:14:40Z")

</div>

I am trying to create something like this but using Actor2D. Reference: Varying Color — FURY 0.8.0.post102.dev0+g2832e935 documentation For this, I was trying to connect Shaders to Actor2D but it is not working as ex…

---

## [vtkCellPicker not working correctly](https://discourse.vtk.org/t/vtkcellpicker-not-working-correctly/7674)

<div class="topic-metadata">

**Author:** [@bernland](https://discourse.vtk.org/u/bernland)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 9:21pm UTC](https://discourse.vtk.org/t/vtkcellpicker-not-working-correctly/7674 "2022-09-27T21:21:07Z")

</div>

The vtkCellPicker example allows for creating spheres at the picked position. It works well on the side triangles of the cone (cell ID = 2): However, right clicking on the bottom cell of the cone results in some sphe…

---

## [Pick LPS coordinate from 3d model](https://discourse.vtk.org/t/pick-lps-coordinate-from-3d-model/9475)

<div class="topic-metadata">

**Author:** [@dj\_96](https://discourse.vtk.org/u/dj_96)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 7:05pm UTC](https://discourse.vtk.org/t/pick-lps-coordinate-from-3d-model/9475 "2022-09-27T19:05:15Z")

</div>

I’ve loaded up an STL file that should be in LPS coordinates. I’m able to place spheres on the 3d mesh with: picker = vtk.vtkCellPicker() picker.Pick(x, y, 0, renderer) p = picker.getPickPosition() Then p is the corre…

---

## [Non-rigid mesh registration of lung contour meshes](https://discourse.vtk.org/t/non-rigid-mesh-registration-of-lung-contour-meshes/9472)

<div class="topic-metadata">

**Author:** [@qod\_rec](https://discourse.vtk.org/u/qod_rec)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 4:50pm UTC](https://discourse.vtk.org/t/non-rigid-mesh-registration-of-lung-contour-meshes/9472 "2022-09-27T16:50:39Z")

</div>

Hello! I have some chest CTs with lung contours labeled. I have generated the contour meshes in 3D slicer and these meshes are in STL format. I use a mesh simplification algorithm in meshlab to simplify one mesh from t…

---

## [Multi 3D textures for OpenGL Mapper](https://discourse.vtk.org/t/multi-3d-textures-for-opengl-mapper/9108)

<div class="topic-metadata">

**Author:** [@Ruooo](https://discourse.vtk.org/u/Ruooo)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 1:21pm UTC](https://discourse.vtk.org/t/multi-3d-textures-for-opengl-mapper/9108 "2022-09-27T13:21:42Z")

</div>

Hello, we created a customized vtkOpenGLPolyDataMapper class and already have one 3D vtkTextureObject with four components(RGBA). For our new feature, we need to use more 3D textures at the same time. From the documentat…

---

## [Writing vertex shader in vtk.js](https://discourse.vtk.org/t/writing-vertex-shader-in-vtk-js/9458)

<div class="topic-metadata">

**Author:** [@sunlin0oo](https://discourse.vtk.org/u/sunlin0oo)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 9:58am UTC](https://discourse.vtk.org/t/writing-vertex-shader-in-vtk-js/9458 "2022-09-27T09:58:21Z")

</div>

Hi,I want to write a vertex shader with vtk.js to speed up the calculation of vertices. But I checked the official exampleVTK.js, and there is no corresponding example. By looking through the source code, I only found …

---

## [vtkMultiBlockDataSet can not show vtkUnstructuredGrid data?](https://discourse.vtk.org/t/vtkmultiblockdataset-can-not-show-vtkunstructuredgrid-data/9456)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 3\
**Last updated:** [September 26, 2022, 11:57pm UTC](https://discourse.vtk.org/t/vtkmultiblockdataset-can-not-show-vtkunstructuredgrid-data/9456 "2022-09-26T23:57:55Z")

</div>

When I input a vtkUnstructuredGrid data into vtkMultiBlockDataSet, it can not show the data. Does the vtkMultiBlockDataSet only can show vtkPolyData? vtkNew\<vtkMultiBlockDataSet\> root; vtkNew\<vtkSphereSource\> block1; …

---

## [Remote rendering with c++ vtk as server instead of python vtk as server](https://discourse.vtk.org/t/remote-rendering-with-c-vtk-as-server-instead-of-python-vtk-as-server/7488)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 7\
**Last updated:** [September 26, 2022, 1:20pm UTC](https://discourse.vtk.org/t/remote-rendering-with-c-vtk-as-server-instead-of-python-vtk-as-server/7488 "2022-09-26T13:20:44Z")

</div>

Hi. I basically have a lot of c++ vtk code. I am not comfortable with python vtk and I want to continue with the c++ vtk itself for the long term use case. It is not just a temporary requirement. I know how to do remote …

---

## [Multi geometry interaction](https://discourse.vtk.org/t/multi-geometry-interaction/9276)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 10\
**Last updated:** [September 26, 2022, 10:04am UTC](https://discourse.vtk.org/t/multi-geometry-interaction/9276 "2022-09-26T10:04:20Z")

</div>

I have multiple geometries, each of which is stored in vtkunstructuredGrid/vtkPolyData. I hope that when the mouse clicks on a geometry during interaction, the geometry can be selected. Of course, I also want to be able…

---

## [Vtk. js JSON data to create mesh](https://discourse.vtk.org/t/vtk-js-json-data-to-create-mesh/9088)

<div class="topic-metadata">

**Author:** [@sunlin0oo](https://discourse.vtk.org/u/sunlin0oo)\
**Replies:** 4\
**Last updated:** [September 26, 2022, 7:54am UTC](https://discourse.vtk.org/t/vtk-js-json-data-to-create-mesh/9088 "2022-09-26T07:54:56Z")

</div>

Hi,I want the JSON data to be rendered via vtk.js: The format of the data model is Stp. I get the data through OCCT meshing and put it in JSON format. The STP format is similar to the STL format.So,I read the binary …

---

## [How do you render VTK files of type STRUCTURED\_POINTS?](https://discourse.vtk.org/t/how-do-you-render-vtk-files-of-type-structured-points/9451)

<div class="topic-metadata">

**Author:** [@team\_14](https://discourse.vtk.org/u/team_14)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 6:31am UTC](https://discourse.vtk.org/t/how-do-you-render-vtk-files-of-type-structured-points/9451 "2022-09-26T06:31:25Z")

</div>

I am trying to render a VTK file of type STRUCTURED\_POINTS and am hoping for some guidance on how to approach this. I have done the following so far and have described where I am currently stuck: I started off the proje…

---

## [vtkThreshold get extremes](https://discourse.vtk.org/t/vtkthreshold-get-extremes/9445)

<div class="topic-metadata">

**Author:** [@gbene](https://discourse.vtk.org/u/gbene)\
**Replies:** 2\
**Last updated:** [September 25, 2022, 8:04am UTC](https://discourse.vtk.org/t/vtkthreshold-get-extremes/9445 "2022-09-25T08:04:28Z")

</div>

Hi! I was wandering if there was a simple way to use ThresholdBetween for vtkThreshold to get the part of the object thesholded away (like GenerateClippedOutputOn for vtkClipPolyData). This could be achieved with a com…

---

## [Rendering performance for millions of voxels and polyhedrons](https://discourse.vtk.org/t/rendering-performance-for-millions-of-voxels-and-polyhedrons/9352)

<div class="topic-metadata">

**Author:** [@chrisiou](https://discourse.vtk.org/u/chrisiou)\
**Replies:** 6\
**Last updated:** [September 24, 2022, 8:40pm UTC](https://discourse.vtk.org/t/rendering-performance-for-millions-of-voxels-and-polyhedrons/9352 "2022-09-24T20:40:46Z")

</div>

Hello everyone! I want to render (2D and 3D) many shapes, mostly polyhedrons and partially voxels. I group them into groups (do not worry how we decide on the grouping but it can be in the order of thousands) and we need…

---

## [Slow update when using vtkGlyph3D in Activiz 9.1](https://discourse.vtk.org/t/slow-update-when-using-vtkglyph3d-in-activiz-9-1/9377)

<div class="topic-metadata">

**Author:** [@MarKara](https://discourse.vtk.org/u/MarKara)\
**Replies:** 6\
**Last updated:** [September 23, 2022, 5:58pm UTC](https://discourse.vtk.org/t/slow-update-when-using-vtkglyph3d-in-activiz-9-1/9377 "2022-09-23T17:58:30Z")

</div>

Hi I just moved from Activiz 6.3 to 9.1 and found that visualizing relatively large dataset with vtkGlyph3D is very very slow. I have 7746 points and it takes couple minutes to update glyphs. In version 6.3, update and…

---

## [renderWindow.SetSize() limits?](https://discourse.vtk.org/t/renderwindow-setsize-limits/9373)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 16\
**Last updated:** [September 23, 2022, 10:21am UTC](https://discourse.vtk.org/t/renderwindow-setsize-limits/9373 "2022-09-23T10:21:27Z")

</div>

I have been playing around with different sizes for the renderWindow… I use SetSize and then used .GetSize() to get back the values. If I did this without starting any rendering, I was able to set any dimensions to the r…

---

## [How to write an editable "point cloud" application?](https://discourse.vtk.org/t/how-to-write-an-editable-point-cloud-application/9434)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 8:33am UTC](https://discourse.vtk.org/t/how-to-write-an-editable-point-cloud-application/9434 "2022-09-23T08:33:54Z")

</div>

I have sonar bathymetry data sets that consist of many (10K +) points (latitude, longitude, depth). I want to write a C++ application to display the data set as a point cloud. The user should have capability to “edit” th…

---

## [PhD position on multimodal liver tumour registrations and augmentations](https://discourse.vtk.org/t/phd-position-on-multimodal-liver-tumour-registrations-and-augmentations/9436)

<div class="topic-metadata">

**Author:** [@erol](https://discourse.vtk.org/u/erol)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 8:35am UTC](https://discourse.vtk.org/t/phd-position-on-multimodal-liver-tumour-registrations-and-augmentations/9436 "2022-09-23T08:35:11Z")

</div>

We are looking for one highly motivated PhD student to study on multimodal liver tumour registrations and augmentations to be able to guide the surgeons during laparoscopic liver surgery. The PhD student will focus on tw…

---

## [segmentation fault from Trackball Actor](https://discourse.vtk.org/t/segmentation-fault-from-trackball-actor/9423)

<div class="topic-metadata">

**Author:** [@GeorgeS](https://discourse.vtk.org/u/GeorgeS)\
**Replies:** 3\
**Last updated:** [September 23, 2022, 2:36am UTC](https://discourse.vtk.org/t/segmentation-fault-from-trackball-actor/9423 "2022-09-23T02:36:30Z")

</div>

I need to know the center location of the actor being manipulated by vtkInteractorStyleTrackballActor. vtkInteractorStyleTrackballActor-\>InteractionProp-\>GetCenter() does this, and because InteractionProp is protected, …

---

## [Green CI now required to merge branches](https://discourse.vtk.org/t/green-ci-now-required-to-merge-branches/9389)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 7:07pm UTC](https://discourse.vtk.org/t/green-ci-now-required-to-merge-branches/9389 "2022-09-22T19:07:23Z")

</div>

Hi VTK developers, The dashboards have been fairly consistent lately and in an effort to keep them that way, the build stage of CI must now completely pass (complete and green) prior to merging. Testing is still allowed…

---

## [vtu2x3d](https://discourse.vtk.org/t/vtu2x3d/9431)

<div class="topic-metadata">

**Author:** [@chengchengjing](https://discourse.vtk.org/u/chengchengjing)\
**Replies:** 0\
**Last updated:** [September 22, 2022, 1:21pm UTC](https://discourse.vtk.org/t/vtu2x3d/9431 "2022-09-22T13:21:32Z")

</div>

I want to save a vtu file as X3D format through vtkX3DExporter, this is my code, but the result is only 1kb. import vtk def main(): colors = vtk.vtkNamedColors() file\_name = ‘C:\\Users\\jcc\\Desktop\\test.vtu’ reader = …

---

## [VtkIO::xdmf python lib](https://discourse.vtk.org/t/vtkio-xdmf-python-lib/9424)

<div class="topic-metadata">

**Author:** [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)\
**Replies:** 6\
**Last updated:** [September 22, 2022, 11:47am UTC](https://discourse.vtk.org/t/vtkio-xdmf-python-lib/9424 "2022-09-22T11:47:40Z")

</div>

Hello all, I’m trying to compile the vtkXdmfReader and expose it to python. Haven’t tried that much but I can guess that you can give me a headstart :slight\_smile: . So I compile VTK with python wrapping and everything …

---

## [vtkInteractorStyleMPRSlice setSliceNormal not working consistently](https://discourse.vtk.org/t/vtkinteractorstylemprslice-setslicenormal-not-working-consistently/9335)

<div class="topic-metadata">

**Author:** [@Kalsyc](https://discourse.vtk.org/u/Kalsyc)\
**Replies:** 5\
**Last updated:** [September 22, 2022, 5:02am UTC](https://discourse.vtk.org/t/vtkinteractorstylemprslice-setslicenormal-not-working-consistently/9335 "2022-09-22T05:02:53Z")

</div>

Hi guys, I’m facing a problem with rendering for vtkInteractorStyleMPRSlice. I’m not sure if it’s a React issue, but it seems like this bug only happens when I try to set the slice normal to \[0, 1, 0\] in the Y axis. …

---

## [Strange in boolean (difference) operation](https://discourse.vtk.org/t/strange-in-boolean-difference-operation/9410)

<div class="topic-metadata">

**Author:** [@szm](https://discourse.vtk.org/u/szm)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 2:22am UTC](https://discourse.vtk.org/t/strange-in-boolean-difference-operation/9410 "2022-09-22T02:22:29Z")

</div>

Hi, I have two shapes. One is named slab, and the other named hole. I want to obtain a new slab excluding the hole shape. So I tried vtkBooleanOperationPolyDataFilter with difference operation in VTK 9.1.0. In the result…

---

## [ScalarBarActor unconsistent?](https://discourse.vtk.org/t/scalarbaractor-unconsistent/9417)

<div class="topic-metadata">

**Author:** [@zaidb](https://discourse.vtk.org/u/zaidb)\
**Replies:** 1\
**Last updated:** [September 21, 2022, 7:21pm UTC](https://discourse.vtk.org/t/scalarbaractor-unconsistent/9417 "2022-09-21T19:21:31Z")

</div>

Hello, I’m trying to change the styling (forcing horizontal orientation) of the vtkScalarBarActor by passing a custom autoLayout function. No error is returned, but no changes are seen too. Same applies to setGenerateT…

---

## [New feature in VTK: VTK ABI Namespace](https://discourse.vtk.org/t/new-feature-in-vtk-vtk-abi-namespace/9421)

<div class="topic-metadata">

**Author:** [@Ryan\_Krattiger](https://discourse.vtk.org/u/Ryan_Krattiger)\
**Replies:** 2\
**Last updated:** [September 21, 2022, 4:16pm UTC](https://discourse.vtk.org/t/new-feature-in-vtk-vtk-abi-namespace/9421 "2022-09-21T16:16:25Z")

</div>

Overview The feature allowing projects to wrap VTK in an namespace has officially landed on master! The ABI namespace is intended to add a namespace that is visible in the compiled libraries, but opaque to the code. This…

---

## [Apply deformation to the 3D-CT image volume from mesh displacement](https://discourse.vtk.org/t/apply-deformation-to-the-3d-ct-image-volume-from-mesh-displacement/9407)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 10:34pm UTC](https://discourse.vtk.org/t/apply-deformation-to-the-3d-ct-image-volume-from-mesh-displacement/9407 "2022-09-20T22:34:47Z")

</div>

I have a reference mesh and a deformed version of it (they are unstrcuted grid saved in vtk file format). The reference mesh was acquired from a 3D-CT volume. I would want to apply the same deformation to the reference …

---

## [Disabling hotkeys of changing representation in vtk.js](https://discourse.vtk.org/t/disabling-hotkeys-of-changing-representation-in-vtk-js/9418)

<div class="topic-metadata">

**Author:** [@Nikhil216](https://discourse.vtk.org/u/Nikhil216)\
**Replies:** 1\
**Last updated:** [September 21, 2022, 11:03am UTC](https://discourse.vtk.org/t/disabling-hotkeys-of-changing-representation-in-vtk-js/9418 "2022-09-21T11:03:02Z")

</div>

This issue is related to vtk.js. I want to disable the hotkeys which sets the representation of the actors. For example go to this simple cone example and try pressing these buttons for setting the representation v: po…

---

## [How to use vtkjs to develop cpr function](https://discourse.vtk.org/t/how-to-use-vtkjs-to-develop-cpr-function/9415)

<div class="topic-metadata">

**Author:** [@lanranlaura](https://discourse.vtk.org/u/lanranlaura)\
**Replies:** 2\
**Last updated:** [September 21, 2022, 10:12am UTC](https://discourse.vtk.org/t/how-to-use-vtkjs-to-develop-cpr-function/9415 "2022-09-21T10:12:10Z")

</div>

Hello, I want to use vtkjs to develop the cpr function. I found out how to use vtk to develop the cpr function. Among them, vtkSplineFilter and vtkProbeFilter are used. I noticed that vtk Js does not have these two filte…

---

## [Custom colormap and \`vtkTubeFilter\`](https://discourse.vtk.org/t/custom-colormap-and-vtktubefilter/9380)

<div class="topic-metadata">

**Author:** [@Marcin\_Krotkiewski](https://discourse.vtk.org/u/Marcin_Krotkiewski)\
**Replies:** 3\
**Last updated:** [September 21, 2022, 9:44am UTC](https://discourse.vtk.org/t/custom-colormap-and-vtktubefilter/9380 "2022-09-21T09:44:18Z")

</div>

Hi! I’m having a very hard time convincing VTK to color my data according to the supplied custom lookup table, and I would really appreciate some hints. The problem occurs when using the vtkTubeFilter: it seems that the…

---

## [Unable to get vtkMP4Writer to work on Windows vtk 9.2](https://discourse.vtk.org/t/unable-to-get-vtkmp4writer-to-work-on-windows-vtk-9-2/9282)

<div class="topic-metadata">

**Author:** [@Flagada](https://discourse.vtk.org/u/Flagada)\
**Replies:** 3\
**Last updated:** [September 13, 2022, 3:19pm UTC](https://discourse.vtk.org/t/unable-to-get-vtkmp4writer-to-work-on-windows-vtk-9-2/9282 "2022-09-13T15:19:57Z")

</div>

Hi all! Following the build instructions (https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/build.md#build-settings) I tried the “VTK\_USE\_VIDEO\_FOR\_WINDOWS\_CAPTURE" option in order to enable the use of …

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

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