# Latest

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

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

**Page:** 226

---

## [vtkAngleWidget set label to a fixed size does not work](https://discourse.vtk.org/t/vtkanglewidget-set-label-to-a-fixed-size-does-not-work/2578)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [February 11, 2020, 2:33pm UTC](https://discourse.vtk.org/t/vtkanglewidget-set-label-to-a-fixed-size-does-not-work/2578 "2020-02-11T14:33:16Z")

</div>

Dear all, I want to set the text size of the angle arc to a size but it does not work. The size is very small and it is not visible. I have tried several options but only the sace waorks and i want a fixed size as the d…

---

## [transform RGBA to RGB after blending](https://discourse.vtk.org/t/transform-rgba-to-rgb-after-blending/2576)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.vtk.org/u/rprueckl)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 4:35pm UTC](https://discourse.vtk.org/t/transform-rgba-to-rgb-after-blending/2576 "2020-02-10T16:35:42Z")

</div>

I want to achieve a fairly simple operation in VTK. My starting point are several 2D images (same dimensions) that I want blend together over a black background. All images have alpha channels and some (semi)transparent …

---

## [example: smartvolumemapper](https://discourse.vtk.org/t/example-smartvolumemapper/2555)

<div class="topic-metadata">

**Author:** [@Tracy\_Nk](https://discourse.vtk.org/u/Tracy_Nk)\
**Replies:** 4\
**Last updated:** [February 10, 2020, 4:09pm UTC](https://discourse.vtk.org/t/example-smartvolumemapper/2555 "2020-02-10T16:09:12Z")

</div>

Hello, I’m doing this example: https://lorensen.github.io/VTKExamples/site/Cxx/VolumeRendering/SmartVolumeMapper/ however while trying to configure it on CMAKE this is the error I received: how can I resolve this? T…

---

## [Run VTK example in Qt](https://discourse.vtk.org/t/run-vtk-example-in-qt/2569)

<div class="topic-metadata">

**Author:** [@kerim](https://discourse.vtk.org/u/kerim)\
**Replies:** 5\
**Last updated:** [February 10, 2020, 3:32pm UTC](https://discourse.vtk.org/t/run-vtk-example-in-qt/2569 "2020-02-10T15:32:56Z")

</div>

Hi, I’m beginner at VTK and I need help to start working with that. I built VTK library. I can run examples from official site. But to run them I add the following code: #include \<vtkAutoInit.h\> VTK\_MODULE\_INIT(vtkR…

---

## [Pick and highlight glyphs.](https://discourse.vtk.org/t/pick-and-highlight-glyphs/1613)

<div class="topic-metadata">

**Author:** [@Mskovmand](https://discourse.vtk.org/u/Mskovmand)\
**Replies:** 5\
**Last updated:** [February 10, 2020, 6:45am UTC](https://discourse.vtk.org/t/pick-and-highlight-glyphs/1613 "2020-02-10T06:45:09Z")

</div>

Firstly, I’m still fairly new at VTK, I’m doing the best I can :slight\_smile: I have a scene illustrating points as glyphs. I want to be able to pick and highlight each glyph individually. I have implemented the intera…

---

## [Convert vtkPropPicker value to vtkVoxel values](https://discourse.vtk.org/t/convert-vtkproppicker-value-to-vtkvoxel-values/2549)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 6\
**Last updated:** [February 9, 2020, 9:50am UTC](https://discourse.vtk.org/t/convert-vtkproppicker-value-to-vtkvoxel-values/2549 "2020-02-09T09:50:04Z")

</div>

I am trying to know the min\_voxel / max\_voxel for vtkImageConnectivityFilter::SetSizeRange for bones, and I don’t know from where I taken … and I thinking (maybe is stupid) to get those values from a vtkPropPicker … it i…

---

## [Ospray Material Library problem with mtl file](https://discourse.vtk.org/t/ospray-material-library-problem-with-mtl-file/2558)

<div class="topic-metadata">

**Author:** [@gilcu2](https://discourse.vtk.org/u/gilcu2)\
**Replies:** 2\
**Last updated:** [February 8, 2020, 6:34am UTC](https://discourse.vtk.org/t/ospray-material-library-problem-with-mtl-file/2558 "2020-02-08T06:34:35Z")

</div>

I am using vtkOSPRayMaterialLibrary to read an mtl file but all the shaded variables for any material return (1,1,1) and these are not the values in the mtl. Attached source and mtl file. Am I doing something wrong? T…

---

## [How to set a background on a vtkCaptionWidget or a vtkCaptionActor2D](https://discourse.vtk.org/t/how-to-set-a-background-on-a-vtkcaptionwidget-or-a-vtkcaptionactor2d/2565)

<div class="topic-metadata">

**Author:** [@jean](https://discourse.vtk.org/u/jean)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 3:30pm UTC](https://discourse.vtk.org/t/how-to-set-a-background-on-a-vtkcaptionwidget-or-a-vtkcaptionactor2d/2565 "2020-02-07T15:30:16Z")

</div>

Hi, I have played around to format a vtkCaptionActor2D, and found a hacky way for displaying a background. The Border if off and what we see is the frame from the CaptionTextProperty with added spaces for padding: ac…

---

## [Calling SetSize(X, Y) on a vtkRenderWindow will sometime size to something else than X\*Y](https://discourse.vtk.org/t/calling-setsize-x-y-on-a-vtkrenderwindow-will-sometime-size-to-something-else-than-x-y/2556)

<div class="topic-metadata">

**Author:** [@jjackso2](https://discourse.vtk.org/u/jjackso2)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 8:16pm UTC](https://discourse.vtk.org/t/calling-setsize-x-y-on-a-vtkrenderwindow-will-sometime-size-to-something-else-than-x-y/2556 "2020-02-06T20:16:21Z")

</div>

Title. This will result in GetSize() returning values different from X and Y in SetSize(X, Y) called prior. Most often than not, if you try calling SetSize() multiple times with the same values it will end up working …

---

## [Topology Representations](https://discourse.vtk.org/t/topology-representations/2564)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 12:46pm UTC](https://discourse.vtk.org/t/topology-representations/2564 "2020-02-07T12:46:47Z")

</div>

Dear All, Which mesh topology VTK supports (e.g Face-Vertex Meshes, Winged-Edge Mesches) for image editing or rendering? Are there some lossless conversion functions between these topologies? Thanks, Luis Gonçalves

---

## [Representation of Points in Polydata using PointGaussianMapper.](https://discourse.vtk.org/t/representation-of-points-in-polydata-using-pointgaussianmapper/2562)

<div class="topic-metadata">

**Author:** [@koushik](https://discourse.vtk.org/u/koushik)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 10:50am UTC](https://discourse.vtk.org/t/representation-of-points-in-polydata-using-pointgaussianmapper/2562 "2020-02-07T10:50:22Z")

</div>

Hi, I have a polydata which contains points and scalar values at those points.(Link for polydata : https://drive.google.com/file/d/19kt16tYHnioucDjqRAOpSy8OAgkLYIAM/view?usp=sharing). The below image shows the polydata…

---

## [Orientation Widget "Padding"](https://discourse.vtk.org/t/orientation-widget-padding/2546)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 10\
**Last updated:** [February 7, 2020, 4:40am UTC](https://discourse.vtk.org/t/orientation-widget-padding/2546 "2020-02-07T04:40:14Z")

</div>

Currently: I have implemented an orientation widget into my application using: orientationWidget = vtkSmartPointer\<vtkOrientationMarkerWidget\>::New(); axes = vtkSmartPointer\<vtkAxesActor\>::New(); orientationWidget-\>Se…

---

## [Voxel size of a tooth](https://discourse.vtk.org/t/voxel-size-of-a-tooth/2552)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 4:20am UTC](https://discourse.vtk.org/t/voxel-size-of-a-tooth/2552 "2020-02-06T04:20:26Z")

</div>

Hello. I am come here with a simple question: how can I know the voxel size of a tooth from a vtkVolume (dentition CT scan) ? I don’t know from where to take this value … I need it for computing the size range in order t…

---

## [Touchscreen Pan Gesture on a Qt-QML application](https://discourse.vtk.org/t/touchscreen-pan-gesture-on-a-qt-qml-application/2535)

<div class="topic-metadata">

**Author:** [@Synfony](https://discourse.vtk.org/u/Synfony)\
**Replies:** 13\
**Last updated:** [February 5, 2020, 10:32pm UTC](https://discourse.vtk.org/t/touchscreen-pan-gesture-on-a-qt-qml-application/2535 "2020-02-05T22:32:17Z")

</div>

Hi, First of all, I tried to build the TouchGestureViewer example (from https://gitlab.kitware.com/vtk/vtk/tree/master/Examples/GUI/Qt/TouchGestureViewer) using VTK8.2.0 and Qt5.12.6 on Windows10(64 bit) surface. But I…

---

## [Read a .vtk file inside a .tar archive without extracting the files](https://discourse.vtk.org/t/read-a-vtk-file-inside-a-tar-archive-without-extracting-the-files/2554)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 6:20pm UTC](https://discourse.vtk.org/t/read-a-vtk-file-inside-a-tar-archive-without-extracting-the-files/2554 "2020-02-05T18:20:12Z")

</div>

Hello, I need to read a .vtk file and I do it by reader = vtk.vtkStructuredPointsReader() reader.SetFileName(file) My files are mostly inside a .tar archive, along with vtk file there are lot other files inside. I ca…

---

## [removing segments of MRI 3D model](https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550)

<div class="topic-metadata">

**Author:** [@Tracy\_Nk](https://discourse.vtk.org/u/Tracy_Nk)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 3:46pm UTC](https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550 "2020-02-05T15:46:10Z")

</div>

Hi, I’m aware that I can use VTK to get a 3D visualisation of an MRI DICOM data set, however, my next goal is to be able to remove parts of the 3D brain model so that I can focus on and only see a specific part of the br…

---

## [initialize vtkBorderWidget with the click of the mouse](https://discourse.vtk.org/t/initialize-vtkborderwidget-with-the-click-of-the-mouse/2519)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 5\
**Last updated:** [February 5, 2020, 2:02pm UTC](https://discourse.vtk.org/t/initialize-vtkborderwidget-with-the-click-of-the-mouse/2519 "2020-02-05T14:02:23Z")

</div>

Dear all, I want to obtain a ROI over an vtkimagedata (dicom) to perform certain statistics in that area (e.g., mean, std…). So i am using vtkBorderWidget. But i found out that it is always initialzed at the left bottom…

---

## [Eye-Dome Lighting and Viewport](https://discourse.vtk.org/t/eye-dome-lighting-and-viewport/1249)

<div class="topic-metadata">

**Author:** [@GuillaumeFavelier](https://discourse.vtk.org/u/GuillaumeFavelier)\
**Replies:** 6\
**Last updated:** [February 4, 2020, 11:28pm UTC](https://discourse.vtk.org/t/eye-dome-lighting-and-viewport/1249 "2020-02-04T23:28:46Z")

</div>

In a vtkRenderWindow using multiple instances of vtkRenderer each in its own viewport, how does one can manage to enable vtkEDLShading in one renderer without whitening the others? Is this behaviour expected or did I may…

---

## [What is SetSampleDimensions in vtkSampleFunction?](https://discourse.vtk.org/t/what-is-setsampledimensions-in-vtksamplefunction/2540)

<div class="topic-metadata">

**Author:** [@stwalker](https://discourse.vtk.org/u/stwalker)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 1:16pm UTC](https://discourse.vtk.org/t/what-is-setsampledimensions-in-vtksamplefunction/2540 "2020-02-04T13:16:44Z")

</div>

Referring to the example found here: https://cmake.org/Wiki/VTK/Examples/Python/Implicit/Quadric I know that increasing the arguments SetSampleDimensions seems to increase the mesh density (I think), and generally make…

---

## [Change interactor style at runtime](https://discourse.vtk.org/t/change-interactor-style-at-runtime/1985)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 0\
**Last updated:** [October 27, 2019, 11:52am UTC](https://discourse.vtk.org/t/change-interactor-style-at-runtime/1985 "2019-10-27T11:52:51Z")

</div>

It is possible to change the vtkRenderWindowInteractor interactor style at run time ? I have tried to change it from 2D interactor style to 3D interactor style, and is not working … and I am wonder if it is possible … I…

---

## [ParaView and VTK training course in Lyon, France in march 2020](https://discourse.vtk.org/t/paraview-and-vtk-training-course-in-lyon-france-in-march-2020/2537)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 3:42am UTC](https://discourse.vtk.org/t/paraview-and-vtk-training-course-in-lyon-france-in-march-2020/2537 "2020-02-04T03:42:48Z")

</div>

Kitware SAS is organizing VTK and ParaView training course (basic and advanced) in march 2020 in its office in Lyon, France. Always wanted to use VTK to create visualization of your data but did not know how to start? …

---

## [A VTK python module for analysis and simulation](https://discourse.vtk.org/t/a-vtk-python-module-for-analysis-and-simulation/204)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 8\
**Last updated:** [February 3, 2020, 9:36pm UTC](https://discourse.vtk.org/t/a-vtk-python-module-for-analysis-and-simulation/204 "2020-02-03T21:36:08Z")

</div>

Dear vtk-ers, I would like to advertise/announce on this new platform a python module, developed under the support of EMBL (European Molecular Biology Laboratory), which may turn useful to the general VTK community of u…

---

## [How to reproduce vtkImageCropFilter from VTK.js in Python?](https://discourse.vtk.org/t/how-to-reproduce-vtkimagecropfilter-from-vtk-js-in-python/2533)

<div class="topic-metadata">

**Author:** [@ian.liu88](https://discourse.vtk.org/u/ian.liu88)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 2:08pm UTC](https://discourse.vtk.org/t/how-to-reproduce-vtkimagecropfilter-from-vtk-js-in-python/2533 "2020-02-03T14:08:52Z")

</div>

The following example from VTK.js website shows a Crop Filter that doesn’t seem to exist on “vanilla” VTK. How can I reproduce it with Python?

---

## [Gaussian Filter and Python](https://discourse.vtk.org/t/gaussian-filter-and-python/2529)

<div class="topic-metadata">

**Author:** [@Uncheajax](https://discourse.vtk.org/u/Uncheajax)\
**Replies:** 2\
**Last updated:** [February 3, 2020, 5:55am UTC](https://discourse.vtk.org/t/gaussian-filter-and-python/2529 "2020-02-03T05:55:55Z")

</div>

Hello, I am new to VTK. I want to load a DICOM file using VTK in python and then implement Gaussian and Median Filters with python code. Please can someone assist? I’m kinda confused as to how to go about it.

---

## [How to extract the ids of the boundary points of a surface?](https://discourse.vtk.org/t/how-to-extract-the-ids-of-the-boundary-points-of-a-surface/2530)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 2\
**Last updated:** [February 1, 2020, 7:01pm UTC](https://discourse.vtk.org/t/how-to-extract-the-ids-of-the-boundary-points-of-a-surface/2530 "2020-02-01T19:01:46Z")

</div>

I know that it is possible to extract boundary edges using vtkFeatureEdges. See this example. The edges are returned as a new vtkPolyData consisting of one or more vtkPolyLines. However, I require the point ids of the i…

---

## [Camera Clipping with 2 Renderers](https://discourse.vtk.org/t/camera-clipping-with-2-renderers/2483)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 10\
**Last updated:** [January 31, 2020, 2:05am UTC](https://discourse.vtk.org/t/camera-clipping-with-2-renderers/2483 "2020-01-31T02:05:15Z")

</div>

Current Setup: I have 2 renderers, gridRenderer and geoRenderer, within 2 layers of a render window: gridRenderer-\>SetLayer(0); geoRenderer-\>SetLayer(1); RenderWindow()-\>SetNumberOfLayers(2); RenderWindow()-\>AddRend…

---

## [vtkRenderWindow window not responding](https://discourse.vtk.org/t/vtkrenderwindow-window-not-responding/2524)

<div class="topic-metadata">

**Author:** [@Indushekhar\_Singh](https://discourse.vtk.org/u/Indushekhar_Singh)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 7:51pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-window-not-responding/2524 "2020-01-30T19:51:45Z")

</div>

Hi I am using Activiz ( VTK for .NET ) version 5.8. My application is to render a real-time 3D Point cloud. My render window crashes whenever I minimize the render window or switch tab to use other applications on my PC…

---

## [Rendering using vtkRenderWindowInteractor](https://discourse.vtk.org/t/rendering-using-vtkrenderwindowinteractor/2522)

<div class="topic-metadata">

**Author:** [@Indushekhar\_Singh](https://discourse.vtk.org/u/Indushekhar_Singh)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 5:44pm UTC](https://discourse.vtk.org/t/rendering-using-vtkrenderwindowinteractor/2522 "2020-01-30T17:44:27Z")

</div>

Hi I am using Activiz ( VTK for .NET ) version 5.8. My application is to render a real-time 3D Point cloud. I want to do the whole rendering using vtkRenderWindowInteractor. But currently, I can only use it at the start…

---

## [How to find MR from commit](https://discourse.vtk.org/t/how-to-find-mr-from-commit/2511)

<div class="topic-metadata">

**Author:** [@toddy](https://discourse.vtk.org/u/toddy)\
**Replies:** 14\
**Last updated:** [January 30, 2020, 1:33am UTC](https://discourse.vtk.org/t/how-to-find-mr-from-commit/2511 "2020-01-30T01:33:46Z")

</div>

Hi. Is it possible to find the gitlab merge request associated with a git commit (SHA number) in master? Or do the commits need to be tagged somehow?

---

## [Near clipping plane problem when in parallel projection](https://discourse.vtk.org/t/near-clipping-plane-problem-when-in-parallel-projection/2515)

<div class="topic-metadata">

**Author:** [@jjackso2](https://discourse.vtk.org/u/jjackso2)\
**Replies:** 0\
**Last updated:** [January 29, 2020, 10:37pm UTC](https://discourse.vtk.org/t/near-clipping-plane-problem-when-in-parallel-projection/2515 "2020-01-29T22:37:00Z")

</div>

There is a near clipping plane problem when in parallel projection. Objects close will get clipped before they are behind the camera. This is exactly bug reported in the old tracker. https://vtk.org/Bug/view.php?id=78…

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

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