# Support

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

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

**Page:** 71

---

## [The link to tests of Detailed Description in vtk doc might be invalidated](https://discourse.vtk.org/t/the-link-to-tests-of-detailed-description-in-vtk-doc-might-be-invalidated/9144)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.vtk.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 2:31am UTC](https://discourse.vtk.org/t/the-link-to-tests-of-detailed-description-in-vtk-doc-might-be-invalidated/9144 "2022-08-16T02:31:25Z")

</div>

The link of vtk examples (e.g.VTK: Class To Tests (C) ) to gitlab might be invalidated. Not Found (kitware.com)

---

## [Render text to RenderWindow or vtkUnsignedCharArray directly](https://discourse.vtk.org/t/render-text-to-renderwindow-or-vtkunsignedchararray-directly/9143)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 0\
**Last updated:** [August 13, 2022, 6:28pm UTC](https://discourse.vtk.org/t/render-text-to-renderwindow-or-vtkunsignedchararray-directly/9143 "2022-08-13T18:28:33Z")

</div>

I’m making an interactive measuring tool for an interactor. The interactor draws a line between the two points by setting the pixel values in a vtkUnsignedCharArray (in very much the same way as the rubberband zoom) Th…

---

## [Transport mesh from .vtu file to Blender](https://discourse.vtk.org/t/transport-mesh-from-vtu-file-to-blender/9072)

<div class="topic-metadata">

**Author:** [@Manuel\_Prova](https://discourse.vtk.org/u/Manuel_Prova)\
**Replies:** 1\
**Last updated:** [August 13, 2022, 6:07pm UTC](https://discourse.vtk.org/t/transport-mesh-from-vtu-file-to-blender/9072 "2022-08-13T18:07:57Z")

</div>

I’m trying to transport a mesh from a .vtu file to blender, i’m able to transport the vertices but i’m having problems with faces. What i need is the ids of the vertices of every face so i can create the mesh in blender.…

---

## [Weird rendering that some actors become boxes automatically when mouse down.](https://discourse.vtk.org/t/weird-rendering-that-some-actors-become-boxes-automatically-when-mouse-down/9129)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 3\
**Last updated:** [August 12, 2022, 2:00pm UTC](https://discourse.vtk.org/t/weird-rendering-that-some-actors-become-boxes-automatically-when-mouse-down/9129 "2022-08-12T14:00:10Z")

</div>

As you can see in the video,some actors become boxes and when mouse down,and everything recovers normally after mouse up.Both happends automatically.I haven’t add any code to do these. These happen more o…

---

## [Error while constructing cell map: Invalid cell size for lines.](https://discourse.vtk.org/t/error-while-constructing-cell-map-invalid-cell-size-for-lines/9137)

<div class="topic-metadata">

**Author:** [@Dwight98](https://discourse.vtk.org/u/Dwight98)\
**Replies:** 0\
**Last updated:** [August 12, 2022, 9:37am UTC](https://discourse.vtk.org/t/error-while-constructing-cell-map-invalid-cell-size-for-lines/9137 "2022-08-12T09:37:42Z")

</div>

The image above is two polygons I created with Geomagic studio, and I saved them separately as files in obj format，I then use the vtkBooleanOperationPolyDataFilter() method in vtk.py to do Intersection operations.Howe…

---

## [Visualize Cutplane Edges](https://discourse.vtk.org/t/visualize-cutplane-edges/9121)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.vtk.org/u/Jan)\
**Replies:** 2\
**Last updated:** [August 10, 2022, 5:39pm UTC](https://discourse.vtk.org/t/visualize-cutplane-edges/9121 "2022-08-10T17:39:24Z")

</div>

Hello everyone, I am currently finetuning the visualization of a vector field cut plane. What I try to accomplish is the visualization of the cut plane’s edges and only the edges. So far, I tried to visualize the cut pl…

---

## [How to get boundary surface mesh from tetrahedral volume?](https://discourse.vtk.org/t/how-to-get-boundary-surface-mesh-from-tetrahedral-volume/9109)

<div class="topic-metadata">

**Author:** [@JayEspi](https://discourse.vtk.org/u/JayEspi)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 3:14pm UTC](https://discourse.vtk.org/t/how-to-get-boundary-surface-mesh-from-tetrahedral-volume/9109 "2022-08-09T15:14:57Z")

</div>

Setup: VTK v9.2, Linux, Python v3.9 I have an object defined by a tetrahedral mesh. I would like to extract the surface mesh (triangles) of this volume. When I use vtkGeometryFilter, I get polydata where the 4 faces of…

---

## [How to pick a cell from vtkPolyData by coordinate](https://discourse.vtk.org/t/how-to-pick-a-cell-from-vtkpolydata-by-coordinate/9096)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 2:21pm UTC](https://discourse.vtk.org/t/how-to-pick-a-cell-from-vtkpolydata-by-coordinate/9096 "2022-08-09T14:21:55Z")

</div>

Dear all, I extract edges from a polydata firstly, as showing below: vtkNew edges; edges-\>SetInputData(data); edges-\>Update(); vtkPolyData \*poly = edges-\>GetOutput(); Then I want to pick the corresponding line close…

---

## [vtkXdmfReader select grid in Timeseries](https://discourse.vtk.org/t/vtkxdmfreader-select-grid-in-timeseries/9116)

<div class="topic-metadata">

**Author:** [@RemDelaporteMathurin](https://discourse.vtk.org/u/RemDelaporteMathurin)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 11:19am UTC](https://discourse.vtk.org/t/vtkxdmfreader-select-grid-in-timeseries/9116 "2022-08-09T11:19:57Z")

</div>

Hi all, I am rather new to VTK and especially the XDMF reader. I’m trying to read a file that contains 5 timesteps. I was able to read it with vtkXdmfReader but I would like to know how to access the data for a given …

---

## [How to Crop vtkImageData using vtkBoxWidget that can living inside or outside?](https://discourse.vtk.org/t/how-to-crop-vtkimagedata-using-vtkboxwidget-that-can-living-inside-or-outside/9115)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 11:18am UTC](https://discourse.vtk.org/t/how-to-crop-vtkimagedata-using-vtkboxwidget-that-can-living-inside-or-outside/9115 "2022-08-09T11:18:03Z")

</div>

I cropped the vtkImageData using vtkBoxWidget (inside), but now I want to crop it outside. How can i do? auto clippingPlanes = vtkSmartPointer::New(); clip\_box\_widget\_-\>GetPlanes(clippingPlanes); double \*bounds = clip…

---

## [A user-friendly way of picking lines](https://discourse.vtk.org/t/a-user-friendly-way-of-picking-lines/9104)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 1\
**Last updated:** [August 9, 2022, 7:55am UTC](https://discourse.vtk.org/t/a-user-friendly-way-of-picking-lines/9104 "2022-08-09T07:55:01Z")

</div>

I’m looking for a user friendly way to pick lines using the mouse. Problem with lines is that they are thin, so difficult to hit exactly with the mouse. I experimented with vtkAreaPicker to pick an area instead of a po…

---

## [Holographic Scenes for pyramid hologram](https://discourse.vtk.org/t/holographic-scenes-for-pyramid-hologram/9114)

<div class="topic-metadata">

**Author:** [@Kamil](https://discourse.vtk.org/u/Kamil)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 7:35am UTC](https://discourse.vtk.org/t/holographic-scenes-for-pyramid-hologram/9114 "2022-08-09T07:35:50Z")

</div>

Hi, Is it possible to create holographic scenes for pyramid hologram? Somebody tried something like that? Thanks Kamil

---

## [How to write a custom function that uses VTK C++ and then use it in Python?](https://discourse.vtk.org/t/how-to-write-a-custom-function-that-uses-vtk-c-and-then-use-it-in-python/9030)

<div class="topic-metadata">

**Author:** [@joaomlap](https://discourse.vtk.org/u/joaomlap)\
**Replies:** 6\
**Last updated:** [August 8, 2022, 1:31pm UTC](https://discourse.vtk.org/t/how-to-write-a-custom-function-that-uses-vtk-c-and-then-use-it-in-python/9030 "2022-08-08T13:31:53Z")

</div>

What is the process to write a custom function using VTK in C++ (it’s a time critical function) and then use it’s bindings in Python? I think I saw some information about this in the past but can’t seem to find it again…

---

## [multi vtkVolume rendering problem](https://discourse.vtk.org/t/multi-vtkvolume-rendering-problem/5060)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 7\
**Last updated:** [August 8, 2022, 3:11am UTC](https://discourse.vtk.org/t/multi-vtkvolume-rendering-problem/5060 "2022-08-08T03:11:44Z")

</div>

Hi, vtk experts. My app can render a vtkVolume from a CT Image, which contain brain vessel and bone. As the first 2 pictures shows, the vessel and bone can be rendered correctly alone. If the two volumes have been rende…

---

## [Intersection of the vtkImageData with arbitrary box](https://discourse.vtk.org/t/intersection-of-the-vtkimagedata-with-arbitrary-box/9056)

<div class="topic-metadata">

**Author:** [@Leo\_Abalckin](https://discourse.vtk.org/u/Leo_Abalckin)\
**Replies:** 9\
**Last updated:** [August 7, 2022, 9:24pm UTC](https://discourse.vtk.org/t/intersection-of-the-vtkimagedata-with-arbitrary-box/9056 "2022-08-07T21:24:32Z")

</div>

I have some 3D vtkImageData and want to find a “subvolume” (I’m not sure I use this term in the right way here) that is intersection of this vtkImageData and arbitrary box. This box can be translated and rotated. I wonde…

---

## [multi-vtkvolume-rendering-problem](https://discourse.vtk.org/t/multi-vtkvolume-rendering-problem/9099)

<div class="topic-metadata">

**Author:** [@Dawid](https://discourse.vtk.org/u/Dawid)\
**Replies:** 3\
**Last updated:** [August 7, 2022, 5:02pm UTC](https://discourse.vtk.org/t/multi-vtkvolume-rendering-problem/9099 "2022-08-07T17:02:38Z")

</div>

Hi everybody, Recently I researched multi-volume rendering. I use vtkGPUVolumeRayCastMapper in VTK 9.1.0. I use a multi-volume rendering method to separate the nodules and other volume . In the following figure, I us…

---

## [Build .NET wrapper with latest VTK version](https://discourse.vtk.org/t/build-net-wrapper-with-latest-vtk-version/4199)

<div class="topic-metadata">

**Author:** [@learn\_forever](https://discourse.vtk.org/u/learn_forever)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 2:13pm UTC](https://discourse.vtk.org/t/build-net-wrapper-with-latest-vtk-version/4199 "2022-08-05T14:13:01Z")

</div>

Hi Experts, Is there any possibility to build .net wrapper with latest VTK version by following the instruction? https://vtk.org/Wiki/VTK/CSharp/ActiViz/Build Thanks a lot.

---

## [Custom labels on VTKHexahedrons](https://discourse.vtk.org/t/custom-labels-on-vtkhexahedrons/9084)

<div class="topic-metadata">

**Author:** [@ujjwala](https://discourse.vtk.org/u/ujjwala)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 8:35pm UTC](https://discourse.vtk.org/t/custom-labels-on-vtkhexahedrons/9084 "2022-08-04T20:35:23Z")

</div>

Hi, I’m new to VTK. I’m writing a QTWidget which displays thousands of VTKHexahedrons stacked on each other using VTKUnstructuredGrid. I need to label the “visible” faces of each VTKHexahedron with a custom label. I lo…

---

## [normals of the polydata are messed up after transform](https://discourse.vtk.org/t/normals-of-the-polydata-are-messed-up-after-transform/9067)

<div class="topic-metadata">

**Author:** [@Hanxin\_Hua](https://discourse.vtk.org/u/Hanxin_Hua)\
**Replies:** 18\
**Last updated:** [August 4, 2022, 2:40pm UTC](https://discourse.vtk.org/t/normals-of-the-polydata-are-messed-up-after-transform/9067 "2022-08-04T14:40:13Z")

</div>

vtkNew\<vtkTransform\> transform; transform-\>PostMultiply(); transform-\>Scale(1.0, vtkMath::Norm(axisY) / m\_Thickness, 1.0); transform-\>Concatenate(C); transform-\>Update(); vtkNew\<vtkTransformPolyDataFilter\> transformP…

---

## [VtkPolygon Inflate not working](https://discourse.vtk.org/t/vtkpolygon-inflate-not-working/9064)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.vtk.org/u/RAUMIK_RANA)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 9:54am UTC](https://discourse.vtk.org/t/vtkpolygon-inflate-not-working/9064 "2022-08-03T09:54:01Z")

</div>

https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/Polygon/ I tried to inflate vtkPolygon but not working. Is vtkPolygon support Inflate or not?

---

## [I can‘t open a bmp image using vtkbmpreader](https://discourse.vtk.org/t/i-can-t-open-a-bmp-image-using-vtkbmpreader/9025)

<div class="topic-metadata">

**Author:** [@BOB0Young](https://discourse.vtk.org/u/BOB0Young)\
**Replies:** 5\
**Last updated:** [August 2, 2022, 1:42pm UTC](https://discourse.vtk.org/t/i-can-t-open-a-bmp-image-using-vtkbmpreader/9025 "2022-08-02T13:42:03Z")

</div>

vtkSmartPointerReader = vtkSmartPointer::New(); //Reader-\>SetAllow8BitBMP(16); Reader-\>SetDataScalarTypeToUnsignedChar(); Reader-\>SetFileDimensionality(3); Reader-\>SetFilePrefix(“/home/yanghantao/Documents/ruxian/”); …

---

## [How to intersect polydata and a plane?](https://discourse.vtk.org/t/how-to-intersect-polydata-and-a-plane/9061)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [August 2, 2022, 8:18am UTC](https://discourse.vtk.org/t/how-to-intersect-polydata-and-a-plane/9061 "2022-08-02T08:18:41Z")

</div>

I want to intersect polydata and a plane. I can find vtkIntersectionPolyDataFilter to intersect two polydata. Or I need to create a polydata from the plane?

---

## [Interpolating z-values from a Delaunay2D mesh](https://discourse.vtk.org/t/interpolating-z-values-from-a-delaunay2d-mesh/9047)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 5\
**Last updated:** [August 2, 2022, 2:21am UTC](https://discourse.vtk.org/t/interpolating-z-values-from-a-delaunay2d-mesh/9047 "2022-08-02T02:21:14Z")

</div>

I used VtkDelaunay2D to generate a mesh (vtkPolyData?) from a set of points. I am now looking for a way to be able to interpolate z values (in my case these correspond to elevations) from a set of xs and ys. What would b…

---

## [Rendering a scene with cubes \> 5000 ?](https://discourse.vtk.org/t/rendering-a-scene-with-cubes-5000/8992)

<div class="topic-metadata">

**Author:** [@ujjwala](https://discourse.vtk.org/u/ujjwala)\
**Replies:** 5\
**Last updated:** [August 1, 2022, 10:39pm UTC](https://discourse.vtk.org/t/rendering-a-scene-with-cubes-5000/8992 "2022-08-01T22:39:55Z")

</div>

I’m new to VTK and I’m trying to render a scene with a bunch of stacked cubes. My initial approach was to add a cubesource with a corresponding actor and add to the renderer, Unfortunately this approach does not scale we…

---

## [undulated image surface using elevation data](https://discourse.vtk.org/t/undulated-image-surface-using-elevation-data/9038)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 2\
**Last updated:** [July 30, 2022, 5:34am UTC](https://discourse.vtk.org/t/undulated-image-surface-using-elevation-data/9038 "2022-07-30T05:34:09Z")

</div>

Hi there. I am trying to visualise a GeoTIFF image. I can read it using vtkGDALRasterReader; the output of that reader is a vtkImageData. The image contains the elevation of each pixel in a cell array data. I am not ve…

---

## [Mesh internal surface smoothing behavior changed in vtkWindowedSincPolyDataFilter](https://discourse.vtk.org/t/mesh-internal-surface-smoothing-behavior-changed-in-vtkwindowedsincpolydatafilter/8446)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 15\
**Last updated:** [July 29, 2022, 8:38pm UTC](https://discourse.vtk.org/t/mesh-internal-surface-smoothing-behavior-changed-in-vtkwindowedsincpolydatafilter/8446 "2022-07-29T20:38:53Z")

</div>

It seems that the rewrite of vtkWindowedSincPolyDataFilter (that amazingly improved its performance) also changed how internal surfaces are smoothed. Smoothing of internal surfaces are important because when we segment a…

---

## [Transform](https://discourse.vtk.org/t/transform/8980)

<div class="topic-metadata">

**Author:** [@lyz](https://discourse.vtk.org/u/lyz)\
**Replies:** 3\
**Last updated:** [July 29, 2022, 5:15am UTC](https://discourse.vtk.org/t/transform/8980 "2022-07-29T05:15:53Z")

</div>

I check the example.TransformPipeline And I found that the forearm rotate around the center of the scene. How to rotate the forearm around the connection point between arm and forearm

---

## [Write 16bit TiFF with vtk](https://discourse.vtk.org/t/write-16bit-tiff-with-vtk/9029)

<div class="topic-metadata">

**Author:** [@gregthom992](https://discourse.vtk.org/u/gregthom992)\
**Replies:** 3\
**Last updated:** [July 29, 2022, 3:43am UTC](https://discourse.vtk.org/t/write-16bit-tiff-with-vtk/9029 "2022-07-29T03:43:18Z")

</div>

HI there, I have a small question and require assistance. I am required to write a .tif file at the end of my image processing pipeline; how do I go about this with vtk ? Currently, I am calling: vtkTIFFWriter writer …

---

## [custom output extent and spacing in vtkImagePlaneWidget](https://discourse.vtk.org/t/custom-output-extent-and-spacing-in-vtkimageplanewidget/9039)

<div class="topic-metadata">

**Author:** [@gregthom992](https://discourse.vtk.org/u/gregthom992)\
**Replies:** 0\
**Last updated:** [July 29, 2022, 2:41am UTC](https://discourse.vtk.org/t/custom-output-extent-and-spacing-in-vtkimageplanewidget/9039 "2022-07-29T02:41:30Z")

</div>

hi, I am using vtkImagePlaneWidget because it has the window leveling, cursor and text display all bundled in. However, I have a question, is there a way to make the vtkImagePlaneWidget output a specific size and resolu…

---

## [How can I stack a series of bmp image into 3D view](https://discourse.vtk.org/t/how-can-i-stack-a-series-of-bmp-image-into-3d-view/9028)

<div class="topic-metadata">

**Author:** [@BOB0Young](https://discourse.vtk.org/u/BOB0Young)\
**Replies:** 3\
**Last updated:** [July 28, 2022, 7:18am UTC](https://discourse.vtk.org/t/how-can-i-stack-a-series-of-bmp-image-into-3d-view/9028 "2022-07-28T07:18:11Z")

</div>

I read a series of bmp image ,and then appending 2D (XY) images along the Z axis to form a 3D volume, but there is only the lastest picture.How can I get a 3D view of those series of image? void MainWindow::imageappend…

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

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