# Latest

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

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

**Page:** 81

---

## [Alternative/Backport of vtkPVGridAxes3DActor in VTK](https://discourse.vtk.org/t/alternative-backport-of-vtkpvgridaxes3dactor-in-vtk/11873)

<div class="topic-metadata">

**Author:** [@BotellaA](https://discourse.vtk.org/u/BotellaA)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 12:37pm UTC](https://discourse.vtk.org/t/alternative-backport-of-vtkpvgridaxes3dactor-in-vtk/11873 "2023-07-05T12:37:01Z")

</div>

I have a VTKWeb workflow and I found the vtkPVGridAxes3DActor that I would like to use. Is there a way to use it with only VTK without Paraview? Are there other ways to achieve the same feature as vtkPVGridAxes3DActor …

---

## [2D Transferfunction - Shader failed to compile - ScatteringBlending](https://discourse.vtk.org/t/2d-transferfunction-shader-failed-to-compile-scatteringblending/11841)

<div class="topic-metadata">

**Author:** [@DMelenberg](https://discourse.vtk.org/u/DMelenberg)\
**Replies:** 13\
**Last updated:** [July 5, 2023, 8:51am UTC](https://discourse.vtk.org/t/2d-transferfunction-shader-failed-to-compile-scatteringblending/11841 "2023-07-05T08:51:00Z")

</div>

Hi all, I need assistance with implementing my vtkGPUVolumeRayCastMapper pipeline in python. I want to use a 2D transfer function and make the volume something as realistic as possible using the following parameters. G…

---

## [ReadPixel slowly web gl](https://discourse.vtk.org/t/readpixel-slowly-web-gl/11877)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.vtk.org/u/mazurkin.daniel)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 8:30am UTC](https://discourse.vtk.org/t/readpixel-slowly-web-gl/11877 "2023-07-05T08:30:00Z")

</div>

Hello, there is a problem when using ReadPixel for transferring 3D Slicer tools to the browser. This issue was discovered through graphics execution profiling. What are the possible solutions to this problem?

---

## [React-vtk-js documentation](https://discourse.vtk.org/t/react-vtk-js-documentation/11871)

<div class="topic-metadata">

**Author:** [@OlumideSamuel](https://discourse.vtk.org/u/OlumideSamuel)\
**Replies:** 1\
**Last updated:** [July 4, 2023, 5:32pm UTC](https://discourse.vtk.org/t/react-vtk-js-documentation/11871 "2023-07-04T17:32:25Z")

</div>

Hello, Is there an official documentation for react-vtk-js APIs? I have checked the official github repo here, though there are examples, but there’s no explicit documentation that shows the props accepted by the core co…

---

## [Create one 3d texture for multi- volume rendering windows?](https://discourse.vtk.org/t/create-one-3d-texture-for-multi-volume-rendering-windows/11679)

<div class="topic-metadata">

**Author:** [@jackzzz](https://discourse.vtk.org/u/jackzzz)\
**Replies:** 3\
**Last updated:** [July 4, 2023, 4:04pm UTC](https://discourse.vtk.org/t/create-one-3d-texture-for-multi-volume-rendering-windows/11679 "2023-07-04T16:04:12Z")

</div>

I am developing a medical 3d application, For medical 3d application, there is a very common layout which includes one 3D(Volume rendering) window and three MPR windows(please refer to the image). I found that for four …

---

## [What is relationship between position and actor center?](https://discourse.vtk.org/t/what-is-relationship-between-position-and-actor-center/11875)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 3:38pm UTC](https://discourse.vtk.org/t/what-is-relationship-between-position-and-actor-center/11875 "2023-07-04T15:38:03Z")

</div>

Hello, are these right? 1 - The DataSet.center is the geometric center of the object in model space; 2 - The Actor.center is the coordinates of DataSet.center in world space; 3 - Actor.SetPositon will move it to the s…

---

## [How to mark some area of an object with specific color in vtkPolyData?](https://discourse.vtk.org/t/how-to-mark-some-area-of-an-object-with-specific-color-in-vtkpolydata/11868)

<div class="topic-metadata">

**Author:** [@yen](https://discourse.vtk.org/u/yen)\
**Replies:** 3\
**Last updated:** [July 4, 2023, 1:36am UTC](https://discourse.vtk.org/t/how-to-mark-some-area-of-an-object-with-specific-color-in-vtkpolydata/11868 "2023-07-04T01:36:34Z")

</div>

Hello, the picture above is an object that I display with vtkPolyData. I want to make the protrusion parts in this object become red to show the position of defects. However, I fail serveral times. The class I use is …

---

## [VTK Training Courses coming up in August 2023](https://discourse.vtk.org/t/vtk-training-courses-coming-up-in-august-2023/11870)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 4:05pm UTC](https://discourse.vtk.org/t/vtk-training-courses-coming-up-in-august-2023/11870 "2023-07-03T16:05:18Z")

</div>

Learn from the developers behind VTK at Kitware’s live user training courses. We’re hosting a VTK Beginner Course August 21-22 and VTK Advanced Course August 23-24. Register before August 7th and receive a 20% discount! …

---

## [Problem with Gouraud shading and bitmap texture](https://discourse.vtk.org/t/problem-with-gouraud-shading-and-bitmap-texture/11869)

<div class="topic-metadata">

**Author:** [@Jon](https://discourse.vtk.org/u/Jon)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 2:55pm UTC](https://discourse.vtk.org/t/problem-with-gouraud-shading-and-bitmap-texture/11869 "2023-07-03T14:55:36Z")

</div>

Good day everyone, I’m having difficulty with applying Gouraud shading to a textured mesh in vtk.js. I created two meshes identically by adding points and cells from external data. Vertex normals were added to polyData…

---

## [QML - VTKRenderWindow inside a rectangle](https://discourse.vtk.org/t/qml-vtkrenderwindow-inside-a-rectangle/11850)

<div class="topic-metadata">

**Author:** [@ZelieR](https://discourse.vtk.org/u/ZelieR)\
**Replies:** 4\
**Last updated:** [July 3, 2023, 12:55pm UTC](https://discourse.vtk.org/t/qml-vtkrenderwindow-inside-a-rectangle/11850 "2023-07-03T12:55:16Z")

</div>

Hi everyone, I’am trying tu use vtk in a QML project. I’d like to display my vtk window in a ColumnLayout in my QML but I think I did something wrong because it doesn’t work. I use VTK 9.2.6 Here is my qml: import Q…

---

## [I may have discovered a bug about vtkAngeWidget](https://discourse.vtk.org/t/i-may-have-discovered-a-bug-about-vtkangewidget/11757)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 5:46am UTC](https://discourse.vtk.org/t/i-may-have-discovered-a-bug-about-vtkangewidget/11757 "2023-07-03T05:46:35Z")

</div>

I have recently been developing the placement of multiple vtkAngleWidgets in the vtkRestricterImageViewer, but I have found that when placing multiple vtkAngleWidgets, there will be some situations where the haldles cann…

---

## [Surface reconstruction by vtk delaunay 3d](https://discourse.vtk.org/t/surface-reconstruction-by-vtk-delaunay-3d/11866)

<div class="topic-metadata">

**Author:** [@yen](https://discourse.vtk.org/u/yen)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 1:12am UTC](https://discourse.vtk.org/t/surface-reconstruction-by-vtk-delaunay-3d/11866 "2023-07-03T01:12:05Z")

</div>

Hello, I want to reconstruct the surface of a 3d object in vtk, which is a pcl point cloud type. However, when I use vtk delaunay to reconstruct the surface, I encountered the problem that vtk did not show anything and t…

---

## [How to convert dicom sequences into the following directory structure](https://discourse.vtk.org/t/how-to-convert-dicom-sequences-into-the-following-directory-structure/11853)

<div class="topic-metadata">

**Author:** [@865979216](https://discourse.vtk.org/u/865979216)\
**Replies:** 2\
**Last updated:** [July 1, 2023, 8:07am UTC](https://discourse.vtk.org/t/how-to-convert-dicom-sequences-into-the-following-directory-structure/11853 "2023-07-01T08:07:52Z")

</div>

---

## [\[javascript\] Deform polydata using known segments for each cell](https://discourse.vtk.org/t/javascript-deform-polydata-using-known-segments-for-each-cell/11730)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.vtk.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 2:41pm UTC](https://discourse.vtk.org/t/javascript-deform-polydata-using-known-segments-for-each-cell/11730 "2023-06-30T14:41:34Z")

</div>

Basically, I need to replicate this BMI Visualizer - BMIWebgl | Perceiving Systems. They define a set of points and a function for each of them depending on height and weight. I have polydata models and I need to warp t…

---

## [Intersect polydata and get interpolated normal](https://discourse.vtk.org/t/intersect-polydata-and-get-interpolated-normal/11851)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 0\
**Last updated:** [June 29, 2023, 7:19pm UTC](https://discourse.vtk.org/t/intersect-polydata-and-get-interpolated-normal/11851 "2023-06-29T19:19:41Z")

</div>

Hi Developers I am looking for the fastest possible way to intersect polydata with lines and at the same time get an interpolated normal. I looked into how this is done in vtkImplicitPolyDataDistance and I could potenti…

---

## [Problem with volume](https://discourse.vtk.org/t/problem-with-volume/11411)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.vtk.org/u/Xoz)\
**Replies:** 10\
**Last updated:** [June 29, 2023, 4:56pm UTC](https://discourse.vtk.org/t/problem-with-volume/11411 "2023-06-29T16:56:27Z")

</div>

Hi everyone, I’ve met a strange problem with the volume when I started a new project with the newest version of vtk(27.4.4, tried 27.4.2 too), the situation is, when I ran my app in an old computer which had a graphic ca…

---

## [What are exacted differences between Origin,Center and Position of an actor?](https://discourse.vtk.org/t/what-are-exacted-differences-between-origin-center-and-position-of-an-actor/11849)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 4:22pm UTC](https://discourse.vtk.org/t/what-are-exacted-differences-between-origin-center-and-position-of-an-actor/11849 "2023-06-29T16:22:11Z")

</div>

Hello,I got this image,but these 3 concepts are still quite confusing for me. Questions are: 1,Are all the these 3 values relative to world coordinate system(WCS)? 2,The Center is the geometric center of an actor,an…

---

## [Does this example use WebGPU functionality?](https://discourse.vtk.org/t/does-this-example-use-webgpu-functionality/11848)

<div class="topic-metadata">

**Author:** [@865979216](https://discourse.vtk.org/u/865979216)\
**Replies:** 0\
**Last updated:** [June 29, 2023, 10:12am UTC](https://discourse.vtk.org/t/does-this-example-use-webgpu-functionality/11848 "2023-06-29T10:12:44Z")

</div>

【https://kitware.github.io/vtk-js/examples/PiecewiseGaussianWidget.html】，If WebGPU not been used, what should be done to use this function

---

## [functional MRI couldn't display the texture](https://discourse.vtk.org/t/functional-mri-couldnt-display-the-texture/11838)

<div class="topic-metadata">

**Author:** [@veltia](https://discourse.vtk.org/u/veltia)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 8:30am UTC](https://discourse.vtk.org/t/functional-mri-couldnt-display-the-texture/11838 "2023-06-29T08:30:23Z")

</div>

Hello, I was trying to use the vtkImageViewer2 class to display the slice of functional MRI, but it doesn’t display the image texture same as in 3D Slicer. if (fileName.endsWith("nii")) { m\_pvtkNIIReader-\>SetFile…

---

## [What's the difference between these OffScreen modes in VTK: SetOffScreenRendering; VTK\_USE\_OFFSCREEN\_EGL; GLEW\_OSMESA;](https://discourse.vtk.org/t/whats-the-difference-between-these-offscreen-modes-in-vtk-setoffscreenrendering-vtk-use-offscreen-egl-glew-osmesa/11807)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 3:18am UTC](https://discourse.vtk.org/t/whats-the-difference-between-these-offscreen-modes-in-vtk-setoffscreenrendering-vtk-use-offscreen-egl-glew-osmesa/11807 "2023-06-29T03:18:28Z")

</div>

What’s the difference between these OffScreen modes in VTK: SetOffScreenRendering; VTK\_USE\_OFFSCREEN\_EGL; GLEW\_OSMESA; What’s the advantage and disadvantage? What’s their usage scenario?

---

## [Why is my CUBE not displayed in vtkRenderWindow ?](https://discourse.vtk.org/t/why-is-my-cube-not-displayed-in-vtkrenderwindow/11809)

<div class="topic-metadata">

**Author:** [@zhuofalin](https://discourse.vtk.org/u/zhuofalin)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 7:00pm UTC](https://discourse.vtk.org/t/why-is-my-cube-not-displayed-in-vtkrenderwindow/11809 "2023-06-28T19:00:34Z")

</div>

When I ran the example code today, I found that the code ran successfully, but the window showing the result was not displayed. What is the reason? Environment: windows10, IDE: VS2022, and use cmake to program .sln …

---

## [what's the advantage of ShaderProgram::Substitute? why design the shader pipeline and architecture like this: substitue string to get the real final shader; find by name every frame then SetUniform?](https://discourse.vtk.org/t/whats-the-advantage-of-shaderprogram-substitute-why-design-the-shader-pipeline-and-architecture-like-this-substitue-string-to-get-the-real-final-shader-find-by-name-every-frame-then-setuniform/11830)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 7:59am UTC](https://discourse.vtk.org/t/whats-the-advantage-of-shaderprogram-substitute-why-design-the-shader-pipeline-and-architecture-like-this-substitue-string-to-get-the-real-final-shader-find-by-name-every-frame-then-setuniform/11830 "2023-06-28T07:59:24Z")

</div>

the shader pipeline and architecture, why ? substitue string to get the real final shader; Why not write some real shader maby uber shader? and isn’t too hard to read the shader? i’m new to VTK, and very curious abo…

---

## [Visibility, camera and mesh](https://discourse.vtk.org/t/visibility-camera-and-mesh/11812)

<div class="topic-metadata">

**Author:** [@Victor](https://discourse.vtk.org/u/Victor)\
**Replies:** 9\
**Last updated:** [June 28, 2023, 7:13am UTC](https://discourse.vtk.org/t/visibility-camera-and-mesh/11812 "2023-06-28T07:13:09Z")

</div>

Hello everyone, I have a problem to be solved. There is a triangular mesh of STL format and 3 cameras in my scene. I need to get the index ID of all the mesh faces that is visible to each camera. Since there are close…

---

## [Highlighting the edges of an actor](https://discourse.vtk.org/t/highlighting-the-edges-of-an-actor/1343)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 16\
**Last updated:** [June 28, 2023, 2:14am UTC](https://discourse.vtk.org/t/highlighting-the-edges-of-an-actor/1343 "2023-06-28T02:14:01Z")

</div>

Hello, I am trying to highlight the edges of an actor when I select it with the cursor. Is there a method that has this functionality? I would greatly appreciate any help. Thanks.

---

## [How to use vtkStructuredGridClip to clip tkStructuredGrid data with a plane？](https://discourse.vtk.org/t/how-to-use-vtkstructuredgridclip-to-clip-tkstructuredgrid-data-with-a-plane/11829)

<div class="topic-metadata">

**Author:** [@jlxy11](https://discourse.vtk.org/u/jlxy11)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 1:53am UTC](https://discourse.vtk.org/t/how-to-use-vtkstructuredgridclip-to-clip-tkstructuredgrid-data-with-a-plane/11829 "2023-06-28T01:53:45Z")

</div>

I hope to use vtkStructuredGridClip to achieve cutting vtkStructuredGrid data with a plane, but I can’t find the sample code in vtkStructuredGridClip Class Reference, which caused me a lot of difficulties, I hope to get …

---

## [vtk.js Renderer not showing Polydata](https://discourse.vtk.org/t/vtk-js-renderer-not-showing-polydata/11822)

<div class="topic-metadata">

**Author:** [@fleurgaudfernau](https://discourse.vtk.org/u/fleurgaudfernau)\
**Replies:** 5\
**Last updated:** [June 27, 2023, 10:45pm UTC](https://discourse.vtk.org/t/vtk-js-renderer-not-showing-polydata/11822 "2023-06-27T22:45:31Z")

</div>

Hello everyone, I am using vtk.js (imported as an external file) to add a mesh visualization section on my personal GitHub page. I’m working directly on my Github page so debugging is not very convenient. The following…

---

## [vtk axis](https://discourse.vtk.org/t/vtk-axis/11831)

<div class="topic-metadata">

**Author:** [@842034272](https://discourse.vtk.org/u/842034272)\
**Replies:** 0\
**Last updated:** [June 27, 2023, 11:32am UTC](https://discourse.vtk.org/t/vtk-axis/11831 "2023-06-27T11:32:52Z")

</div>

I want to use vtk to implement a coordinate axis about a two-dimensional image，keeping axes tick on left/bottom screen when I scale/translate image,and limit the image translate range within the axes range,anyone can hel…

---

## [How to change mouse cursor when we mose the mouse in ResliceCursorWidget](https://discourse.vtk.org/t/how-to-change-mouse-cursor-when-we-mose-the-mouse-in-reslicecursorwidget/9954)

<div class="topic-metadata">

**Author:** [@stoune](https://discourse.vtk.org/u/stoune)\
**Replies:** 6\
**Last updated:** [June 27, 2023, 7:14am UTC](https://discourse.vtk.org/t/how-to-change-mouse-cursor-when-we-mose-the-mouse-in-reslicecursorwidget/9954 "2023-06-27T07:14:18Z")

</div>

Hey, Actually when we click at the sphere in center of an actor in ResliceCursorWidget, the mouse cursor turns to another form: I need to change this form, to show “Nothing” in case we click and move the mouse cursor…

---

## [Building VTK with NVIDIA EGL for headless server](https://discourse.vtk.org/t/building-vtk-with-nvidia-egl-for-headless-server/11825)

<div class="topic-metadata">

**Author:** [@RonRahaman](https://discourse.vtk.org/u/RonRahaman)\
**Replies:** 0\
**Last updated:** [June 26, 2023, 8:34pm UTC](https://discourse.vtk.org/t/building-vtk-with-nvidia-egl-for-headless-server/11825 "2023-06-26T20:34:21Z")

</div>

Hi all, I’d like to build VTK on our headless server with the NVIDIA EGL libraries. However, I’m having trouble finding the right libraries and headers to link to. Any advice? Were running RHEL 7.9 with the NVIDIA 51…

---

## [Issues in configuring software with VTK Dependency - Fails in VTK cmake files](https://discourse.vtk.org/t/issues-in-configuring-software-with-vtk-dependency-fails-in-vtk-cmake-files/11805)

<div class="topic-metadata">

**Author:** [@EnderWiggin14](https://discourse.vtk.org/u/EnderWiggin14)\
**Replies:** 4\
**Last updated:** [June 26, 2023, 6:08pm UTC](https://discourse.vtk.org/t/issues-in-configuring-software-with-vtk-dependency-fails-in-vtk-cmake-files/11805 "2023-06-26T18:08:45Z")

</div>

I’ve been trying to configure and build ElmerFemGUI with VTK support, but it is failing when the VTK cmake files start looking for libGLEW.so. More specifically it actually has found the file, but it breaks in vtkDetectL…

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

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