# Latest

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

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

**Page:** 141

---

## [vtkSelectPolyData - vtkClipPolyData](https://discourse.vtk.org/t/vtkselectpolydata-vtkclippolydata/3315)

<div class="topic-metadata">

**Author:** [@hannah](https://discourse.vtk.org/u/hannah)\
**Replies:** 6\
**Last updated:** [March 8, 2022, 8:15pm UTC](https://discourse.vtk.org/t/vtkselectpolydata-vtkclippolydata/3315 "2022-03-08T20:15:29Z")

</div>

Hello. I am using vtkSelectPolyData and vtkClipPolyData for filling (colour) intersection area, but I am getting an error: “vtkSelectPolyData (0x8920590): Can’t follow edge”, and at the end it could not color the area. …

---

## [libQVTKWidgetPlugin.so for QtCreator](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 8\
**Last updated:** [March 8, 2022, 1:55pm UTC](https://discourse.vtk.org/t/libqvtkwidgetplugin-so-for-qtcreator/7993 "2022-03-08T13:55:15Z")

</div>

https://vtk.org/Wiki/VTK/Tutorials/QtSetup talks about the qt creator plugin. I can’t seem to find it when I build with QT5 enabled. Is the QtSetup webpage out of date or have I missed something during my build?

---

## [Will vtkHDF replace the existing vtk XML format?](https://discourse.vtk.org/t/will-vtkhdf-replace-the-existing-vtk-xml-format/7886)

<div class="topic-metadata">

**Author:** [@bkwilliams](https://discourse.vtk.org/u/bkwilliams)\
**Replies:** 2\
**Last updated:** [March 8, 2022, 11:43am UTC](https://discourse.vtk.org/t/will-vtkhdf-replace-the-existing-vtk-xml-format/7886 "2022-03-08T11:43:48Z")

</div>

Interested to know with vtkHDF coming in VTK 10.0 whether this is intended to replace the existing XML format? I assume vtkHDF has both read and write methods.

---

## [duplicated triangles after applying removeDuplicatePolyFilter](https://discourse.vtk.org/t/duplicated-triangles-after-applying-removeduplicatepolyfilter/6164)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 5\
**Last updated:** [March 8, 2022, 11:40am UTC](https://discourse.vtk.org/t/duplicated-triangles-after-applying-removeduplicatepolyfilter/6164 "2022-03-08T11:40:13Z")

</div>

Hi, I’m creating a polydata after triangulation. I want to remove all duplicated triangles. After using remove DuplicatePolyFilter I still got the message that the polydata has duplicated triangles. How can I perfectl…

---

## [resliceMapper.setLookupTable is not a function](https://discourse.vtk.org/t/reslicemapper-setlookuptable-is-not-a-function/8003)

<div class="topic-metadata">

**Author:** [@dexter](https://discourse.vtk.org/u/dexter)\
**Replies:** 3\
**Last updated:** [March 7, 2022, 5:37pm UTC](https://discourse.vtk.org/t/reslicemapper-setlookuptable-is-not-a-function/8003 "2022-03-07T17:37:44Z")

</div>

Hey, how to set the Lookup Table for a resliceActor (vtkImageSlice)? Because we can use setLookupTable method for a vtkMapper object but not for vtkImageMapper. I need to set the LookupTable to make the black zone in t…

---

## [vtkGeometryFilter Update() speed](https://discourse.vtk.org/t/vtkgeometryfilter-update-speed/8002)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 3:12pm UTC](https://discourse.vtk.org/t/vtkgeometryfilter-update-speed/8002 "2022-03-07T15:12:34Z")

</div>

I have a Delaunay mesh (Unstructured Grid) which I need to convert to a Polydata. However, this conversion can take quite a while (70,000 points takes approx 25 seconds). In my usage, I often need to regenerate this Dela…

---

## [Can we merge a fMRI mask volume with a brain volume using vtk.js?](https://discourse.vtk.org/t/can-we-merge-a-fmri-mask-volume-with-a-brain-volume-using-vtk-js/7913)

<div class="topic-metadata">

**Author:** [@stoune](https://discourse.vtk.org/u/stoune)\
**Replies:** 6\
**Last updated:** [March 7, 2022, 11:24am UTC](https://discourse.vtk.org/t/can-we-merge-a-fmri-mask-volume-with-a-brain-volume-using-vtk-js/7913 "2022-03-07T11:24:58Z")

</div>

I have a VTI brain volume that I display using vtkResliceCursor and a VTI volume containing voxel points of a fMRI mask, I’m wondering is it possible with vtk.js to merge the two VTI files into one and display the brain…

---

## [how to make “reset()” more effective](https://discourse.vtk.org/t/how-to-make-reset-more-effective/7997)

<div class="topic-metadata">

**Author:** [@Clifford](https://discourse.vtk.org/u/Clifford)\
**Replies:** 1\
**Last updated:** [March 7, 2022, 10:00am UTC](https://discourse.vtk.org/t/how-to-make-reset-more-effective/7997 "2022-03-07T10:00:31Z")

</div>

Here’s the part of my code: def anim(): ms = pts.mlab\_source for i in range(490): scalars = X\_minMax\[:,i+1\] print(i) ms.reset(scalars=scalars) …

---

## [How to detect the presence of corner annotation and clear it from vtkrender?](https://discourse.vtk.org/t/how-to-detect-the-presence-of-corner-annotation-and-clear-it-from-vtkrender/7998)

<div class="topic-metadata">

**Author:** [@Usha\_Diggi](https://discourse.vtk.org/u/Usha_Diggi)\
**Replies:** 0\
**Last updated:** [March 7, 2022, 8:13am UTC](https://discourse.vtk.org/t/how-to-detect-the-presence-of-corner-annotation-and-clear-it-from-vtkrender/7998 "2022-03-07T08:13:13Z")

</div>

I am reading the multiple DICOM data on same view port and parallelly displaying its meta data on its renderer using vtk corner annotation. while 2nd data loading, its info is overlaying on first one…I tried clearing …

---

## [About vtkCellArray::InsertNextCell()](https://discourse.vtk.org/t/about-vtkcellarray-insertnextcell/7969)

<div class="topic-metadata">

**Author:** [@zxlice](https://discourse.vtk.org/u/zxlice)\
**Replies:** 3\
**Last updated:** [March 7, 2022, 12:45am UTC](https://discourse.vtk.org/t/about-vtkcellarray-insertnextcell/7969 "2022-03-07T00:45:07Z")

</div>

Why undefined error? line-\>GetPointIds()-\>SetId(0, 0); line-\>GetPointIds()-\>SetId(0, 1); vtkNew\<vtkCellArray\> cells; cells-\>InsertNextCell(line); build information: vtk-9.1 with MinGW8.1 Here is the compile error inf…

---

## [volume rendering independent component color problem](https://discourse.vtk.org/t/volume-rendering-independent-component-color-problem/7989)

<div class="topic-metadata">

**Author:** [@Mohamed\_Zidan](https://discourse.vtk.org/u/Mohamed_Zidan)\
**Replies:** 0\
**Last updated:** [March 6, 2022, 2:08pm UTC](https://discourse.vtk.org/t/volume-rendering-independent-component-color-problem/7989 "2022-03-06T14:08:09Z")

</div>

Hello, I am using independent component with vtkOpenGLGPUVolumeRayCastMapper or vtkGPUVolumeRayCastMapper to represent the volume and the labels. vtk version is 9.1 the first independent component is the labels and it…

---

## [How to generate contours on points without interpolation to cells?](https://discourse.vtk.org/t/how-to-generate-contours-on-points-without-interpolation-to-cells/7985)

<div class="topic-metadata">

**Author:** [@DFlyer](https://discourse.vtk.org/u/DFlyer)\
**Replies:** 1\
**Last updated:** [March 6, 2022, 1:16pm UTC](https://discourse.vtk.org/t/how-to-generate-contours-on-points-without-interpolation-to-cells/7985 "2022-03-06T13:16:51Z")

</div>

I have a polydata with quad mesh and scalar double values on points. When I generate contours with vtkContourFilter, I get contours that lie on the cells and seems to be interpolated by average. Is it possible to generat…

---

## [AddCustomTerminationCallback from vtkStreamTracer in Python](https://discourse.vtk.org/t/addcustomterminationcallback-from-vtkstreamtracer-in-python/7986)

<div class="topic-metadata">

**Author:** [@MatthewFlamm](https://discourse.vtk.org/u/MatthewFlamm)\
**Replies:** 0\
**Last updated:** [March 5, 2022, 10:14pm UTC](https://discourse.vtk.org/t/addcustomterminationcallback-from-vtkstreamtracer-in-python/7986 "2022-03-05T22:14:19Z")

</div>

I was trying to see if the AddCustomTerminationCallback method could be used in Python, but it doesn’t seem to be exposed. Is there a way to access this functionality? from vtkmodules.vtkFiltersFlowPaths import vtkStre…

---

## [Get NIFTI Headers using itk-wasm and vtk.js](https://discourse.vtk.org/t/get-nifti-headers-using-itk-wasm-and-vtk-js/7970)

<div class="topic-metadata">

**Author:** [@anonymous\_iguana](https://discourse.vtk.org/u/anonymous_iguana)\
**Replies:** 2\
**Last updated:** [March 5, 2022, 12:32am UTC](https://discourse.vtk.org/t/get-nifti-headers-using-itk-wasm-and-vtk-js/7970 "2022-03-05T00:32:41Z")

</div>

Hi there, Is it at all possible to access the full headers after reading a .nii file using itk-wasm and getting the vtkImageData? I see that we have some limited options available (e.g. getDirection, getOrigin), but wha…

---

## [NAME in vtk.module files](https://discourse.vtk.org/t/name-in-vtk-module-files/7964)

<div class="topic-metadata">

**Author:** [@aborsic](https://discourse.vtk.org/u/aborsic)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 11:30pm UTC](https://discourse.vtk.org/t/name-in-vtk-module-files/7964 "2022-03-04T23:30:29Z")

</div>

Dear All, I wonder if anybody can shed some light on some doubts I have about the NAME field in vtk.module files. The documentation at vtk.module files says that NAME is the name of the module, and the example uses NAM…

---

## [VTK\_MODULE\_INIT in 9.0.1 ?](https://discourse.vtk.org/t/vtk-module-init-in-9-0-1/5632)

<div class="topic-metadata">

**Author:** [@langer](https://discourse.vtk.org/u/langer)\
**Replies:** 33\
**Last updated:** [March 4, 2022, 11:29pm UTC](https://discourse.vtk.org/t/vtk-module-init-in-9-0-1/5632 "2022-03-04T23:29:34Z")

</div>

In a C++ program that links to VTK, using VTK 8.2 the library was initialized it with #include \<vtkAutoInit.h\> VTK\_MODULE\_INIT(vtkRenderingOpenGL2); VTK\_MODULE\_INIT(vtkRenderingContextOpenGL2); \[etc\] Does that still w…

---

## [rendering problem vtk 8.2 from centos 7 and tesla graphic card](https://discourse.vtk.org/t/rendering-problem-vtk-8-2-from-centos-7-and-tesla-graphic-card/7808)

<div class="topic-metadata">

**Author:** [@Jiteaured](https://discourse.vtk.org/u/Jiteaured)\
**Replies:** 13\
**Last updated:** [March 4, 2022, 4:52pm UTC](https://discourse.vtk.org/t/rendering-problem-vtk-8-2-from-centos-7-and-tesla-graphic-card/7808 "2022-03-04T16:52:55Z")

</div>

Dear All, I use vtk rendering filter to create images from some views. The images are ok on fedora. But on centos 7 and tesla graphic card, after the 2nd images, a crash appear. (Note: the 2 images are ok but I should…

---

## [Interacting with View and Widget simultaneously.](https://discourse.vtk.org/t/interacting-with-view-and-widget-simultaneously/7923)

<div class="topic-metadata">

**Author:** [@szymswiat](https://discourse.vtk.org/u/szymswiat)\
**Replies:** 2\
**Last updated:** [March 4, 2022, 12:04pm UTC](https://discourse.vtk.org/t/interacting-with-view-and-widget-simultaneously/7923 "2022-03-04T12:04:30Z")

</div>

Hello, I’m implementing web based application for medical image annotation using react-vtk-js library. I followed an example and attached vtkWidgetManager to renderer (along with other required objects) and a few widget…

---

## [How to convert 3D numpy array to vtk and save the .vtk file?](https://discourse.vtk.org/t/how-to-convert-3d-numpy-array-to-vtk-and-save-the-vtk-file/7979)

<div class="topic-metadata">

**Author:** [@firminshao25](https://discourse.vtk.org/u/firminshao25)\
**Replies:** 0\
**Last updated:** [March 4, 2022, 8:31am UTC](https://discourse.vtk.org/t/how-to-convert-3d-numpy-array-to-vtk-and-save-the-vtk-file/7979 "2022-03-04T08:31:52Z")

</div>

Hi all,I am new here.Sorry for my little knowledge about VTK. I have a scalar volume (3D numpy array) I want to add some information describing the image and then save it as a .vtk file as follows: I searched s…

---

## [windows MinGW compiler question with Qt and VTK](https://discourse.vtk.org/t/windows-mingw-compiler-question-with-qt-and-vtk/7973)

<div class="topic-metadata">

**Author:** [@S-Explorer](https://discourse.vtk.org/u/S-Explorer)\
**Replies:** 1\
**Last updated:** [March 4, 2022, 7:28am UTC](https://discourse.vtk.org/t/windows-mingw-compiler-question-with-qt-and-vtk/7973 "2022-03-04T07:28:39Z")

</div>

About the problem of minGW compiler on windows (Qt & VTK) edtion: qt:6.2.3 vtk:9.1.0 1. in the begin choose the button BUILD\_SHARED\_LIBS ,when i start compiling, which will generate a lot of inline function erro…

---

## [Locate carotid.vtk and vecAnim1.vtk from AnimateVectors.cxx](https://discourse.vtk.org/t/locate-carotid-vtk-and-vecanim1-vtk-from-animatevectors-cxx/7977)

<div class="topic-metadata">

**Author:** [@george66s](https://discourse.vtk.org/u/george66s)\
**Replies:** 1\
**Last updated:** [March 4, 2022, 6:28am UTC](https://discourse.vtk.org/t/locate-carotid-vtk-and-vecanim1-vtk-from-animatevectors-cxx/7977 "2022-03-04T06:28:09Z")

</div>

Hi, Can anybody help to locate argument files mentioned in the example AnimateVectors.cxx? Thanks! George

---

## [Change opacity of a single atom in vtkMoleculeMapper](https://discourse.vtk.org/t/change-opacity-of-a-single-atom-in-vtkmoleculemapper/1612)

<div class="topic-metadata">

**Author:** [@Jellby](https://discourse.vtk.org/u/Jellby)\
**Replies:** 5\
**Last updated:** [March 4, 2022, 5:12am UTC](https://discourse.vtk.org/t/change-opacity-of-a-single-atom-in-vtkmoleculemapper/1612 "2022-03-04T05:12:26Z")

</div>

I’m using vtkMolecule, with vtkSimpleBondPerceiver and vtkMoleculeMapper to draw simple molecules. Everything works fine, but I would like to change the opacity (or alpha) of a single or a few selected atoms (and associa…

---

## [How to create my own algorithmfilter in python?](https://discourse.vtk.org/t/how-to-create-my-own-algorithmfilter-in-python/7963)

<div class="topic-metadata">

**Author:** [@xq820063954](https://discourse.vtk.org/u/xq820063954)\
**Replies:** 2\
**Last updated:** [March 4, 2022, 2:07am UTC](https://discourse.vtk.org/t/how-to-create-my-own-algorithmfilter-in-python/7963 "2022-03-04T02:07:59Z")

</div>

Hello Team, I am a beginner and blocked in my research. I kindly need help of anyone here. I’m trying to convert CXX’s AlgorithmFilter sample code to Python. However, I don’t know how vtkNotUsed said in python, is ther…

---

## [Documentation install for Utilities/Doxygen problem wiht 9.1.0](https://discourse.vtk.org/t/documentation-install-for-utilities-doxygen-problem-wiht-9-1-0/7955)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 6\
**Last updated:** [March 3, 2022, 10:20pm UTC](https://discourse.vtk.org/t/documentation-install-for-utilities-doxygen-problem-wiht-9-1-0/7955 "2022-03-03T22:20:09Z")

</div>

I built Vtk version 9.1.0 with Docs on. When I try to do the “make install” everything up to the following point installs, then the install breaks: CMake Error at Utilities/Doxygen/cmake\_install.cmake:80 (file): file …

---

## [VTK grid format/ Boundaries of mesh](https://discourse.vtk.org/t/vtk-grid-format-boundaries-of-mesh/7966)

<div class="topic-metadata">

**Author:** [@omarElsayed](https://discourse.vtk.org/u/omarElsayed)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 12:11pm UTC](https://discourse.vtk.org/t/vtk-grid-format-boundaries-of-mesh/7966 "2022-03-03T12:11:14Z")

</div>

I am trying to create a structured grid using vtk in python. The process is straight forward : create points (as numpy array). create cells as list of indices from the points list. How to add boundaries to the m…

---

## [How to show a polyline with arbitrary width and nice joins between the nodes?](https://discourse.vtk.org/t/how-to-show-a-polyline-with-arbitrary-width-and-nice-joins-between-the-nodes/3316)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 5\
**Last updated:** [March 3, 2022, 12:07pm UTC](https://discourse.vtk.org/t/how-to-show-a-polyline-with-arbitrary-width-and-nice-joins-between-the-nodes/3316 "2022-03-03T12:07:38Z")

</div>

Hi Have a look at the sample below. I’ve got a polyline and want to show that line with an arbitrary width. In the sample, I essentially follow this example to achieve this, for a polyline that I extracted with vtkFe…

---

## [VTKinformation with vector values](https://discourse.vtk.org/t/vtkinformation-with-vector-values/7965)

<div class="topic-metadata">

**Author:** [@naffrancois](https://discourse.vtk.org/u/naffrancois)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 11:57am UTC](https://discourse.vtk.org/t/vtkinformation-with-vector-values/7965 "2022-03-03T11:57:24Z")

</div>

Hello, Could somebody help me using vtkInformationDoubleVectorKey ? I compiled the example given here: https://kitware.github.io/vtk-examples/site/Cxx/PolyData/AttachAttributes/ , works as expected. However I do not qu…

---

## [External vtk 9.0 class with python wrapping (vtkWrapHierarchy)](https://discourse.vtk.org/t/external-vtk-9-0-class-with-python-wrapping-vtkwraphierarchy/4996)

<div class="topic-metadata">

**Author:** [@EMalikova](https://discourse.vtk.org/u/EMalikova)\
**Replies:** 8\
**Last updated:** [March 3, 2022, 9:57am UTC](https://discourse.vtk.org/t/external-vtk-9-0-class-with-python-wrapping-vtkwraphierarchy/4996 "2022-03-03T09:57:39Z")

</div>

Dear vtk users, I am trying to implement the python bindings for vtk class with vtkWrapHierarchy. I use vtk 9.0, compiled from scratch with wrappings tools, python bindings and etc. features enabled. For the first line…

---

## [Some question about using vue-vtkjs-viewport.js to create MPR](https://discourse.vtk.org/t/some-question-about-using-vue-vtkjs-viewport-js-to-create-mpr/7959)

<div class="topic-metadata">

**Author:** [@whxxyhf](https://discourse.vtk.org/u/whxxyhf)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 1:46am UTC](https://discourse.vtk.org/t/some-question-about-using-vue-vtkjs-viewport-js-to-create-mpr/7959 "2022-03-03T01:46:26Z")

</div>

I use the vue-vtkjs-viewport.js to create MPR. When I rotate the axis, the fllowing will appear. The first picture and the second picture are the same face. I think it is wrong. Can you help me?

---

## [Delaunay triangulation](https://discourse.vtk.org/t/delaunay-triangulation/5817)

<div class="topic-metadata">

**Author:** [@jamesnoel](https://discourse.vtk.org/u/jamesnoel)\
**Replies:** 6\
**Last updated:** [March 2, 2022, 4:06pm UTC](https://discourse.vtk.org/t/delaunay-triangulation/5817 "2022-03-02T16:06:20Z")

</div>

I have created multiple parallel splines and would like to create a surface delaunay triangulation inbetween points of neighbouring splines. Now the issue is the delaunay also creates triangles between points on the same…

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

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