# Support

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

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

**Page:** 44

---

## [render single slice of a volume with vtkVolume shows no result](https://discourse.vtk.org/t/render-single-slice-of-a-volume-with-vtkvolume-shows-no-result/12069)

<div class="topic-metadata">

**Author:** [@morkar](https://discourse.vtk.org/u/morkar)\
**Replies:** 3\
**Last updated:** [August 2, 2023, 4:31am UTC](https://discourse.vtk.org/t/render-single-slice-of-a-volume-with-vtkvolume-shows-no-result/12069 "2023-08-02T04:31:34Z")

</div>

hey! im using vtk 9.2 to render 3d volumes with the following code auto mapper = vtkSmartPointer\<vtkOpenGLGPUVolumeRayCastMapper\>::New(); mapper-\>SetInputConnection(imagedata-\>GetOutputPort()); auto actor = vtkSmartPo…

---

## [advice for display mask image](https://discourse.vtk.org/t/advice-for-display-mask-image/12072)

<div class="topic-metadata">

**Author:** [@yi\_zhang](https://discourse.vtk.org/u/yi_zhang)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 9:21am UTC](https://discourse.vtk.org/t/advice-for-display-mask-image/12072 "2023-08-01T09:21:17Z")

</div>

I have a question to consult. I added the segmtioned binary blood vessel image (0 is the black background, 255 is the segmtioned blood vessel) to the display interface through vtkImageActor, and the red blood vessel ima…

---

## [Specifing vtkDataSet::GetScalarRange()](https://discourse.vtk.org/t/specifing-vtkdataset-getscalarrange/2844)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 7\
**Last updated:** [August 1, 2023, 4:17am UTC](https://discourse.vtk.org/t/specifing-vtkdataset-getscalarrange/2844 "2023-08-01T04:17:42Z")

</div>

Current Implementation: .vtk UnstrucredGrid file of 2D mesh that contains multiple point and cell scalar fields Example Fields: material (cell), grid function solution (point) Goal: Set the scalar range of a mapper’…

---

## [Discovering the LPS vs RAS convention of a data file](https://discourse.vtk.org/t/discovering-the-lps-vs-ras-convention-of-a-data-file/12070)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 1:54am UTC](https://discourse.vtk.org/t/discovering-the-lps-vs-ras-convention-of-a-data-file/12070 "2023-08-01T01:54:58Z")

</div>

Hi, related to this other post, I am having some VTK/P files that contains some tractography streamline data. I ignore whether the tool that produced this followed an LPS or RAS convention. Is there a tag or specific …

---

## [16 bit or 32 bit texture support?](https://discourse.vtk.org/t/16-bit-or-32-bit-texture-support/12061)

<div class="topic-metadata">

**Author:** [@Aaron\_K](https://discourse.vtk.org/u/Aaron_K)\
**Replies:** 5\
**Last updated:** [July 31, 2023, 2:43pm UTC](https://discourse.vtk.org/t/16-bit-or-32-bit-texture-support/12061 "2023-07-31T14:43:08Z")

</div>

Hello, I have a working offscreen rendering class using VTK version 8.1.2 that loads in a mesh and a texture, sets up an offscreen window, renders it, and pulls the image out of the back buffer. So far so good. However,…

---

## [Can the vtkImageTracerWidget be used with vtkResliceImageViewer?](https://discourse.vtk.org/t/can-the-vtkimagetracerwidget-be-used-with-vtkresliceimageviewer/12065)

<div class="topic-metadata">

**Author:** [@mmXIO](https://discourse.vtk.org/u/mmXIO)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 11:57am UTC](https://discourse.vtk.org/t/can-the-vtkimagetracerwidget-be-used-with-vtkresliceimageviewer/12065 "2023-07-31T11:57:57Z")

</div>

I use vtkResliceImageViewer to read DICOM data and display it, but when I doodle with vtkImageTracerWidget, it doesn’t work, why? import vtk from globalVariables import getDirPath reader = vtk.vtkDICOMImageReader() read…

---

## [ComputeFiniteScalarRange in LoadVolume is too Slow...is it able to optimize or not use the ScalarRange?](https://discourse.vtk.org/t/computefinitescalarrange-in-loadvolume-is-too-slow-is-it-able-to-optimize-or-not-use-the-scalarrange/12064)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 6:25am UTC](https://discourse.vtk.org/t/computefinitescalarrange-in-loadvolume-is-too-slow-is-it-able-to-optimize-or-not-use-the-scalarrange/12064 "2023-07-31T06:25:45Z")

</div>

ComputeFiniteScalarRange in LoadVolume is too Slow…is it able to optimize or not use the ScalarRange?

---

## [CMAKE can't find Python3 because Development.Module is missing.](https://discourse.vtk.org/t/cmake-cant-find-python3-because-development-module-is-missing/11901)

<div class="topic-metadata">

**Author:** [@EnderWiggin14](https://discourse.vtk.org/u/EnderWiggin14)\
**Replies:** 1\
**Last updated:** [July 29, 2023, 8:38pm UTC](https://discourse.vtk.org/t/cmake-cant-find-python3-because-development-module-is-missing/11901 "2023-07-29T20:38:22Z")

</div>

I’m trying to compile ElmerFEMGUI with VTK as a dependency; however, VTK’s cmake files are failing to find the Developmentm.Module requirement. The executable is found. The error call stack is as follows CMake Error at…

---

## [VTK static lib bug report about vtkInformationXXKey when using more than one copy of vtk libs](https://discourse.vtk.org/t/vtk-static-lib-bug-report-about-vtkinformationxxkey-when-using-more-than-one-copy-of-vtk-libs/12034)

<div class="topic-metadata">

**Author:** [@LimingZhou](https://discourse.vtk.org/u/LimingZhou)\
**Replies:** 11\
**Last updated:** [July 29, 2023, 8:24pm UTC](https://discourse.vtk.org/t/vtk-static-lib-bug-report-about-vtkinformationxxkey-when-using-more-than-one-copy-of-vtk-libs/12034 "2023-07-29T20:24:44Z")

</div>

I have problem running my exe linked against static vtk libs, involving such as vtkImageSlice. The case is I have a project consisting of a core lib and a test exe. The core lib links against vtk static libs and the test…

---

## [Issues with Trame, Docker, Caprover, Pyvista, Web App Setup](https://discourse.vtk.org/t/issues-with-trame-docker-caprover-pyvista-web-app-setup/12024)

<div class="topic-metadata">

**Author:** [@Ryder\_Davidson](https://discourse.vtk.org/u/Ryder_Davidson)\
**Replies:** 6\
**Last updated:** [July 27, 2023, 1:39pm UTC](https://discourse.vtk.org/t/issues-with-trame-docker-caprover-pyvista-web-app-setup/12024 "2023-07-27T13:39:06Z")

</div>

First of all, I want to express my gratitude for the amazing work that you all do – not to mention a very responsive support forum. I am developing a web application that utilizes VTK – viz. Trame and Pyvista – to render…

---

## [Maximizing Computational Resources for Surface Reconstruction: Involving Multiple CPU Cores and GPU](https://discourse.vtk.org/t/maximizing-computational-resources-for-surface-reconstruction-involving-multiple-cpu-cores-and-gpu/12012)

<div class="topic-metadata">

**Author:** [@guyqqcom](https://discourse.vtk.org/u/guyqqcom)\
**Replies:** 2\
**Last updated:** [July 26, 2023, 2:37pm UTC](https://discourse.vtk.org/t/maximizing-computational-resources-for-surface-reconstruction-involving-multiple-cpu-cores-and-gpu/12012 "2023-07-26T14:37:44Z")

</div>

Hello everyone, I am currently working on surface reconstruction using PowerCrust in Remote. However, I’ve encountered an issue where only one CPU core is being utilized for the computations, reaching 100% usage. I’m se…

---

## [how to keep mask image the same color](https://discourse.vtk.org/t/how-to-keep-mask-image-the-same-color/12030)

<div class="topic-metadata">

**Author:** [@yi\_zhang](https://discourse.vtk.org/u/yi_zhang)\
**Replies:** 0\
**Last updated:** [July 26, 2023, 1:46pm UTC](https://discourse.vtk.org/t/how-to-keep-mask-image-the-same-color/12030 "2023-07-26T13:46:46Z")

</div>

This is my code colors = vtk.vtkImageMapToWindowLevelColors() colors.SetInputConnection(reslice.GetOutputPort()) colors.SetWindow(auto\_w) colors.SetLevel(auto\_l) imageActor = vtk.vtkImageActor() imageActor.GetMapper().…

---

## [Copying a collection of heterogenous vtkProp types](https://discourse.vtk.org/t/copying-a-collection-of-heterogenous-vtkprop-types/12026)

<div class="topic-metadata">

**Author:** [@Sean\_Curtis](https://discourse.vtk.org/u/Sean_Curtis)\
**Replies:** 0\
**Last updated:** [July 26, 2023, 7:37am UTC](https://discourse.vtk.org/t/copying-a-collection-of-heterogenous-vtkprop-types/12026 "2023-07-26T07:37:04Z")

</div>

Pretend I have a std::vector\<vtkSmartPointer\<vtkProp\>\> things; I populate it with a number of different types (all derived from vtkProp). For example, let’s say one item is a vtkAssembly and one is a vtkActor. Now I want…

---

## [ActiViz in WPF](https://discourse.vtk.org/t/activiz-in-wpf/10172)

<div class="topic-metadata">

**Author:** [@a772485252](https://discourse.vtk.org/u/a772485252)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 11:55am UTC](https://discourse.vtk.org/t/activiz-in-wpf/10172 "2023-07-25T11:55:42Z")

</div>

In WPF, I wanted to lay out a ComboBox on RenderWindowControl, but failed. Is there any good way to do it? Other words, let the wpf control float on top of RenderWindowControl.

---

## [Recommended unit (mm, cm, m) for usage as image spacing](https://discourse.vtk.org/t/recommended-unit-mm-cm-m-for-usage-as-image-spacing/11997)

<div class="topic-metadata">

**Author:** [@morkar](https://discourse.vtk.org/u/morkar)\
**Replies:** 3\
**Last updated:** [July 24, 2023, 5:54pm UTC](https://discourse.vtk.org/t/recommended-unit-mm-cm-m-for-usage-as-image-spacing/11997 "2023-07-24T17:54:16Z")

</div>

Hey! we are using VTK for rendering CT volumes in 2D/3D. The voxel size of the volumes is given in microns by the reconstruction algorithms. currently we are using the value in microns as spacing, fx SetSpacing(50, 50,…

---

## [VTK C++ application and Visual Studio](https://discourse.vtk.org/t/vtk-c-application-and-visual-studio/11936)

<div class="topic-metadata">

**Author:** [@mauede](https://discourse.vtk.org/u/mauede)\
**Replies:** 39\
**Last updated:** [July 24, 2023, 4:54pm UTC](https://discourse.vtk.org/t/vtk-c-application-and-visual-studio/11936 "2023-07-24T16:54:30Z")

</div>

Dear VTK Experts, I have recently installed VTK for C++ with Visual Studio Community 2022. I followed an online tutorial that uses CMake to prepare the files needed by Visual Studio. I am trying to build my own C++ ap…

---

## [BackfaceProperty of vtkActor is not functioning correctly.](https://discourse.vtk.org/t/backfaceproperty-of-vtkactor-is-not-functioning-correctly/11814)

<div class="topic-metadata">

**Author:** [@claude](https://discourse.vtk.org/u/claude)\
**Replies:** 4\
**Last updated:** [July 24, 2023, 8:19am UTC](https://discourse.vtk.org/t/backfaceproperty-of-vtkactor-is-not-functioning-correctly/11814 "2023-07-24T08:19:17Z")

</div>

Hi， I’m facing the following issue:in the case of vtkPolyDataMapper::ScalarVisibilityOn , setting the color value for BackfaceProperty of vtkActor does not work as expected. How can this be resolved?

---

## [GetRGBACharPixelData still get alphaChannel even after SetAlphaBitPlanes(0)?](https://discourse.vtk.org/t/getrgbacharpixeldata-still-get-alphachannel-even-after-setalphabitplanes-0/11993)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 1:26am UTC](https://discourse.vtk.org/t/getrgbacharpixeldata-still-get-alphachannel-even-after-setalphabitplanes-0/11993 "2023-07-24T01:26:20Z")

</div>

GetRGBACharPixelData still get alphaChannel even after SetAlphaBitPlanes(0)?

---

## [OpenGL crash](https://discourse.vtk.org/t/opengl-crash/11965)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 4\
**Last updated:** [July 22, 2023, 11:54am UTC](https://discourse.vtk.org/t/opengl-crash/11965 "2023-07-22T11:54:58Z")

</div>

I am trying to use both vtkGenericOpenGLRenderWindow (providing glfw and glad) and vtkRenderWindowInteractor. I get this crash when initializing the interactor: 2023-07-18 22:26:58.653 ( 0.178s) \[ B65FDB40\] …

---

## [Is there a way to see the call stack that caused the crash in vtk?](https://discourse.vtk.org/t/is-there-a-way-to-see-the-call-stack-that-caused-the-crash-in-vtk/11969)

<div class="topic-metadata">

**Author:** [@gongwaner](https://discourse.vtk.org/u/gongwaner)\
**Replies:** 2\
**Last updated:** [July 22, 2023, 2:32am UTC](https://discourse.vtk.org/t/is-there-a-way-to-see-the-call-stack-that-caused-the-crash-in-vtk/11969 "2023-07-22T02:32:27Z")

</div>

I was running into crash recently. Usually vtk output window pops up and reports error messages. The errors are usually in the following format: ERROR: In {path\_to\_vtk\_lib}/somefile.cxx: some error messages… It doesn’t…

---

## [python VTK Segmentation Fault after rendering](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860)

<div class="topic-metadata">

**Author:** [@sonnet](https://discourse.vtk.org/u/sonnet)\
**Replies:** 2\
**Last updated:** [July 21, 2023, 1:19pm UTC](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860 "2023-07-21T13:19:09Z")

</div>

I’m trying to test my installation of vtk in anaconda on a linux computing center. Whenever I try to run a simple code, I keep on getting the Segmentation fault (core dumped) error and I am unable to render figures. Does…

---

## [Unable to run vtk example in clion](https://discourse.vtk.org/t/unable-to-run-vtk-example-in-clion/11857)

<div class="topic-metadata">

**Author:** [@gongwaner](https://discourse.vtk.org/u/gongwaner)\
**Replies:** 3\
**Last updated:** [July 21, 2023, 4:57am UTC](https://discourse.vtk.org/t/unable-to-run-vtk-example-in-clion/11857 "2023-07-21T04:57:13Z")

</div>

I installed vtk on my Mac using brew install vtk then for testing purpose, I download a random example https://examples.vtk.org/site/Cxx/GeometricObjects/Cube/ then using the instruction as mentioned in the page to ru…

---

## [how to get the WindowResizeEvent in the old version of VTK which not have vtkCommand::WindowResizeEvent...](https://discourse.vtk.org/t/how-to-get-the-windowresizeevent-in-the-old-version-of-vtk-which-not-have-vtkcommand-windowresizeevent/11878)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 3\
**Last updated:** [July 21, 2023, 12:21am UTC](https://discourse.vtk.org/t/how-to-get-the-windowresizeevent-in-the-old-version-of-vtk-which-not-have-vtkcommand-windowresizeevent/11878 "2023-07-21T00:21:09Z")

</div>

how to get the WindowResizeEvent in the old version of VTK which not have vtkCommand::WindowResizeEvent… eg. in VKT 8.1, there is no vtkCommand::WindowResizeEvent…at this version, how to get the event when resize the wi…

---

## [Building VTK emscripten cone example uses outdated VTK version?](https://discourse.vtk.org/t/building-vtk-emscripten-cone-example-uses-outdated-vtk-version/11862)

<div class="topic-metadata">

**Author:** [@rmarr](https://discourse.vtk.org/u/rmarr)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 7:41pm UTC](https://discourse.vtk.org/t/building-vtk-emscripten-cone-example-uses-outdated-vtk-version/11862 "2023-07-20T19:41:32Z")

</div>

I’m trying to build VTK for emscripten and was able to do so successfully. Now I would like to test my build using the cone example listed here: https://gitlab.kitware.com/vtk/vtk/-/blob/master/Examples/Emscripten/Cxx/C…

---

## [How to create proper netcdf plots like panoply in using vtk and opengl](https://discourse.vtk.org/t/how-to-create-proper-netcdf-plots-like-panoply-in-using-vtk-and-opengl/11328)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 5\
**Last updated:** [July 20, 2023, 2:14pm UTC](https://discourse.vtk.org/t/how-to-create-proper-netcdf-plots-like-panoply-in-using-vtk-and-opengl/11328 "2023-07-20T14:14:50Z")

</div>

In opengl how can i create plots like this using this code vtkSmartPointer\<vtkNetCDFCFReader\> reader = vtkSmartPointer\<vtkNetCDFCFReader\>::New(); reader-\>SetFileName("C:/Users/admin/Desktop/BOLTgui/BOL…

---

## [vtkDelaunay2D](https://discourse.vtk.org/t/vtkdelaunay2d/11447)

<div class="topic-metadata">

**Author:** [@Frankenstein](https://discourse.vtk.org/u/Frankenstein)\
**Replies:** 8\
**Last updated:** [July 20, 2023, 2:08pm UTC](https://discourse.vtk.org/t/vtkdelaunay2d/11447 "2023-07-20T14:08:33Z")

</div>

I have created a surface using the vtkDelaunay2D class, but due to different data, it often causes surface distortion like this ,How should I make these surfaces smoother? By the way, I have used several smoothing funct…

---

## [resolve : Neither dumpbin nor llvm-objdump could be found.](https://discourse.vtk.org/t/resolve-neither-dumpbin-nor-llvm-objdump-could-be-found/11781)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 2:03pm UTC](https://discourse.vtk.org/t/resolve-neither-dumpbin-nor-llvm-objdump-could-be-found/11781 "2023-07-20T14:03:22Z")

</div>

Hi, I am trying to build BarChartQt and I’ve configured the project correctly: However, when I execute Cmake --build ., I got errors: PS D:\\Study\\VTK\\Tutorial-MinGW\\BarChartQt\\build\> Cmake --build . \[ 20%\] Automatic …

---

## [How to visualize vector data using VTK](https://discourse.vtk.org/t/how-to-visualize-vector-data-using-vtk/11737)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 6\
**Last updated:** [July 20, 2023, 1:54pm UTC](https://discourse.vtk.org/t/how-to-visualize-vector-data-using-vtk/11737 "2023-07-20T13:54:04Z")

</div>

I am trying to visualize vector data using VTK. From some example I managed to write a code as follows: #include \<vtkActor.h\> #include \<vtkDataSetMapper.h\> #include \<vtkNamedColors.h\> #include \<vtkNew.h\> #include \<v…

---

## [How to create a vtu file with a 3D block model with sub-blocks?](https://discourse.vtk.org/t/how-to-create-a-vtu-file-with-a-3d-block-model-with-sub-blocks/11991)

<div class="topic-metadata">

**Author:** [@CharlesV](https://discourse.vtk.org/u/CharlesV)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 12:41pm UTC](https://discourse.vtk.org/t/how-to-create-a-vtu-file-with-a-3d-block-model-with-sub-blocks/11991 "2023-07-20T12:41:59Z")

</div>

Hi gents! First of all, I would like to apologize for my broken English. I am a mine engineer with a limited background in software programming. Despite this, I have managed to create some Python applications for my pe…

---

## [Putting arrays on each cell of a mesh](https://discourse.vtk.org/t/putting-arrays-on-each-cell-of-a-mesh/11984)

<div class="topic-metadata">

**Author:** [@Marupio](https://discourse.vtk.org/u/Marupio)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 4:49pm UTC](https://discourse.vtk.org/t/putting-arrays-on-each-cell-of-a-mesh/11984 "2023-07-19T16:49:18Z")

</div>

I have a vtkMultiBlockDataSet that contains some vtkUnstructuredGrids and some vtkPolyData objects. I want to be able to put data on the cells of the vtkUnstructuredGrids such that each cell contains an arbitrary number…

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

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