# Latest

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

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

**Page:** 113

---

## [GetBounds() fails with NaN points in VTK9](https://discourse.vtk.org/t/getbounds-fails-with-nan-points-in-vtk9/4351)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 10\
**Last updated:** [November 2, 2022, 10:24pm UTC](https://discourse.vtk.org/t/getbounds-fails-with-nan-points-in-vtk9/4351 "2022-11-02T22:24:30Z")

</div>

Did vtkWarpScalar change in the 9.x release of VTK? Take this example dataset: surface.vtp (3.8 MB) import vtk reader = vtk.vtkXMLPolyDataReader() reader.SetFileName("surface.vtp") reader.Update() surface = reader.Get…

---

## [New/Customizable way to load data](https://discourse.vtk.org/t/new-customizable-way-to-load-data/9558)

<div class="topic-metadata">

**Author:** [@alexy.pellegrini](https://discourse.vtk.org/u/alexy.pellegrini)\
**Replies:** 12\
**Last updated:** [November 2, 2022, 1:48pm UTC](https://discourse.vtk.org/t/new-customizable-way-to-load-data/9558 "2022-11-02T13:48:53Z")

</div>

Hi everyone, I’m currently working on a new and more generic way to load data for VTK readers. Current status of data loading in VTK In VTK, all readers have at least the SetFileName. Some of them such as legacy reader…

---

## [How to "append show" in vtk?](https://discourse.vtk.org/t/how-to-append-show-in-vtk/9713)

<div class="topic-metadata">

**Author:** [@herman](https://discourse.vtk.org/u/herman)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 1:54am UTC](https://discourse.vtk.org/t/how-to-append-show-in-vtk/9713 "2022-11-02T01:54:32Z")

</div>

Dear vtk users: I want to render an object. But at this moment, I only have a part data of the object, I want to render this part first, when i get other parts of the object , just need append to render ? I don't know…

---

## [data files from VTKData-9.0.3.tar.gz](https://discourse.vtk.org/t/data-files-from-vtkdata-9-0-3-tar-gz/6407)

<div class="topic-metadata">

**Author:** [@Ricardo\_M\_Picado](https://discourse.vtk.org/u/Ricardo_M_Picado)\
**Replies:** 5\
**Last updated:** [November 1, 2022, 11:56pm UTC](https://discourse.vtk.org/t/data-files-from-vtkdata-9-0-3-tar-gz/6407 "2022-11-01T23:56:08Z")

</div>

Hi, does anyone know how to use files (extension .sha512) from VTKData-9.0.3.tar.gz ? Thanks, Ricardo

---

## [Using itk-vtk-viewer from separate build](https://discourse.vtk.org/t/using-itk-vtk-viewer-from-separate-build/9678)

<div class="topic-metadata">

**Author:** [@ido\_rosenblum](https://discourse.vtk.org/u/ido_rosenblum)\
**Replies:** 3\
**Last updated:** [November 1, 2022, 5:49pm UTC](https://discourse.vtk.org/t/using-itk-vtk-viewer-from-separate-build/9678 "2022-11-01T17:49:02Z")

</div>

i using custom build forking from itk-vtk-viewer repo on github. everything works as expected except for pinch zoom. the event is captured and the data seems to be handled but it doesnt zoom in/out when pinching. when…

---

## [Inconsistency with returned ScalarType in vtkPointData (from vtk 9.0.3 onwards)?](https://discourse.vtk.org/t/inconsistency-with-returned-scalartype-in-vtkpointdata-from-vtk-9-0-3-onwards/9304)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 10:00pm UTC](https://discourse.vtk.org/t/inconsistency-with-returned-scalartype-in-vtkpointdata-from-vtk-9-0-3-onwards/9304 "2022-09-20T22:00:56Z")

</div>

Hello everyone, Does anyone know if by chance something changed in vtkPointData with respect to retrieving its scalars. I’m not quite sure of what I’m observing in my application and would like to get to the bottom of i…

---

## [libvtkInteractionStyle-9.0.so: undefined reference to \`vtkExtractEdges::New()' platform is ubuntu20.04](https://discourse.vtk.org/t/libvtkinteractionstyle-9-0-so-undefined-reference-to-vtkextractedges-new-platform-is-ubuntu20-04/9709)

<div class="topic-metadata">

**Author:** [@carl](https://discourse.vtk.org/u/carl)\
**Replies:** 1\
**Last updated:** [November 1, 2022, 1:01pm UTC](https://discourse.vtk.org/t/libvtkinteractionstyle-9-0-so-undefined-reference-to-vtkextractedges-new-platform-is-ubuntu20-04/9709 "2022-11-01T13:01:11Z")

</div>

in makefile :-L/home/Projects/3rdParty/vtk/lib -lvtkInteractionStyle-9.0 while compiled the project，run into a link error: libvtkInteractionStyle-9.0.so: undefined reference to \`vtkExtractEdges::New()’ btw, platform i…

---

## [VTKImageReslice: Slow performance](https://discourse.vtk.org/t/vtkimagereslice-slow-performance/1281)

<div class="topic-metadata">

**Author:** [@Abhishek\_Gupta](https://discourse.vtk.org/u/Abhishek_Gupta)\
**Replies:** 10\
**Last updated:** [November 1, 2022, 3:21am UTC](https://discourse.vtk.org/t/vtkimagereslice-slow-performance/1281 "2022-11-01T03:21:24Z")

</div>

Hello Group, I am having performance issues while extracting SAGGITAL/CORONAL planes using VTKImageReslice. Each call to VTKImageReslice-\>GetOutput() takes 5-7 ms. The volume used has the following properties: Dimensi…

---

## [Problem with ImageReslice](https://discourse.vtk.org/t/problem-with-imagereslice/9705)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.vtk.org/u/Xoz)\
**Replies:** 5\
**Last updated:** [November 1, 2022, 1:51am UTC](https://discourse.vtk.org/t/problem-with-imagereslice/9705 "2022-11-01T01:51:29Z")

</div>

Hi everyone, I’m working on the resliceCursorWidget demo,and did setColorLevel(1000), setColorWindow(4000) to change color on the property of the vtkImageSlice instance for better look, but when I make a rotation or som…

---

## [How are non-flat polygons converted to triangles for display?](https://discourse.vtk.org/t/how-are-non-flat-polygons-converted-to-triangles-for-display/9694)

<div class="topic-metadata">

**Author:** [@SpareSimian](https://discourse.vtk.org/u/SpareSimian)\
**Replies:** 3\
**Last updated:** [October 31, 2022, 8:55pm UTC](https://discourse.vtk.org/t/how-are-non-flat-polygons-converted-to-triangles-for-display/9694 "2022-10-31T20:55:51Z")

</div>

I’m displaying a stack of vtkQuad like a floating set of sheets of paper, using a vtkPolyData to hold them. Any polygon with more than 3 points might not lie in a plane, of course, and these will likely not, due to the n…

---

## [undefined reference to vtkAOSDataArrayTemplate](https://discourse.vtk.org/t/undefined-reference-to-vtkaosdataarraytemplate/9643)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 4\
**Last updated:** [October 31, 2022, 5:40pm UTC](https://discourse.vtk.org/t/undefined-reference-to-vtkaosdataarraytemplate/9643 "2022-10-31T17:40:32Z")

</div>

I have MSYS2 installed on my Windows 10 box. I’ve installed vtk via pacman with mingw-w64-x86\_64-vtk; this is vtk 9.2.2. I’m using gcc 12.2 and is the only version of gcc that I currently have available in the MSYS2 ins…

---

## [vtkImageData: SetScalarComponentFromDouble do not change GetScalarRange](https://discourse.vtk.org/t/vtkimagedata-setscalarcomponentfromdouble-do-not-change-getscalarrange/9703)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 4:18pm UTC](https://discourse.vtk.org/t/vtkimagedata-setscalarcomponentfromdouble-do-not-change-getscalarrange/9703 "2022-10-31T16:18:32Z")

</div>

For a vtkImageData, I want to modify the scalar using SetScalarComponentFromDouble. But, I find the GetScalarRange do not return the correct result after SetScalarComponentFromDouble. My test code is: import vtkmodules…

---

## [DepthPeeling support](https://discourse.vtk.org/t/depthpeeling-support/8134)

<div class="topic-metadata">

**Author:** [@peeling](https://discourse.vtk.org/u/peeling)\
**Replies:** 9\
**Last updated:** [October 31, 2022, 9:43am UTC](https://discourse.vtk.org/t/depthpeeling-support/8134 "2022-10-31T09:43:05Z")

</div>

Hey, Does vtk.js support DepthPeeling ? I didn’t succed to find anything that say so! I’m planning to use it on a head volume to isolate the brain. If it is not supported, is there an alternative way to do so with Jav…

---

## [Can I pre-allocate a vtkCellArray?](https://discourse.vtk.org/t/can-i-pre-allocate-a-vtkcellarray/9695)

<div class="topic-metadata">

**Author:** [@SpareSimian](https://discourse.vtk.org/u/SpareSimian)\
**Replies:** 2\
**Last updated:** [October 29, 2022, 9:10pm UTC](https://discourse.vtk.org/t/can-i-pre-allocate-a-vtkcellarray/9695 "2022-10-29T21:10:57Z")

</div>

I’m already pre-sizing my vtkPoints array with the number of points I know I’ll need. I know how many cells (vtkQuad for my app) I’ll need so is there a way to optimize my vtkCellArray allocation in the same way? I haven…

---

## [vtkPointSetToLabelHierarchy labels not being displayed](https://discourse.vtk.org/t/vtkpointsettolabelhierarchy-labels-not-being-displayed/9692)

<div class="topic-metadata">

**Author:** [@keesh0](https://discourse.vtk.org/u/keesh0)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 1:45am UTC](https://discourse.vtk.org/t/vtkpointsettolabelhierarchy-labels-not-being-displayed/9692 "2022-10-29T01:45:21Z")

</div>

Hello, I have a nice polygonal anatomical model export to VTP format. Paraview is employed to help visualize the surface model. All is well. I wish to add labels to certain “key points” or possibly specific cells. I…

---

## [Creating text with different colors in single actor](https://discourse.vtk.org/t/creating-text-with-different-colors-in-single-actor/9690)

<div class="topic-metadata">

**Author:** [@leon1122](https://discourse.vtk.org/u/leon1122)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 6:30pm UTC](https://discourse.vtk.org/t/creating-text-with-different-colors-in-single-actor/9690 "2022-10-28T18:30:56Z")

</div>

I am trying to create a text actor using vtkTextActor and vtkTextProperty more or less as shown in this example. Is there any way to make the words “Hello” and “World!” different colors without resorting to putting them …

---

## [How to use HttpDataSetReader to load local .vti files？](https://discourse.vtk.org/t/how-to-use-httpdatasetreader-to-load-local-vti-files/8266)

<div class="topic-metadata">

**Author:** [@zhangzhi93](https://discourse.vtk.org/u/zhangzhi93)\
**Replies:** 6\
**Last updated:** [October 28, 2022, 4:11am UTC](https://discourse.vtk.org/t/how-to-use-httpdatasetreader-to-load-local-vti-files/8266 "2022-10-28T04:11:00Z")

</div>

const reader = vtkHttpDataSetReader.newInstance({ fetchGzip: true, }); reader.setUrl('/3d/headsq.vti', { loadData: true,}).then(() =\> { console.log(reader.getOutputData()) }); This code will throw error: b…

---

## [How to get the real boundary of the model?](https://discourse.vtk.org/t/how-to-get-the-real-boundary-of-the-model/9689)

<div class="topic-metadata">

**Author:** [@claude](https://discourse.vtk.org/u/claude)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 3:45am UTC](https://discourse.vtk.org/t/how-to-get-the-real-boundary-of-the-model/9689 "2022-10-28T03:45:33Z")

</div>

Hi everyone, I’m using vtkFeatureEdges to get model boundaries.Is there any method to eliminate the boundary caused by holes?

---

## [Depth buffer?](https://discourse.vtk.org/t/depth-buffer/9688)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 3:36pm UTC](https://discourse.vtk.org/t/depth-buffer/9688 "2022-10-27T15:36:51Z")

</div>

Does anyone know whether vtk handles a 24 or 32 bit depth buffer? If 24 bits is there a way to change it to 32 bits?

---

## [Python 3.11 Windows - builds and runs OK](https://discourse.vtk.org/t/python-3-11-windows-builds-and-runs-ok/9666)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 8\
**Last updated:** [October 27, 2022, 1:46pm UTC](https://discourse.vtk.org/t/python-3-11-windows-builds-and-runs-ok/9666 "2022-10-27T13:46:25Z")

</div>

I just built VTK (master) with Python 3.11 in Windows with no problems.Thanks to those involved in making sure everything works @ben.boeckel @dgobbi and any others. Also tested using a few VTK Examples. Is it my imaginat…

---

## [Interactive wordcloud](https://discourse.vtk.org/t/interactive-wordcloud/9671)

<div class="topic-metadata">

**Author:** [@Shree\_Lakshmi\_Ramesh](https://discourse.vtk.org/u/Shree_Lakshmi_Ramesh)\
**Replies:** 3\
**Last updated:** [October 27, 2022, 10:49am UTC](https://discourse.vtk.org/t/interactive-wordcloud/9671 "2022-10-27T10:49:07Z")

</div>

Hi I’m trying to create an interactive wordcloud, for eg. clicking the words prints the word or prints all the sentences to which they belong. Is there any way I could achieve this? Thank you

---

## [How to set the fixed width/height for vtkScalarBarActor?](https://discourse.vtk.org/t/how-to-set-the-fixed-width-height-for-vtkscalarbaractor/9676)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [October 27, 2022, 9:42am UTC](https://discourse.vtk.org/t/how-to-set-the-fixed-width-height-for-vtkscalarbaractor/9676 "2022-10-27T09:42:52Z")

</div>

I am using vtkScalarBarActor in my application. However, the width/height of vtkScalarBarActor is changing when the render window is changed. For example: For example, the width of vtkScalarBarActor of second fig…

---

## [What kind of plane can be used as the input of vtkSelectPolyData?](https://discourse.vtk.org/t/what-kind-of-plane-can-be-used-as-the-input-of-vtkselectpolydata/9687)

<div class="topic-metadata">

**Author:** [@claude](https://discourse.vtk.org/u/claude)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 9:41am UTC](https://discourse.vtk.org/t/what-kind-of-plane-can-be-used-as-the-input-of-vtkselectpolydata/9687 "2022-10-27T09:41:34Z")

</div>

Hi , Can plane be used as the input of vtkSelectPolyData? I use vtkPlane as input data of vtkSelectPolyData,but it doesn’t work.What can i do if i want to get an irregular plane from vtkPoints by using vtkSelectPolyData…

---

## [How to read and render the file which format is dae using VTK](https://discourse.vtk.org/t/how-to-read-and-render-the-file-which-format-is-dae-using-vtk/9673)

<div class="topic-metadata">

**Author:** [@zyxgis](https://discourse.vtk.org/u/zyxgis)\
**Replies:** 2\
**Last updated:** [October 27, 2022, 7:08am UTC](https://discourse.vtk.org/t/how-to-read-and-render-the-file-which-format-is-dae-using-vtk/9673 "2022-10-27T07:08:50Z")

</div>

i have a file which format is dae (COLLADA), i want to render it with VTK, but i cannot find the related classes, how to solve the problem?

---

## [VtkImplicitPlaneWidget2: Color bleeding](https://discourse.vtk.org/t/vtkimplicitplanewidget2-color-bleeding/9686)

<div class="topic-metadata">

**Author:** [@Synfony](https://discourse.vtk.org/u/Synfony)\
**Replies:** 0\
**Last updated:** [October 26, 2022, 5:23pm UTC](https://discourse.vtk.org/t/vtkimplicitplanewidget2-color-bleeding/9686 "2022-10-26T17:23:50Z")

</div>

Hi, If I try to move the plane where there is another colored plane color bleeding is happening. As you can see from the image that the implicit plane (the white one) if I move and it gets superimposed on the top an…

---

## [How to use XDMF3 reader in python](https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682)

<div class="topic-metadata">

**Author:** [@RemDelaporteMathurin](https://discourse.vtk.org/u/RemDelaporteMathurin)\
**Replies:** 1\
**Last updated:** [October 26, 2022, 1:21pm UTC](https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682 "2022-10-26T13:21:31Z")

</div>

Hi all, We are trying to include an XDMF3 reader in pyvista, however we can’t find a way to import xdmf3 from vtkmodules, only xdmf2 from vtkmodules.vtkIOXdmf2 import vtkXdmfReader The following doesn’t work: from vt…

---

## [How do I combine a slice image into a volume image after a paint (segmentation) operation?](https://discourse.vtk.org/t/how-do-i-combine-a-slice-image-into-a-volume-image-after-a-paint-segmentation-operation/9495)

<div class="topic-metadata">

**Author:** [@YHJ](https://discourse.vtk.org/u/YHJ)\
**Replies:** 4\
**Last updated:** [October 26, 2022, 5:55am UTC](https://discourse.vtk.org/t/how-do-i-combine-a-slice-image-into-a-volume-image-after-a-paint-segmentation-operation/9495 "2022-10-26T05:55:24Z")

</div>

Hello. I would like to check the area painted in the Volume Image after the Paint (For Segmentation) in the Slice Image. Are there any examples or methods related to this? I found https://react-vtkjs-viewport.netlife.…

---

## [how to export table data into excel](https://discourse.vtk.org/t/how-to-export-table-data-into-excel/9669)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 2\
**Last updated:** [October 26, 2022, 2:31am UTC](https://discourse.vtk.org/t/how-to-export-table-data-into-excel/9669 "2022-10-26T02:31:52Z")

</div>

Hi . I want to export table data into excel file . can anyone plz help . with vtk (c++)

---

## [The New Volumetric Rendering is Beautiful (Also Happy Halloween)](https://discourse.vtk.org/t/the-new-volumetric-rendering-is-beautiful-also-happy-halloween/9675)

<div class="topic-metadata">

**Author:** [@fraseyboo](https://discourse.vtk.org/u/fraseyboo)\
**Replies:** 6\
**Last updated:** [October 25, 2022, 5:37pm UTC](https://discourse.vtk.org/t/the-new-volumetric-rendering-is-beautiful-also-happy-halloween/9675 "2022-10-25T17:37:15Z")

</div>

So this isn’t really a support post but I just wanted to say how impressive the volumetric rendering is now, the effort you guys put into visual effects like PBR & SSAO is really impressive and has helped me make some re…

---

## [ANN: Word Clouds in the VTKExamples Project](https://discourse.vtk.org/t/ann-word-clouds-in-the-vtkexamples-project/952)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 1\
**Last updated:** [October 25, 2022, 9:45am UTC](https://discourse.vtk.org/t/ann-word-clouds-in-the-vtkexamples-project/952 "2022-10-25T09:45:03Z")

</div>

Folks, I’ve added a new example called WordCloud in the VTKExamples Project’s InfoVis directory. Word clouds!\[bill|690x431\] are an information visualization technique that display words with sizes corresponding to the …

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

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