# Support

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

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

**Page:** 47

---

## [Loading FACET files in VTK in Python](https://discourse.vtk.org/t/loading-facet-files-in-vtk-in-python/11776)

<div class="topic-metadata">

**Author:** [@Gub](https://discourse.vtk.org/u/Gub)\
**Replies:** 5\
**Last updated:** [June 21, 2023, 4:05pm UTC](https://discourse.vtk.org/t/loading-facet-files-in-vtk-in-python/11776 "2023-06-21T16:05:39Z")

</div>

Hello, I am developing a GUI that features an interactive viewing window for rendering a 3d object. The files that must be used for the rendered object are .FACET files. Currently I am using the vtkFacetReader to load in…

---

## [Sculpt like feature](https://discourse.vtk.org/t/sculpt-like-feature/11728)

<div class="topic-metadata">

**Author:** [@syj](https://discourse.vtk.org/u/syj)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 8:40pm UTC](https://discourse.vtk.org/t/sculpt-like-feature/11728 "2023-06-19T20:40:55Z")

</div>

Can anyone provide me with some ideas on how to achieve a similar effect using VTK (Visualization Toolkit)?

---

## [vtkProbeFilter getting stuck in Python script](https://discourse.vtk.org/t/vtkprobefilter-getting-stuck-in-python-script/11773)

<div class="topic-metadata">

**Author:** [@goldberg-s](https://discourse.vtk.org/u/goldberg-s)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 6:15pm UTC](https://discourse.vtk.org/t/vtkprobefilter-getting-stuck-in-python-script/11773 "2023-06-20T18:15:18Z")

</div>

Hello, I have a 3-D unstructured mesh of a sphere (a model of the earth) in vtu format (a .pvtu file with 16 associated .vtu files). I would like to interpolate these data onto a spherical shell of a given radius, to ex…

---

## [Access to display texture for CUDA interop](https://discourse.vtk.org/t/access-to-display-texture-for-cuda-interop/6423)

<div class="topic-metadata">

**Author:** [@PWeissenbacher](https://discourse.vtk.org/u/PWeissenbacher)\
**Replies:** 5\
**Last updated:** [June 20, 2023, 8:06am UTC](https://discourse.vtk.org/t/access-to-display-texture-for-cuda-interop/6423 "2023-06-20T08:06:49Z")

</div>

Hello VTK Community. Currently I’m working on a 3D streaming application utilizing OpenGL, NVENC and libavformat to capture the 3D context, encode it into H264 frames and send it via libavformat as RTP stream to a media…

---

## [is it able to write by CUDA to the VTK DisplayFramebuffer? and How?](https://discourse.vtk.org/t/is-it-able-to-write-by-cuda-to-the-vtk-displayframebuffer-and-how/11766)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 12:55am UTC](https://discourse.vtk.org/t/is-it-able-to-write-by-cuda-to-the-vtk-displayframebuffer-and-how/11766 "2023-06-20T00:55:22Z")

</div>

is it able to write by CUDA to the VTK DisplayFramebuffer? and How? and what’s the related code in VTK 8.1 for DisplayFramebuffer and its colorAttackment. Thanks!

---

## [How can I set up the scale range in vtkRenderingWindow?](https://discourse.vtk.org/t/how-can-i-set-up-the-scale-range-in-vtkrenderingwindow/11745)

<div class="topic-metadata">

**Author:** [@yen](https://discourse.vtk.org/u/yen)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 10:27pm UTC](https://discourse.vtk.org/t/how-can-i-set-up-the-scale-range-in-vtkrenderingwindow/11745 "2023-06-19T22:27:20Z")

</div>

Hello, I am a new comer to vtk recently. I want to ask a question. Can I set up the scale in vtk windows? Here is my 3D object. However, since some value is up to 21000, which represent that the original laser sensor…

---

## [The libproj library problem(VTK-9.2.2), MinGW](https://discourse.vtk.org/t/the-libproj-library-problem-vtk-9-2-2-mingw/10283)

<div class="topic-metadata">

**Author:** [@Alexx](https://discourse.vtk.org/u/Alexx)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 6:17pm UTC](https://discourse.vtk.org/t/the-libproj-library-problem-vtk-9-2-2-mingw/10283 "2023-06-19T18:17:03Z")

</div>

Dear VTK Users and Developers. Recently, I encountered a problem in compiling VTK 9.2.2 source code with GCC 12. But before that, I encountered a problem that has been solved. When the source code is compiled to 79%, t…

---

## [Passing a Window handle from a GUI process to a VTK process](https://discourse.vtk.org/t/passing-a-window-handle-from-a-gui-process-to-a-vtk-process/5121)

<div class="topic-metadata">

**Author:** [@CharInt0](https://discourse.vtk.org/u/CharInt0)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 5:43pm UTC](https://discourse.vtk.org/t/passing-a-window-handle-from-a-gui-process-to-a-vtk-process/5121 "2023-06-19T17:43:40Z")

</div>

I succeded in passing a Window handle (HWD) created in a .Net WPF project to a C++ dll project that references the VTK library. Everything works just fine. All is in one process. Now I am investigating the possibility to…

---

## [Just including some vtk headers lead to "Exception: Numerical" in linux](https://discourse.vtk.org/t/just-including-some-vtk-headers-lead-to-exception-numerical-in-linux/11733)

<div class="topic-metadata">

**Author:** [@segretar](https://discourse.vtk.org/u/segretar)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 3:34pm UTC](https://discourse.vtk.org/t/just-including-some-vtk-headers-lead-to-exception-numerical-in-linux/11733 "2023-06-19T15:34:16Z")

</div>

Hi, I’m compiling c++ code that use VTK. The compilation goes fine but when I run tests (using Ctest), the executable that include VTK headers crash instantly even before the execution enter the main with : Exception: …

---

## [Open VTK-9.2.6 as child window inside existing c++ Windows application](https://discourse.vtk.org/t/open-vtk-9-2-6-as-child-window-inside-existing-c-windows-application/11761)

<div class="topic-metadata">

**Author:** [@ElenaChu](https://discourse.vtk.org/u/ElenaChu)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 11:26am UTC](https://discourse.vtk.org/t/open-vtk-9-2-6-as-child-window-inside-existing-c-windows-application/11761 "2023-06-19T11:26:57Z")

</div>

I am trying to create a vtkRenderWindow as child window in existing c++ Windows Application using the VTK-9.2.6 version. As base code I used an old example from VTK/Examples/GUI/Win32/SimpleCxx/Win32Cone.cxx as written …

---

## [How to set the font size for vtkLegendScaleActor](https://discourse.vtk.org/t/how-to-set-the-font-size-for-vtklegendscaleactor/11732)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 9:16am UTC](https://discourse.vtk.org/t/how-to-set-the-font-size-for-vtklegendscaleactor/11732 "2023-06-19T09:16:34Z")

</div>

I want to use the vtkLegendScaleActor in my project, but I can not find a way to set the font size. I have tested: legendScaleActor.GetLegendLabelProperty().SetFontSize(20) legendScaleActor.GetLeftAxis().GetLabelTextPr…

---

## [undefined reference to vtkAOSDataArrayTemplate\<float\>::SetValue(long long) const](https://discourse.vtk.org/t/undefined-reference-to-vtkaosdataarraytemplate-float-setvalue-long-long-const/11754)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 0\
**Last updated:** [June 18, 2023, 4:44pm UTC](https://discourse.vtk.org/t/undefined-reference-to-vtkaosdataarraytemplate-float-setvalue-long-long-const/11754 "2023-06-18T16:44:39Z")

</div>

Hello, I am trying to read a unstructuredGrid and display its displacement using vtk. However, when I am building the code using vscode, I encountered an error saying undefined reference to \`vtkAOSDataArrayTemplate::Se…

---

## [Error when compiling VTK support for opencascad?](https://discourse.vtk.org/t/error-when-compiling-vtk-support-for-opencascad/11637)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 4\
**Last updated:** [June 18, 2023, 1:23pm UTC](https://discourse.vtk.org/t/error-when-compiling-vtk-support-for-opencascad/11637 "2023-06-18T13:23:46Z")

</div>

When compiling the latest OCC: commit 8748042259f22d72b3b076bc5433a54ca42734e4 (origin/master, origin/HEAD) Author: akaftasev \<akaftasev@opencascade.com\> Date: Mon May 22 12:00:32 2023 +0100 against VTK V9.2.6,I got …

---

## [GetCenter for each single volume in vtkMultiVolume](https://discourse.vtk.org/t/getcenter-for-each-single-volume-in-vtkmultivolume/11717)

<div class="topic-metadata">

**Author:** [@wasp](https://discourse.vtk.org/u/wasp)\
**Replies:** 2\
**Last updated:** [June 17, 2023, 9:46am UTC](https://discourse.vtk.org/t/getcenter-for-each-single-volume-in-vtkmultivolume/11717 "2023-06-17T09:46:05Z")

</div>

Hello there! I recently started playing with vtk and I am using vtkVolume to visualize medical images. I want to overlay two images (CT and MR) on top of each other and match them. I’m using vtkMultiVolume for this and …

---

## [How can I use boxwidget to cut the DICOM body rendered result and keep the outer part?](https://discourse.vtk.org/t/how-can-i-use-boxwidget-to-cut-the-dicom-body-rendered-result-and-keep-the-outer-part/11746)

<div class="topic-metadata">

**Author:** [@WYM7574](https://discourse.vtk.org/u/WYM7574)\
**Replies:** 0\
**Last updated:** [June 17, 2023, 3:15am UTC](https://discourse.vtk.org/t/how-can-i-use-boxwidget-to-cut-the-dicom-body-rendered-result-and-keep-the-outer-part/11746 "2023-06-17T03:15:10Z")

</div>

I used vtkboxwidget and SetClippingPlanes for cutting, but only the inner part can be displayed, I want to show the outer part, what should I do?

---

## [Recommended way of reorienting volume](https://discourse.vtk.org/t/recommended-way-of-reorienting-volume/11742)

<div class="topic-metadata">

**Author:** [@mortifiedpenguin](https://discourse.vtk.org/u/mortifiedpenguin)\
**Replies:** 2\
**Last updated:** [June 17, 2023, 2:31am UTC](https://discourse.vtk.org/t/recommended-way-of-reorienting-volume/11742 "2023-06-17T02:31:00Z")

</div>

Hi all, I am working with medical volume data, and I want to initially reorient the volume so it is always in the axial view. As far as I can see there are two ways I could do this. Either using vtkImageReslice, which I …

---

## [How can I combine a series of polydata to a 3D object in c++?](https://discourse.vtk.org/t/how-can-i-combine-a-series-of-polydata-to-a-3d-object-in-c/11726)

<div class="topic-metadata">

**Author:** [@yen](https://discourse.vtk.org/u/yen)\
**Replies:** 6\
**Last updated:** [June 16, 2023, 11:59pm UTC](https://discourse.vtk.org/t/how-can-i-combine-a-series-of-polydata-to-a-3d-object-in-c/11726 "2023-06-16T23:59:44Z")

</div>

Hello, I am a newcomer to VTK recently. Now I have a task to finish. I need to construct a 3D object from a several sections of an object. To be more specifically, I need to first construct a section from multiple points…

---

## [Reusing a QVTKRenderWindowInteractor Widget after closing the window using close/X button](https://discourse.vtk.org/t/reusing-a-qvtkrenderwindowinteractor-widget-after-closing-the-window-using-close-x-button/11669)

<div class="topic-metadata">

**Author:** [@tossin](https://discourse.vtk.org/u/tossin)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 9:20pm UTC](https://discourse.vtk.org/t/reusing-a-qvtkrenderwindowinteractor-widget-after-closing-the-window-using-close-x-button/11669 "2023-06-13T21:20:58Z")

</div>

Hello all, I have a PyQt application with a QMainWindow that opens a subwindow/QWidget. The subwindow contains a QVTKRenderWindowInteractor widget. I want to be able to call the subwindow, close it, and then re-open it…

---

## [Is it a bug?](https://discourse.vtk.org/t/is-it-a-bug/11739)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 6:53am UTC](https://discourse.vtk.org/t/is-it-a-bug/11739 "2023-06-16T06:53:32Z")

</div>

Hi, I think a bug was placed in vtk-9.2.2. In vtkResliceCursorRepresentation class at about line 309, line 310. in void vtkResliceCursorRepresentation::ResetCamera() function. It defined a vector of 3 dimensions like: d…

---

## [invert a lookup table](https://discourse.vtk.org/t/invert-a-lookup-table/1210)

<div class="topic-metadata">

**Author:** [@PBrockmann](https://discourse.vtk.org/u/PBrockmann)\
**Replies:** 3\
**Last updated:** [June 16, 2023, 1:17am UTC](https://discourse.vtk.org/t/invert-a-lookup-table/1210 "2023-06-16T01:17:06Z")

</div>

Is there a function to invert a lookup table from vtk (vtk.js) ? This is a button to do that from paraview:

---

## [VTK java.lang.UnsatisfiedLinkError](https://discourse.vtk.org/t/vtk-java-lang-unsatisfiedlinkerror/11719)

<div class="topic-metadata">

**Author:** [@Salu\_Ramos](https://discourse.vtk.org/u/Salu_Ramos)\
**Replies:** 5\
**Last updated:** [June 15, 2023, 3:04pm UTC](https://discourse.vtk.org/t/vtk-java-lang-unsatisfiedlinkerror/11719 "2023-06-15T15:04:32Z")

</div>

Trying to run/debug my project using intellij (windows), got errors like: java.lang.UnsatisfiedLinkError: no vtk{Anything} in java.library.path {Anything} can be any class of vtk i’m trying to use, for example: java.l…

---

## [how to zoom with scroll wheel through mouse pointer in "VTK"](https://discourse.vtk.org/t/how-to-zoom-with-scroll-wheel-through-mouse-pointer-in-vtk/11705)

<div class="topic-metadata">

**Author:** [@Jaafar\_Nasrabadi](https://discourse.vtk.org/u/Jaafar_Nasrabadi)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 10:32pm UTC](https://discourse.vtk.org/t/how-to-zoom-with-scroll-wheel-through-mouse-pointer-in-vtk/11705 "2023-06-14T22:32:22Z")

</div>

I have developed an app to process 3D STL files. How to zoom in the screen towards the mouse pointer instead of the center of screen?

---

## [vtkDebugLeaks detected some class I didn't use](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712)

<div class="topic-metadata">

**Author:** [@Miu\_Lee](https://discourse.vtk.org/u/Miu_Lee)\
**Replies:** 2\
**Last updated:** [June 14, 2023, 3:08pm UTC](https://discourse.vtk.org/t/vtkdebugleaks-detected-some-class-i-didnt-use/11712 "2023-06-14T15:08:19Z")

</div>

I used QVTKwidget to show some 3d model and when I closed the application window, the error window showed up.

---

## [Have anybody did experiment about the pCR predication on the I-SPY 1 or I-SPY 1 breast cancer dataset?](https://discourse.vtk.org/t/have-anybody-did-experiment-about-the-pcr-predication-on-the-i-spy-1-or-i-spy-1-breast-cancer-dataset/11708)

<div class="topic-metadata">

**Author:** [@Ian\_Ben](https://discourse.vtk.org/u/Ian_Ben)\
**Replies:** 3\
**Last updated:** [June 14, 2023, 12:02pm UTC](https://discourse.vtk.org/t/have-anybody-did-experiment-about-the-pcr-predication-on-the-i-spy-1-or-i-spy-1-breast-cancer-dataset/11708 "2023-06-14T12:02:10Z")

</div>

I was trying to do some experiment about the pCR prediction using the I-SPY 1 or I-SPY 2 DCE MRI dataset. I was using a 3D densenet and T2 post-contrast, but the performance is terrible (less than 70%). Anybody did such …

---

## [vtkGeometryFilter output missing some cellData](https://discourse.vtk.org/t/vtkgeometryfilter-output-missing-some-celldata/11685)

<div class="topic-metadata">

**Author:** [@Albers\_Steven](https://discourse.vtk.org/u/Albers_Steven)\
**Replies:** 3\
**Last updated:** [June 14, 2023, 3:18am UTC](https://discourse.vtk.org/t/vtkgeometryfilter-output-missing-some-celldata/11685 "2023-06-14T03:18:30Z")

</div>

I want to convert an unstructured grid to polydata for rendering. However, when I use vtkGeometryFilter for the conversion, I noticed that some CellData arrays are missing in the resulting file. The original vtk file con…

---

## [lookUpTable-\>SetRange() does not work?](https://discourse.vtk.org/t/lookuptable-setrange-does-not-work/11703)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 1\
**Last updated:** [June 13, 2023, 4:24pm UTC](https://discourse.vtk.org/t/lookuptable-setrange-does-not-work/11703 "2023-06-13T16:24:16Z")

</div>

I am a beginner and I am trying to visualize a .vtu file (test.vtu) and show the points’ Z direction displacement. The follwing is my cxx and CMake code: ReadUnstructuredGrid.cxx: #include \<vtkActor.h\> #include \<vtkDa…

---

## [How to integrate VTK with OpenGL?](https://discourse.vtk.org/t/how-to-integrate-vtk-with-opengl/11526)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 16\
**Last updated:** [June 13, 2023, 12:56pm UTC](https://discourse.vtk.org/t/how-to-integrate-vtk-with-opengl/11526 "2023-06-13T12:56:58Z")

</div>

How to integrate VTK with OpenGL? I have a regular VTK pipeline that works OK: I use a vtkPolyData, set it as input to a vtkXXXFilter, use a vtkPolyDataMapper, and render it in a vtkRenderWindow (using a vtkRenderer). A…

---

## [Trying to understand how vtkImplicitModeller works](https://discourse.vtk.org/t/trying-to-understand-how-vtkimplicitmodeller-works/11688)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 1\
**Last updated:** [June 13, 2023, 12:39pm UTC](https://discourse.vtk.org/t/trying-to-understand-how-vtkimplicitmodeller-works/11688 "2023-06-13T12:39:48Z")

</div>

I am trying to understand how vtkImplicitModeller works by studying the Hello example and tuning the vtkImplicitModeller parameters. I now know the meaning of SetSampleDimensions and SetModelBounds by changing these two…

---

## [Unit tests cannot be automatically exited when running alone](https://discourse.vtk.org/t/unit-tests-cannot-be-automatically-exited-when-running-alone/11700)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 0\
**Last updated:** [June 13, 2023, 9:17am UTC](https://discourse.vtk.org/t/unit-tests-cannot-be-automatically-exited-when-running-alone/11700 "2023-06-13T09:17:44Z")

</div>

/\*========================================================================= Program: Visualization Toolkit Module: TestAngleWidget2D.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights r…

---

## [Are there any plans (or interest in) making a Julia interface for VTK?](https://discourse.vtk.org/t/are-there-any-plans-or-interest-in-making-a-julia-interface-for-vtk/11653)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 5\
**Last updated:** [June 12, 2023, 1:30pm UTC](https://discourse.vtk.org/t/are-there-any-plans-or-interest-in-making-a-julia-interface-for-vtk/11653 "2023-06-12T13:30:34Z")

</div>

Are there any plans (or interest in) making a Julia interface for VTK? I use VTK from Python a lot, and the bindings are great … the bindings for Julia are essentially nonexistent other than write-your-own (which, when …

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

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