# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=117

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

**Page:** 118

---

## [Is there an alternative of SetLabelColor in volumeProperty in vtk versions under 9.0](https://discourse.vtk.org/t/is-there-an-alternative-of-setlabelcolor-in-volumeproperty-in-vtk-versions-under-9-0/4564)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [November 4, 2020, 5:12pm UTC](https://discourse.vtk.org/t/is-there-an-alternative-of-setlabelcolor-in-volumeproperty-in-vtk-versions-under-9-0/4564 "2020-11-04T17:12:02Z")

</div>

Hello, I wonder if there is any alternative to SetLabelColor in volumeProperty in older vtk ersions to define the properties in the labels with SetMaskTypeToLabelMap and SetLabelScalarOpacity of a volume. in vtk 9.0 i t…

---

## [Non-shrinking (Taubin-) smoothing for lines?](https://discourse.vtk.org/t/non-shrinking-taubin-smoothing-for-lines/4561)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 2\
**Last updated:** [November 4, 2020, 3:04am UTC](https://discourse.vtk.org/t/non-shrinking-taubin-smoothing-for-lines/4561 "2020-11-04T03:04:32Z")

</div>

I’m using vtkWindowedSincPolyDataFilter to smooth surfaces without shrinkage. I wonder if I can use the same filter to smooth curves without shrinkage too. The doc of the aforementioned filter states that it should be p…

---

## [Content behind window is visible](https://discourse.vtk.org/t/content-behind-window-is-visible/4532)

<div class="topic-metadata">

**Author:** [@Ariel](https://discourse.vtk.org/u/Ariel)\
**Replies:** 6\
**Last updated:** [November 4, 2020, 1:13pm UTC](https://discourse.vtk.org/t/content-behind-window-is-visible/4532 "2020-11-04T13:13:30Z")

</div>

Hi community, I have a problem where the content behind VTK window is visible (showed in the attachments). I have two examples where this happened: I copied the first example of the VTK examples (\[https://lorensen.gi…

---

## [set/get FieldData with numpy\_interface.dataset\_adapter](https://discourse.vtk.org/t/set-get-fielddata-with-numpy-interface-dataset-adapter/4550)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 7\
**Last updated:** [November 4, 2020, 12:10pm UTC](https://discourse.vtk.org/t/set-get-fielddata-with-numpy-interface-dataset-adapter/4550 "2020-11-04T12:10:42Z")

</div>

Hello, I am doing experiments in Python, trying to set and get FieldData on e.g. a PolyData, UnstructuredGrid, etc., with numpy\_interface.dataset\_adapter. I am particularity interested in string FieldData, used to store …

---

## [vtkStripper does not join contiguous segments](https://discourse.vtk.org/t/vtkstripper-does-not-join-contiguous-segments/4552)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 1\
**Last updated:** [November 4, 2020, 11:17am UTC](https://discourse.vtk.org/t/vtkstripper-does-not-join-contiguous-segments/4552 "2020-11-04T11:17:18Z")

</div>

Not to confuse with this (This is not an issue of duplicate points.) vtkStripper does not join contiguous segments when more than 2 polylines are chained. Most of the polylines can be joined, but they’re not. Reality: …

---

## [Using vtk.js as an ES6 dependency](https://discourse.vtk.org/t/using-vtk-js-as-an-es6-dependency/4524)

<div class="topic-metadata">

**Author:** [@Francesc](https://discourse.vtk.org/u/Francesc)\
**Replies:** 4\
**Last updated:** [November 4, 2020, 6:20am UTC](https://discourse.vtk.org/t/using-vtk-js-as-an-es6-dependency/4524 "2020-11-04T06:20:02Z")

</div>

Hello, I can’t get this tutorial to work: What I want to achieve is use vtk.js from an Angular app. Let me see if my understanding is correct: We need to webpack vtk.js to make it work, right? This is different fr…

---

## [Generate STL file](https://discourse.vtk.org/t/generate-stl-file/4443)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 13\
**Last updated:** [November 3, 2020, 8:07pm UTC](https://discourse.vtk.org/t/generate-stl-file/4443 "2020-11-03T20:07:50Z")

</div>

I am trying to convert simple jpg files, with some simple items (black and white) into a STL files. I have tried: vtkSmartPointer\<vtkJPEGReader\> reader = vtkSmartPointer\<vtkJPEGReader\>::New(); reader-\>SetFileName(sFil…

---

## [PolyData connectivity filter with mode to specified regions only shows the first region selected](https://discourse.vtk.org/t/polydata-connectivity-filter-with-mode-to-specified-regions-only-shows-the-first-region-selected/4458)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 5\
**Last updated:** [November 3, 2020, 4:42pm UTC](https://discourse.vtk.org/t/polydata-connectivity-filter-with-mode-to-specified-regions-only-shows-the-first-region-selected/4458 "2020-11-03T16:42:49Z")

</div>

Hello, I have a question about vtkPolyDataConnectivityFilter with SetExtractionModeToSpecifiedRegions . It does it well if I only get one region with label 0 or 1. But if I already specified one, the other returns both …

---

## [Binary VTP PolyData File to ASCII](https://discourse.vtk.org/t/binary-vtp-polydata-file-to-ascii/4557)

<div class="topic-metadata">

**Author:** [@bdumphart](https://discourse.vtk.org/u/bdumphart)\
**Replies:** 0\
**Last updated:** [November 3, 2020, 1:06pm UTC](https://discourse.vtk.org/t/binary-vtp-polydata-file-to-ascii/4557 "2020-11-03T13:06:45Z")

</div>

Hi All! I have a question about the .vtp file format and how i can decode the binary base64 encoded data into a readable ascii/float32 format. I have already done this step with the Python vtk library (that works fine) …

---

## [Crop rotated ImageData to minimum axis aligned bounding box](https://discourse.vtk.org/t/crop-rotated-imagedata-to-minimum-axis-aligned-bounding-box/3018)

<div class="topic-metadata">

**Author:** [@rjs44](https://discourse.vtk.org/u/rjs44)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 3:38am UTC](https://discourse.vtk.org/t/crop-rotated-imagedata-to-minimum-axis-aligned-bounding-box/3018 "2020-11-03T03:38:57Z")

</div>

I have an ImageData containing an object which I have transformed (rotated) using ImageReslicer. In order for the object to still be fully visible after the rotation I have set the SetAutoCropOutput of ImageReslicer to T…

---

## [vtk 9.0 build error](https://discourse.vtk.org/t/vtk-9-0-build-error/4534)

<div class="topic-metadata">

**Author:** [@Jone7](https://discourse.vtk.org/u/Jone7)\
**Replies:** 8\
**Last updated:** [November 3, 2020, 12:27am UTC](https://discourse.vtk.org/t/vtk-9-0-build-error/4534 "2020-11-03T00:27:14Z")

</div>

I tried to compile VTK 9.0 on VS2017 and combine QT for visualization, but I built many times, only to find that there was no QVTKWidgetPlugin.dll. I used CMake3.18.2 and QT 5.12.3.

---

## [How to use server rendering in activiz](https://discourse.vtk.org/t/how-to-use-server-rendering-in-activiz/4547)

<div class="topic-metadata">

**Author:** [@nober](https://discourse.vtk.org/u/nober)\
**Replies:** 0\
**Last updated:** [November 2, 2020, 6:42am UTC](https://discourse.vtk.org/t/how-to-use-server-rendering-in-activiz/4547 "2020-11-02T06:42:21Z")

</div>

Does it support vtkweb or paraview ? What to do if support ? Do I need to implement the data exchange protocol myself?

---

## [problem about the extents of output image in vtkResliceImageViewer when crosshair moving](https://discourse.vtk.org/t/problem-about-the-extents-of-output-image-in-vtkresliceimageviewer-when-crosshair-moving/4540)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 0\
**Last updated:** [November 1, 2020, 3:09pm UTC](https://discourse.vtk.org/t/problem-about-the-extents-of-output-image-in-vtkresliceimageviewer-when-crosshair-moving/4540 "2020-11-01T15:09:20Z")

</div>

I have realized the 2D viewers with 2D vtkResliceImageViewer and a 3D MPR viewer with vtkImagePlaneWidget in my demo. Now the MPR plane can update its cursor position with the 2D viewer crosshair moving. When 2D cursor m…

---

## [How to properly clip and cut multiple actors](https://discourse.vtk.org/t/how-to-properly-clip-and-cut-multiple-actors/4504)

<div class="topic-metadata">

**Author:** [@Marti.R](https://discourse.vtk.org/u/Marti.R)\
**Replies:** 10\
**Last updated:** [October 30, 2020, 8:25pm UTC](https://discourse.vtk.org/t/how-to-properly-clip-and-cut-multiple-actors/4504 "2020-10-30T20:25:12Z")

</div>

Hello everyone, I am new to vtk and have a question regarding the proper process to clip and cut multiple actors. In case this matters: I am doing this in Python. Currently I have a set of vtkActors that are stored in …

---

## [transparent objects not rendered with vtk9 and mesa 18.3.4 & 20.1.8](https://discourse.vtk.org/t/transparent-objects-not-rendered-with-vtk9-and-mesa-18-3-4-20-1-8/4417)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 4\
**Last updated:** [October 30, 2020, 2:31pm UTC](https://discourse.vtk.org/t/transparent-objects-not-rendered-with-vtk9-and-mesa-18-3-4-20-1-8/4417 "2020-10-30T14:31:36Z")

</div>

I am trying to get VTK 9.0.1 to show transparent objects on our CentOS-7 with mesa but the transparent objects are not rendered at all apparently due to texture errors. The attached script shows a red cube and a green s…

---

## [How to show vtkPolyData in vtkImageViewer2?](https://discourse.vtk.org/t/how-to-show-vtkpolydata-in-vtkimageviewer2/4527)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 1\
**Last updated:** [October 30, 2020, 12:16pm UTC](https://discourse.vtk.org/t/how-to-show-vtkpolydata-in-vtkimageviewer2/4527 "2020-10-30T12:16:12Z")

</div>

I have read a stl file and cut it, it can show the cut slice of cutter. But when I use this in vtkImageViewer2, the reslicer can not show? Can anyone show me a suggestion!!! \`void main() { vtkRenderer \*pRender1 = vtk…

---

## [Can I pick a point from a cloudPoint?](https://discourse.vtk.org/t/can-i-pick-a-point-from-a-cloudpoint/4526)

<div class="topic-metadata">

**Author:** [@LiZhenzhuBlog](https://discourse.vtk.org/u/LiZhenzhuBlog)\
**Replies:** 0\
**Last updated:** [October 30, 2020, 1:38am UTC](https://discourse.vtk.org/t/can-i-pick-a-point-from-a-cloudpoint/4526 "2020-10-30T01:38:11Z")

</div>

I have a problem with this https://discourse.vtk.org/t/point-picking-in-vtk-file/2171. I picked the point with the PointPicker and CellPicker with python，but get a wrong postion each time.

---

## [vtkmodules.qt.QVTKRenderWindowInteractor problems](https://discourse.vtk.org/t/vtkmodules-qt-qvtkrenderwindowinteractor-problems/4521)

<div class="topic-metadata">

**Author:** [@crux](https://discourse.vtk.org/u/crux)\
**Replies:** 9\
**Last updated:** [October 29, 2020, 7:20pm UTC](https://discourse.vtk.org/t/vtkmodules-qt-qvtkrenderwindowinteractor-problems/4521 "2020-10-29T19:20:25Z")

</div>

Hello, I have problems using the QVTKRenderWindowInteractor within Python. At first the setup: OS: Windows10 Python: 3.7.9 PyQt: 5.15.1 VTK: 9.0.1 (I built it with ‘python -m pip install vtk’) I had problems with …

---

## [Render a specific array from a VTI file](https://discourse.vtk.org/t/render-a-specific-array-from-a-vti-file/4514)

<div class="topic-metadata">

**Author:** [@Soumya\_Dutta](https://discourse.vtk.org/u/Soumya_Dutta)\
**Replies:** 1\
**Last updated:** [October 29, 2020, 3:27pm UTC](https://discourse.vtk.org/t/render-a-specific-array-from-a-vti-file/4514 "2020-10-29T15:27:00Z")

</div>

Hi all, I am trying to do volume rendering on a specific array from a vti data. The vti data can have multiple arrays. This is similar to select an array from the drop down list to do volume rendering. I am not sure how…

---

## [VTK decimator pro dosent recognise sub meshes in obj file](https://discourse.vtk.org/t/vtk-decimator-pro-dosent-recognise-sub-meshes-in-obj-file/4501)

<div class="topic-metadata">

**Author:** [@Rahul07](https://discourse.vtk.org/u/Rahul07)\
**Replies:** 1\
**Last updated:** [October 29, 2020, 1:52pm UTC](https://discourse.vtk.org/t/vtk-decimator-pro-dosent-recognise-sub-meshes-in-obj-file/4501 "2020-10-29T13:52:50Z")

</div>

Hi, I have an obj file with contains g tags, when I import the obj file decimate it and export it, it contains only one single mesh (it neglects g tags).

---

## [OpenGL Errors using ActiViz for Unity](https://discourse.vtk.org/t/opengl-errors-using-activiz-for-unity/4503)

<div class="topic-metadata">

**Author:** [@drdavid](https://discourse.vtk.org/u/drdavid)\
**Replies:** 1\
**Last updated:** [October 29, 2020, 10:03am UTC](https://discourse.vtk.org/t/opengl-errors-using-activiz-for-unity/4503 "2020-10-29T10:03:29Z")

</div>

Hi all. I’ve a fair bit of experience using Activiz 7.1.1 and separately with Unity3D and now looking at using the Unity3D plugin. I’ve downloaded the Medical Viewer sample package and also have a trial of the full plugi…

---

## [Writing Polydata including its colour to file](https://discourse.vtk.org/t/writing-polydata-including-its-colour-to-file/4389)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 6\
**Last updated:** [October 28, 2020, 12:38pm UTC](https://discourse.vtk.org/t/writing-polydata-including-its-colour-to-file/4389 "2020-10-28T12:38:59Z")

</div>

Hi everyone, I was wondering how one could write a polydata including its colour to file. For instance I understand that polydata’s do not intrinsically hold information about their colour, well unless one includes this…

---

## [How to understand binary DataArray in xml vtk output](https://discourse.vtk.org/t/how-to-understand-binary-dataarray-in-xml-vtk-output/4489)

<div class="topic-metadata">

**Author:** [@qzxuhui](https://discourse.vtk.org/u/qzxuhui)\
**Replies:** 4\
**Last updated:** [October 27, 2020, 5:36pm UTC](https://discourse.vtk.org/t/how-to-understand-binary-dataarray-in-xml-vtk-output/4489 "2020-10-27T17:36:35Z")

</div>

Hello everyone, I have a problem with how to understand the binary DataArray. The manual said if the format of DataArray is binary, The data are encoded in base64 and listed contiguously inside the DataArray element. D…

---

## [vtkLookupTable range max + eps](https://discourse.vtk.org/t/vtklookuptable-range-max-eps/4491)

<div class="topic-metadata">

**Author:** [@Nil](https://discourse.vtk.org/u/Nil)\
**Replies:** 9\
**Last updated:** [October 27, 2020, 3:15pm UTC](https://discourse.vtk.org/t/vtklookuptable-range-max-eps/4491 "2020-10-27T15:15:09Z")

</div>

I’m using a LUT in my application since vtk6 and I had to add (probably in vtk8) if data.dtype == np.float32 or data.dtype == np.float64: table.SetRange(np.min(data), np.max(data) + 0.00001) else: table.SetRange…

---

## [Page about vtkSmartPointer](https://discourse.vtk.org/t/page-about-vtksmartpointer/4449)

<div class="topic-metadata">

**Author:** [@dsemikin](https://discourse.vtk.org/u/dsemikin)\
**Replies:** 12\
**Last updated:** [October 27, 2020, 2:21pm UTC](https://discourse.vtk.org/t/page-about-vtksmartpointer/4449 "2020-10-27T14:21:06Z")

</div>

Hi Everyone, As I start learning VTK, I decided to collect together things about VTK smart poitners, which I found to be not obvious in the official tutorial. The page is available here: https://github.com/DmitrySemiki…

---

## [Retrieving the Colours from a vtkProbeFilter result.](https://discourse.vtk.org/t/retrieving-the-colours-from-a-vtkprobefilter-result/4497)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 1:39pm UTC](https://discourse.vtk.org/t/retrieving-the-colours-from-a-vtkprobefilter-result/4497 "2020-10-27T13:39:03Z")

</div>

Hello everyone, I’m a bit confused figuring this out, I’ve got a vtkProbeFilter am working with. I have its input data set to a polydata (that has points, strips and normals only), and its source connection from the out…

---

## [How to change the transform of vtkImagePlaneWidget in the world coordinate](https://discourse.vtk.org/t/how-to-change-the-transform-of-vtkimageplanewidget-in-the-world-coordinate/4495)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 7:02am UTC](https://discourse.vtk.org/t/how-to-change-the-transform-of-vtkimageplanewidget-in-the-world-coordinate/4495 "2020-10-27T07:02:32Z")

</div>

Hi everyone, I use vtkImagePlaneWidget to build MPR for 3D image volume. I want to change the transform of the three planes in the world coordinate. I found the functions like Push(), Rotate() and Translate() are design…

---

## [Wait until vtkDicomImageReader output data is available](https://discourse.vtk.org/t/wait-until-vtkdicomimagereader-output-data-is-available/4459)

<div class="topic-metadata">

**Author:** [@geho](https://discourse.vtk.org/u/geho)\
**Replies:** 13\
**Last updated:** [October 25, 2020, 3:58pm UTC](https://discourse.vtk.org/t/wait-until-vtkdicomimagereader-output-data-is-available/4459 "2020-10-25T15:58:52Z")

</div>

Hi, I’m using vtkDicomImageReader to read a DICOM volume, and then accessing properties of the DICOM volume, like this: reader-\>SetDirectoryName("/path"); reader-\>Update(); reader-\>GetOutput()-\>GetSpacing(spacing); I…

---

## [How to convert coordinates from physical space (xyz) to index space (ijk) by VTK api](https://discourse.vtk.org/t/how-to-convert-coordinates-from-physical-space-xyz-to-index-space-ijk-by-vtk-api/3037)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 2\
**Last updated:** [October 25, 2020, 11:48am UTC](https://discourse.vtk.org/t/how-to-convert-coordinates-from-physical-space-xyz-to-index-space-ijk-by-vtk-api/3037 "2020-10-25T11:48:47Z")

</div>

I want to Convert coordinates from physical space (xyz) to index space (ijk). In VTK9.0.0, I find vtkImageData::TransformPhysicalPointToContinuousIndex() recently added can get what I want. But is there any way to get t…

---

## [Difference between vtkStructuredPoints and vtkStructuredPointsReader?](https://discourse.vtk.org/t/difference-between-vtkstructuredpoints-and-vtkstructuredpointsreader/1247)

<div class="topic-metadata">

**Author:** [@Jesper\_Henriksen](https://discourse.vtk.org/u/Jesper_Henriksen)\
**Replies:** 3\
**Last updated:** [October 25, 2020, 6:28am UTC](https://discourse.vtk.org/t/difference-between-vtkstructuredpoints-and-vtkstructuredpointsreader/1247 "2020-10-25T06:28:49Z")

</div>

Hi, I need a way to transform a vtkStructuredPoints into a vtkAlgorithmOutput I have a problem using the streamtracer. When I load vector information using the vtkStructuredPointsReader, I can set the SetInputConnect…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=116)

[Next page](https://discourse.vtk.org/c/support/6.md?page=118)
