# Latest

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

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

**Page:** 130

---

## [VTK Trame Docker Setup](https://discourse.vtk.org/t/vtk-trame-docker-setup/8636)

<div class="topic-metadata">

**Author:** [@simplyvish](https://discourse.vtk.org/u/simplyvish)\
**Replies:** 34\
**Last updated:** [June 8, 2022, 2:44pm UTC](https://discourse.vtk.org/t/vtk-trame-docker-setup/8636 "2022-06-08T14:44:59Z")

</div>

Hi, I’m trying out VTK trame docker image. I have done basic docker setup on CentOS-7. I’m also able to run a basic trame application on the host OS. I tried running the trame docker image but getting error ERROR: The d…

---

## [issue with vtkOpenGLRenderWindow on linux with vtk=9.1](https://discourse.vtk.org/t/issue-with-vtkopenglrenderwindow-on-linux-with-vtk-9-1/8576)

<div class="topic-metadata">

**Author:** [@lauramurgatroyd](https://discourse.vtk.org/u/lauramurgatroyd)\
**Replies:** 4\
**Last updated:** [June 8, 2022, 2:40pm UTC](https://discourse.vtk.org/t/issue-with-vtkopenglrenderwindow-on-linux-with-vtk-9-1/8576 "2022-06-08T14:40:45Z")

</div>

I am trying to run a minimal example with python and vtk which was adapted from this link but with PySide2 instead of Qt4. This works fine on my windows machine, with any vtk 9.x.x version. However, on linux I can run …

---

## [Using 2D textures with VolumeMapper](https://discourse.vtk.org/t/using-2d-textures-with-volumemapper/8669)

<div class="topic-metadata">

**Author:** [@Alireza](https://discourse.vtk.org/u/Alireza)\
**Replies:** 5\
**Last updated:** [June 8, 2022, 12:46pm UTC](https://discourse.vtk.org/t/using-2d-textures-with-volumemapper/8669 "2022-06-08T12:46:50Z")

</div>

We are currently using the VolumeMapper to render medical images and it works (we use it for 2D image too, so a 512x512 CT becomes a 512x512x1 in texture size). For larger images (large XRay or Mamo images, where dimensi…

---

## [Problem with the Installing of VTK in Ubuntu](https://discourse.vtk.org/t/problem-with-the-installing-of-vtk-in-ubuntu/8658)

<div class="topic-metadata">

**Author:** [@YMAkib](https://discourse.vtk.org/u/YMAkib)\
**Replies:** 9\
**Last updated:** [June 8, 2022, 8:01am UTC](https://discourse.vtk.org/t/problem-with-the-installing-of-vtk-in-ubuntu/8658 "2022-06-08T08:01:04Z")

</div>

I am facing the following problem. Can Anyone please help? Thank you. Update the VERSION argument \<min\> value or use a ...\<max\> suffix to tell CMake that the project does not need compatibility with older versions. …

---

## [How to highlight the covered object?](https://discourse.vtk.org/t/how-to-highlight-the-covered-object/8673)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 7:14am UTC](https://discourse.vtk.org/t/how-to-highlight-the-covered-object/8673 "2022-06-08T07:14:32Z")

</div>

Hello, guys! I would like to highlight the object, if the object is covered by the other, it also can been saw. In OpenGL, it use GL\_DEPTH\_TEST, I don’t know how to do in VTK, anyone knows?Thanks

---

## [how to use VtkVolume and vtkGPUVolumeRayCastMapper to display inside the Aorta? Is it the matter of camera and ray direction?](https://discourse.vtk.org/t/how-to-use-vtkvolume-and-vtkgpuvolumeraycastmapper-to-display-inside-the-aorta-is-it-the-matter-of-camera-and-ray-direction/8600)

<div class="topic-metadata">

**Author:** [@yujhuang](https://discourse.vtk.org/u/yujhuang)\
**Replies:** 15\
**Last updated:** [June 7, 2022, 7:01am UTC](https://discourse.vtk.org/t/how-to-use-vtkvolume-and-vtkgpuvolumeraycastmapper-to-display-inside-the-aorta-is-it-the-matter-of-camera-and-ray-direction/8600 "2022-06-07T07:01:23Z")

</div>

So here is an example of Endoscope feature of 3D Slicer: And here is an example from Endosize: My Question is: If I wanna do endoscope by VtkVolume, what should I be Awared of? (I tried some vtkVolume examples, i…

---

## [how to draw a a simple cross line in vtkresliceimageviewer](https://discourse.vtk.org/t/how-to-draw-a-a-simple-cross-line-in-vtkresliceimageviewer/8668)

<div class="topic-metadata">

**Author:** [@liuyongsheng-joshua](https://discourse.vtk.org/u/liuyongsheng-joshua)\
**Replies:** 1\
**Last updated:** [June 5, 2022, 5:56pm UTC](https://discourse.vtk.org/t/how-to-draw-a-a-simple-cross-line-in-vtkresliceimageviewer/8668 "2022-06-05T17:56:06Z")

</div>

hi, all i am a vtk beginner. i am trying to draw a simple crossline in the vtk example of fourpane view’s vtkresliceimageviwer pane to indicate the other two view’s slice index. but i don\`t find a right way to solve …

---

## [use canvas created by hand rather than set renderwindow a div container](https://discourse.vtk.org/t/use-canvas-created-by-hand-rather-than-set-renderwindow-a-div-container/8655)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 4\
**Last updated:** [June 5, 2022, 3:11pm UTC](https://discourse.vtk.org/t/use-canvas-created-by-hand-rather-than-set-renderwindow-a-div-container/8655 "2022-06-05T15:11:25Z")

</div>

I want to use a canvas element already existing in the dom to actor as a container of a renderWindow, for example a vtkOpenGLRenderWindow. Does anyone know how to achieve this? I saw the vtkCanvasView object in the api, …

---

## [How to place seed widget exactly on the image but not above it?](https://discourse.vtk.org/t/how-to-place-seed-widget-exactly-on-the-image-but-not-above-it/8662)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 2\
**Last updated:** [June 5, 2022, 2:54pm UTC](https://discourse.vtk.org/t/how-to-place-seed-widget-exactly-on-the-image-but-not-above-it/8662 "2022-06-05T14:54:10Z")

</div>

Hi, I want to select some points on image. So I implement the seed widget to help me select the points I want. But I found out the seed was placed above the image not on the image. Some images below showing the issue. T…

---

## [Actor picking failure with wxVTKRenderWindowInteractor](https://discourse.vtk.org/t/actor-picking-failure-with-wxvtkrenderwindowinteractor/8621)

<div class="topic-metadata">

**Author:** [@bart](https://discourse.vtk.org/u/bart)\
**Replies:** 1\
**Last updated:** [June 5, 2022, 10:47am UTC](https://discourse.vtk.org/t/actor-picking-failure-with-wxvtkrenderwindowinteractor/8621 "2022-06-05T10:47:28Z")

</div>

Hi forum, I’ve built a wxwidgets app using wxVTKRenderWindowInteractor over the last years and for the first time I am hitting a wall. Actor picking fails in the wxVTKRenderWindowInteractor, i.e. clicks in the window at…

---

## [GPU memory usage](https://discourse.vtk.org/t/gpu-memory-usage/8661)

<div class="topic-metadata">

**Author:** [@whxxyhf](https://discourse.vtk.org/u/whxxyhf)\
**Replies:** 2\
**Last updated:** [June 5, 2022, 10:28am UTC](https://discourse.vtk.org/t/gpu-memory-usage/8661 "2022-06-05T10:28:40Z")

</div>

Can I apply three cameras to a renderer? For example, when I use volume to realize MPR, I guess vtk.js saved three volume data, so that the GPU memory usage is too high. Can you help me? Thank you very much!

---

## [VTK Extrude Polygon Points and Holes Issue](https://discourse.vtk.org/t/vtk-extrude-polygon-points-and-holes-issue/8642)

<div class="topic-metadata">

**Author:** [@USMANHEART](https://discourse.vtk.org/u/USMANHEART)\
**Replies:** 10\
**Last updated:** [June 4, 2022, 7:19pm UTC](https://discourse.vtk.org/t/vtk-extrude-polygon-points-and-holes-issue/8642 "2022-06-04T19:19:53Z")

</div>

I am using VTK for creating my meshes. I am new to it and I am facing 2 issues. I can’t find proper documentation to add holes into polygon mesh Polygon curves have issue My Code sample is: def extrude\_polygon(vertic…

---

## [Iterate vtkIdTypeArray in Python](https://discourse.vtk.org/t/iterate-vtkidtypearray-in-python/8656)

<div class="topic-metadata">

**Author:** [@Ron84](https://discourse.vtk.org/u/Ron84)\
**Replies:** 4\
**Last updated:** [June 4, 2022, 5:04pm UTC](https://discourse.vtk.org/t/iterate-vtkidtypearray-in-python/8656 "2022-06-04T17:04:53Z")

</div>

What’s the preferred way to iterate over an vtkIdTypeArray in Python? There is NewIterator, but I don’t know how to use it.

---

## [Normal problem with vtk Boolean Operation PolyData Filter](https://discourse.vtk.org/t/normal-problem-with-vtk-boolean-operation-polydata-filter/8634)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 9:46pm UTC](https://discourse.vtk.org/t/normal-problem-with-vtk-boolean-operation-polydata-filter/8634 "2022-06-02T21:46:09Z")

</div>

Apologies up front for this being rather long and possibly somewhat difficult to understand. I hope that someone can suggest a course of action for this. I’ve been trying to model and render various geometric bodies w…

---

## [Wheels for python 3.10 available on pypi?](https://discourse.vtk.org/t/wheels-for-python-3-10-available-on-pypi/8649)

<div class="topic-metadata">

**Author:** [@johmue](https://discourse.vtk.org/u/johmue)\
**Replies:** 5\
**Last updated:** [June 2, 2022, 6:55pm UTC](https://discourse.vtk.org/t/wheels-for-python-3-10-available-on-pypi/8649 "2022-06-02T18:55:01Z")

</div>

May I suggest putting vtk-9.1.0 wheels for python-3.10 to pypi? I have to say it is meanwhile quite some limitation for python packages depending on vtk to be tied to python-3.9. Any chance that this will happen soonish? …

---

## [OSPRay volume rendering](https://discourse.vtk.org/t/ospray-volume-rendering/8651)

<div class="topic-metadata">

**Author:** [@PBH](https://discourse.vtk.org/u/PBH)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 6:46pm UTC](https://discourse.vtk.org/t/ospray-volume-rendering/8651 "2022-06-02T18:46:20Z")

</div>

Hello, I would like to use OSPRay to do volume rendering in two scenarios: (1) high resolution always, or (2) low resolution during rotation/zoom, high resolution as result. For CPU and GPU, VTK does support such scenar…

---

## [vtkDataSetSurfaceFilter and NonlinearSubdivisionLevel](https://discourse.vtk.org/t/vtkdatasetsurfacefilter-and-nonlinearsubdivisionlevel/8646)

<div class="topic-metadata">

**Author:** [@spyridon97](https://discourse.vtk.org/u/spyridon97)\
**Replies:** 6\
**Last updated:** [June 2, 2022, 5:59pm UTC](https://discourse.vtk.org/t/vtkdatasetsurfacefilter-and-nonlinearsubdivisionlevel/8646 "2022-06-02T17:59:30Z")

</div>

Is anybody using vtkDataSetSurfaceFilter’s NonlinearSubdivisionLevel \> 1? I am asking because i am currently working on speeding up vtkDataSetSurfaceFilter/vtkGeometryFilter and in the case where NonlinearSubdivisionLev…

---

## [Thread safety of vtkMPIController::SetGlobalController()](https://discourse.vtk.org/t/thread-safety-of-vtkmpicontroller-setglobalcontroller/8650)

<div class="topic-metadata">

**Author:** [@acbauer](https://discourse.vtk.org/u/acbauer)\
**Replies:** 1\
**Last updated:** [June 2, 2022, 5:57pm UTC](https://discourse.vtk.org/t/thread-safety-of-vtkmpicontroller-setglobalcontroller/8650 "2022-06-02T17:57:08Z")

</div>

Hi, I’m playing around with trying to do some pipeline processing with MPI parallelism in detached threads. As an example, I have 20 MPI processes and on 5 of them I detach a thread with their own vtkMPIController (with…

---

## [Proper way to close a vtkRemoteView / vtkWSLinkClient](https://discourse.vtk.org/t/proper-way-to-close-a-vtkremoteview-vtkwslinkclient/8647)

<div class="topic-metadata">

**Author:** [@eino](https://discourse.vtk.org/u/eino)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 3:59pm UTC](https://discourse.vtk.org/t/proper-way-to-close-a-vtkremoteview-vtkwslinkclient/8647 "2022-06-02T15:59:31Z")

</div>

Hi, So I have a front-end including a vtkRemoteView connecting to a remote paraview server via wslink (based on the last code here vtk.js). Everything works well on first visualisation, however when the customer closes…

---

## [Introducing vtk-for-ci dockerhub repository](https://discourse.vtk.org/t/introducing-vtk-for-ci-dockerhub-repository/8643)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 12:00pm UTC](https://discourse.vtk.org/t/introducing-vtk-for-ci-dockerhub-repository/8643 "2022-06-02T12:00:00Z")

</div>

A new docker repository dedicated to CI for VTK based modules and application can now be used. Learn all about it in our blog: https://www.kitware.com/adding-ci-to-your-paraview-plugin-and-vtk-modules/

---

## [How to add annotation on vtkChartXY](https://discourse.vtk.org/t/how-to-add-annotation-on-vtkchartxy/8556)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 8\
**Last updated:** [June 2, 2022, 8:06am UTC](https://discourse.vtk.org/t/how-to-add-annotation-on-vtkchartxy/8556 "2022-06-02T08:06:29Z")

</div>

I want to add an annotation on vtkChartXY. The annotation is vtkTextActor. My code is: import vtkmodules.all as vtk import numpy as np colors = vtk.vtkNamedColors() table = vtk.vtkTable() arrX = vtk.vtkFloatArray() a…

---

## [Process hardware cliping using implicit function](https://discourse.vtk.org/t/process-hardware-cliping-using-implicit-function/8635)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 4:09am UTC](https://discourse.vtk.org/t/process-hardware-cliping-using-implicit-function/8635 "2022-06-02T04:09:45Z")

</div>

vtkAbstractMapper provides a function,SetClippingPlanes, to cut the actor at hardware level,which might be several magnitudes faster. But I can’t set implicit function to it to get specific shape like below. vtkNew\<v…

---

## [export video using vtkAVIWriter](https://discourse.vtk.org/t/export-video-using-vtkaviwriter/8638)

<div class="topic-metadata">

**Author:** [@xiaojing\_guo](https://discourse.vtk.org/u/xiaojing_guo)\
**Replies:** 0\
**Last updated:** [June 2, 2022, 12:11am UTC](https://discourse.vtk.org/t/export-video-using-vtkaviwriter/8638 "2022-06-02T00:11:38Z")

</div>

i have a question,i post code at Export video use vtkAVIWriter.the question is similar with some else.any body can help?

---

## [How do I save animation to a video using VTKAVIWriter?](https://discourse.vtk.org/t/how-do-i-save-animation-to-a-video-using-vtkaviwriter/979)

<div class="topic-metadata">

**Author:** [@aravind90](https://discourse.vtk.org/u/aravind90)\
**Replies:** 3\
**Last updated:** [June 2, 2022, 12:01am UTC](https://discourse.vtk.org/t/how-do-i-save-animation-to-a-video-using-vtkaviwriter/979 "2022-06-02T00:01:47Z")

</div>

I’m using the VTK Animation example Rotating Sphere and trying to save the animation to a video and was unsuccessful. My approach was to connect the vtkRenderer to vtkAVIWriter with vtkWindowToImageFilter Below is the c…

---

## [Bounding volume of cylinder path](https://discourse.vtk.org/t/bounding-volume-of-cylinder-path/8498)

<div class="topic-metadata">

**Author:** [@kruvva](https://discourse.vtk.org/u/kruvva)\
**Replies:** 19\
**Last updated:** [June 1, 2022, 4:41pm UTC](https://discourse.vtk.org/t/bounding-volume-of-cylinder-path/8498 "2022-06-01T16:41:54Z")

</div>

Hello All, I am trying to build a volumetric polydata traversed by a cylinder along given path. I am currently creating cylinders at every point in the path and appending them using vtkAppendPolyData. But this gives be …

---

## [How can I render a .vtu file with volume?](https://discourse.vtk.org/t/how-can-i-render-a-vtu-file-with-volume/8619)

<div class="topic-metadata">

**Author:** [@andaji](https://discourse.vtk.org/u/andaji)\
**Replies:** 1\
**Last updated:** [June 1, 2022, 2:12pm UTC](https://discourse.vtk.org/t/how-can-i-render-a-vtu-file-with-volume/8619 "2022-06-01T14:12:01Z")

</div>

I’m a newer in vtk. I know .vtu file can rendered with volume and I read the official example https://kitware.github.io/vtk-examples/site/Cxx/VolumeRendering/IntermixedUnstructuredGrid/ and I make some codes, but it alw…

---

## [VTK Trame Image Quality](https://discourse.vtk.org/t/vtk-trame-image-quality/8394)

<div class="topic-metadata">

**Author:** [@simplyvish](https://discourse.vtk.org/u/simplyvish)\
**Replies:** 15\
**Last updated:** [June 1, 2022, 6:02am UTC](https://discourse.vtk.org/t/vtk-trame-image-quality/8394 "2022-06-01T06:02:22Z")

</div>

Hi, I’m work on a PoC application using VTK Trame. Currently there are two thing on which I’m a bit stuck. I’m following the python examples from the VTK. I have installed vtk and trame in my local python environment an…

---

## [best strategy for drawing on vtkImagePlaneWidget](https://discourse.vtk.org/t/best-strategy-for-drawing-on-vtkimageplanewidget/8603)

<div class="topic-metadata">

**Author:** [@soren](https://discourse.vtk.org/u/soren)\
**Replies:** 5\
**Last updated:** [May 31, 2022, 3:17pm UTC](https://discourse.vtk.org/t/best-strategy-for-drawing-on-vtkimageplanewidget/8603 "2022-05-31T15:17:57Z")

</div>

Hi, I would like to draw pixel ROIs on a volume visualized with vtkImagePlaneWidget using the built in cursor. Currently I have set up 2 vtkImagePlaneWidgets, one for the image and one for the ROI. The ROI widget simply…

---

## [How to get rid of this tipples on the volume?](https://discourse.vtk.org/t/how-to-get-rid-of-this-tipples-on-the-volume/8201)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 2\
**Last updated:** [May 31, 2022, 1:57am UTC](https://discourse.vtk.org/t/how-to-get-rid-of-this-tipples-on-the-volume/8201 "2022-05-31T01:57:05Z")

</div>

Hi, I downloaded the code from here-\>medicalDemo4 and modified a little. The ripples(dont know how to name it) intensified but I dont know how to get rid of it. Here are what I modified. from vtkFixedPointVolumeRa…

---

## [vtkQuadric SetCoefficients change not executed in C++, but is in Python](https://discourse.vtk.org/t/vtkquadric-setcoefficients-change-not-executed-in-c-but-is-in-python/8622)

<div class="topic-metadata">

**Author:** [@Spacetracker](https://discourse.vtk.org/u/Spacetracker)\
**Replies:** 2\
**Last updated:** [May 30, 2022, 8:51pm UTC](https://discourse.vtk.org/t/vtkquadric-setcoefficients-change-not-executed-in-c-but-is-in-python/8622 "2022-05-30T20:51:39Z")

</div>

I modified the ImplicitQuadric vtk-example in Python to morph the surface within a loop by changing the SetCoefficients for vtkQuadric functions for a vtkImplicitBoolean. I ported this code to C++ and the first Surface …

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

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