# Latest

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

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

**Page:** 84

---

## [Set initial position for vtkOrientationMarkerWidget after camera rotation](https://discourse.vtk.org/t/set-initial-position-for-vtkorientationmarkerwidget-after-camera-rotation/11673)

<div class="topic-metadata">

**Author:** [@bryan](https://discourse.vtk.org/u/bryan)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 2:10am UTC](https://discourse.vtk.org/t/set-initial-position-for-vtkorientationmarkerwidget-after-camera-rotation/11673 "2023-06-12T02:10:39Z")

</div>

I have embedded the vtkOrientationMarkerWidget to a viewer to indicate the orientation of an image volume. The viewer allows interactive rotation of the camera and displays the image volume accordingly while the widget i…

---

## [Replace vtkDistancePolyDataFilter with vtkDisplacementPolyDataFilter](https://discourse.vtk.org/t/replace-vtkdistancepolydatafilter-with-vtkdisplacementpolydatafilter/11599)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 12\
**Last updated:** [June 11, 2023, 10:51pm UTC](https://discourse.vtk.org/t/replace-vtkdistancepolydatafilter-with-vtkdisplacementpolydatafilter/11599 "2023-06-11T22:51:46Z")

</div>

I have made a new class vtkDisplacementPolyDataFilter. It is an exact copy of vtkDistancePolyDataFilter except that one in addition to a signed distance gets a “direction”. It is pretty cool if one wished to visualize di…

---

## [PointCloud rendering](https://discourse.vtk.org/t/pointcloud-rendering/11662)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 5\
**Last updated:** [June 11, 2023, 4:55pm UTC](https://discourse.vtk.org/t/pointcloud-rendering/11662 "2023-06-11T16:55:18Z")

</div>

This is probably a matter of a single property on the actor, but I cannot figure it out. I am doing some point cloud rendering, but displaying vtkPolyData. There is no black points, but all points appear blackish on…

---

## [How to put a mirron on the scene](https://discourse.vtk.org/t/how-to-put-a-mirron-on-the-scene/11667)

<div class="topic-metadata">

**Author:** [@mtarpit](https://discourse.vtk.org/u/mtarpit)\
**Replies:** 1\
**Last updated:** [June 11, 2023, 2:01pm UTC](https://discourse.vtk.org/t/how-to-put-a-mirron-on-the-scene/11667 "2023-06-11T14:01:10Z")

</div>

Hi there, I would like to create a scene where an object is reflected on a mirror and the camera captures both the object and its reflection on the mirror. So far I experimented with the Python binding of VTK, but I co…

---

## [How to define my own interactorstyle of vtkplanewidget?](https://discourse.vtk.org/t/how-to-define-my-own-interactorstyle-of-vtkplanewidget/11643)

<div class="topic-metadata">

**Author:** [@Dylan](https://discourse.vtk.org/u/Dylan)\
**Replies:** 3\
**Last updated:** [June 11, 2023, 10:53am UTC](https://discourse.vtk.org/t/how-to-define-my-own-interactorstyle-of-vtkplanewidget/11643 "2023-06-11T10:53:23Z")

</div>

I use vtkPlanewidget to add a plane widget in the rendering window. The default interaction style of this plane widget is to select the plane with the left mouse button to translate the plane, and to select the normal ax…

---

## [how to determine the pre-contrast and post-contrast through series time, acquisition time and content time in DCE-MRI dicom images](https://discourse.vtk.org/t/how-to-determine-the-pre-contrast-and-post-contrast-through-series-time-acquisition-time-and-content-time-in-dce-mri-dicom-images/11661)

<div class="topic-metadata">

**Author:** [@Ian\_Ben](https://discourse.vtk.org/u/Ian_Ben)\
**Replies:** 2\
**Last updated:** [June 11, 2023, 7:09am UTC](https://discourse.vtk.org/t/how-to-determine-the-pre-contrast-and-post-contrast-through-series-time-acquisition-time-and-content-time-in-dce-mri-dicom-images/11661 "2023-06-11T07:09:46Z")

</div>

I was studying the DCE-MRI image on Multi-center breast DCE-MRI data and segmentations from patients in the I-SPY 1/ACRIN 6657 trials (ISPY1) - The Cancer Imaging Archive (TCIA) Public Access - Cancer Imaging Archive Wik…

---

## [Control over the block representation style (surface, points, wireframe, etc.)](https://discourse.vtk.org/t/control-over-the-block-representation-style-surface-points-wireframe-etc/11630)

<div class="topic-metadata">

**Author:** [@anooja](https://discourse.vtk.org/u/anooja)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 7:02pm UTC](https://discourse.vtk.org/t/control-over-the-block-representation-style-surface-points-wireframe-etc/11630 "2023-06-09T19:02:18Z")

</div>

Is there any way to control over the individual block representation style (surface, wireframe , points etc.) like block opacity , block color and block visibility instead of setting actor representation style.

---

## [Trying to run VTK example but failed in Cmake --build stage](https://discourse.vtk.org/t/trying-to-run-vtk-example-but-failed-in-cmake-build-stage/11638)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 10\
**Last updated:** [June 9, 2023, 5:24pm UTC](https://discourse.vtk.org/t/trying-to-run-vtk-example-but-failed-in-cmake-build-stage/11638 "2023-06-09T17:24:16Z")

</div>

I am a new learner of VTK and I am trying to learn VTK by its examples. I’ve installed VTK and put the “C:\\Program Files\\VTK\\bin” as environment parameter. However when I tried to build one VTK example I failed at Cmake …

---

## [How to Colorize the Reconstructed Surface of Point Clouds Using Scalar Values?](https://discourse.vtk.org/t/how-to-colorize-the-reconstructed-surface-of-point-clouds-using-scalar-values/11635)

<div class="topic-metadata">

**Author:** [@guyqqcom](https://discourse.vtk.org/u/guyqqcom)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 1:32pm UTC](https://discourse.vtk.org/t/how-to-colorize-the-reconstructed-surface-of-point-clouds-using-scalar-values/11635 "2023-06-09T13:32:58Z")

</div>

I have a set of three-dimensional point clouds with associated scalar values. I want to perform surface reconstruction using these point clouds and then color the surface based on the scalar values of each point. However…

---

## [\[javascript\] vtkRenderWindowInteractor doesn't have the function addObserver](https://discourse.vtk.org/t/javascript-vtkrenderwindowinteractor-doesnt-have-the-function-addobserver/11624)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.vtk.org/u/Alex_Vergara)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 11:37am UTC](https://discourse.vtk.org/t/javascript-vtkrenderwindowinteractor-doesnt-have-the-function-addobserver/11624 "2023-06-09T11:37:36Z")

</div>

I want to associate a mousemove event handler to an interactor. this is done in python as renderWindowInteractor = vtk.vtkRenderWindowInteractor() renderWindowInteractor.AddObserver("MouseMoveEvent", mousemove) The pro…

---

## [vtkCaptionWidget interferes with Qt C++ Application quit](https://discourse.vtk.org/t/vtkcaptionwidget-interferes-with-qt-c-application-quit/9936)

<div class="topic-metadata">

**Author:** [@Manju](https://discourse.vtk.org/u/Manju)\
**Replies:** 15\
**Last updated:** [June 8, 2023, 8:12pm UTC](https://discourse.vtk.org/t/vtkcaptionwidget-interferes-with-qt-c-application-quit/9936 "2023-06-08T20:12:47Z")

</div>

I am using vtkCaptionWidget to annotate the 2D image loaded in qvtkwidget. However once the caption widget is placed on the image QApplication::exit(0) doesn’t work. Even if the window is closed by calling close() functi…

---

## [How to Reset VTKDistance Widget/ Distance Representation to make a new measurement in a renderer](https://discourse.vtk.org/t/how-to-reset-vtkdistance-widget-distance-representation-to-make-a-new-measurement-in-a-renderer/11646)

<div class="topic-metadata">

**Author:** [@Pereiraplox](https://discourse.vtk.org/u/Pereiraplox)\
**Replies:** 0\
**Last updated:** [June 8, 2023, 4:51pm UTC](https://discourse.vtk.org/t/how-to-reset-vtkdistance-widget-distance-representation-to-make-a-new-measurement-in-a-renderer/11646 "2023-06-08T16:51:22Z")

</div>

Hi I have an app where after pressing a button it enables the vtk distance widget on my renderer. By pressing it again I can turn it off. However, when I press the button again my wiget reappears with the previous measur…

---

## [Can ParaView Web load unstructured grids for cropping and slicing processing？](https://discourse.vtk.org/t/can-paraview-web-load-unstructured-grids-for-cropping-and-slicing-processing/11634)

<div class="topic-metadata">

**Author:** [@missWangLP](https://discourse.vtk.org/u/missWangLP)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 2:24pm UTC](https://discourse.vtk.org/t/can-paraview-web-load-unstructured-grids-for-cropping-and-slicing-processing/11634 "2023-06-08T14:24:53Z")

</div>

Do I have any methods for slicing and cropping unstructured grid data?

---

## [Trouble debugging HighlightPickedActor example](https://discourse.vtk.org/t/trouble-debugging-highlightpickedactor-example/2718)

<div class="topic-metadata">

**Author:** [@awa5114](https://discourse.vtk.org/u/awa5114)\
**Replies:** 2\
**Last updated:** [June 8, 2023, 2:09pm UTC](https://discourse.vtk.org/t/trouble-debugging-highlightpickedactor-example/2718 "2023-06-08T14:09:18Z")

</div>

I was able to successfully build and install vtk on Visual Studio 2019 thanks to various resources: https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md https://gitlab.kitware.com/vtk/vtk/blob/mast…

---

## [vtkCesium3DTilesWriter - explanation of parameters](https://discourse.vtk.org/t/vtkcesium3dtileswriter-explanation-of-parameters/11622)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 1:31am UTC](https://discourse.vtk.org/t/vtkcesium3dtileswriter-explanation-of-parameters/11622 "2023-06-08T01:31:12Z")

</div>

Hello I’m looking for some information about vtkCesium3DTilesWriter. Particularly an explanation on the input parameters would be useful, and a list of required vs optional parameters. These are the only pages I was abl…

---

## [VTK Examples - New CSV Examples](https://discourse.vtk.org/t/vtk-examples-new-csv-examples/11632)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 3\
**Last updated:** [June 8, 2023, 11:24am UTC](https://discourse.vtk.org/t/vtk-examples-new-csv-examples/11632 "2023-06-08T11:24:00Z")

</div>

There are two new examples on the VTK Examples site. These were inspired by a comment in Easy Data Conversion to VTK with Python, namely: "Otherwise, for each of these different cases, there is a good chance that the Pyt…

---

## [std::mutex incompatible with C++/CLI](https://discourse.vtk.org/t/std-mutex-incompatible-with-c-cli/11050)

<div class="topic-metadata">

**Author:** [@macadata](https://discourse.vtk.org/u/macadata)\
**Replies:** 4\
**Last updated:** [June 7, 2023, 9:42pm UTC](https://discourse.vtk.org/t/std-mutex-incompatible-with-c-cli/11050 "2023-06-07T21:42:04Z")

</div>

I’m upgrading a C++/CLI .NET application from VTK 8.1 to 9.2.6. I’m now getting many compile errors: fatal error C1189: #error: \<mutex\> is not supported when compiling with /clr or /clr:pure. …which I’ve tracked do…

---

## [\[javascript\] Get the cellID having the pointID](https://discourse.vtk.org/t/javascript-get-the-cellid-having-the-pointid/11615)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.vtk.org/u/Alex_Vergara)\
**Replies:** 4\
**Last updated:** [June 7, 2023, 3:41pm UTC](https://discourse.vtk.org/t/javascript-get-the-cellid-having-the-pointid/11615 "2023-06-07T15:41:18Z")

</div>

Hello I know the existence of the function let cellIds = polydata.getPointCells(i, vtkTriangle);, where “i” is the pointId. I expect a list of cellIds as output (all cells than contain the point i), but this is not the …

---

## [ActiViz 9.2 vtkRenderWindowInteractor LeftButtonDoubleClickEvt not triggered](https://discourse.vtk.org/t/activiz-9-2-vtkrenderwindowinteractor-leftbuttondoubleclickevt-not-triggered/11621)

<div class="topic-metadata">

**Author:** [@a772485252](https://discourse.vtk.org/u/a772485252)\
**Replies:** 0\
**Last updated:** [June 7, 2023, 5:57am UTC](https://discourse.vtk.org/t/activiz-9-2-vtkrenderwindowinteractor-leftbuttondoubleclickevt-not-triggered/11621 "2023-06-07T05:57:41Z")

</div>

Iren.LeftButtonDoubleClickEvt +=Iren\_LeftButtonDoubleClickEvt ; private void Iren\_LeftButtonDoubleClickEvt (vtkObject sender,vtkObjectEventArg e) { //do something }

---

## [Deprecate vtkOggTheoraWriter?](https://discourse.vtk.org/t/deprecate-vtkoggtheorawriter/11107)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 3\
**Last updated:** [June 6, 2023, 9:23pm UTC](https://discourse.vtk.org/t/deprecate-vtkoggtheorawriter/11107 "2023-06-06T21:23:03Z")

</div>

Hi all, The upstream theora project is alas moribund. I propose therefore that vtkOggTheoraWriter be deprecated: https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/10048 In the MR, reviewers suggested that I bring i…

---

## [Make 3D for RTDose](https://discourse.vtk.org/t/make-3d-for-rtdose/11612)

<div class="topic-metadata">

**Author:** [@A.M\_Shahpouri](https://discourse.vtk.org/u/A.M_Shahpouri)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 7:43am UTC](https://discourse.vtk.org/t/make-3d-for-rtdose/11612 "2023-06-06T07:43:14Z")

</div>

Hi I want to make a 3D shape which show color by value range like volume I have a RTDose dicom file and I want to make a 3D shape like this: I tried that with volume . setting opacity and color of each range of val…

---

## [VtkCutter : unexplained behaviour](https://discourse.vtk.org/t/vtkcutter-unexplained-behaviour/11607)

<div class="topic-metadata">

**Author:** [@raphael-bresson](https://discourse.vtk.org/u/raphael-bresson)\
**Replies:** 6\
**Last updated:** [June 5, 2023, 12:22pm UTC](https://discourse.vtk.org/t/vtkcutter-unexplained-behaviour/11607 "2023-06-05T12:22:57Z")

</div>

Hi everyone, I noticed a behavior of the vtkCutter filter that I can’t explain. Let’s say I have a very basic planar polydata mesh of 5x5 quads (100m x 100m each) with a hole in the middle. See attachment mesh.vtk (1.…

---

## [New \`ProcessIds\` data attribute for distributed algorithms](https://discourse.vtk.org/t/new-processids-data-attribute-for-distributed-algorithms/11383)

<div class="topic-metadata">

**Author:** [@charly\_bollinger](https://discourse.vtk.org/u/charly_bollinger)\
**Replies:** 15\
**Last updated:** [June 5, 2023, 7:58am UTC](https://discourse.vtk.org/t/new-processids-data-attribute-for-distributed-algorithms/11383 "2023-06-05T07:58:22Z")

</div>

Why When dealing with massive datasets, you need to use distributed algorithms to parallelize post-processing. When doing so, the data is distributed across multiple machines and, as such, each process has no knowledge o…

---

## [QVTKOpenGLStereoWidget customContextMenuRequested not work](https://discourse.vtk.org/t/qvtkopenglstereowidget-customcontextmenurequested-not-work/6124)

<div class="topic-metadata">

**Author:** [@evgen](https://discourse.vtk.org/u/evgen)\
**Replies:** 1\
**Last updated:** [June 4, 2023, 5:58am UTC](https://discourse.vtk.org/t/qvtkopenglstereowidget-customcontextmenurequested-not-work/6124 "2023-06-04T05:58:26Z")

</div>

I am migrating my app from vtk 8.1 to vtk 9.0. In vtk 9 QVTKOpenGLWidget is replaced with QVTKOpenGLStereoWidget. To create a context menu in vtk 8.1 I used the code: m\_View-\>setContextMenuPolicy(Qt::CustomContextMenu); …

---

## [vtk Custom Filter Clarification:](https://discourse.vtk.org/t/vtk-custom-filter-clarification/11605)

<div class="topic-metadata">

**Author:** [@ramen-newdals](https://discourse.vtk.org/u/ramen-newdals)\
**Replies:** 3\
**Last updated:** [June 4, 2023, 12:53am UTC](https://discourse.vtk.org/t/vtk-custom-filter-clarification/11605 "2023-06-04T00:53:59Z")

</div>

Hello All, System: VTK-9.2, using gcc-12 I am working on developing some custom filters for vtk, to get started I am using the vtk examples as a guide this example specifically (https://examples.vtk.org/site/Cxx/Develo…

---

## [Why dynamic drawn polygon contain triangle strips?](https://discourse.vtk.org/t/why-dynamic-drawn-polygon-contain-triangle-strips/11606)

<div class="topic-metadata">

**Author:** [@Pisces2018](https://discourse.vtk.org/u/Pisces2018)\
**Replies:** 1\
**Last updated:** [June 3, 2023, 11:13pm UTC](https://discourse.vtk.org/t/why-dynamic-drawn-polygon-contain-triangle-strips/11606 "2023-06-03T23:13:54Z")

</div>

Hi,everyone, I want to dynamically draw a polygon in a vtkRenderWindow that contains the volume data. In this case, the polygon is closed and normal, but the drawing process will stuck because the volume data is also be…

---

## [Volume rendering without clothes obstruction](https://discourse.vtk.org/t/volume-rendering-without-clothes-obstruction/11601)

<div class="topic-metadata">

**Author:** [@lkuan](https://discourse.vtk.org/u/lkuan)\
**Replies:** 1\
**Last updated:** [June 2, 2023, 7:40pm UTC](https://discourse.vtk.org/t/volume-rendering-without-clothes-obstruction/11601 "2023-06-02T19:40:27Z")

</div>

The image is shown in axial view. I am a beginner in VTK. I have achieved to visulize the airway and lung with VTK by using volume rendering. I set some brightness indexes to change opacity and gradientopacity. The …

---

## [vtkNIFTIWriter changes imagedata coordinate automatically](https://discourse.vtk.org/t/vtkniftiwriter-changes-imagedata-coordinate-automatically/11593)

<div class="topic-metadata">

**Author:** [@veltia](https://discourse.vtk.org/u/veltia)\
**Replies:** 2\
**Last updated:** [June 2, 2023, 9:43am UTC](https://discourse.vtk.org/t/vtkniftiwriter-changes-imagedata-coordinate-automatically/11593 "2023-06-02T09:43:59Z")

</div>

Hi all, I’m having a trouble of imagedata transforming, it seems will change coordinate information automatically after I save it as .nii file and read it again. Here is my steps: read dicom series. use vtkImageReslic…

---

## [How to make an actor thicker without changing its position,](https://discourse.vtk.org/t/how-to-make-an-actor-thicker-without-changing-its-position/11602)

<div class="topic-metadata">

**Author:** [@stoune](https://discourse.vtk.org/u/stoune)\
**Replies:** 5\
**Last updated:** [June 2, 2023, 9:07am UTC](https://discourse.vtk.org/t/how-to-make-an-actor-thicker-without-changing-its-position/11602 "2023-06-02T09:07:03Z")

</div>

Hi, I’m trying to make an mesh actor (a line) thicker in my scene, but every time I use the setScale(2 \* currentScale\[0\], currentScale\[1\], currentScale\[2\]) it changes its position in the scene, Is there a way to make m…

---

## [VTK 9.0.0.rc3](https://discourse.vtk.org/t/vtk-9-0-0-rc3/3113)

<div class="topic-metadata">

**Author:** [@TJ\_Corona](https://discourse.vtk.org/u/TJ_Corona)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 8:39pm UTC](https://discourse.vtk.org/t/vtk-9-0-0-rc3/3113 "2020-04-20T20:39:54Z")

</div>

The VTK maintenance team is happy to announce that VTK 9.0.0 RC3 is available for testing! You can find the source, data, documentation tarballs and python wheels for linux and OS X here (the python wheels are made usin…

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

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