# Latest

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

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

**Page:** 126

---

## [vtkLineIntegralConvolution2D](https://discourse.vtk.org/t/vtklineintegralconvolution2d/8926)

<div class="topic-metadata">

**Author:** [@s195t](https://discourse.vtk.org/u/s195t)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 11:32am UTC](https://discourse.vtk.org/t/vtklineintegralconvolution2d/8926 "2022-07-11T11:32:30Z")

</div>

Dear everyone, I am trying to render/screenshot/export some LIC on a vtk object of a plane, apparently the vtkLineIntegralConvolution2D should do the trick. However even looking in the examples/LIC/Python folder on the …

---

## [Is there a bug in vtkAreaPicker.cxx](https://discourse.vtk.org/t/is-there-a-bug-in-vtkareapicker-cxx/8924)

<div class="topic-metadata">

**Author:** [@jialinwang](https://discourse.vtk.org/u/jialinwang)\
**Replies:** 0\
**Last updated:** [July 11, 2022, 9:17am UTC](https://discourse.vtk.org/t/is-there-a-bug-in-vtkareapicker-cxx/8924 "2022-07-11T09:17:52Z")

</div>

void vtkAreaPicker::DefineFrustum(double x0, double y0, double x1, double y1, vtkRenderer\* renderer) { this-\>X0 = (x0 \< x1) ? x0 : x1; this-\>Y0 = (y0 \< y1) ? y0 : y1; this-\>X1 = (x0 \> x1) ? x0 : x1; this-\>Y1 = (y0 \> …

---

## [Compilation related issues, especially on mac m1 devices](https://discourse.vtk.org/t/compilation-related-issues-especially-on-mac-m1-devices/8855)

<div class="topic-metadata">

**Author:** [@edwardAllen](https://discourse.vtk.org/u/edwardAllen)\
**Replies:** 6\
**Last updated:** [July 11, 2022, 8:32am UTC](https://discourse.vtk.org/t/compilation-related-issues-especially-on-mac-m1-devices/8855 "2022-07-11T08:32:43Z")

</div>

I am trying to compiling this project on mac m1 pro device , and there are some problems I had encountered. 1 If I want build vtkExternalOpenglRenderWindow, I need to change CMakeCache.txt file to make some option abou…

---

## [When to upgrade vtk.js version to V22.0.2? .Optional chain error](https://discourse.vtk.org/t/when-to-upgrade-vtk-js-version-to-v22-0-2-optional-chain-error/8818)

<div class="topic-metadata">

**Author:** [@thisKing](https://discourse.vtk.org/u/thisKing)\
**Replies:** 4\
**Last updated:** [July 11, 2022, 7:00am UTC](https://discourse.vtk.org/t/when-to-upgrade-vtk-js-version-to-v22-0-2-optional-chain-error/8818 "2022-07-11T07:00:55Z")

</div>

I am using a project developed by VUE, I am using? No problem… But upgrade to vkt.js 22.0.2 tips? Error.

---

## [VTK Dashboards are clean !](https://discourse.vtk.org/t/vtk-dashboards-are-clean/8902)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 1:11pm UTC](https://discourse.vtk.org/t/vtk-dashboards-are-clean/8902 "2022-07-07T13:11:40Z")

</div>

Thanks to a huge effort from all VTK developpers, VTK dashboards (for merge requests) are officially cleaned up as of today ! Let’s keep it that way :slight\_smile: The CI process is now fully documented here, a mu…

---

## [Crash when starting vtkRenderer](https://discourse.vtk.org/t/crash-when-starting-vtkrenderer/8851)

<div class="topic-metadata">

**Author:** [@Stuart\_Brorson](https://discourse.vtk.org/u/Stuart_Brorson)\
**Replies:** 5\
**Last updated:** [July 10, 2022, 1:42pm UTC](https://discourse.vtk.org/t/crash-when-starting-vtkrenderer/8851 "2022-07-10T13:42:55Z")

</div>

Hello, I am working on a program which computes a particular polynomial in the complex plane, then uses VTK to make a colorized 2D plot of the polynomial. My program is written in C++ and uses VTK-9.X for visualizat…

---

## [How do I get a 2D Boolean?](https://discourse.vtk.org/t/how-do-i-get-a-2d-boolean/8896)

<div class="topic-metadata">

**Author:** [@ldk7972](https://discourse.vtk.org/u/ldk7972)\
**Replies:** 1\
**Last updated:** [July 9, 2022, 10:00pm UTC](https://discourse.vtk.org/t/how-do-i-get-a-2d-boolean/8896 "2022-07-09T22:00:47Z")

</div>

hi. I created a polygon using vtkPoints. And we want to make it a boolean. What should I do? I guess vtkBooleanOperationPolyDataFilter doesn’t work.

---

## [I want to union 2D polygons.](https://discourse.vtk.org/t/i-want-to-union-2d-polygons/8912)

<div class="topic-metadata">

**Author:** [@ldk7972](https://discourse.vtk.org/u/ldk7972)\
**Replies:** 0\
**Last updated:** [July 9, 2022, 8:47am UTC](https://discourse.vtk.org/t/i-want-to-union-2d-polygons/8912 "2022-07-09T08:47:30Z")

</div>

I want to union 2D polygons. What should I do? first. I want to merge two circles. please. help me.

---

## [Crashed on vtkOpenGLFramebufferObject::PopulateFramebuffer function](https://discourse.vtk.org/t/crashed-on-vtkopenglframebufferobject-populateframebuffer-function/8911)

<div class="topic-metadata">

**Author:** [@edwardAllen](https://discourse.vtk.org/u/edwardAllen)\
**Replies:** 8\
**Last updated:** [July 8, 2022, 8:26am UTC](https://discourse.vtk.org/t/crashed-on-vtkopenglframebufferobject-populateframebuffer-function/8911 "2022-07-08T08:26:40Z")

</div>

The whole code is build for Qt 6.x and Vtk 9.2 , and it crashed in function vtkOpenGLFramebufferObject::PopulateFramebuffer – \> vtkOpenGLFramebufferObject::Bind() → vtkOpenGLFramebufferObject::CreateFBO → glGenFrameb…

---

## [VTK Examples - Updated Physically Based Rendering (PBR) examples](https://discourse.vtk.org/t/vtk-examples-updated-physically-based-rendering-pbr-examples/8879)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 17\
**Last updated:** [July 8, 2022, 1:56am UTC](https://discourse.vtk.org/t/vtk-examples-updated-physically-based-rendering-pbr-examples/8879 "2022-07-08T01:56:31Z")

</div>

The PBR examples have been extensively re-worked and will be much easier to use, the major changes are: Sliders to manipulate the various parameters are now provided in the left-hand viewport. A major change is the mov…

---

## [vtkLoopSubdivisionFilter doesn't work properly](https://discourse.vtk.org/t/vtkloopsubdivisionfilter-doesnt-work-properly/8893)

<div class="topic-metadata">

**Author:** [@esmitt](https://discourse.vtk.org/u/esmitt)\
**Replies:** 6\
**Last updated:** [July 7, 2022, 11:52pm UTC](https://discourse.vtk.org/t/vtkloopsubdivisionfilter-doesnt-work-properly/8893 "2022-07-07T23:52:34Z")

</div>

Hello! this is my first post due that I am having a problem: I am using this example: https://kitware.github.io/vtk-examples/site/Cxx/Meshes/Subdivision/ replacing my OBJ file (a simple one based on triangles, vertex, …

---

## [Howto wrap a class that does not subclass vtkObject](https://discourse.vtk.org/t/howto-wrap-a-class-that-does-not-subclass-vtkobject/8889)

<div class="topic-metadata">

**Author:** [@jensgw](https://discourse.vtk.org/u/jensgw)\
**Replies:** 12\
**Last updated:** [July 7, 2022, 5:11pm UTC](https://discourse.vtk.org/t/howto-wrap-a-class-that-does-not-subclass-vtkobject/8889 "2022-07-07T17:11:15Z")

</div>

Hi there, as far as I can tell, subclassing from vtkObject automatically includes the class in the wrapping process. How do you tell the wrapper to also include additional classes that do not subclass vtkObject? Best …

---

## [Adding multiple hexahedrons using a single actor/renderer in QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/adding-multiple-hexahedrons-using-a-single-actor-renderer-in-qvtkopenglnativewidget/8909)

<div class="topic-metadata">

**Author:** [@ujjwala](https://discourse.vtk.org/u/ujjwala)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 3:36pm UTC](https://discourse.vtk.org/t/adding-multiple-hexahedrons-using-a-single-actor-renderer-in-qvtkopenglnativewidget/8909 "2022-07-07T15:36:27Z")

</div>

Hi, I’m new to VTK. I’m trying to add multiple cubes/hexahedrons using a single actor and single renderer. The issue I’m running into is that if I have just one polygon in my list the hexahedron is rendered correctly. W…

---

## [ResliceCursorWidget does not operate the cross selector normally on the mobile touch screen](https://discourse.vtk.org/t/reslicecursorwidget-does-not-operate-the-cross-selector-normally-on-the-mobile-touch-screen/8743)

<div class="topic-metadata">

**Author:** [@zhangzhi93](https://discourse.vtk.org/u/zhangzhi93)\
**Replies:** 7\
**Last updated:** [July 7, 2022, 2:37pm UTC](https://discourse.vtk.org/t/reslicecursorwidget-does-not-operate-the-cross-selector-normally-on-the-mobile-touch-screen/8743 "2022-07-07T14:37:31Z")

</div>

ResliceCursorWidget cannot operate the cross selector normally on the touch screen of the mobile terminal, and the moving sphere and rotating sphere of the cross selector cannot be selected

---

## [VTK generate document failed](https://discourse.vtk.org/t/vtk-generate-document-failed/8898)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 2:35pm UTC](https://discourse.vtk.org/t/vtk-generate-document-failed/8898 "2022-07-07T14:35:13Z")

</div>

I want to generate document for VTK, and I turn VTK\_BUILD\_DOCUMENTATION ON. The building is OK, but bug is reported when I want to install it: 107\>CMake Error at Utilities/Doxygen/cmake\_install.cmake:70 (file): 107\> f…

---

## [Getting blue slice instead of grayscale vtkCutter](https://discourse.vtk.org/t/getting-blue-slice-instead-of-grayscale-vtkcutter/8903)

<div class="topic-metadata">

**Author:** [@olry](https://discourse.vtk.org/u/olry)\
**Replies:** 0\
**Last updated:** [July 7, 2022, 1:26pm UTC](https://discourse.vtk.org/t/getting-blue-slice-instead-of-grayscale-vtkcutter/8903 "2022-07-07T13:26:19Z")

</div>

Hi everyone! I’m reading uint16 numpy array using vtkImageImport and them try to cut one slice from this volume but I get a blue image only, whreas the volume is rendered in grayscale as needed. Could anyone please sugg…

---

## [vtk Delaunay2D is too expensive, how can i accelerate](https://discourse.vtk.org/t/vtk-delaunay2d-is-too-expensive-how-can-i-accelerate/8887)

<div class="topic-metadata">

**Author:** [@zzusunquan](https://discourse.vtk.org/u/zzusunquan)\
**Replies:** 5\
**Last updated:** [July 7, 2022, 7:45am UTC](https://discourse.vtk.org/t/vtk-delaunay2d-is-too-expensive-how-can-i-accelerate/8887 "2022-07-07T07:45:05Z")

</div>

I use the following code // \_pd is a vtkPolyData object only with points // the code is c# var delaunay = vtkDelaunay2D.New(); delaunay.SetTolerance(0.001); delaunay.SetInput(\_pd); delaunay.Update(); the above code …

---

## [\[vtk.js\] show same plane for images with different spacing, origin and orientation.](https://discourse.vtk.org/t/vtk-js-show-same-plane-for-images-with-different-spacing-origin-and-orientation/8831)

<div class="topic-metadata">

**Author:** [@Manje\_Brinkhuis](https://discourse.vtk.org/u/Manje_Brinkhuis)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 9:05pm UTC](https://discourse.vtk.org/t/vtk-js-show-same-plane-for-images-with-different-spacing-origin-and-orientation/8831 "2022-07-06T21:05:11Z")

</div>

Using vtk.js I’m trying to display (in two separate viewports) two nfiti images (reading using cornerstone-nifti-image-loader) that are coregistered, but have different voxel spacings and dimensions (256x256x256 vs 160x…

---

## [surface rendering artifacts](https://discourse.vtk.org/t/surface-rendering-artifacts/8875)

<div class="topic-metadata">

**Author:** [@Dean](https://discourse.vtk.org/u/Dean)\
**Replies:** 3\
**Last updated:** [July 6, 2022, 5:32pm UTC](https://discourse.vtk.org/t/surface-rendering-artifacts/8875 "2022-07-06T17:32:04Z")

</div>

I am working on transitioning legacy VTK code (5.6) to 9.1+ and am encountering rendering artifacts when visualizing a triangulated, mostly flat, 3D surface. The artifact does not occur with our legacy code but does w…

---

## [VTK download page confusing](https://discourse.vtk.org/t/vtk-download-page-confusing/8890)

<div class="topic-metadata">

**Author:** [@acbauer](https://discourse.vtk.org/u/acbauer)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 2:07pm UTC](https://discourse.vtk.org/t/vtk-download-page-confusing/8890 "2022-07-06T14:07:18Z")

</div>

I’m looking at the VTK download page (https://vtk.org/download/) and think it’s a bit confusing. I think we’re currently in the release candidate stage for v9.2.0 but the download page lists 9.2.0 as the latest release. …

---

## [Linear Algebra Application with VTK: Warps and Morphs](https://discourse.vtk.org/t/linear-algebra-application-with-vtk-warps-and-morphs/8880)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.vtk.org/u/Freya_the_Goddess)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 11:57am UTC](https://discourse.vtk.org/t/linear-algebra-application-with-vtk-warps-and-morphs/8880 "2022-07-06T11:57:58Z")

</div>

Hi all, I am reading Linear Algebra book and I am wondering, is VTK capable of doing warps and morphs? The example is attached (a picture of a projection how someone will get old). Anyone ever done similar thing here? …

---

## [vtk Insertnextcell is too expensive](https://discourse.vtk.org/t/vtk-insertnextcell-is-too-expensive/8866)

<div class="topic-metadata">

**Author:** [@zzusunquan](https://discourse.vtk.org/u/zzusunquan)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 10:21am UTC](https://discourse.vtk.org/t/vtk-insertnextcell-is-too-expensive/8866 "2022-07-06T10:21:39Z")

</div>

// cell\_x the triangle vertex index x // cell\_y the triangle vertex index y // cell\_z the triangle vertex index z // \_ptCellArray is a vtkCellArray object // the code is c# for(int i = 0; i \< cellNum; i++)…

---

## [rpc example](https://discourse.vtk.org/t/rpc-example/8882)

<div class="topic-metadata">

**Author:** [@szm](https://discourse.vtk.org/u/szm)\
**Replies:** 1\
**Last updated:** [July 6, 2022, 10:08am UTC](https://discourse.vtk.org/t/rpc-example/8882 "2022-07-06T10:08:07Z")

</div>

Are there any examples about how to use rpc (remote procedure call) in both client side and server side of a remote rendering? Thanks in advance.

---

## [a compilation error and fix to submit](https://discourse.vtk.org/t/a-compilation-error-and-fix-to-submit/8848)

<div class="topic-metadata">

**Author:** [@gzt036](https://discourse.vtk.org/u/gzt036)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 9:08pm UTC](https://discourse.vtk.org/t/a-compilation-error-and-fix-to-submit/8848 "2022-07-05T21:08:33Z")

</div>

The one liner below in CubeAxesActor.js is causing compilation error when duplicated. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.g…

---

## [How to rename a plot after adding it to a chart](https://discourse.vtk.org/t/how-to-rename-a-plot-after-adding-it-to-a-chart/8873)

<div class="topic-metadata">

**Author:** [@manatee](https://discourse.vtk.org/u/manatee)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 2:08pm UTC](https://discourse.vtk.org/t/how-to-rename-a-plot-after-adding-it-to-a-chart/8873 "2022-07-05T14:08:39Z")

</div>

Hi all, I’m trying to rename a plot after it has been added to a chart. How can this be done? I tried changing the underlying vtkFloatArray name, but this produces no name change and the error vtkPlotPoints: No Y column…

---

## [Plotting in VTK: vtkXYPlotActor and vtkBarChartActor vs vtkChart](https://discourse.vtk.org/t/plotting-in-vtk-vtkxyplotactor-and-vtkbarchartactor-vs-vtkchart/8861)

<div class="topic-metadata">

**Author:** [@spencermanwell](https://discourse.vtk.org/u/spencermanwell)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 3:41pm UTC](https://discourse.vtk.org/t/plotting-in-vtk-vtkxyplotactor-and-vtkbarchartactor-vs-vtkchart/8861 "2022-07-04T15:41:28Z")

</div>

I am hoping to get some guidance on the different pipeline options for plotting in VTK. I have some familiarity generating plots by creation of an vtkXYPlotActor, but it’s usage is not abstract enough as I would like to …

---

## [Read Raw files and create vtkimagedata](https://discourse.vtk.org/t/read-raw-files-and-create-vtkimagedata/8869)

<div class="topic-metadata">

**Author:** [@mdeepakcdac](https://discourse.vtk.org/u/mdeepakcdac)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 12:26pm UTC](https://discourse.vtk.org/t/read-raw-files-and-create-vtkimagedata/8869 "2022-07-05T12:26:49Z")

</div>

How can i read raw data files from folder and convert it to the vtkimagedata format. I need to read the raw data files from the folder and do some filters on it and finally need to render it. its dimension 1024 x 1024 a…

---

## [is there any document for vtkAssembly in vtk.js](https://discourse.vtk.org/t/is-there-any-document-for-vtkassembly-in-vtk-js/8847)

<div class="topic-metadata">

**Author:** [@gzt036](https://discourse.vtk.org/u/gzt036)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 10:29am UTC](https://discourse.vtk.org/t/is-there-any-document-for-vtkassembly-in-vtk-js/8847 "2022-07-05T10:29:10Z")

</div>

cannot find related information searching vtk.js API or example pages.

---

## [How to realize this feature in VTK](https://discourse.vtk.org/t/how-to-realize-this-feature-in-vtk/8825)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 8\
**Last updated:** [July 5, 2022, 9:22am UTC](https://discourse.vtk.org/t/how-to-realize-this-feature-in-vtk/8825 "2022-07-05T09:22:09Z")

</div>

The power is inside of the car, but it can be saw, I can sure it doesn’t use transparent method, how to do in VTK? \< \< Picture removed according to original author desire \> \>

---

## [physics based rendering brightness](https://discourse.vtk.org/t/physics-based-rendering-brightness/8858)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 5\
**Last updated:** [July 4, 2022, 10:32am UTC](https://discourse.vtk.org/t/physics-based-rendering-brightness/8858 "2022-07-04T10:32:28Z")

</div>

I’m experimenting with PBR, and notice that the model appears significantly less bright compared to the default gouraud interpolation. Is my only option to add more lights? The (default) value of the light intensi…

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

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