# Latest

**URL:** https://discourse.vtk.org/latest.md?page=90

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

**Page:** 91

---

## [How to run Python 3.9 vtk9.2.6 without a GPU](https://discourse.vtk.org/t/how-to-run-python-3-9-vtk9-2-6-without-a-gpu/11240)

<div class="topic-metadata">

**Author:** [@logan\_zhang](https://discourse.vtk.org/u/logan_zhang)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 8:14am UTC](https://discourse.vtk.org/t/how-to-run-python-3-9-vtk9-2-6-without-a-gpu/11240 "2023-04-18T08:14:50Z")

</div>

python3.9.16 vtk9.2.6 centos 7 Hi guys, if there is no GPU, only a high-performance CPU and high-performance NPU, how can I meet my need to smoothly read a model file of around 50m? Currently, the scenario of using only…

---

## [How to support CPU based integrated graphics card?](https://discourse.vtk.org/t/how-to-support-cpu-based-integrated-graphics-card/11236)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 3\
**Last updated:** [April 18, 2023, 8:01am UTC](https://discourse.vtk.org/t/how-to-support-cpu-based-integrated-graphics-card/11236 "2023-04-18T08:01:34Z")

</div>

Hi, guys, How to support CPU based integrated graphics card with VTK?

---

## [Generates a surface](https://discourse.vtk.org/t/generates-a-surface/11238)

<div class="topic-metadata">

**Author:** [@Frankenstein](https://discourse.vtk.org/u/Frankenstein)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 5:38am UTC](https://discourse.vtk.org/t/generates-a-surface/11238 "2023-04-18T05:38:40Z")

</div>

I’m creating a surface using a point cloud, and I want to control the color of each point.Just like this picture， I have used Class vtkSurfaceReconstructionFilte to create surface,but I can’t control the color.I want …

---

## [3d scene reconstruction](https://discourse.vtk.org/t/3d-scene-reconstruction/11231)

<div class="topic-metadata">

**Author:** [@Cristiano\_Roman](https://discourse.vtk.org/u/Cristiano_Roman)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 3:54pm UTC](https://discourse.vtk.org/t/3d-scene-reconstruction/11231 "2023-04-17T15:54:08Z")

</div>

I’m trying to develop an app for Android. I have a list of either RGB-D frames or Single-View Pointclouds (captured by an external camera). I need a way to use this list of data to perform realtime 3d reconstruction of …

---

## [Questions about the vtkAnimationScene](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227)

<div class="topic-metadata">

**Author:** [@tong\_yang](https://discourse.vtk.org/u/tong_yang)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 7:39am UTC](https://discourse.vtk.org/t/questions-about-the-vtkanimationscene/11227 "2023-04-17T07:39:15Z")

</div>

Hello, I want to make a video by vtkAnimationScene. I have referenced this link https://kitware.github.io/vtk-examples/site/Cxx/Utilities/AnimationScene/. When I ran this code in the qt window, there was a problem of b…

---

## [QVTKInteractor cannot control the event loop](https://discourse.vtk.org/t/qvtkinteractor-cannot-control-the-event-loop/8152)

<div class="topic-metadata">

**Author:** [@aveek-brahmachari](https://discourse.vtk.org/u/aveek-brahmachari)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 4:58am UTC](https://discourse.vtk.org/t/qvtkinteractor-cannot-control-the-event-loop/8152 "2023-04-17T04:58:03Z")

</div>

With a vtkGenericOpenGLRenderWindow, I am trying to use the interactor style vtkInteractorStyleTrackballCamera along with vtkCallbackCommand and added an observer to vtkDistanceWidget. I see that the vtkCallbackComman…

---

## [QVTKOpenGLNativeWidget rise unhandled exception (Qt6Core.dll) in debug mode](https://discourse.vtk.org/t/qvtkopenglnativewidget-rise-unhandled-exception-qt6core-dll-in-debug-mode/11132)

<div class="topic-metadata">

**Author:** [@antoine1](https://discourse.vtk.org/u/antoine1)\
**Replies:** 5\
**Last updated:** [April 16, 2023, 2:45pm UTC](https://discourse.vtk.org/t/qvtkopenglnativewidget-rise-unhandled-exception-qt6core-dll-in-debug-mode/11132 "2023-04-16T14:45:01Z")

</div>

Hello, I have a little problem with VTK and QT. In my QT ui, i added a QVTKOpenGLNativeWidget. If i execute the code, which use this widget to plot, in release mode every things is ok and work perfectly but if i execu…

---

## [Error while reading .vtk files with cpp](https://discourse.vtk.org/t/error-while-reading-vtk-files-with-cpp/11156)

<div class="topic-metadata">

**Author:** [@Zhiying](https://discourse.vtk.org/u/Zhiying)\
**Replies:** 16\
**Last updated:** [April 15, 2023, 11:50am UTC](https://discourse.vtk.org/t/error-while-reading-vtk-files-with-cpp/11156 "2023-04-15T11:50:54Z")

</div>

Hello all, I am using the C++ interface to read the cell-type arrays in the .vtk files. However, there exists a problem that I can only read one variable in the files. Here is the part of my codes. std::string inputFil…

---

## [Volume quality worsens when pressing mouse down and rotating](https://discourse.vtk.org/t/volume-quality-worsens-when-pressing-mouse-down-and-rotating/11215)

<div class="topic-metadata">

**Author:** [@MKRangers](https://discourse.vtk.org/u/MKRangers)\
**Replies:** 0\
**Last updated:** [April 14, 2023, 11:04pm UTC](https://discourse.vtk.org/t/volume-quality-worsens-when-pressing-mouse-down-and-rotating/11215 "2023-04-14T23:04:29Z")

</div>

Hi, I’m rendering some volume in my application. I noticed a phenomenon of volume quality inconsistency with and without holding down mouse button. Without pressing down the button: With pressing down the button, i…

---

## [Compiling without CMake](https://discourse.vtk.org/t/compiling-without-cmake/11044)

<div class="topic-metadata">

**Author:** [@mantielero](https://discourse.vtk.org/u/mantielero)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 2:10pm UTC](https://discourse.vtk.org/t/compiling-without-cmake/11044 "2023-04-14T14:10:05Z")

</div>

I am new to vtk. I’d like to explore the possibility about creating some bindings for VTK. As a first step, I need to know how to compile a basic example but without using CMake. Up to know, I tried: Just by exploring…

---

## [Can we allow member to create new tag ?](https://discourse.vtk.org/t/can-we-allow-member-to-create-new-tag/11207)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 3:16am UTC](https://discourse.vtk.org/t/can-we-allow-member-to-create-new-tag/11207 "2023-04-14T03:16:01Z")

</div>

To allow member to organize content, I suggest we allow any member to create tags. This can be enabled in the settings here: Screenshot from the Slicer discourse admin settings

---

## [Except cell scalar value as color,are there any other way to highlight/mark a cell when it is clicked?](https://discourse.vtk.org/t/except-cell-scalar-value-as-color-are-there-any-other-way-to-highlight-mark-a-cell-when-it-is-clicked/11165)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 4\
**Last updated:** [April 14, 2023, 1:19am UTC](https://discourse.vtk.org/t/except-cell-scalar-value-as-color-are-there-any-other-way-to-highlight-mark-a-cell-when-it-is-clicked/11165 "2023-04-14T01:19:51Z")

</div>

Hello,I want to highlight a cell when it is clicked,and I knew that the scalar value can be used.The question is that if doing it like this,the two faces of same cell can’t have different colors which is is must-have fea…

---

## [vtkImageStencil hangs when run in AWS EC2 instance, but runs fast locally with identical input data](https://discourse.vtk.org/t/vtkimagestencil-hangs-when-run-in-aws-ec2-instance-but-runs-fast-locally-with-identical-input-data/11108)

<div class="topic-metadata">

**Author:** [@Josh\_Shubert](https://discourse.vtk.org/u/Josh_Shubert)\
**Replies:** 7\
**Last updated:** [April 12, 2023, 7:55pm UTC](https://discourse.vtk.org/t/vtkimagestencil-hangs-when-run-in-aws-ec2-instance-but-runs-fast-locally-with-identical-input-data/11108 "2023-04-12T19:55:07Z")

</div>

Hello, I have some code that uses the vtkImageStencil algorithm to create some 3d binary masks from the intersection between a 3d mesh and a 3d medical image. I run this code locally and it works exactly as expected, a…

---

## [Unexpected gap between volume images](https://discourse.vtk.org/t/unexpected-gap-between-volume-images/11205)

<div class="topic-metadata">

**Author:** [@count](https://discourse.vtk.org/u/count)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 12:05pm UTC](https://discourse.vtk.org/t/unexpected-gap-between-volume-images/11205 "2023-04-13T12:05:34Z")

</div>

Hello, I’m using VTK to render multiple volumes which are sub-blocks of a huge 3D image, but I encounter some kind of alignment issue. As demonstrated in the screenshot below, there are two cubic volumes side-by-side wi…

---

## [Volume Rendering Stereo Depth](https://discourse.vtk.org/t/volume-rendering-stereo-depth/11204)

<div class="topic-metadata">

**Author:** [@theGunner24](https://discourse.vtk.org/u/theGunner24)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 10:23am UTC](https://discourse.vtk.org/t/volume-rendering-stereo-depth/11204 "2023-04-13T10:23:50Z")

</div>

Hello everyone, I’m trying to read the Z-buffer during volume rendering. Thanks to similar topic (Zbuffer with Volume Rendering) I know I have to switch mapper to RenderToImage mode. Currently I move frame to DirectX by…

---

## [Python VTK and pyInstaller](https://discourse.vtk.org/t/python-vtk-and-pyinstaller/418)

<div class="topic-metadata">

**Author:** [@mat](https://discourse.vtk.org/u/mat)\
**Replies:** 7\
**Last updated:** [April 13, 2023, 4:49am UTC](https://discourse.vtk.org/t/python-vtk-and-pyinstaller/418 "2023-04-13T04:49:57Z")

</div>

Hi all, I am trying to make a portable python vtk reader with pyInstaller. All tested computers have the same OS (windows 7 SP1) but on most of them it doesn’t work. Here is a test script named “VTK-TEST.py” (a simple …

---

## [error when including #include \<vtkNetCDFReader.h\>](https://discourse.vtk.org/t/error-when-including-include-vtknetcdfreader-h/11196)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 7:53pm UTC](https://discourse.vtk.org/t/error-when-including-include-vtknetcdfreader-h/11196 "2023-04-12T19:53:44Z")

</div>

Im trying to create a c++ program that uses Netcdf when i add this include #include \<vtkNetCDFReader.h\> i keep getting this error 1\>C:\\Users-—\\Desktop\\BOLTgui\\BOLT\\vtk\\Utilities\\KWSys\\vtksys\\process.h(6,10): fatal err…

---

## [Custom InteractorStyle for View2DProxy](https://discourse.vtk.org/t/custom-interactorstyle-for-view2dproxy/11188)

<div class="topic-metadata">

**Author:** [@maya](https://discourse.vtk.org/u/maya)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:53pm UTC](https://discourse.vtk.org/t/custom-interactorstyle-for-view2dproxy/11188 "2023-04-12T18:53:22Z")

</div>

Hi, I’m trying to implement a custom InteractorStyle based on the InteractorStyleManipulator to enable manipulators to be activated on different key bindings from the provided configurations (namely the spacebar). I’m us…

---

## [using cell data for vtkThreshold](https://discourse.vtk.org/t/using-cell-data-for-vtkthreshold/11195)

<div class="topic-metadata">

**Author:** [@jsesse](https://discourse.vtk.org/u/jsesse)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:34pm UTC](https://discourse.vtk.org/t/using-cell-data-for-vtkthreshold/11195 "2023-04-12T18:34:01Z")

</div>

Hi. I am trying to use vtkThreshold to extract cells from a polydata set. I would like the threshold to be based on the cell label (from the data array of cells) instead of on the point labels. I have tried the following…

---

## [Optimizing \`traverseOpaqueZBufferPass\` for rendering many PolyData Actors](https://discourse.vtk.org/t/optimizing-traverseopaquezbufferpass-for-rendering-many-polydata-actors/10761)

<div class="topic-metadata">

**Author:** [@Alireza](https://discourse.vtk.org/u/Alireza)\
**Replies:** 12\
**Last updated:** [April 12, 2023, 1:27pm UTC](https://discourse.vtk.org/t/optimizing-traverseopaquezbufferpass-for-rendering-many-polydata-actors/10761 "2023-04-12T13:27:53Z")

</div>

I’m using a thin slab volume actor (using clipping planes) along with multiple polydata actors (each with unique color and the same clipping planes applied) to render a DICOM RT, and it works fine, but not performance wi…

---

## [Generation Java Source for SOA Data Array Template --\> Class empty](https://discourse.vtk.org/t/generation-java-source-for-soa-data-array-template-class-empty/11137)

<div class="topic-metadata">

**Author:** [@aschmit](https://discourse.vtk.org/u/aschmit)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 12:01pm UTC](https://discourse.vtk.org/t/generation-java-source-for-soa-data-array-template-class-empty/11137 "2023-04-12T12:01:02Z")

</div>

Hello everyone, I have tried to generate a vtk java 9.2.0 with SOA Data Array Template but i have found the class vtkSOADataArrayTemplate.java whose is empty, so i can’t use it. Could you help me? Thank you a lot Ale…

---

## [There are gaps in the plane cut out by vtkCutter](https://discourse.vtk.org/t/there-are-gaps-in-the-plane-cut-out-by-vtkcutter/11121)

<div class="topic-metadata">

**Author:** [@w7v](https://discourse.vtk.org/u/w7v)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 11:42am UTC](https://discourse.vtk.org/t/there-are-gaps-in-the-plane-cut-out-by-vtkcutter/11121 "2023-04-12T11:42:16Z")

</div>

There are gaps in the plane cut out by vtkCutter, which is not the case in ParaView for the same model in ParaView:

---

## [how to pick vtkCaptionActor2D?](https://discourse.vtk.org/t/how-to-pick-vtkcaptionactor2d/11186)

<div class="topic-metadata">

**Author:** [@more\_never](https://discourse.vtk.org/u/more_never)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 11:31am UTC](https://discourse.vtk.org/t/how-to-pick-vtkcaptionactor2d/11186 "2023-04-12T11:31:55Z")

</div>

hi, everyone. I am using vtkCaptionActor2D to create a caption label, i have already opened the pickable by PickableOn. But how to pick this vtkActor2D, like using button click it and can capture it in one function? Than…

---

## [how to learn](https://discourse.vtk.org/t/how-to-learn/11175)

<div class="topic-metadata">

**Author:** [@zzy123456](https://discourse.vtk.org/u/zzy123456)\
**Replies:** 4\
**Last updated:** [April 12, 2023, 4:49am UTC](https://discourse.vtk.org/t/how-to-learn/11175 "2023-04-12T04:49:29Z")

</div>

Hi, I want to learn vtk, where do I start?

---

## [How to export colors of vtk lookuptable with vtkOBJExporter](https://discourse.vtk.org/t/how-to-export-colors-of-vtk-lookuptable-with-vtkobjexporter/11181)

<div class="topic-metadata">

**Author:** [@Wagner\_Ramalho](https://discourse.vtk.org/u/Wagner_Ramalho)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 7:18pm UTC](https://discourse.vtk.org/t/how-to-export-colors-of-vtk-lookuptable-with-vtkobjexporter/11181 "2023-04-11T19:18:01Z")

</div>

I was looking for a way to export colors generated by lookuptable from scalars to a mtl file and found vtkOBJExporter. The mtl receive the object with color setted by actor.GetProperty().SetColor, but dont receive colors…

---

## [about vtkresliceimage picker](https://discourse.vtk.org/t/about-vtkresliceimage-picker/11180)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 10:11am UTC](https://discourse.vtk.org/t/about-vtkresliceimage-picker/11180 "2023-04-11T10:11:59Z")

</div>

I use the vtkResliceCursorWidget and vtkResliceCursorLineRepresentation to complete an mpr program. How can I obtain the image coordinates of the re cut image through the picker or window coordinates.

---

## [captureNextImage usage](https://discourse.vtk.org/t/capturenextimage-usage/11163)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.vtk.org/u/Xoz)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 3:31am UTC](https://discourse.vtk.org/t/capturenextimage-usage/11163 "2023-04-11T03:31:36Z")

</div>

Hi, I’m trying to make a video from several sub windows in my app so need the capture image first and turn them into a video through ffmpeg, it works fine when I do it like this(glWindow stands for a vtkOpenGLWindow inst…

---

## [Get the orientation of the MPR image](https://discourse.vtk.org/t/get-the-orientation-of-the-mpr-image/11142)

<div class="topic-metadata">

**Author:** [@d\_a](https://discourse.vtk.org/u/d_a)\
**Replies:** 5\
**Last updated:** [April 11, 2023, 1:36am UTC](https://discourse.vtk.org/t/get-the-orientation-of-the-mpr-image/11142 "2023-04-11T01:36:08Z")

</div>

Hello, I want to get the direction of the dicom image, as shown in the picture, how should I achieve it, and when I rotate the image, the direction letter will be calculated and changed

---

## [2d Grid lines large scale](https://discourse.vtk.org/t/2d-grid-lines-large-scale/11176)

<div class="topic-metadata">

**Author:** [@linicson](https://discourse.vtk.org/u/linicson)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 2:09pm UTC](https://discourse.vtk.org/t/2d-grid-lines-large-scale/11176 "2023-04-10T14:09:44Z")

</div>

is that possible to create grid view with lines similar like google map, when zoom in get more lines

---

## [How to render two transparent polydata with overlapping parts？](https://discourse.vtk.org/t/how-to-render-two-transparent-polydata-with-overlapping-parts/11172)

<div class="topic-metadata">

**Author:** [@Jawanz](https://discourse.vtk.org/u/Jawanz)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 9:33am UTC](https://discourse.vtk.org/t/how-to-render-two-transparent-polydata-with-overlapping-parts/11172 "2023-04-10T09:33:58Z")

</div>

Hello. I am rendering two transparent polydata with overlapping parts in C++. These two polydata are 2D and have the same color and transparency, but the rendered results have deepened in the overlapping area. Is there …

[Previous page](https://discourse.vtk.org/latest.md?page=89)

[Next page](https://discourse.vtk.org/latest.md?page=91)
