# Support

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

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

**Page:** 29

---

## [Scaling a TIFF Volume](https://discourse.vtk.org/t/scaling-a-tiff-volume/13496)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.vtk.org/u/Adam)\
**Replies:** 1\
**Last updated:** [March 14, 2024, 2:55am UTC](https://discourse.vtk.org/t/scaling-a-tiff-volume/13496 "2024-03-14T02:55:14Z")

</div>

Hi community, when reading a volume as a TIFF stack using the vtkTIFFReader the size of the volume can not be scaled using the readers SetDataSpacing function.The SetDataSpacing(x,y,z) function don’t seem to do anything…

---

## [vtkRenderWindow memory leak](https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612)

<div class="topic-metadata">

**Author:** [@skoudoro](https://discourse.vtk.org/u/skoudoro)\
**Replies:** 26\
**Last updated:** [March 13, 2024, 6:50pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-memory-leak/10612 "2024-03-13T18:50:40Z")

</div>

Hi VTK Team I encounter a memory leak when use the code below, RAM utilization is going up. It seems that vtkRenderWindow is not freed correctly. If I put out of the loop vtkRenderwindow, everything is ok. Also, It se…

---

## [How to draw lines on surface](https://discourse.vtk.org/t/how-to-draw-lines-on-surface/10905)

<div class="topic-metadata">

**Author:** [@lzx117258](https://discourse.vtk.org/u/lzx117258)\
**Replies:** 11\
**Last updated:** [March 13, 2024, 2:50pm UTC](https://discourse.vtk.org/t/how-to-draw-lines-on-surface/10905 "2024-03-13T14:50:28Z")

</div>

I’m trying to draw lines on mesh , like this(I’m using vtkIntersectionPolyDataFilter now, but Inefficient) class vtkProjectedTerrainPath need a vtkImageData input. How can I get it by converting the vtkPolyData, or a…

---

## [Qt6, Linux Debian, display vtkAxesActor with QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/qt6-linux-debian-display-vtkaxesactor-with-qvtkopenglnativewidget/13525)

<div class="topic-metadata">

**Author:** [@Dmitry](https://discourse.vtk.org/u/Dmitry)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 12:22pm UTC](https://discourse.vtk.org/t/qt6-linux-debian-display-vtkaxesactor-with-qvtkopenglnativewidget/13525 "2024-03-13T12:22:48Z")

</div>

Hello, I develop Qt Window Application by usage VTK 9.1 library (Linux Debian 12, Qt 6). I create QFrame with QVTKOpenGLNativeWidget by follow VtkSceneFrame::VtkSceneFrame(QWidget \*parent) : QFrame(parent), ui(new U…

---

## [How to delete/hide specific points from vtkvolume?](https://discourse.vtk.org/t/how-to-delete-hide-specific-points-from-vtkvolume/10431)

<div class="topic-metadata">

**Author:** [@YagoM](https://discourse.vtk.org/u/YagoM)\
**Replies:** 9\
**Last updated:** [March 13, 2024, 11:53am UTC](https://discourse.vtk.org/t/how-to-delete-hide-specific-points-from-vtkvolume/10431 "2024-03-13T11:53:40Z")

</div>

Hi! I want to make a “scalpel” tool for a vtkVolume where the user can select a specific zone of it, get all of points (from .getPointData) and remove/hide them from the visualization. Actually, i’m trying to aproachin…

---

## [Fillet (Round the Vertex with an Arc) a 3D Polyline](https://discourse.vtk.org/t/fillet-round-the-vertex-with-an-arc-a-3d-polyline/13523)

<div class="topic-metadata">

**Author:** [@Lopez](https://discourse.vtk.org/u/Lopez)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 10:16am UTC](https://discourse.vtk.org/t/fillet-round-the-vertex-with-an-arc-a-3d-polyline/13523 "2024-03-13T10:16:01Z")

</div>

I want to make constant Radius Arf of the Lines of a 3D-Polyline, making it tangent to both lines. Like this: Fillet Curve Node — Blender Manual I Saw a similar topic but for a closed Form: 2D arc fillet using VTK - S…

---

## [Slight offset in vtkWindowedSincPolyDataFilter if normalization is enabled](https://discourse.vtk.org/t/slight-offset-in-vtkwindowedsincpolydatafilter-if-normalization-is-enabled/7676)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 20\
**Last updated:** [March 13, 2024, 10:47am UTC](https://discourse.vtk.org/t/slight-offset-in-vtkwindowedsincpolydatafilter-if-normalization-is-enabled/7676 "2024-03-13T10:47:09Z")

</div>

When using vtkWindowedSincPolyDataFilter with NormalizeCoordinates enabled then we have found that smoothing result is slightly shifted when the bounding box of the mesh is changed. (originally reported by a 3D Slicer us…

---

## [How to change the vtkPolyPlane projection direction in python?](https://discourse.vtk.org/t/how-to-change-the-vtkpolyplane-projection-direction-in-python/13509)

<div class="topic-metadata">

**Author:** [@chaoyangxiao](https://discourse.vtk.org/u/chaoyangxiao)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 3:29am UTC](https://discourse.vtk.org/t/how-to-change-the-vtkpolyplane-projection-direction-in-python/13509 "2024-03-12T03:29:53Z")

</div>

I inherited vtkPolyPlane in C++, modified the member variables of the parent class, and successfully changed the projection direction to the Y-axis. But when I use Python inheritance, the code doesn’t work properly. thi…

---

## [Changing Color on Glyphs with Scalar Array](https://discourse.vtk.org/t/changing-color-on-glyphs-with-scalar-array/3698)

<div class="topic-metadata">

**Author:** [@AlexG](https://discourse.vtk.org/u/AlexG)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 3:39pm UTC](https://discourse.vtk.org/t/changing-color-on-glyphs-with-scalar-array/3698 "2024-03-12T15:39:52Z")

</div>

Hi, I am currently creating multiple cubes with vtkGlyph3D to ensure a good performance. As i am doing this in VR multiple Actors are not possible. But now i want to color them independently. As they are one Actor i ca…

---

## [how to convert physical coordinate to world coordinate](https://discourse.vtk.org/t/how-to-convert-physical-coordinate-to-world-coordinate/13276)

<div class="topic-metadata">

**Author:** [@zhou](https://discourse.vtk.org/u/zhou)\
**Replies:** 2\
**Last updated:** [March 12, 2024, 6:57am UTC](https://discourse.vtk.org/t/how-to-convert-physical-coordinate-to-world-coordinate/13276 "2024-03-12T06:57:28Z")

</div>

Hi everyone! Now I have a .stl file ,I need to get the vertex under the world coordinate.

---

## [How to show the vtkUnstructuredGrid grid?](https://discourse.vtk.org/t/how-to-show-the-vtkunstructuredgrid-grid/11817)

<div class="topic-metadata">

**Author:** [@SkyFishers](https://discourse.vtk.org/u/SkyFishers)\
**Replies:** 6\
**Last updated:** [March 11, 2024, 1:18pm UTC](https://discourse.vtk.org/t/how-to-show-the-vtkunstructuredgrid-grid/11817 "2024-03-11T13:18:02Z")

</div>

I want to use the vtkUnstructuredGrid to show some FEA models,but I meet with some problems. if I turn on the UseFAxxOn(),the grid may look like this picture. when I set FAXXOff ,the grid may like this picture. if…

---

## [The vtkJPEGWriter failed to save the image](https://discourse.vtk.org/t/the-vtkjpegwriter-failed-to-save-the-image/13499)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.vtk.org/u/Adam)\
**Replies:** 0\
**Last updated:** [March 11, 2024, 9:12am UTC](https://discourse.vtk.org/t/the-vtkjpegwriter-failed-to-save-the-image/13499 "2024-03-11T09:12:54Z")

</div>

Hi all, I want to save the window rendering results to image,but when i do so by using “vtkRenderLargeImage” and "vtkJPEGWriter " I get error message like below. Can someone help? very thanks!!! code: vtkNew\<vtk…

---

## [QWidget: Must construct a QApplication before a QWidget](https://discourse.vtk.org/t/qwidget-must-construct-a-qapplication-before-a-qwidget/1041)

<div class="topic-metadata">

**Author:** [@Deepen](https://discourse.vtk.org/u/Deepen)\
**Replies:** 5\
**Last updated:** [March 10, 2024, 7:46am UTC](https://discourse.vtk.org/t/qwidget-must-construct-a-qapplication-before-a-qwidget/1041 "2024-03-10T07:46:48Z")

</div>

Hi, Getting the following error while try to run application. QWidget: Must construct a QApplication before a QWidget Below is a snippet of code. #include \<QApplication\> #include \<vtkSmartPointer.h\> #include \<vtkSph…

---

## [LeftButtonPressEvent of vtkResliceCursorWidget](https://discourse.vtk.org/t/leftbuttonpressevent-of-vtkreslicecursorwidget/13421)

<div class="topic-metadata">

**Author:** [@mortifiedpenguin](https://discourse.vtk.org/u/mortifiedpenguin)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 10:03pm UTC](https://discourse.vtk.org/t/leftbuttonpressevent-of-vtkreslicecursorwidget/13421 "2024-03-08T22:03:15Z")

</div>

Hello, I’m using Activiz with the vtkResliceCursorWidget. However when I register to the LeftButtonPressEvt, the handler is never invoked. In my application I need to propagate these events, so the parent controls know t…

---

## [Trouble with vtkCellLocator example online?](https://discourse.vtk.org/t/trouble-with-vtkcelllocator-example-online/13489)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 1\
**Last updated:** [March 8, 2024, 7:06pm UTC](https://discourse.vtk.org/t/trouble-with-vtkcelllocator-example-online/13489 "2024-03-08T19:06:57Z")

</div>

I’m trying to use vtkCellLocator in a fashion similar to that shown here in the online examples. The specific call signature that I’d like to use is this: locator.IntersectWithLine(p1, p2, tolerance, t, pos, pcoords, su…

---

## [Incorrect Clipping Plane Behavior](https://discourse.vtk.org/t/incorrect-clipping-plane-behavior/13393)

<div class="topic-metadata">

**Author:** [@dpseiter](https://discourse.vtk.org/u/dpseiter)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 2:59pm UTC](https://discourse.vtk.org/t/incorrect-clipping-plane-behavior/13393 "2024-03-08T14:59:02Z")

</div>

Hi all, I am visualizing a vtkLODProp3D actor using a vtkGPUVolumeRayCastMapper containing two clipping planes in order to display a MIP slab of variable thickness. These clipping plane should be centered around the foc…

---

## [Vistas de la Camara](https://discourse.vtk.org/t/vistas-de-la-camara/13457)

<div class="topic-metadata">

**Author:** [@Oscdlr](https://discourse.vtk.org/u/Oscdlr)\
**Replies:** 6\
**Last updated:** [March 8, 2024, 8:41am UTC](https://discourse.vtk.org/t/vistas-de-la-camara/13457 "2024-03-08T08:41:43Z")

</div>

Buenos días. Soy nuevo aquí. Estoy comenzando mi proyecto fin de grado y encontré esta librería que creo me será muy útil. Estoy probando algunas cosas para empezar y tengo un problema. Quiero capturar las vistas planta,…

---

## [How to export RGB image file by multiple single component TIFF image file?](https://discourse.vtk.org/t/how-to-export-rgb-image-file-by-multiple-single-component-tiff-image-file/13143)

<div class="topic-metadata">

**Author:** [@tong\_yang](https://discourse.vtk.org/u/tong_yang)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 5:50am UTC](https://discourse.vtk.org/t/how-to-export-rgb-image-file-by-multiple-single-component-tiff-image-file/13143 "2024-03-08T05:50:11Z")

</div>

Hello, I have multiple single component TIFF files. I can already export single component TIFF to RGB image files through vtkImageMapToColors. Now, I want to convert multiple single component TIFF images into RGB image …

---

## [Visualize object rotations in real time](https://discourse.vtk.org/t/visualize-object-rotations-in-real-time/13155)

<div class="topic-metadata">

**Author:** [@cam](https://discourse.vtk.org/u/cam)\
**Replies:** 7\
**Last updated:** [March 7, 2024, 10:15pm UTC](https://discourse.vtk.org/t/visualize-object-rotations-in-real-time/13155 "2024-03-07T22:15:33Z")

</div>

Hey all! I want to preface this by saying I’m fairly new to VTK. For some background, I’m sending gyro and accelerometer data over serial from an Arduino. I’m then passing it through an IMU data fusion algorithm, and …

---

## [vtkDelaunay2D generates redundant triangles](https://discourse.vtk.org/t/vtkdelaunay2d-generates-redundant-triangles/13462)

<div class="topic-metadata">

**Author:** [@jie\_baoer](https://discourse.vtk.org/u/jie_baoer)\
**Replies:** 6\
**Last updated:** [March 7, 2024, 6:13pm UTC](https://discourse.vtk.org/t/vtkdelaunay2d-generates-redundant-triangles/13462 "2024-03-07T18:13:13Z")

</div>

Hello ! I am using vtkDelaunay2D to generate a polygon with holes, Here’s what I want I based on VTK examples https://examples.vtk.org/site/Cxx/Filtering/ConstrainedDelaunay2D/ to setting up the parameters, most of …

---

## [A problem when use vtkSmoothPolyDataFilter](https://discourse.vtk.org/t/a-problem-when-use-vtksmoothpolydatafilter/13478)

<div class="topic-metadata">

**Author:** [@Huiying](https://discourse.vtk.org/u/Huiying)\
**Replies:** 1\
**Last updated:** [March 7, 2024, 3:33pm UTC](https://discourse.vtk.org/t/a-problem-when-use-vtksmoothpolydatafilter/13478 "2024-03-07T15:33:12Z")

</div>

Hello, I used the BooleanOperation to perform the difference between two almost vertical models. Now I want to smooth the edges between them (it’s too sharp right now). I use the vtkSmoothPolyDataFilter , which is good…

---

## [How to preserve the color of vtkPolyData after voxelizing it](https://discourse.vtk.org/t/how-to-preserve-the-color-of-vtkpolydata-after-voxelizing-it/13334)

<div class="topic-metadata">

**Author:** [@sunlin0oo](https://discourse.vtk.org/u/sunlin0oo)\
**Replies:** 18\
**Last updated:** [March 7, 2024, 11:31am UTC](https://discourse.vtk.org/t/how-to-preserve-the-color-of-vtkpolydata-after-voxelizing-it/13334 "2024-03-07T11:31:07Z")

</div>

Hi, everyone! After voxelizing VtkPolydata, i need to make the corresponding part of the voxel grid model display the color corresponding to the original model. The result I want is as shown below:The first picture is …

---

## [How can I use the vtkStreamTracer class to generate a streamline with my unstructured grid data](https://discourse.vtk.org/t/how-can-i-use-the-vtkstreamtracer-class-to-generate-a-streamline-with-my-unstructured-grid-data/13473)

<div class="topic-metadata">

**Author:** [@nanoahSR](https://discourse.vtk.org/u/nanoahSR)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 8:15am UTC](https://discourse.vtk.org/t/how-can-i-use-the-vtkstreamtracer-class-to-generate-a-streamline-with-my-unstructured-grid-data/13473 "2024-03-07T08:15:33Z")

</div>

I tried to construct a unstructured grid using vtk and draw streamlines. But it always fails. What went wrong? If the streamline uses point data, it will prompt: vtkFloatArray (00000179BFA4C130): Number of components f…

---

## [How can i adjust the brightness and contrast of the slice based on the value of "FinalColorWindow" and "FinalColorLevel"](https://discourse.vtk.org/t/how-can-i-adjust-the-brightness-and-contrast-of-the-slice-based-on-the-value-of-finalcolorwindow-and-finalcolorlevel/13470)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.vtk.org/u/Adam)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 6:40am UTC](https://discourse.vtk.org/t/how-can-i-adjust-the-brightness-and-contrast-of-the-slice-based-on-the-value-of-finalcolorwindow-and-finalcolorlevel/13470 "2024-03-07T06:40:58Z")

</div>

Hello, I am adjust the volume’s brightness and contrast in vtkVolumeProperty.I do so by using SetFinalColorWindow and SetFinalColorLevel and used method vtkImagePlaneWidget to extracted a slice from 3D volume.Now,i want…

---

## [How to change vtkImageReslice background color](https://discourse.vtk.org/t/how-to-change-vtkimagereslice-background-color/13410)

<div class="topic-metadata">

**Author:** [@chu](https://discourse.vtk.org/u/chu)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 3:48am UTC](https://discourse.vtk.org/t/how-to-change-vtkimagereslice-background-color/13410 "2024-03-06T03:48:20Z")

</div>

Hello, When I create a vtkImageReslice and rotate it using the SetResliceAxes function, I get a gray background. Is there a way to change the gray background to black? imageReslice-\>SetBackgroundColor(0.0, 0.0, 0.…

---

## [How could project a 3D point to a vtkParametricSpline](https://discourse.vtk.org/t/how-could-project-a-3d-point-to-a-vtkparametricspline/13442)

<div class="topic-metadata">

**Author:** [@Anderson\_Madureira](https://discourse.vtk.org/u/Anderson_Madureira)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 2:45am UTC](https://discourse.vtk.org/t/how-could-project-a-3d-point-to-a-vtkparametricspline/13442 "2024-03-06T02:45:57Z")

</div>

Hello, I´ve created a vtkParametricSpline() and after I inserted some vtkPoints(): pts=np.loadtxt(‘evalPts.txt’,delimiter=‘,’) spl=vtkParametricSpline() spline\_points = vtkPoints() for pt in pts: spline\_points.Inse…

---

## [Qt + VTK : Window reopens when adding a VTK widget, prevents correct display in Docker container](https://discourse.vtk.org/t/qt-vtk-window-reopens-when-adding-a-vtk-widget-prevents-correct-display-in-docker-container/13448)

<div class="topic-metadata">

**Author:** [@SarevokAnchev](https://discourse.vtk.org/u/SarevokAnchev)\
**Replies:** 0\
**Last updated:** [March 5, 2024, 9:46am UTC](https://discourse.vtk.org/t/qt-vtk-window-reopens-when-adding-a-vtk-widget-prevents-correct-display-in-docker-container/13448 "2024-03-05T09:46:52Z")

</div>

Hello ! I am working on a visualization app that I would like to be easily sharable via Docker. The application makes use of the VTK+Qt widgets. I noticed a unexpected behaviour with these widgets: when adding a VTK wi…

---

## [About VTKHDF and vtkOverlappingAMR](https://discourse.vtk.org/t/about-vtkhdf-and-vtkoverlappingamr/13433)

<div class="topic-metadata">

**Author:** [@pkestene](https://discourse.vtk.org/u/pkestene)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 7:07pm UTC](https://discourse.vtk.org/t/about-vtkhdf-and-vtkoverlappingamr/13433 "2024-03-04T19:07:29Z")

</div>

Hello, In my application, I have a list of AMR blocks of cells, but the blocks are not sorted level by level; and I’d like to write a vtkhdf file that be read to fill a vtk. By reading the vtkhdf page, I think a vtkhdf …

---

## [Center of rotation in VTK - ParaView style](https://discourse.vtk.org/t/center-of-rotation-in-vtk-paraview-style/3716)

<div class="topic-metadata">

**Author:** [@Andrea\_Gavana](https://discourse.vtk.org/u/Andrea_Gavana)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 2:55pm UTC](https://discourse.vtk.org/t/center-of-rotation-in-vtk-paraview-style/3716 "2024-03-04T14:55:29Z")

</div>

Hi All, I am currently using VTK 9 in Python, and in my application I am taking advantage of th wxPython wrapper of vtkRenderWindowInteractor using vtkInteractorStyleTrackballCamera as interactor style. This is all nic…

---

## [Translate Object in Python](https://discourse.vtk.org/t/translate-object-in-python/13436)

<div class="topic-metadata">

**Author:** [@cam](https://discourse.vtk.org/u/cam)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 2:00pm UTC](https://discourse.vtk.org/t/translate-object-in-python/13436 "2024-03-04T14:00:08Z")

</div>

Hey all, I hope all is well. I’m looking for some help with translating my 3D object. For some context, I need to translate my 3D object in order for a matrix rotation to apply at the correct location, but I’m having t…

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

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