# Support

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

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

**Page:** 20

---

## [How to clip a polygon without triangulate?](https://discourse.vtk.org/t/how-to-clip-a-polygon-without-triangulate/14607)

<div class="topic-metadata">

**Author:** [@altair0985](https://discourse.vtk.org/u/altair0985)\
**Replies:** 4\
**Last updated:** [September 26, 2024, 9:08am UTC](https://discourse.vtk.org/t/how-to-clip-a-polygon-without-triangulate/14607 "2024-09-26T09:08:01Z")

</div>

I want to clip a vtkPolygon in vtkUnstructuredGrid, the result should only have one vtkcell(vtkPolygon). I used vtkClipdataset, vtkTablebaseclipdataset, but the two algorithm may generate more than one vtkcell(vtkTriang…

---

## [How to use Direct3D in VTK?](https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609)

<div class="topic-metadata">

**Author:** [@Bipey](https://discourse.vtk.org/u/Bipey)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 8:44pm UTC](https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609 "2024-09-25T20:44:22Z")

</div>

Hello, I want to use Direct3D for rendering in VTK instead of the default OpenGL. How can I switch the VTK backend to Direct3D?

---

## [Memory Leak in VTK Python](https://discourse.vtk.org/t/memory-leak-in-vtk-python/14614)

<div class="topic-metadata">

**Author:** [@Ricardo\_Roop](https://discourse.vtk.org/u/Ricardo_Roop)\
**Replies:** 2\
**Last updated:** [September 24, 2024, 8:01pm UTC](https://discourse.vtk.org/t/memory-leak-in-vtk-python/14614 "2024-09-24T20:01:50Z")

</div>

Hi, I made a simple python script that slices a geometry and extracts the region closest to a point. Looping this function gives me memory leaks after the first iteration and I cannot figure out why. Any help would be g…

---

## [How to get a Python version of the User Guide vtkAnimationScene example running?](https://discourse.vtk.org/t/how-to-get-a-python-version-of-the-user-guide-vtkanimationscene-example-running/11440)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 3\
**Last updated:** [September 24, 2024, 9:20am UTC](https://discourse.vtk.org/t/how-to-get-a-python-version-of-the-user-guide-vtkanimationscene-example-running/11440 "2024-09-24T09:20:04Z")

</div>

I’ve converted the C++ animation example from the User guide to Python but I can’t quite get it to run correctly. When the code hits scene.Play(), the render window displays the test model (I can’t interact with it), the…

---

## [vtkCellPicker picks invisible cells when backface culling is on](https://discourse.vtk.org/t/vtkcellpicker-picks-invisible-cells-when-backface-culling-is-on/3729)

<div class="topic-metadata">

**Author:** [@habersaa](https://discourse.vtk.org/u/habersaa)\
**Replies:** 6\
**Last updated:** [September 20, 2024, 1:30pm UTC](https://discourse.vtk.org/t/vtkcellpicker-picks-invisible-cells-when-backface-culling-is-on/3729 "2024-09-20T13:30:42Z")

</div>

I have a mesh of a cave captured from inside, so the front faces of the triangles are inside the cave. To be able to see the cave well, I hide the back faces of the mesh, so that we can see the inside of the cave even w…

---

## [ICP translation problem](https://discourse.vtk.org/t/icp-translation-problem/14581)

<div class="topic-metadata">

**Author:** [@maedeh\_kafiyan\_safar](https://discourse.vtk.org/u/maedeh_kafiyan_safar)\
**Replies:** 7\
**Last updated:** [September 18, 2024, 7:32pm UTC](https://discourse.vtk.org/t/icp-translation-problem/14581 "2024-09-18T19:32:27Z")

</div>

I am currently using the ICP (Iterative Closest Point) algorithm provided by the VTK library. For testing purposes, I collected a set of points from the surface of my object and applied vtkIterativeClosestPointTransform …

---

## [Error during VTK 9.3.0 build from sources with Java Wrapper](https://discourse.vtk.org/t/error-during-vtk-9-3-0-build-from-sources-with-java-wrapper/13538)

<div class="topic-metadata">

**Author:** [@zemekale](https://discourse.vtk.org/u/zemekale)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 9:40am UTC](https://discourse.vtk.org/t/error-during-vtk-9-3-0-build-from-sources-with-java-wrapper/13538 "2024-09-18T09:40:41Z")

</div>

Hello! I am trying to build the VTK version 9.3.0 from git sources (commit 357d9ef) on Windows 11 x64. I was following these instructions and set the VTK\_WRAP\_JAVA=ON because I need the VTK.jar file. After executing the …

---

## [How to install VTK-9.3.1 with ospray support?](https://discourse.vtk.org/t/how-to-install-vtk-9-3-1-with-ospray-support/14574)

<div class="topic-metadata">

**Author:** [@Akshay\_Tupkar](https://discourse.vtk.org/u/Akshay_Tupkar)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 1:38am UTC](https://discourse.vtk.org/t/how-to-install-vtk-9-3-1-with-ospray-support/14574 "2024-09-18T01:38:27Z")

</div>

Hi team, I have installed VTK-9.3.1, but it is throwing an error as CMake Warning at CMake/vtkModule.cmake:4787 (find\_package): By not providing “Findospray.cmake” in CMAKE\_MODULE\_PATH this project has asked CMake to …

---

## [Automated 3D Video Creation](https://discourse.vtk.org/t/automated-3d-video-creation/14578)

<div class="topic-metadata">

**Author:** [@Miri\_Trope](https://discourse.vtk.org/u/Miri_Trope)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 12:03pm UTC](https://discourse.vtk.org/t/automated-3d-video-creation/14578 "2024-09-16T12:03:44Z")

</div>

Hello everyone, I created this video by screen recording on the 3D-Slicer platform. It features an animation of a VTK object and a NIFTI file (MRI image). I’m looking for advice on how to generate similar high-quality v…

---

## [Forbid \`renderer.RemoveActor\` printing info](https://discourse.vtk.org/t/forbid-renderer-removeactor-printing-info/14543)

<div class="topic-metadata">

**Author:** [@kerim](https://discourse.vtk.org/u/kerim)\
**Replies:** 3\
**Last updated:** [September 14, 2024, 2:14pm UTC](https://discourse.vtk.org/t/forbid-renderer-removeactor-printing-info/14543 "2024-09-14T14:14:00Z")

</div>

Hi, I use VTK in python now and it works fine. But when I remove actor renderer.RemoveActor(my\_actor) I can see a lot of output messages like this: vtkOpenGLActor (0000020430514220) 'my actor' Debug: Off Modified …

---

## [Extrusion of polygon along line](https://discourse.vtk.org/t/extrusion-of-polygon-along-line/14529)

<div class="topic-metadata">

**Author:** [@Sah](https://discourse.vtk.org/u/Sah)\
**Replies:** 1\
**Last updated:** [September 13, 2024, 8:45am UTC](https://discourse.vtk.org/t/extrusion-of-polygon-along-line/14529 "2024-09-13T08:45:17Z")

</div>

Hello all, I’m quite new to vtk and I’m asking for help with extrusion. In particular, I would like to extrude a polygon along a line in the space (most probably a spline). I think this is possible because I saw this qu…

---

## [Programmetically writing streamlines (fibers) with angle, anisotropy like supporting information](https://discourse.vtk.org/t/programmetically-writing-streamlines-fibers-with-angle-anisotropy-like-supporting-information/14566)

<div class="topic-metadata">

**Author:** [@Windy](https://discourse.vtk.org/u/Windy)\
**Replies:** 0\
**Last updated:** [September 13, 2024, 4:12am UTC](https://discourse.vtk.org/t/programmetically-writing-streamlines-fibers-with-angle-anisotropy-like-supporting-information/14566 "2024-09-13T04:12:28Z")

</div>

Hi all, I programmatically compute fiber tract in micro-CT images. I have a set of streamlines, each described as two nodes (the coordinates of each node are known), along with their angle with centerline and calculated…

---

## [vtkLine distanceToLine does not work as written in documentation?](https://discourse.vtk.org/t/vtkline-distancetoline-does-not-work-as-written-in-documentation/14563)

<div class="topic-metadata">

**Author:** [@ladela](https://discourse.vtk.org/u/ladela)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 3:26pm UTC](https://discourse.vtk.org/t/vtkline-distancetoline-does-not-work-as-written-in-documentation/14563 "2024-09-12T15:26:49Z")

</div>

Hi everyone, I am using vtk for my project in python and I just found out the computation of distanceToLine does not work as written in the documentation. (Snippet below.) Static Public Member Functions static vtkLine …

---

## [Limited zoom when working with Pyvista](https://discourse.vtk.org/t/limited-zoom-when-working-with-pyvista/14537)

<div class="topic-metadata">

**Author:** [@olly-writes-code](https://discourse.vtk.org/u/olly-writes-code)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 8:02pm UTC](https://discourse.vtk.org/t/limited-zoom-when-working-with-pyvista/14537 "2024-09-06T20:02:58Z")

</div>

Hi! I’m working with PyVista. My ability to zoom in seems limited. The zoom stops at a certain zoom point, and I can’t zoom in any further. I’ve tried to attach a video, but it won’t let me because I’m a new user. Are th…

---

## [How to flips some inverted normals](https://discourse.vtk.org/t/how-to-flips-some-inverted-normals/14555)

<div class="topic-metadata">

**Author:** [@bassfaye](https://discourse.vtk.org/u/bassfaye)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 3:47pm UTC](https://discourse.vtk.org/t/how-to-flips-some-inverted-normals/14555 "2024-09-11T15:47:53Z")

</div>

Hello, The mesh has some inverted triangles (black). How can I proceed to flip these normals in order to have the correct cells orientations locally? I try this but it doesn’t work. vtkNew\<vtkPolyDataNormals\> normals;…

---

## [How to Maintain Orthogonality by Default in vtkResliceCursorWidget Like in VTK.js?](https://discourse.vtk.org/t/how-to-maintain-orthogonality-by-default-in-vtkreslicecursorwidget-like-in-vtk-js/14557)

<div class="topic-metadata">

**Author:** [@buls\_brown](https://discourse.vtk.org/u/buls_brown)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 7:47am UTC](https://discourse.vtk.org/t/how-to-maintain-orthogonality-by-default-in-vtkreslicecursorwidget-like-in-vtk-js/14557 "2024-09-11T07:47:37Z")

</div>

I have implemented MPR functionality using vtkResliceCursorWidget and vtkResliceCursorLineRepresentation. When rotating the axes using mouse events, the default behavior is that the axes move independently, but when hol…

---

## [python import error when using vtk from docker image](https://discourse.vtk.org/t/python-import-error-when-using-vtk-from-docker-image/14432)

<div class="topic-metadata">

**Author:** [@mutricyl](https://discourse.vtk.org/u/mutricyl)\
**Replies:** 5\
**Last updated:** [September 10, 2024, 8:03pm UTC](https://discourse.vtk.org/t/python-import-error-when-using-vtk-from-docker-image/14432 "2024-09-10T20:03:49Z")

</div>

I have a python project using vtk hosted on a gitlab server. I’am trying to run CI/CD for that project but they all fail when importing vtk: import vtkmodules.vtkRenderingOpenGL2 ImportError: DLL load failed while impor…

---

## [Segfault in glDrawArrays without CMake (How to link openGL without CMAKE?)](https://discourse.vtk.org/t/segfault-in-gldrawarrays-without-cmake-how-to-link-opengl-without-cmake/14413)

<div class="topic-metadata">

**Author:** [@metamurk](https://discourse.vtk.org/u/metamurk)\
**Replies:** 4\
**Last updated:** [September 10, 2024, 6:03pm UTC](https://discourse.vtk.org/t/segfault-in-gldrawarrays-without-cmake-how-to-link-opengl-without-cmake/14413 "2024-09-10T18:03:23Z")

</div>

Hello together. I’m using vtk 9.3.1. i build it because of project envrionemnt without cmake, but linked vtk in VS22 directly. Everything works, I used auto\_init. But… I know try to derive from vtkOpenGLPolyDataMapper …

---

## [How to use vtkRuledSurface](https://discourse.vtk.org/t/how-to-use-vtkruledsurface/14534)

<div class="topic-metadata">

**Author:** [@bassfaye](https://discourse.vtk.org/u/bassfaye)\
**Replies:** 4\
**Last updated:** [September 10, 2024, 2:33pm UTC](https://discourse.vtk.org/t/how-to-use-vtkruledsurface/14534 "2024-09-10T14:33:53Z")

</div>

Hello, I want to use vtkRuledSurfaceFilter to create surface between two closed lines. These lines have the same number of points. How can I proceed to generate surface by connecting the same index point of each line? I …

---

## [coordinate transformation when screen scaling is not 1.0](https://discourse.vtk.org/t/coordinate-transformation-when-screen-scaling-is-not-1-0/14550)

<div class="topic-metadata">

**Author:** [@iridefix](https://discourse.vtk.org/u/iridefix)\
**Replies:** 6\
**Last updated:** [September 10, 2024, 10:31am UTC](https://discourse.vtk.org/t/coordinate-transformation-when-screen-scaling-is-not-1-0/14550 "2024-09-10T10:31:37Z")

</div>

Hi there! I am working on a custom ImageInteractorStyle derived from vtkInteractorStyleImage to move an image (or camera in this case) with the left mouse button pressed. I also noticed that the default implementation d…

---

## ["Overexposure" in Volume rendering](https://discourse.vtk.org/t/overexposure-in-volume-rendering/14360)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 2\
**Last updated:** [September 10, 2024, 1:13am UTC](https://discourse.vtk.org/t/overexposure-in-volume-rendering/14360 "2024-09-10T01:13:11Z")

</div>

I tried to edit color in the image, but I found that seems some “over exposure” in the 3D picture, could you please tell me which parameters will affect this? Great Thanks!

---

## [PBR ORMTexture.How to Merge Texture?](https://discourse.vtk.org/t/pbr-ormtexture-how-to-merge-texture/14545)

<div class="topic-metadata">

**Author:** [@liukang](https://discourse.vtk.org/u/liukang)\
**Replies:** 0\
**Last updated:** [September 9, 2024, 3:54am UTC](https://discourse.vtk.org/t/pbr-ormtexture-how-to-merge-texture/14545 "2024-09-09T03:54:00Z")

</div>

Common PBR material package summary General insurance the following material types: Concrete042C\_2K\_Color.jpg Concrete042C\_2K\_AmbientOcclusion.jpg Concrete042C\_2K\_Roughness.jpg Concrete042C\_2K\_Metalness.jpg Concrete042C…

---

## [The vtkActor show in multi renderwindow problem](https://discourse.vtk.org/t/the-vtkactor-show-in-multi-renderwindow-problem/14491)

<div class="topic-metadata">

**Author:** [@nanoahSR](https://discourse.vtk.org/u/nanoahSR)\
**Replies:** 5\
**Last updated:** [September 7, 2024, 11:16pm UTC](https://discourse.vtk.org/t/the-vtkactor-show-in-multi-renderwindow-problem/14491 "2024-09-07T23:16:09Z")

</div>

There are two vtkRenderWindow objects, each with two vtkRenderer objects, and the layers have been set. The vtkActor is initially set to the lower-level vtkRenderer of each vtkRenderWindow, and it displays normally. Now…

---

## [vtkDistancePolyDataFilter gives incorrect distance sign](https://discourse.vtk.org/t/vtkdistancepolydatafilter-gives-incorrect-distance-sign/5127)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 7\
**Last updated:** [September 5, 2024, 9:01pm UTC](https://discourse.vtk.org/t/vtkdistancepolydatafilter-gives-incorrect-distance-sign/5127 "2024-09-05T21:01:52Z")

</div>

For the attached stl files, vtkDistancePolyDataFilter with signed distance ON produces incorrect signs on certain points. I could see the magnitude of the distance is correct, only the sign is flipped wrong. Distance of…

---

## [How to select point with vtkWorldPointPicker?](https://discourse.vtk.org/t/how-to-select-point-with-vtkworldpointpicker/14516)

<div class="topic-metadata">

**Author:** [@learn\_forever](https://discourse.vtk.org/u/learn_forever)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 11:14am UTC](https://discourse.vtk.org/t/how-to-select-point-with-vtkworldpointpicker/14516 "2024-09-05T11:14:18Z")

</div>

Hi, In my scene, I added two renderer into the vtkRenderWindow. And set the layer to 0 and 1 respectively. Here I want to pick the point in the layer 0 with vtkWorldPointPicker. But the result was always wrong. So how …

---

## [How to get vtkChartXY tooltips when mouse wheel zoom is turned off](https://discourse.vtk.org/t/how-to-get-vtkchartxy-tooltips-when-mouse-wheel-zoom-is-turned-off/14527)

<div class="topic-metadata">

**Author:** [@Jessica\_Marquis](https://discourse.vtk.org/u/Jessica_Marquis)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 6:53pm UTC](https://discourse.vtk.org/t/how-to-get-vtkchartxy-tooltips-when-mouse-wheel-zoom-is-turned-off/14527 "2024-09-04T18:53:45Z")

</div>

I am trying to create some charts using the vtkChartXY class. I would like to be able to turn off the feature of zooming in and out of the graph with the mouse wheel button (vtkChartXY::SetZoomWithMouseWheel) but wheneve…

---

## [VTKHDF generated with Fortran flagged as unrecognized type](https://discourse.vtk.org/t/vtkhdf-generated-with-fortran-flagged-as-unrecognized-type/14488)

<div class="topic-metadata">

**Author:** [@johodges](https://discourse.vtk.org/u/johodges)\
**Replies:** 10\
**Last updated:** [September 3, 2024, 12:53pm UTC](https://discourse.vtk.org/t/vtkhdf-generated-with-fortran-flagged-as-unrecognized-type/14488 "2024-09-03T12:53:57Z")

</div>

Hello all. I am working on a module to export data to VTKHDF using Fortran. I am able to create the file and h5dump shows the expected data fields. Unfortunately, Paraview fails to read the file with an error flagged by …

---

## [VTK not being recognized by QtCreator in QML](https://discourse.vtk.org/t/vtk-not-being-recognized-by-qtcreator-in-qml/14495)

<div class="topic-metadata">

**Author:** [@amireza007](https://discourse.vtk.org/u/amireza007)\
**Replies:** 1\
**Last updated:** [September 1, 2024, 8:55pm UTC](https://discourse.vtk.org/t/vtk-not-being-recognized-by-qtcreator-in-qml/14495 "2024-09-01T20:55:59Z")

</div>

Hello, I’ve been struggling to include VTK into QML. I have installed VTK 9.3 through ninja, following the Kitware’s gitlab docs. I also have set env variables QML\_IMPORT\_PATH and QML\_IMPORT\_PATH to VTKInstallation/lib/…

---

## [Smooth interpolation for PBR mesh environment reflections?](https://discourse.vtk.org/t/smooth-interpolation-for-pbr-mesh-environment-reflections/14514)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 1\
**Last updated:** [September 1, 2024, 12:29pm UTC](https://discourse.vtk.org/t/smooth-interpolation-for-pbr-mesh-environment-reflections/14514 "2024-09-01T12:29:45Z")

</div>

I’m trying to visualize ocean waves. I do this by defining vertical displacement for points on a grid. With PBR and texture applied this looks like: The mesh is clearly visible. Is it possible to make the surface lo…

---

## [Where is vtkAbstractPolyDataReader::SetFileName() described?](https://discourse.vtk.org/t/where-is-vtkabstractpolydatareader-setfilename-described/14496)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 4\
**Last updated:** [August 30, 2024, 5:28pm UTC](https://discourse.vtk.org/t/where-is-vtkabstractpolydatareader-setfilename-described/14496 "2024-08-30T17:28:30Z")

</div>

I want to subclass vtkAbstractDataReader and see examples for subclasses, such as this one for vtkSTLReader. The example invokes a method vtkSTLReader::SetFileName(): auto reader = vtkSmartPointer\<vtkSTLReader\>::New()…

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

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