# Support

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

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

**Page:** 15

---

## [How can I render as dicom series center, not the object center](https://discourse.vtk.org/t/how-can-i-render-as-dicom-series-center-not-the-object-center/15147)

<div class="topic-metadata">

**Author:** [@vinzileo](https://discourse.vtk.org/u/vinzileo)\
**Replies:** 1\
**Last updated:** [January 13, 2025, 5:14am UTC](https://discourse.vtk.org/t/how-can-i-render-as-dicom-series-center-not-the-object-center/15147 "2025-01-13T05:14:18Z")

</div>

Hi all, I tried to render a dicom series containing a mask(1 within mask region, other wise its 0). However, when I render it the focal center is always the center of the mask, while I want it to be the center of whole…

---

## [The vtkCellPicker is always able to pick block that have been set to invisible](https://discourse.vtk.org/t/the-vtkcellpicker-is-always-able-to-pick-block-that-have-been-set-to-invisible/15119)

<div class="topic-metadata">

**Author:** [@keke](https://discourse.vtk.org/u/keke)\
**Replies:** 3\
**Last updated:** [January 13, 2025, 1:47am UTC](https://discourse.vtk.org/t/the-vtkcellpicker-is-always-able-to-pick-block-that-have-been-set-to-invisible/15119 "2025-01-13T01:47:17Z")

</div>

I am using vtkMultiBlockDataSet with vtkDataSetSurfaceFilter and vtkCompositePolyDataMapper to build a rendering pipeline. I want to implement functionality to hide the block that is picked. To achieve this, I use vtkCel…

---

## [Building vtk 9.4.0 on windows Java](https://discourse.vtk.org/t/building-vtk-9-4-0-on-windows-java/14936)

<div class="topic-metadata">

**Author:** [@Ngwarai](https://discourse.vtk.org/u/Ngwarai)\
**Replies:** 79\
**Last updated:** [January 12, 2025, 10:17am UTC](https://discourse.vtk.org/t/building-vtk-9-4-0-on-windows-java/14936 "2025-01-12T10:17:38Z")

</div>

Hi all. Having a problem building vtk\_9.4.0 on windows / Java. The error below is just a sample of the 120 error that come up. they are all wrapping errors that fail on code 1. I am out of my depth on these errors and h…

---

## [VTK DICOM Viewer Upgrade: Window-Level Implementation issue](https://discourse.vtk.org/t/vtk-dicom-viewer-upgrade-window-level-implementation-issue/15129)

<div class="topic-metadata">

**Author:** [@Manjunath\_AV](https://discourse.vtk.org/u/Manjunath_AV)\
**Replies:** 3\
**Last updated:** [January 10, 2025, 8:38pm UTC](https://discourse.vtk.org/t/vtk-dicom-viewer-upgrade-window-level-implementation-issue/15129 "2025-01-10T20:38:17Z")

</div>

I am currently working on upgrading a DICOM viewer project from VTK version 5.10 to version 9.3. During this process, I have encountered specific challenges related to the window-level functionality, which is crucial for…

---

## [How to use vtkCesium3DTilesWriter with vtkPolyData to Export 3D Tiles in VTK?](https://discourse.vtk.org/t/how-to-use-vtkcesium3dtileswriter-with-vtkpolydata-to-export-3d-tiles-in-vtk/14945)

<div class="topic-metadata">

**Author:** [@NemaAryan](https://discourse.vtk.org/u/NemaAryan)\
**Replies:** 2\
**Last updated:** [January 10, 2025, 3:10pm UTC](https://discourse.vtk.org/t/how-to-use-vtkcesium3dtileswriter-with-vtkpolydata-to-export-3d-tiles-in-vtk/14945 "2025-01-10T15:10:25Z")

</div>

Hello, I’m trying to export a cube mesh to 3D Tiles using vtkCesium3DTilesWriter. According to the documentation, the writer accepts vtkPolyData for meshes. Since I’m working with vtkUnstructuredGrid to define my cube m…

---

## [How can I achieve transparent out-of-range component 1 in 2 components image data?](https://discourse.vtk.org/t/how-can-i-achieve-transparent-out-of-range-component-1-in-2-components-image-data/15136)

<div class="topic-metadata">

**Author:** [@sss](https://discourse.vtk.org/u/sss)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 12:12pm UTC](https://discourse.vtk.org/t/how-can-i-achieve-transparent-out-of-range-component-1-in-2-components-image-data/15136 "2025-01-10T12:12:46Z")

</div>

I have a vtkImageData with 2 components, and use volume mapper into a vtkVolume with volumeProperty-\>IndependentComponentsOff() my first component is with color transfer function, and second component is with opacity t…

---

## [Window and Level issue in VTK9](https://discourse.vtk.org/t/window-and-level-issue-in-vtk9/15134)

<div class="topic-metadata">

**Author:** [@Manjunath\_AV](https://discourse.vtk.org/u/Manjunath_AV)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 7:15am UTC](https://discourse.vtk.org/t/window-and-level-issue-in-vtk9/15134 "2025-01-10T07:15:05Z")

</div>

Hi, I am configuring the Window value to 750.0 and the Level value to 455.0 on a DICOM image using the API calls SetColorLevel and SetColorWindow from VTK. When the Window value is set to 750.0 and the Level value to 4…

---

## [BarChartQt example does not compile](https://discourse.vtk.org/t/barchartqt-example-does-not-compile/15093)

<div class="topic-metadata">

**Author:** [@its3dallthewaydown](https://discourse.vtk.org/u/its3dallthewaydown)\
**Replies:** 6\
**Last updated:** [January 10, 2025, 5:33am UTC](https://discourse.vtk.org/t/barchartqt-example-does-not-compile/15093 "2025-01-10T05:33:30Z")

</div>

I downloaded the tar file from the website (very recently) and I get a compilation error (to ensure it was not a Qt install problem I compiled the BorderWidgetQt example successfully). \[ 33%\] Building CXX object CMakeFi…

---

## [How to Open Step File in VTK](https://discourse.vtk.org/t/how-to-open-step-file-in-vtk/703)

<div class="topic-metadata">

**Author:** [@lbhking](https://discourse.vtk.org/u/lbhking)\
**Replies:** 9\
**Last updated:** [January 9, 2025, 1:16pm UTC](https://discourse.vtk.org/t/how-to-open-step-file-in-vtk/703 "2025-01-09T13:16:24Z")

</div>

Who can tell me how to open the STEP file and display it? Thank you!

---

## [How to color vectors by vector magnitude using vtkGlyph3DMapper?](https://discourse.vtk.org/t/how-to-color-vectors-by-vector-magnitude-using-vtkglyph3dmapper/15097)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 7\
**Last updated:** [January 8, 2025, 8:53pm UTC](https://discourse.vtk.org/t/how-to-color-vectors-by-vector-magnitude-using-vtkglyph3dmapper/15097 "2025-01-08T20:53:32Z")

</div>

Hello!!! I’m using VTK 9.2.6 and Python 3.11.6 I’m trying to display (orient, scale and color) arrows using a vector field and using the vtkGlyph3DMapper (instead of vktGlyph3D). I have the orientation and scaling wor…

---

## [Render window freezes after clicking close button (C++, VTK 9.4)](https://discourse.vtk.org/t/render-window-freezes-after-clicking-close-button-c-vtk-9-4/15111)

<div class="topic-metadata">

**Author:** [@climbatized](https://discourse.vtk.org/u/climbatized)\
**Replies:** 2\
**Last updated:** [January 7, 2025, 6:54pm UTC](https://discourse.vtk.org/t/render-window-freezes-after-clicking-close-button-c-vtk-9-4/15111 "2025-01-07T18:54:54Z")

</div>

I have updated to VTK 9.4 from VTK 9.1 and have since had the following issue arise… I have a vtkRenderWindowInteractor that includes an UpdateCallback to periodically render the window with new simulation data. All is …

---

## [Error opening .vtm files in pyqt6 gui](https://discourse.vtk.org/t/error-opening-vtm-files-in-pyqt6-gui/15087)

<div class="topic-metadata">

**Author:** [@Jimmyenricohu](https://discourse.vtk.org/u/Jimmyenricohu)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 1:46pm UTC](https://discourse.vtk.org/t/error-opening-vtm-files-in-pyqt6-gui/15087 "2025-01-07T13:46:56Z")

</div>

I have builded a program for CFD results interpolation by vtk interpolation functions. It run successfully in jupyter, but while I write a Pyqt6 GUI and packaged by pyinstaller it show the error like below. I don‘t no…

---

## [VTU extracting polygonal geometry information in c++ - example code ?](https://discourse.vtk.org/t/vtu-extracting-polygonal-geometry-information-in-c-example-code/15117)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 2\
**Last updated:** [January 6, 2025, 6:24pm UTC](https://discourse.vtk.org/t/vtu-extracting-polygonal-geometry-information-in-c-example-code/15117 "2025-01-06T18:24:53Z")

</div>

I am looking for VTK C++ code which illustrate the extraction of polygonal mesh information from VTU files. My current aim is to write some C++ code (for self learning) to read a \*.vtu file and write out a \*.obj file. E…

---

## [CustomVertexShaderCode](https://discourse.vtk.org/t/customvertexshadercode/15106)

<div class="topic-metadata">

**Author:** [@1078586743](https://discourse.vtk.org/u/1078586743)\
**Replies:** 2\
**Last updated:** [January 6, 2025, 12:59am UTC](https://discourse.vtk.org/t/customvertexshadercode/15106 "2025-01-06T00:59:32Z")

</div>

Hi I’m newer to vtk, when i use SetVertexShaderCode of vtkShaderProperty, the model will disappear.But if i remove SetVertexShaderCode and only use SetFragmentShaderCode, it can work.Following is my VertexShader code c…

---

## [vtk9.4.0，vtk\_glad\_glBlitFramebuffer cant find Implementation](https://discourse.vtk.org/t/vtk9-4-0-vtk-glad-glblitframebuffer-cant-find-implementation/14941)

<div class="topic-metadata">

**Author:** [@zist8888](https://discourse.vtk.org/u/zist8888)\
**Replies:** 14\
**Last updated:** [January 1, 2025, 6:59pm UTC](https://discourse.vtk.org/t/vtk9-4-0-vtk-glad-glblitframebuffer-cant-find-implementation/14941 "2025-01-01T18:59:10Z")

</div>

I download vtk9.4.0 source,when compiled openxr project demo,show some error,that cant link. read source,this define as this: #define glad\_glBlitFramebuffer vtk\_glad\_glBlitFramebuffer but i cant find vtk\_glad\_glBlitF…

---

## [rendering of large #s of points as spheres and lines as tubes with varying radii-tubefilter too slow!](https://discourse.vtk.org/t/rendering-of-large-s-of-points-as-spheres-and-lines-as-tubes-with-varying-radii-tubefilter-too-slow/15096)

<div class="topic-metadata">

**Author:** [@geoffw](https://discourse.vtk.org/u/geoffw)\
**Replies:** 1\
**Last updated:** [January 1, 2025, 12:51am UTC](https://discourse.vtk.org/t/rendering-of-large-s-of-points-as-spheres-and-lines-as-tubes-with-varying-radii-tubefilter-too-slow/15096 "2025-01-01T00:51:05Z")

</div>

We are sometimes rendering large lattices, on the order of 6 million beams. The tube filter is too slow. I have seen that there are ways to render lines directly as tubes in OpenGL2 as in this blog post: https://www.kit…

---

## [Java Wrapping broken?](https://discourse.vtk.org/t/java-wrapping-broken/15083)

<div class="topic-metadata">

**Author:** [@metamurk](https://discourse.vtk.org/u/metamurk)\
**Replies:** 3\
**Last updated:** [December 30, 2024, 11:25pm UTC](https://discourse.vtk.org/t/java-wrapping-broken/15083 "2024-12-30T23:25:54Z")

</div>

Hello together, Is it possible that Java wrapping is broken? l tried it the staigthforward way: Downloading 9.4.0 Setting up Cmake. Here it wants a Javah! This is super outdated and does not exist anymore since 10 y…

---

## [How to tie widgets (vtkAbstractWidget) together?](https://discourse.vtk.org/t/how-to-tie-widgets-vtkabstractwidget-together/12222)

<div class="topic-metadata">

**Author:** [@somso2e](https://discourse.vtk.org/u/somso2e)\
**Replies:** 1\
**Last updated:** [December 30, 2024, 2:19pm UTC](https://discourse.vtk.org/t/how-to-tie-widgets-vtkabstractwidget-together/12222 "2024-12-30T14:19:18Z")

</div>

I need to sync widgets’ actions that are in multiple renderwindows together. Upon first inspection, vtkWidgetSet seemed to be the right choice for this but as I understand now, the implementation hasn’t been touched in y…

---

## [Does vtkPolyDataMapper support back face property for points?](https://discourse.vtk.org/t/does-vtkpolydatamapper-support-back-face-property-for-points/15092)

<div class="topic-metadata">

**Author:** [@hui](https://discourse.vtk.org/u/hui)\
**Replies:** 0\
**Last updated:** [December 30, 2024, 1:15pm UTC](https://discourse.vtk.org/t/does-vtkpolydatamapper-support-back-face-property-for-points/15092 "2024-12-30T13:15:55Z")

</div>

Hello, I use vtkPolyDataMapper to display a point cloud. Each point has its own normal. The problem is the back face of each point is always black even when I set the back face property with a different color for the ac…

---

## [vtkMultiBlockDataSet and parallel pipelines](https://discourse.vtk.org/t/vtkmultiblockdataset-and-parallel-pipelines/3137)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 4\
**Last updated:** [December 30, 2024, 11:32am UTC](https://discourse.vtk.org/t/vtkmultiblockdataset-and-parallel-pipelines/3137 "2024-12-30T11:32:18Z")

</div>

Hello!!! I’m working with a vtkMultiBlockDataSet with around 6,000 blocks where each block is a vtkUnstructuredGrid. The data represents a finite element mesh and each block is a separate “Part”. Some of the blocks cont…

---

## [Does anyone maintain multi-platform java builds? Is there nay hope for getting official builds with Java?](https://discourse.vtk.org/t/does-anyone-maintain-multi-platform-java-builds-is-there-nay-hope-for-getting-official-builds-with-java/13286)

<div class="topic-metadata">

**Author:** [@kevinmilner](https://discourse.vtk.org/u/kevinmilner)\
**Replies:** 1\
**Last updated:** [December 28, 2024, 5:28pm UTC](https://discourse.vtk.org/t/does-anyone-maintain-multi-platform-java-builds-is-there-nay-hope-for-getting-official-builds-with-java/13286 "2024-12-28T17:28:08Z")

</div>

I use a Java code that is built on top of VTK, and it’s a real bummer that builds aren’t available with Java from Kitware. When we switched from Java3D to VTK years ago, I built VTK with the Java extensions for OS X, Wi…

---

## [How to access information from a custom reader and read only a subset of data?](https://discourse.vtk.org/t/how-to-access-information-from-a-custom-reader-and-read-only-a-subset-of-data/15082)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 0\
**Last updated:** [December 28, 2024, 4:03pm UTC](https://discourse.vtk.org/t/how-to-access-information-from-a-custom-reader-and-read-only-a-subset-of-data/15082 "2024-12-28T16:03:53Z")

</div>

Hello!! I’ve written a custom reader based on vtkPythonAlgorithmBase following the pattern from this blog written by Ben Geveci. The file that I’m reading may contain one or more spatial data fields I want to use this…

---

## [Different colors for different parts of the glyph when using the vtkGlyph3DMapper](https://discourse.vtk.org/t/different-colors-for-different-parts-of-the-glyph-when-using-the-vtkglyph3dmapper/15077)

<div class="topic-metadata">

**Author:** [@hui](https://discourse.vtk.org/u/hui)\
**Replies:** 6\
**Last updated:** [December 28, 2024, 3:12pm UTC](https://discourse.vtk.org/t/different-colors-for-different-parts-of-the-glyph-when-using-the-vtkglyph3dmapper/15077 "2024-12-28T15:12:23Z")

</div>

Hello, I want to display each point of my point cloud as a circle with a disk as its edge. And I want the circle and the disk to have different colors. I tried vtkGlyph3DMapper with a vtkRegularPolygonSource and a vtkDi…

---

## [proper way to return objects from functions ? (allocation question)](https://discourse.vtk.org/t/proper-way-to-return-objects-from-functions-allocation-question/15070)

<div class="topic-metadata">

**Author:** [@its3dallthewaydown](https://discourse.vtk.org/u/its3dallthewaydown)\
**Replies:** 2\
**Last updated:** [December 28, 2024, 1:53am UTC](https://discourse.vtk.org/t/proper-way-to-return-objects-from-functions-allocation-question/15070 "2024-12-28T01:53:04Z")

</div>

New user question and problem. I’m using the Polygon1 example to learn the basics and I ran into an issue. I wanted to create a routine that returned a points object to subsequently create the polyline (a “factory” mayb…

---

## [How to build VTK to use x11 and opengles as rendering backend in an embedded system](https://discourse.vtk.org/t/how-to-build-vtk-to-use-x11-and-opengles-as-rendering-backend-in-an-embedded-system/12524)

<div class="topic-metadata">

**Author:** [@ltylight](https://discourse.vtk.org/u/ltylight)\
**Replies:** 8\
**Last updated:** [December 27, 2024, 8:36pm UTC](https://discourse.vtk.org/t/how-to-build-vtk-to-use-x11-and-opengles-as-rendering-backend-in-an-embedded-system/12524 "2024-12-27T20:36:14Z")

</div>

I’m trying to build VTK to use x11 and opengles as rendering backend in an embedded system(RK3588). I can’t use the EGL pipeline because my board doesn’t support EGL, but it supports x11. So I tried to build VTK with VTK…

---

## [mesh flaw occurs when using vtkBooleanOperation](https://discourse.vtk.org/t/mesh-flaw-occurs-when-using-vtkbooleanoperation/1502)

<div class="topic-metadata">

**Author:** [@hyunseoki](https://discourse.vtk.org/u/hyunseoki)\
**Replies:** 17\
**Last updated:** [December 26, 2024, 2:32pm UTC](https://discourse.vtk.org/t/mesh-flaw-occurs-when-using-vtkbooleanoperation/1502 "2024-12-26T14:32:39Z")

</div>

Hi, I am using vtk to reconstruct blood vessel surface from vessel skeleton (center line along the vessel) I constructed two tube type of vessel and going to glue them using vtkBooleanOperation. The vessel is made by v…

---

## [Is there a method to set vtkResliceCursorWidget to rotate both axes without hotkey?](https://discourse.vtk.org/t/is-there-a-method-to-set-vtkreslicecursorwidget-to-rotate-both-axes-without-hotkey/12085)

<div class="topic-metadata">

**Author:** [@BJladika](https://discourse.vtk.org/u/BJladika)\
**Replies:** 1\
**Last updated:** [December 26, 2024, 12:42pm UTC](https://discourse.vtk.org/t/is-there-a-method-to-set-vtkreslicecursorwidget-to-rotate-both-axes-without-hotkey/12085 "2024-12-26T12:42:35Z")

</div>

Hello. I’m using vtkResliceCursorWidget, but it unfortunately rotates one axis, if I don’t keep CTRL pressed when interacting with widget. Is there some method like vtkResliceWidget.setRotateBothAxes(True) to make it ro…

---

## [How to rotate both axes vtkResliceCursorWidget](https://discourse.vtk.org/t/how-to-rotate-both-axes-vtkreslicecursorwidget/15075)

<div class="topic-metadata">

**Author:** [@Parvathy](https://discourse.vtk.org/u/Parvathy)\
**Replies:** 0\
**Last updated:** [December 26, 2024, 12:37pm UTC](https://discourse.vtk.org/t/how-to-rotate-both-axes-vtkreslicecursorwidget/15075 "2024-12-26T12:37:03Z")

</div>

How to rotate both axes of the reslicecursorwidget together…ie orthogonally It works by using CTRL key as modifier. But i want both axes to rotate together by default without using any modifier key. I tried setting the…

---

## [Clipping a stl with a cylinder](https://discourse.vtk.org/t/clipping-a-stl-with-a-cylinder/8515)

<div class="topic-metadata">

**Author:** [@Hanxin\_Hua](https://discourse.vtk.org/u/Hanxin_Hua)\
**Replies:** 3\
**Last updated:** [December 26, 2024, 9:16am UTC](https://discourse.vtk.org/t/clipping-a-stl-with-a-cylinder/8515 "2024-12-26T09:16:42Z")

</div>

Hi there, I’m trying to clip a cylinder in a stl read from a file. But the thing is after cutting, the hole is hollow. What I expect is to have a closed surface inside (a tube). I tried different methods, but they s…

---

## [The point picker doesn't work correctly in the resliced image viewers](https://discourse.vtk.org/t/the-point-picker-doesnt-work-correctly-in-the-resliced-image-viewers/15058)

<div class="topic-metadata">

**Author:** [@LiuJie](https://discourse.vtk.org/u/LiuJie)\
**Replies:** 0\
**Last updated:** [December 22, 2024, 12:19pm UTC](https://discourse.vtk.org/t/the-point-picker-doesnt-work-correctly-in-the-resliced-image-viewers/15058 "2024-12-22T12:19:33Z")

</div>

I’m using the vtkResliceImageViewers for the MPR display of DICOM images. I have defined a new class inherited from vtkCommand, which tracks the mouse movement , gets the pixel position using the point picker and display…

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

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