# Support

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

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

**Page:** 30

---

## [Actor Rotation Operation around itself](https://discourse.vtk.org/t/actor-rotation-operation-around-itself/13434)

<div class="topic-metadata">

**Author:** [@thecoderMCV](https://discourse.vtk.org/u/thecoderMCV)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 12:39pm UTC](https://discourse.vtk.org/t/actor-rotation-operation-around-itself/13434 "2024-03-04T12:39:57Z")

</div>

Hi, You mentioned that you are having a problem with the rotation operation and that you have looked at similar problems on forums but have not been able to find a solution. I am here to help you solve your problem. Pr…

---

## [plot a 2d numpy.ndarray with vtkStructuredGrid](https://discourse.vtk.org/t/plot-a-2d-numpy-ndarray-with-vtkstructuredgrid/13432)

<div class="topic-metadata">

**Author:** [@sian](https://discourse.vtk.org/u/sian)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 11:15am UTC](https://discourse.vtk.org/t/plot-a-2d-numpy-ndarray-with-vtkstructuredgrid/13432 "2024-03-04T11:15:36Z")

</div>

Hi everyone: I’m a beginner of VTK and want to use vtkStructuredGrid to plot a 2d numpy.ndarray data. The size is 768 x 1201, but there are some problems in my code: where the real image should be like: my cod…

---

## [Use threshold for the CT Segment and translate the labelmap to polydata](https://discourse.vtk.org/t/use-threshold-for-the-ct-segment-and-translate-the-labelmap-to-polydata/13028)

<div class="topic-metadata">

**Author:** [@yangyang117](https://discourse.vtk.org/u/yangyang117)\
**Replies:** 9\
**Last updated:** [March 4, 2024, 6:08am UTC](https://discourse.vtk.org/t/use-threshold-for-the-ct-segment-and-translate-the-labelmap-to-polydata/13028 "2024-03-04T06:08:12Z")

</div>

Hi, I’m using threshold for a CT’s bone surface, and using vtkDiscreteMarchingCubes to get the first polydata,but the data is too large,when I use vtkQuadricDecimation to reduce the number of cells, but there will have s…

---

## [C++ vtkXMLRectilinearGridReader fails to read vtk files generated using python's vtk library.](https://discourse.vtk.org/t/c-vtkxmlrectilineargridreader-fails-to-read-vtk-files-generated-using-pythons-vtk-library/13406)

<div class="topic-metadata">

**Author:** [@Tatsuro\_Kishi](https://discourse.vtk.org/u/Tatsuro_Kishi)\
**Replies:** 6\
**Last updated:** [March 4, 2024, 4:52am UTC](https://discourse.vtk.org/t/c-vtkxmlrectilineargridreader-fails-to-read-vtk-files-generated-using-pythons-vtk-library/13406 "2024-03-04T04:52:34Z")

</div>

Hello. I am currently trying to create a Rectilinear Grid vtr file using the Python vtk library and display it in Paraview. However, the Paraview fails to load the file and outputs the error as follows: ERROR: In vtkXML…

---

## [Initialization failed for vtkWebCore, not compatible with vtkmodules.vtkCommonCore](https://discourse.vtk.org/t/initialization-failed-for-vtkwebcore-not-compatible-with-vtkmodules-vtkcommoncore/13423)

<div class="topic-metadata">

**Author:** [@Marija\_Savtchouk](https://discourse.vtk.org/u/Marija_Savtchouk)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 5:15pm UTC](https://discourse.vtk.org/t/initialization-failed-for-vtkwebcore-not-compatible-with-vtkmodules-vtkcommoncore/13423 "2024-03-01T17:15:21Z")

</div>

When vtk is installed from pip, I see the following error: And run: import vtk I see the following error: Initialization failed for vtkWebCore, not compatible with vtkmodules.vtkCommonCore I am not sure how can I de…

---

## [VTK Real Time 3D Model Orientation Tracker](https://discourse.vtk.org/t/vtk-real-time-3d-model-orientation-tracker/13415)

<div class="topic-metadata">

**Author:** [@cam](https://discourse.vtk.org/u/cam)\
**Replies:** 7\
**Last updated:** [March 1, 2024, 4:47pm UTC](https://discourse.vtk.org/t/vtk-real-time-3d-model-orientation-tracker/13415 "2024-03-01T16:47:48Z")

</div>

Hey all, I’m trying to build a real-time 3D model visualization tool with VTK and PyQt5 and I’m looking for some assistance. I am currently reading data from a 6 axis IMU over serial as the following: "second, accel\_x…

---

## [How to render different textures on each side of a cube?](https://discourse.vtk.org/t/how-to-render-different-textures-on-each-side-of-a-cube/13417)

<div class="topic-metadata">

**Author:** [@Robin\_Roy](https://discourse.vtk.org/u/Robin_Roy)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 4:10pm UTC](https://discourse.vtk.org/t/how-to-render-different-textures-on-each-side-of-a-cube/13417 "2024-02-29T16:10:47Z")

</div>

Hello, I was trying to render different textures on the different sides of a cube. I tried with vtkCubeSource but it updates the texture for the full cube. This is the approach that worked for rendering single texture…

---

## [vtkPStreamTracer](https://discourse.vtk.org/t/vtkpstreamtracer/13413)

<div class="topic-metadata">

**Author:** [@shwxh](https://discourse.vtk.org/u/shwxh)\
**Replies:** 2\
**Last updated:** [February 29, 2024, 1:32pm UTC](https://discourse.vtk.org/t/vtkpstreamtracer/13413 "2024-02-29T13:32:32Z")

</div>

Dear Sir, hello. I saw that you submitted a class called vtkPStreamTracer on GitHub, which is about streamline parallel computing. I would like to know how it supports streamline parallel computing on multiple machines a…

---

## [Reading UnstructuredGrid data from a transient vtkhdf file](https://discourse.vtk.org/t/reading-unstructuredgrid-data-from-a-transient-vtkhdf-file/13401)

<div class="topic-metadata">

**Author:** [@engineer](https://discourse.vtk.org/u/engineer)\
**Replies:** 2\
**Last updated:** [February 29, 2024, 9:38am UTC](https://discourse.vtk.org/t/reading-unstructuredgrid-data-from-a-transient-vtkhdf-file/13401 "2024-02-29T09:38:10Z")

</div>

I’m trying to use the vtkHDFReader from vtkmodules.vtkIOHDF to read a timestep’s data. The transient VTKHDF file I have to work with is a little limited, so I can’t verify that everything works myself. One limitation is …

---

## [How to construct two lines perpendicular to each other in MPR(Multi planar reconstruction)](https://discourse.vtk.org/t/how-to-construct-two-lines-perpendicular-to-each-other-in-mpr-multi-planar-reconstruction/13411)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.vtk.org/u/dbtruong)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 3:10am UTC](https://discourse.vtk.org/t/how-to-construct-two-lines-perpendicular-to-each-other-in-mpr-multi-planar-reconstruction/13411 "2024-02-29T03:10:45Z")

</div>

Hello all I want to render two lines perpendicular to each other on the window and be able to interact with those two lines such as: move, rotate,… So do you have any ideas on how to do this?

---

## [vtkKdTreePointLocator FindClosestPoint crashed in VTK 9 (multithread)](https://discourse.vtk.org/t/vtkkdtreepointlocator-findclosestpoint-crashed-in-vtk-9-multithread/13395)

<div class="topic-metadata">

**Author:** [@Blake\_Xi](https://discourse.vtk.org/u/Blake_Xi)\
**Replies:** 8\
**Last updated:** [February 28, 2024, 10:37pm UTC](https://discourse.vtk.org/t/vtkkdtreepointlocator-findclosestpoint-crashed-in-vtk-9-multithread/13395 "2024-02-28T22:37:42Z")

</div>

Hi, I recently moved from vtk 8 to vtk 9.3.0. I have a multithreading operation using vtkKdTreePointLocator-\>FindClosestPoint() but now it sometimes crashes in a call stack like this: I build the locator first in th…

---

## [Does the vtk java version support SMP?](https://discourse.vtk.org/t/does-the-vtk-java-version-support-smp/13404)

<div class="topic-metadata">

**Author:** [@x\_iunknown](https://discourse.vtk.org/u/x_iunknown)\
**Replies:** 1\
**Last updated:** [February 28, 2024, 6:07pm UTC](https://discourse.vtk.org/t/does-the-vtk-java-version-support-smp/13404 "2024-02-28T18:07:42Z")

</div>

Does the vtk java version support SMP? I compiled vtk9.3 under windows, JDK1.8, set the parameters and turned on VTK\_WRAP\_JAVA VTK\_SMP\_ENABLE\_OPENMP VTK\_SMP\_ENABLE\_SEQUENTIAL VTK\_SMP\_ENABLE\_STDTHREAD VTK\_SMP\_IMPLEM…

---

## [MESA ?](https://discourse.vtk.org/t/mesa/13381)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 5\
**Last updated:** [February 26, 2024, 5:30pm UTC](https://discourse.vtk.org/t/mesa/13381 "2024-02-26T17:30:23Z")

</div>

Hi friends, I’m testing VTK (9.2.2) with MESA. VTK is from my own compilation, with standard settings. I’m under Windows 11, and to test MESA I just put “opengl32.dll” (and dependencies) besides my EXE. With MESA fro…

---

## [How to mirror an actor with a plane？](https://discourse.vtk.org/t/how-to-mirror-an-actor-with-a-plane/13378)

<div class="topic-metadata">

**Author:** [@namesh123](https://discourse.vtk.org/u/namesh123)\
**Replies:** 2\
**Last updated:** [February 26, 2024, 12:52pm UTC](https://discourse.vtk.org/t/how-to-mirror-an-actor-with-a-plane/13378 "2024-02-26T12:52:24Z")

</div>

I have created an actor and a plane, and now I want to use this plane to mirror this actor. How can I achieve this function? Is there a ready-made interface function? If so, please let me know, thank you!

---

## [How to use the vtkCameraInterpolator](https://discourse.vtk.org/t/how-to-use-the-vtkcamerainterpolator/13387)

<div class="topic-metadata">

**Author:** [@devansan](https://discourse.vtk.org/u/devansan)\
**Replies:** 0\
**Last updated:** [February 26, 2024, 4:32am UTC](https://discourse.vtk.org/t/how-to-use-the-vtkcamerainterpolator/13387 "2024-02-26T04:32:08Z")

</div>

In the example provided at https://examples.vtk.org/site/Cxx/Rendering/InterpolateCamera/, I replaced interpolator-\>SetInterpolationTypeToSpline(); with interpolator-\>SetInterpolationTypeToLinear(); in the code. Howeve…

---

## [VTK error: no override found for ‘vtkImageSliceMapper'](https://discourse.vtk.org/t/vtk-error-no-override-found-for-vtkimageslicemapper/4313)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 17\
**Last updated:** [February 25, 2024, 9:11am UTC](https://discourse.vtk.org/t/vtk-error-no-override-found-for-vtkimageslicemapper/4313 "2024-02-25T09:11:17Z")

</div>

Dear all, I am running an example in VTK and it is giving the following error: vtkImageSliceMapper.cxx:36 WARN| Error: no override found for ‘vtkImageSliceMapper’. 1st I compiled in Windows the VTK 2nd I included …

---

## [How can I adjust the opacity and color of the segmentation in a DRR (Digitally Reconstructed Radiograph)?](https://discourse.vtk.org/t/how-can-i-adjust-the-opacity-and-color-of-the-segmentation-in-a-drr-digitally-reconstructed-radiograph/13380)

<div class="topic-metadata">

**Author:** [@dorsapiri](https://discourse.vtk.org/u/dorsapiri)\
**Replies:** 0\
**Last updated:** [February 24, 2024, 6:28am UTC](https://discourse.vtk.org/t/how-can-i-adjust-the-opacity-and-color-of-the-segmentation-in-a-drr-digitally-reconstructed-radiograph/13380 "2024-02-24T06:28:00Z")

</div>

I have a program that takes DICOM series and generates a 2D DRR image using vtkImageReslice. I would like to incorporate functionality to adjust the opacity and contrast of the DRR image. However, I’m unsure where in my …

---

## [Discrepancy between vtkImageReslice and Clipping Planes for gantry tilt corrected data](https://discourse.vtk.org/t/discrepancy-between-vtkimagereslice-and-clipping-planes-for-gantry-tilt-corrected-data/12313)

<div class="topic-metadata">

**Author:** [@mortifiedpenguin](https://discourse.vtk.org/u/mortifiedpenguin)\
**Replies:** 6\
**Last updated:** [February 23, 2024, 2:24pm UTC](https://discourse.vtk.org/t/discrepancy-between-vtkimagereslice-and-clipping-planes-for-gantry-tilt-corrected-data/12313 "2024-02-23T14:24:47Z")

</div>

I have 3D volumetric data (ie. CT datasets), where I want to show a reconstruction plane using vtkImageReslice and cut the volume at that same position using the SetClippingPlanes function of the vtkVolumeMapper. This wo…

---

## [VTK measuring distances](https://discourse.vtk.org/t/vtk-measuring-distances/13359)

<div class="topic-metadata">

**Author:** [@Miguelrevine](https://discourse.vtk.org/u/Miguelrevine)\
**Replies:** 2\
**Last updated:** [February 23, 2024, 9:14am UTC](https://discourse.vtk.org/t/vtk-measuring-distances/13359 "2024-02-23T09:14:09Z")

</div>

\[ESP\] Hola a todos, busco ayuda para saber si existen funcionalidades de VTK para medir distancias nodo a nodo, plano a plano, nodo a plano… Todo en objetos de VTK. La función será principalmente dado un punto de la mal…

---

## [Setting renderer camera causing center of rotation to change](https://discourse.vtk.org/t/setting-renderer-camera-causing-center-of-rotation-to-change/13366)

<div class="topic-metadata">

**Author:** [@cam](https://discourse.vtk.org/u/cam)\
**Replies:** 4\
**Last updated:** [February 22, 2024, 7:24pm UTC](https://discourse.vtk.org/t/setting-renderer-camera-causing-center-of-rotation-to-change/13366 "2024-02-22T19:24:59Z")

</div>

Hey all, I’m having an issue where I need to zoom my visual out on startup so it’s not so large, but after doing so, the center of rotation of my object changes. Does anyone have any idea why this happens or what a po…

---

## [OpenGL and VTK compatibility](https://discourse.vtk.org/t/opengl-and-vtk-compatibility/13340)

<div class="topic-metadata">

**Author:** [@cam](https://discourse.vtk.org/u/cam)\
**Replies:** 7\
**Last updated:** [February 22, 2024, 5:40pm UTC](https://discourse.vtk.org/t/opengl-and-vtk-compatibility/13340 "2024-02-22T17:40:38Z")

</div>

Hey all, I’m working with PyQt5 and OpenGL. In my application, I need to show a 3D model (STL) within the OpenGL widget, and I was wanting to see if its possible to draw the model using VTK and do the rotation handling…

---

## [Bug reading VTK ascii file in python](https://discourse.vtk.org/t/bug-reading-vtk-ascii-file-in-python/13363)

<div class="topic-metadata">

**Author:** [@ThomasChauve](https://discourse.vtk.org/u/ThomasChauve)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 2:22pm UTC](https://discourse.vtk.org/t/bug-reading-vtk-ascii-file-in-python/13363 "2024-02-22T14:22:52Z")

</div>

Hello, Just to report a strange behavior that I observed using vtk in python. I have vtk ascii file build using a given software. When I read it in python for post processing I can only see 2 variable. If I convert it …

---

## [vtkColorTransferFunction's for a discrete lut](https://discourse.vtk.org/t/vtkcolortransferfunctions-for-a-discrete-lut/13283)

<div class="topic-metadata">

**Author:** [@Limz90](https://discourse.vtk.org/u/Limz90)\
**Replies:** 13\
**Last updated:** [February 20, 2024, 11:43am UTC](https://discourse.vtk.org/t/vtkcolortransferfunctions-for-a-discrete-lut/13283 "2024-02-20T11:43:07Z")

</div>

Hi All, I am using a labelled volume (the interpolation type of the volume property is nearest) on which each object is given to a unique color but I noticed some closer objects did not give the expected color and I kno…

---

## [vtkPlaybackWidge](https://discourse.vtk.org/t/vtkplaybackwidge/13341)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 3:08pm UTC](https://discourse.vtk.org/t/vtkplaybackwidge/13341 "2024-02-20T15:08:43Z")

</div>

Hello! Is here any example/tutorial how to use vtkPlaybackWidge?

---

## [keep the slices color same as in volume rendering](https://discourse.vtk.org/t/keep-the-slices-color-same-as-in-volume-rendering/13332)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.vtk.org/u/Adam)\
**Replies:** 0\
**Last updated:** [February 18, 2024, 8:35am UTC](https://discourse.vtk.org/t/keep-the-slices-color-same-as-in-volume-rendering/13332 "2024-02-18T08:35:41Z")

</div>

Hi,I am trying to implement the 4 planes view thing (axial, coronal,sagittal and 3D(volume render)) using three vtkImagePlaneWidget in the 3D view. but when i modify the 3D volume property (color,Opacity and Contrast),th…

---

## [ask for help: keep the slices color same as in volume rendering](https://discourse.vtk.org/t/ask-for-help-keep-the-slices-color-same-as-in-volume-rendering/13339)

<div class="topic-metadata">

**Author:** [@Adam](https://discourse.vtk.org/u/Adam)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 3:06am UTC](https://discourse.vtk.org/t/ask-for-help-keep-the-slices-color-same-as-in-volume-rendering/13339 "2024-02-20T03:06:50Z")

</div>

Hi,I am trying to implement the 4 planes view thing (axial, coronal,sagittal and 3D(volume render)) using three vtkImagePlaneWidget in the 3D view. but when i modify the 3D volume property (color,Opacity and Contrast),th…

---

## [Closed contour algorithm detection](https://discourse.vtk.org/t/closed-contour-algorithm-detection/13337)

<div class="topic-metadata">

**Author:** [@lukeqiang9521](https://discourse.vtk.org/u/lukeqiang9521)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 2:34am UTC](https://discourse.vtk.org/t/closed-contour-algorithm-detection/13337 "2024-02-20T02:34:19Z")

</div>

Hello! A circle of radius 5, using this circle as a brush (red), Outlines a track, when this track appears closed, these closed areas become red areas, that is, changed to brush areas. How to implement this algorithm?

---

## [Unable to setup VTK 9 properly on Windows](https://discourse.vtk.org/t/unable-to-setup-vtk-9-properly-on-windows/13322)

<div class="topic-metadata">

**Author:** [@MulberryClassic](https://discourse.vtk.org/u/MulberryClassic)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 9:20am UTC](https://discourse.vtk.org/t/unable-to-setup-vtk-9-properly-on-windows/13322 "2024-02-19T09:20:14Z")

</div>

I am trying to setup vtk on Windows 11. I have followed exactly step by step this Documentation. I have all of the required folders, src, bin, one in Program Files setup correctly. I also have added the Program Files/VTK…

---

## [is there any good tutorial how to use QML+VTK with visual studio](https://discourse.vtk.org/t/is-there-any-good-tutorial-how-to-use-qml-vtk-with-visual-studio/13325)

<div class="topic-metadata">

**Author:** [@gzt036](https://discourse.vtk.org/u/gzt036)\
**Replies:** 3\
**Last updated:** [February 19, 2024, 6:27am UTC](https://discourse.vtk.org/t/is-there-any-good-tutorial-how-to-use-qml-vtk-with-visual-studio/13325 "2024-02-19T06:27:36Z")

</div>

I could not figure out a good way to setup this in visual studio 2022. Ideally, I would like to use vs2022 to edit and debug the code and use qtcreator to edit and live preview qml file. Appreciate if someone could help…

---

## [Discuss multi planar reconstruction (MPR) rendering on the web](https://discourse.vtk.org/t/discuss-multi-planar-reconstruction-mpr-rendering-on-the-web/13324)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.vtk.org/u/dbtruong)\
**Replies:** 2\
**Last updated:** [February 18, 2024, 10:17pm UTC](https://discourse.vtk.org/t/discuss-multi-planar-reconstruction-mpr-rendering-on-the-web/13324 "2024-02-18T22:17:08Z")

</div>

Hello. I’m trying to build an MPR (serve side rendering) application that uses the wslink library for client-server communication. I followed the template: vue-vtkjs-pvw-template. I have rendered the axial, coronal and s…

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

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