# Support

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

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

**Page:** 43

---

## [Bring images to a uniform color window](https://discourse.vtk.org/t/bring-images-to-a-uniform-color-window/11940)

<div class="topic-metadata">

**Author:** [@Manju](https://discourse.vtk.org/u/Manju)\
**Replies:** 4\
**Last updated:** [August 22, 2023, 11:23am UTC](https://discourse.vtk.org/t/bring-images-to-a-uniform-color-window/11940 "2023-08-22T11:23:29Z")

</div>

Hi all… I am working with the enhancement of raw images (read as vtkImageData\*) which come in at varied exposure levels. The optimum color window and level vary drastically from image to image. Therefore, a lot of manual…

---

## [GetKeySym() functionality not working when using to customise interaction styles](https://discourse.vtk.org/t/getkeysym-functionality-not-working-when-using-to-customise-interaction-styles/12163)

<div class="topic-metadata">

**Author:** [@adityaDas](https://discourse.vtk.org/u/adityaDas)\
**Replies:** 4\
**Last updated:** [August 22, 2023, 8:08am UTC](https://discourse.vtk.org/t/getkeysym-functionality-not-working-when-using-to-customise-interaction-styles/12163 "2023-08-22T08:08:15Z")

</div>

I am using VTK in C++ for the project with the interactor style vtkInteractorStyleTrackballCamera. Thereafter, I am trying to override the functionalities to create a custom interaction style. Herein is my code for cus…

---

## [Hide cell or point in vtkunstructuredgrid](https://discourse.vtk.org/t/hide-cell-or-point-in-vtkunstructuredgrid/12169)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 7:14pm UTC](https://discourse.vtk.org/t/hide-cell-or-point-in-vtkunstructuredgrid/12169 "2023-08-21T19:14:16Z")

</div>

I am using vtkUnstructuredGrid to show mesh. I need to hide some cells(points) based on user input. I do not want to delete cell. Just hide them temporary and make them visible later. I know in vtkStructuredGrid, there…

---

## [multitextured OBJ seems to shine strongly](https://discourse.vtk.org/t/multitextured-obj-seems-to-shine-strongly/8982)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.vtk.org/u/Daniel)\
**Replies:** 3\
**Last updated:** [August 21, 2023, 1:46pm UTC](https://discourse.vtk.org/t/multitextured-obj-seems-to-shine-strongly/8982 "2023-08-21T13:46:21Z")

</div>

Hello everyone, I use vtkOBJImporter for multitextured OBJ files. vtkOBJImporter importer = new vtkOBJImporter(); importer.SetFileName(file); importer.SetFileNameMTL(fileMTL); importer.SetTexturePath(texPath); importer…

---

## [offscreen rendering scale consistency](https://discourse.vtk.org/t/offscreen-rendering-scale-consistency/9296)

<div class="topic-metadata">

**Author:** [@Dean](https://discourse.vtk.org/u/Dean)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 12:47pm UTC](https://discourse.vtk.org/t/offscreen-rendering-scale-consistency/9296 "2023-08-21T12:47:29Z")

</div>

I have a windows 10 desktop application: similar to Paraview and other applications where there is a main window, toolbars, menu system and a large render window. The app stores camera settings for a given scene to a …

---

## [vtkTubeFilter with rounded corners](https://discourse.vtk.org/t/vtktubefilter-with-rounded-corners/11924)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 5\
**Last updated:** [August 17, 2023, 5:14am UTC](https://discourse.vtk.org/t/vtktubefilter-with-rounded-corners/11924 "2023-08-17T05:14:58Z")

</div>

Currently, I have a tube with vtkTubeFilter that has a 90 degree angle at the ends of the tube. Can I change the end with a rounded corner. In other words, I’d like to change the endpoint of the tube from ‘\]’ to ‘)’

---

## [Trying to read .vtu file and show in Qt](https://discourse.vtk.org/t/trying-to-read-vtu-file-and-show-in-qt/12145)

<div class="topic-metadata">

**Author:** [@Nicolas\_Granese](https://discourse.vtk.org/u/Nicolas_Granese)\
**Replies:** 2\
**Last updated:** [August 16, 2023, 2:39pm UTC](https://discourse.vtk.org/t/trying-to-read-vtu-file-and-show-in-qt/12145 "2023-08-16T14:39:57Z")

</div>

Hello, I have this example to open .vtk file and visualize in Qt, but i need to open .vtu file too. So what part of the code i need to change to be possible to read this type? Thanks in advance! #include "mainwindow.h…

---

## [How to interpret VTK runtime error messages?](https://discourse.vtk.org/t/how-to-interpret-vtk-runtime-error-messages/12139)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 2\
**Last updated:** [August 16, 2023, 2:26pm UTC](https://discourse.vtk.org/t/how-to-interpret-vtk-runtime-error-messages/12139 "2023-08-16T14:26:05Z")

</div>

My VTK 9.2 C++ application generates multiple VTK error messages at runtime on stderr when building the pipeline, like this one: 2023-08-11 15:09:34.058 ( 0.335s) \[ 443E680\] vtkExecutive.cxx:740 ERR|…

---

## [vtkMultiBlockDataSet + vtkClipDataSet](https://discourse.vtk.org/t/vtkmultiblockdataset-vtkclipdataset/7031)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 3\
**Last updated:** [August 16, 2023, 8:48am UTC](https://discourse.vtk.org/t/vtkmultiblockdataset-vtkclipdataset/7031 "2023-08-16T08:48:57Z")

</div>

Hi, Is it possible to cut a vtkMultiBlockDataSet somehow ? Seams that vtkClipDataSet does not accept vtkMultiBlockDataSet as input … Thanks !

---

## [How to draw division lines between colors on the surface of the grid?](https://discourse.vtk.org/t/how-to-draw-division-lines-between-colors-on-the-surface-of-the-grid/12146)

<div class="topic-metadata">

**Author:** [@SkyFishers](https://discourse.vtk.org/u/SkyFishers)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 2:12pm UTC](https://discourse.vtk.org/t/how-to-draw-division-lines-between-colors-on-the-surface-of-the-grid/12146 "2023-08-15T14:12:38Z")

</div>

I use vtkUnstructuredGrid to display a grid and display relevant cloud images. There is a clear division between cloud image colors. How to draw division lines between colors on the surface of the grid. import vtk …

---

## [vtkbool crash when execute SetOperModeToDifference](https://discourse.vtk.org/t/vtkbool-crash-when-execute-setopermodetodifference/12149)

<div class="topic-metadata">

**Author:** [@jealtw](https://discourse.vtk.org/u/jealtw)\
**Replies:** 0\
**Last updated:** [August 15, 2023, 2:37am UTC](https://discourse.vtk.org/t/vtkbool-crash-when-execute-setopermodetodifference/12149 "2023-08-15T02:37:19Z")

</div>

Recently I’ve been using vtkbool to do difference operation of two vtkPolyData. When the program run to CombineRegions() method, it will crash. And I found that the crash happened at Line2894~Line2895 in vtkPolyDataBoole…

---

## [auto compeletion in vs code](https://discourse.vtk.org/t/auto-compeletion-in-vs-code/7728)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.vtk.org/u/RAUMIK_RANA)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 3:25pm UTC](https://discourse.vtk.org/t/auto-compeletion-in-vs-code/7728 "2023-08-11T15:25:10Z")

</div>

I am new to vtk pyhton. I installed python 3.9.6 and vtk 9.1.0 there are 2 questions. Proper way to import vtk is there any other requirement for auto completion of vtk classes

---

## [vtkImplicitPolyDataDistance - speed depends on distance from surface](https://discourse.vtk.org/t/vtkimplicitpolydatadistance-speed-depends-on-distance-from-surface/12134)

<div class="topic-metadata">

**Author:** [@gatti](https://discourse.vtk.org/u/gatti)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 6:26am UTC](https://discourse.vtk.org/t/vtkimplicitpolydatadistance-speed-depends-on-distance-from-surface/12134 "2023-08-11T06:26:29Z")

</div>

Hi! Im using vtk.vtkImplicitPolyDataDistance and have found that the amount of time it takes for vtk to calculate the signed distance is related to the distance the sampled points are from the surface. Further points ta…

---

## [How to add observer to handle viewport changing(rotate) event?](https://discourse.vtk.org/t/how-to-add-observer-to-handle-viewport-changing-rotate-event/7256)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 11:34am UTC](https://discourse.vtk.org/t/how-to-add-observer-to-handle-viewport-changing-rotate-event/7256 "2023-08-10T11:34:59Z")

</div>

Hello,I want to recalculate the normal of all actors in the window when view port changing(rotating) by dragging or left key pressing.Below approaches have been tried: class Callback: def \_\_init\_\_(self): …

---

## [Does VTK support modifying VTK pipelines in real-time?](https://discourse.vtk.org/t/does-vtk-support-modifying-vtk-pipelines-in-real-time/12130)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 1\
**Last updated:** [August 10, 2023, 10:16am UTC](https://discourse.vtk.org/t/does-vtk-support-modifying-vtk-pipelines-in-real-time/12130 "2023-08-10T10:16:29Z")

</div>

Does VTK support modifying VTK pipelines in real-time? Say I have a source S, I add a filter F1, I add mapper M and an actor A. Finally I add A to a renderer linked to a window. Can I add a filter F2 on/in demand/real-…

---

## [Failed to read TIFF 64-bit samples](https://discourse.vtk.org/t/failed-to-read-tiff-64-bit-samples/12118)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.vtk.org/u/jamesobutler)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 3:02pm UTC](https://discourse.vtk.org/t/failed-to-read-tiff-64-bit-samples/12118 "2023-08-09T15:02:12Z")

</div>

Hi VTK community :wave: I’m coming from the 3D Slicer community (cc: @jcfr) where I have been attempting to a load a TIFF file where Slicer’s usage of the vtkTIFFReader is reporting \[VTK\] Unable to read tiff file: Sorry…

---

## [possible to export vtkvolume??](https://discourse.vtk.org/t/possible-to-export-vtkvolume/12121)

<div class="topic-metadata">

**Author:** [@tigerhu7](https://discourse.vtk.org/u/tigerhu7)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 9:22am UTC](https://discourse.vtk.org/t/possible-to-export-vtkvolume/12121 "2023-08-09T09:22:30Z")

</div>

Dear All, My 【object】to render a vtkvolume, take several snapshots accoring to renderer’s difference camera settings. My 【requirement】is that, whenever I input a camera setting, I will get a snapshot immediatelly. I…

---

## [VTK exe crash in Ubuntu, no core dump, no crash log, no VTK output window...what tools or cmd is popular when dev on Ubuntu?](https://discourse.vtk.org/t/vtk-exe-crash-in-ubuntu-no-core-dump-no-crash-log-no-vtk-output-window-what-tools-or-cmd-is-popular-when-dev-on-ubuntu/12095)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 8:21am UTC](https://discourse.vtk.org/t/vtk-exe-crash-in-ubuntu-no-core-dump-no-crash-log-no-vtk-output-window-what-tools-or-cmd-is-popular-when-dev-on-ubuntu/12095 "2023-08-09T08:21:44Z")

</div>

VTK exe crash in Ubuntu, no core dump, no crash log, no VTK output window…what tools or cmd is popular when dev on Ubuntu? must build Debug lib of VTK to enable the things above? is it able to build Debug and Release a…

---

## [possible to catch the vtk error after a reader or filter update?](https://discourse.vtk.org/t/possible-to-catch-the-vtk-error-after-a-reader-or-filter-update/12122)

<div class="topic-metadata">

**Author:** [@John\_Sunly](https://discourse.vtk.org/u/John_Sunly)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 7:29am UTC](https://discourse.vtk.org/t/possible-to-catch-the-vtk-error-after-a-reader-or-filter-update/12122 "2023-08-09T07:29:40Z")

</div>

Are there a correct way to possiblly catch the vtk error after a reader or filter update? My EMPHASIS is why some vtkErrorEvent could be caught while some can not be caught, by the following means (1) method? At this…

---

## [CompositePolyDataMapper2 and QuadricLODActor](https://discourse.vtk.org/t/compositepolydatamapper2-and-quadriclodactor/5440)

<div class="topic-metadata">

**Author:** [@afa](https://discourse.vtk.org/u/afa)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 8:51pm UTC](https://discourse.vtk.org/t/compositepolydatamapper2-and-quadriclodactor/5440 "2023-08-08T20:51:28Z")

</div>

Hello all, I managed to use a QuadricLODActor with a composite mapper but then encountered crashes for example, when zooming out. It appears that vtkQuadricLODActor::Render will decide whether or not to rebuild LOD. If…

---

## [How to draw lines and annotate on vtkImageView2](https://discourse.vtk.org/t/how-to-draw-lines-and-annotate-on-vtkimageview2/12110)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 4:18am UTC](https://discourse.vtk.org/t/how-to-draw-lines-and-annotate-on-vtkimageview2/12110 "2023-08-08T04:18:23Z")

</div>

How to draw lines and annotate on vtkImageView2？How to use the python language, correctly use line classes such as vtkLineWidget and vtkImageTracerWidget in vtkImageView2？

---

## [debug, log, find out why VTK exe crash in Ubuntu? exe exit main() after vtkRenderWindowInteractor::Start()](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 12:32am UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090 "2023-08-08T00:32:44Z")

</div>

how to find out why exe crash in Ubuntu, make -g, but gdb only show ‘Inferior 1(process 221729) exited normally’ in /var/log/apport.log, only has ‘executable does not belong to a package, ignoring’; ‘core limit 0, dump …

---

## [VTK not finding FontConfig during application CMake configuration on Windows](https://discourse.vtk.org/t/vtk-not-finding-fontconfig-during-application-cmake-configuration-on-windows/12100)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 9:17pm UTC](https://discourse.vtk.org/t/vtk-not-finding-fontconfig-during-application-cmake-configuration-on-windows/12100 "2023-08-07T21:17:50Z")

</div>

Hi folks, On one of our Windows build workers we have a FontConfig installation as follows: C:\\Users\\Elvis\\Dev\\libfontconfig\_2.13.1-4\_msvc16\\include\\fontconfig\\fontconfig.h C:\\Users\\Elvis\\Dev\\libfontconfig\_2.13.1-4\_msv…

---

## [How to use VTK in multi-threaded context?](https://discourse.vtk.org/t/how-to-use-vtk-in-multi-threaded-context/12103)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 2:09pm UTC](https://discourse.vtk.org/t/how-to-use-vtk-in-multi-threaded-context/12103 "2023-08-07T14:09:14Z")

</div>

How to use VTK in multi-threaded context? In some examples where VTK can be used along with OpenGL and GLEW (using vtkOpenGLRenderWindow or vtkVRRenderWindow for instance), my understanding is that, depending on cases, …

---

## [Cannot change the font size of texts in a vtkCubeAxesActor](https://discourse.vtk.org/t/cannot-change-the-font-size-of-texts-in-a-vtkcubeaxesactor/12106)

<div class="topic-metadata">

**Author:** [@turnagundam](https://discourse.vtk.org/u/turnagundam)\
**Replies:** 0\
**Last updated:** [August 6, 2023, 12:05pm UTC](https://discourse.vtk.org/t/cannot-change-the-font-size-of-texts-in-a-vtkcubeaxesactor/12106 "2023-08-06T12:05:51Z")

</div>

Hello all, How can I change the font size of texts in a vtkCubeAxesActor? Modifying TextProperty doesn’t work for me vtkSmartPointer axesActor = vtkSmartPointer::New(); axesActor-\>SetXTitle(“X”); axesActor-\>GetTitleT…

---

## [Save curvature values as nifti (.nii) file](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092)

<div class="topic-metadata">

**Author:** [@Kristin](https://discourse.vtk.org/u/Kristin)\
**Replies:** 0\
**Last updated:** [August 3, 2023, 12:09pm UTC](https://discourse.vtk.org/t/save-curvature-values-as-nifti-nii-file/12092 "2023-08-03T12:09:17Z")

</div>

Dear all, I want to save values of the curvature of an object into a nifti (.nii) file. I have a volume object (as stl) which I extracted from a medical image in nifti format using 3D slicer. I computed the curvature va…

---

## [Removing and Re-Adding Cells to vtkPolyData:](https://discourse.vtk.org/t/removing-and-re-adding-cells-to-vtkpolydata/12084)

<div class="topic-metadata">

**Author:** [@ramen-newdals](https://discourse.vtk.org/u/ramen-newdals)\
**Replies:** 1\
**Last updated:** [August 3, 2023, 6:08am UTC](https://discourse.vtk.org/t/removing-and-re-adding-cells-to-vtkpolydata/12084 "2023-08-03T06:08:15Z")

</div>

Hello All, I have a vtkPolyData object where the user will select several input points. Using these points the connected cells will then be deleted from the mesh. I want to make a copy of the removed cells so they can b…

---

## [VTK arm64 install c++](https://discourse.vtk.org/t/vtk-arm64-install-c/12081)

<div class="topic-metadata">

**Author:** [@Artmin](https://discourse.vtk.org/u/Artmin)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 6:03am UTC](https://discourse.vtk.org/t/vtk-arm64-install-c/12081 "2023-08-03T06:03:42Z")

</div>

How to install VTK 9.1 in Xcode 14.3.1 on arm64 processor? I have already tried many ways and it does not work. Maybe there are some options for running on Windows using Visual Studio? Tell me which version of cmake to u…

---

## [Represent surface voxels using vtkcubesource](https://discourse.vtk.org/t/represent-surface-voxels-using-vtkcubesource/12045)

<div class="topic-metadata">

**Author:** [@Trainee](https://discourse.vtk.org/u/Trainee)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 12:04pm UTC](https://discourse.vtk.org/t/represent-surface-voxels-using-vtkcubesource/12045 "2023-08-02T12:04:21Z")

</div>

Hi, I am trying to represent voxels using vtkcubesource and find it very slow in rendering. The number of cubes are approximately around 100k. here is the code snippet. for( auto k = 0; k\<zsteps; ++k) for(auto j = 0; …

---

## [Unable to Set Transfer2DYAxisArray to "Curvature"](https://discourse.vtk.org/t/unable-to-set-transfer2dyaxisarray-to-curvature/12067)

<div class="topic-metadata">

**Author:** [@DMelenberg](https://discourse.vtk.org/u/DMelenberg)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 6:39am UTC](https://discourse.vtk.org/t/unable-to-set-transfer2dyaxisarray-to-curvature/12067 "2023-08-02T06:39:55Z")

</div>

Dear vtk Community :sunny:, during my project to construct a volume renderer using vtk i am facing the challenge to define the curvature data of the volume as the y-axis of the 2D transfer function. According to vtk do…

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

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