# Latest

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

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

**Page:** 128

---

## [Documentation about reading and understanding CI results](https://discourse.vtk.org/t/documentation-about-reading-and-understanding-ci-results/8736)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 2:39pm UTC](https://discourse.vtk.org/t/documentation-about-reading-and-understanding-ci-results/8736 "2022-06-24T14:39:46Z")

</div>

A complete documentation about reading and understanding VTK GitLab CI and CDash results has just been merged in VTK. You may want to take a look ! https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/dev/git…

---

## [MouseRangeManipulator swipe issue in touchscreen devices](https://discourse.vtk.org/t/mouserangemanipulator-swipe-issue-in-touchscreen-devices/8754)

<div class="topic-metadata">

**Author:** [@zhangzhi93](https://discourse.vtk.org/u/zhangzhi93)\
**Replies:** 3\
**Last updated:** [June 24, 2022, 12:45am UTC](https://discourse.vtk.org/t/mouserangemanipulator-swipe-issue-in-touchscreen-devices/8754 "2022-06-24T00:45:57Z")

</div>

Hello, when I use the MouseRangeManipulator to change the window width/window level in a touch screen device, after the sliding ends, the sliding again, the value is not continuously changed, the initial value will be re…

---

## [vtkCalculator on a Volume](https://discourse.vtk.org/t/vtkcalculator-on-a-volume/8578)

<div class="topic-metadata">

**Author:** [@millerjammer](https://discourse.vtk.org/u/millerjammer)\
**Replies:** 5\
**Last updated:** [June 23, 2022, 11:06pm UTC](https://discourse.vtk.org/t/vtkcalculator-on-a-volume/8578 "2022-06-23T23:06:38Z")

</div>

I’m new to vtk.js but making progress. I ultimately want to compare two volumes and I’ve found vtkCalculator and it’s example as a useful starting place for Planes but having trouble extending it to a Volume. I think i…

---

## [Is it possible to draw vtkPolygon in JS?](https://discourse.vtk.org/t/is-it-possible-to-draw-vtkpolygon-in-js/8788)

<div class="topic-metadata">

**Author:** [@USMANHEART](https://discourse.vtk.org/u/USMANHEART)\
**Replies:** 2\
**Last updated:** [June 23, 2022, 2:35pm UTC](https://discourse.vtk.org/t/is-it-possible-to-draw-vtkpolygon-in-js/8788 "2022-06-23T14:35:01Z")

</div>

Hi, I am using vtk in my Python (for backend) and NPM for front-end. I have pre calculated vertices, triangles (faces), normals, uvs and textures. I can do all normal in vtk for Python. But it seems like lack of docu…

---

## [The corners of the rectangle are not good.](https://discourse.vtk.org/t/the-corners-of-the-rectangle-are-not-good/8779)

<div class="topic-metadata">

**Author:** [@ldk7972](https://discourse.vtk.org/u/ldk7972)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 11:30pm UTC](https://discourse.vtk.org/t/the-corners-of-the-rectangle-are-not-good/8779 "2022-06-22T23:30:35Z")

</div>

m\_pvtkDicomImageReader-\>SetFileName(“D:\\XRay3.dcm”); m\_pvtkDicomImageReader-\>Update(); m\_pvtkImageViewer-\>SetInputConnection(m\_pvtkDicomImageReader-\>GetOutputPort()); CStatic\* pctrlPicture = (CStatic\*)GetDlgItem(ID…

---

## [Is it possible to add a cone actor together with a volume actor](https://discourse.vtk.org/t/is-it-possible-to-add-a-cone-actor-together-with-a-volume-actor/8781)

<div class="topic-metadata">

**Author:** [@gzt036](https://discourse.vtk.org/u/gzt036)\
**Replies:** 4\
**Last updated:** [June 22, 2022, 9:39pm UTC](https://discourse.vtk.org/t/is-it-possible-to-add-a-cone-actor-together-with-a-volume-actor/8781 "2022-06-22T21:39:06Z")

</div>

const actor = imageDataToVol3D(image\_data\_obj); const actor\_cone = vtkActor.newInstance(); actor\_cone.setMapper(mapper\_cone); renderer.addActor(actor); renderer.addActor(actor\_cone); If I enable both addActor() ca…

---

## [How to use vtkImplicitFunction.SetTransform()?](https://discourse.vtk.org/t/how-to-use-vtkimplicitfunction-settransform/8785)

<div class="topic-metadata">

**Author:** [@MJJ](https://discourse.vtk.org/u/MJJ)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 4:38pm UTC](https://discourse.vtk.org/t/how-to-use-vtkimplicitfunction-settransform/8785 "2022-06-22T16:38:35Z")

</div>

I have a vtkBox with a transform set. However, the transform never seems to be applied to the input points. Here is the code so you can see for yourself: import vtk box\_origin = \[420, 69, 420.69\] T = vtk.vtkTransform…

---

## [FixedPoint volume rendering does not work](https://discourse.vtk.org/t/fixedpoint-volume-rendering-does-not-work/8772)

<div class="topic-metadata">

**Author:** [@Frank\_Gao](https://discourse.vtk.org/u/Frank_Gao)\
**Replies:** 4\
**Last updated:** [June 22, 2022, 5:01pm UTC](https://discourse.vtk.org/t/fixedpoint-volume-rendering-does-not-work/8772 "2022-06-22T17:01:16Z")

</div>

Hello, I am trying to run my application usgin GPUOpenGLRayCastMapper, it just crashed. So I think maybe I can use vtkFixedPointVolumeRayCastMapper. Then another problem. vtkFixedPointVolumeRayCastMapper has a member o…

---

## [How to add vtkImageSlice for addActor](https://discourse.vtk.org/t/how-to-add-vtkimageslice-for-addactor/8778)

<div class="topic-metadata">

**Author:** [@henry.min](https://discourse.vtk.org/u/henry.min)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 3:07pm UTC](https://discourse.vtk.org/t/how-to-add-vtkimageslice-for-addactor/8778 "2022-06-22T15:07:48Z")

</div>

Hello, i’m beginer vtk.js using 24.18.7 I tried to convert a 2D image to 3D as in your MultiSliceImageMapper example const renderer = fullScreenRenderWindow.getRenderer(); const imageActorI = vtkImageSlice.newInstance(…

---

## [\[RemoteView\] Does VTK remoteview support dynamic input source?](https://discourse.vtk.org/t/remoteview-does-vtk-remoteview-support-dynamic-input-source/8722)

<div class="topic-metadata">

**Author:** [@Albers\_Steven](https://discourse.vtk.org/u/Albers_Steven)\
**Replies:** 6\
**Last updated:** [June 22, 2022, 2:17pm UTC](https://discourse.vtk.org/t/remoteview-does-vtk-remoteview-support-dynamic-input-source/8722 "2022-06-22T14:17:24Z")

</div>

Like this example RemoteView, I see python start a server but source is static, is there any possibility to accpet a input file url from front-end and in front-end web view you can use some function like clip or change r…

---

## [Place the splineWidget to complete the judgment](https://discourse.vtk.org/t/place-the-splinewidget-to-complete-the-judgment/8782)

<div class="topic-metadata">

**Author:** [@654545342](https://discourse.vtk.org/u/654545342)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 1:47pm UTC](https://discourse.vtk.org/t/place-the-splinewidget-to-complete-the-judgment/8782 "2022-06-22T13:47:18Z")

</div>

How can I tell that the widget placement is done with an indeterminate number of handles like splineWidget. distanceWidget can be judged by the length of handleList.

---

## [vtkAttributeSmoothingFilter](https://discourse.vtk.org/t/vtkattributesmoothingfilter/8783)

<div class="topic-metadata">

**Author:** [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 1:27pm UTC](https://discourse.vtk.org/t/vtkattributesmoothingfilter/8783 "2022-06-22T13:27:16Z")

</div>

FYI- This might be of interest to some folks, and it could be a nice addition to ParaView: I just merged a new filter that smooths point attribute data. There are several VTK filters that smooth mesh geometry, but this …

---

## [How to close corners with tubefilter ?](https://discourse.vtk.org/t/how-to-close-corners-with-tubefilter/8769)

<div class="topic-metadata">

**Author:** [@Javi-r](https://discourse.vtk.org/u/Javi-r)\
**Replies:** 6\
**Last updated:** [June 22, 2022, 9:44am UTC](https://discourse.vtk.org/t/how-to-close-corners-with-tubefilter/8769 "2022-06-22T09:44:58Z")

</div>

How can I close the corners of the TubeFilter generated with vtkCutter ? const cutter = vtkCutter.newInstance(); cutter.setCutFunction(cutPlane); cutter.setInputConnection(cube.getOutputPort()); const tubeFilter = vt…

---

## [ClipPolydata with points that are all around the polydata](https://discourse.vtk.org/t/clippolydata-with-points-that-are-all-around-the-polydata/5337)

<div class="topic-metadata">

**Author:** [@Beheshtian](https://discourse.vtk.org/u/Beheshtian)\
**Replies:** 9\
**Last updated:** [June 22, 2022, 4:47am UTC](https://discourse.vtk.org/t/clippolydata-with-points-that-are-all-around-the-polydata/5337 "2022-06-22T04:47:39Z")

</div>

Hi All, I need to clip a polydata with some points. I used SelectPolydata but sometimes it doesn’t work because of the “can not follow edge” error (see code blew). loop = vtk.vtkSelectPolyData() loop.SetInputDa…

---

## [Spline to clip a polydata](https://discourse.vtk.org/t/spline-to-clip-a-polydata/1542)

<div class="topic-metadata">

**Author:** [@bassfaye](https://discourse.vtk.org/u/bassfaye)\
**Replies:** 8\
**Last updated:** [March 8, 2022, 8:13pm UTC](https://discourse.vtk.org/t/spline-to-clip-a-polydata/1542 "2022-03-08T20:13:34Z")

</div>

Hello, I choose some points in a polydata. With these points, I want to create a spline (closed) on the surface of the polydata in order to clip it in two parts. How can I do to create that spline? I have seen vtkOrien…

---

## [Why is the circle divided into 4 pieces?](https://discourse.vtk.org/t/why-is-the-circle-divided-into-4-pieces/8776)

<div class="topic-metadata">

**Author:** [@ldk7972](https://discourse.vtk.org/u/ldk7972)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 4:41am UTC](https://discourse.vtk.org/t/why-is-the-circle-divided-into-4-pieces/8776 "2022-06-22T04:41:17Z")

</div>

vtkNew\<vtkRenderWindowInteractor\> Interactor; m\_pvtkImageViewer-\>SetupInteractor(Interactor); vtkNew\<vtkRegularPolygonSource\> polygonSource; polygonSource-\>SetNumberOfSides(360); polygonSource-\>SetRadius(20); polygon…

---

## [Display problem with ColorTransferFunction](https://discourse.vtk.org/t/display-problem-with-colortransferfunction/8762)

<div class="topic-metadata">

**Author:** [@zrxiaojie](https://discourse.vtk.org/u/zrxiaojie)\
**Replies:** 10\
**Last updated:** [June 22, 2022, 2:21am UTC](https://discourse.vtk.org/t/display-problem-with-colortransferfunction/8762 "2022-06-22T02:21:14Z")

</div>

Hi, when I try the PaintWidge Example, I want to add more than one point of vtkColorTransferFunction which means label “1” will be gray and label “2” will be red for example. labelMap.cfun.addRGBPoint(1, 1, 1, 1); // la…

---

## [Render to a GPU buffer, and then use this buffer as a texture on another actor.](https://discourse.vtk.org/t/render-to-a-gpu-buffer-and-then-use-this-buffer-as-a-texture-on-another-actor/8775)

<div class="topic-metadata">

**Author:** [@ltylight](https://discourse.vtk.org/u/ltylight)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 2:17am UTC](https://discourse.vtk.org/t/render-to-a-gpu-buffer-and-then-use-this-buffer-as-a-texture-on-another-actor/8775 "2022-06-22T02:17:54Z")

</div>

Have the same problem just like this post. https://discourse.vtk.org/t/render-to-texture-and-then-use-this-texture-on-another-actor/2667 Render to a texture, and then use this texture on another actor. We can use vtkW…

---

## [vtkFlyingEdges2D generates scaled contours](https://discourse.vtk.org/t/vtkflyingedges2d-generates-scaled-contours/8766)

<div class="topic-metadata">

**Author:** [@xxyyy159](https://discourse.vtk.org/u/xxyyy159)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 1:23am UTC](https://discourse.vtk.org/t/vtkflyingedges2d-generates-scaled-contours/8766 "2022-06-22T01:23:29Z")

</div>

Hi all, I’m implementing vtkFlyingEdges2D to a CT image to generate a contour of the bone. But the output of vtkFlyingEdges2D has been scaled to a level of 1.2x. I post the result below. bounds of contour \>\> 69.9951…

---

## [vtkMath::Jacobi: error extracting eigenfunctions while using vtkOBBTree](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-while-using-vtkobbtree/8773)

<div class="topic-metadata">

**Author:** [@adeelz92](https://discourse.vtk.org/u/adeelz92)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 12:43am UTC](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-while-using-vtkobbtree/8773 "2022-06-22T00:43:43Z")

</div>

Hi, I am using vtkVortexCore filter to extract vortex core lines from the input polydata. After that I am using vtkConnectivityFilter to separate each polyline into its own polydata. After that I am using vtkOBBTree to …

---

## [how to rotate the camera like it does in the video](https://discourse.vtk.org/t/how-to-rotate-the-camera-like-it-does-in-the-video/8707)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 7\
**Last updated:** [June 22, 2022, 12:41am UTC](https://discourse.vtk.org/t/how-to-rotate-the-camera-like-it-does-in-the-video/8707 "2022-06-22T00:41:12Z")

</div>

Hello, everyone, how to rotate the camera like it does in the vedio?

---

## [Prevent symbols from being only local to the library?](https://discourse.vtk.org/t/prevent-symbols-from-being-only-local-to-the-library/8752)

<div class="topic-metadata">

**Author:** [@jrobcary](https://discourse.vtk.org/u/jrobcary)\
**Replies:** 4\
**Last updated:** [June 21, 2022, 10:05pm UTC](https://discourse.vtk.org/t/prevent-symbols-from-being-only-local-to-the-library/8752 "2022-06-21T22:05:15Z")

</div>

I have been trying to link a code to vtk using gcc-11.2.0. The link fails with /usr/bin/ld: /…/vtk4ctk-8.1.0-sersh/lib/libvtkCommonExecutionModel-8.1.so.1: undefined reference to \`vtkCollectionIterator::GoToFirstItem()…

---

## [Does VTK support reading LZW-compressed TIFF?](https://discourse.vtk.org/t/does-vtk-support-reading-lzw-compressed-tiff/8750)

<div class="topic-metadata">

**Author:** [@MKRangers](https://discourse.vtk.org/u/MKRangers)\
**Replies:** 4\
**Last updated:** [June 21, 2022, 6:41pm UTC](https://discourse.vtk.org/t/does-vtk-support-reading-lzw-compressed-tiff/8750 "2022-06-21T18:41:26Z")

</div>

Hi everyone, I have some TIFFs that cannot be read with vtkTIFFReader, but ImageJ and ParaView can read and display them perfectly. So I used ImageJ to open these TIFFs and saved them as TIFFs again, and now these newly…

---

## [Why does FlyingEdges resulting Data have more points than the original?](https://discourse.vtk.org/t/why-does-flyingedges-resulting-data-have-more-points-than-the-original/8757)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 4:56pm UTC](https://discourse.vtk.org/t/why-does-flyingedges-resulting-data-have-more-points-than-the-original/8757 "2022-06-20T16:56:23Z")

</div>

\`Hello everyone, I have a question and was wondering if anyone could chime in on this. I've been working with the FlyingEdges3D class and recently I noticed on closer inspection that the resulting vtkPolyData generated…

---

## [SSAO with multiple renderers](https://discourse.vtk.org/t/ssao-with-multiple-renderers/8746)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 1\
**Last updated:** [June 20, 2022, 2:42pm UTC](https://discourse.vtk.org/t/ssao-with-multiple-renderers/8746 "2022-06-20T14:42:15Z")

</div>

I’m experimenting with SSAO for our FEA application. We have a background renderer (in layer 0) that displays a gradient background and - optionally - a watermark image, and a scene renderer (in layer 1) that renders the…

---

## [3D Widget + ResetCamera = question !](https://discourse.vtk.org/t/3d-widget-resetcamera-question/8764)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 0\
**Last updated:** [June 20, 2022, 12:05pm UTC](https://discourse.vtk.org/t/3d-widget-resetcamera-question/8764 "2022-06-20T12:05:19Z")

</div>

Hi Friends, I’m using a customized PlaneWidget to display and modify interactively the clipping plane used by a ClipClosedSurface algo. The PlaneWidget is using a couple of vtkActor2D to materialize the handles used to…

---

## [how to construct the binary file included in the json file using c++ in backend](https://discourse.vtk.org/t/how-to-construct-the-binary-file-included-in-the-json-file-using-c-in-backend/8760)

<div class="topic-metadata">

**Author:** [@lizemin2016](https://discourse.vtk.org/u/lizemin2016)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 9:03pm UTC](https://discourse.vtk.org/t/how-to-construct-the-binary-file-included-in-the-json-file-using-c-in-backend/8760 "2022-06-18T21:03:22Z")

</div>

I am new to web development, I want to convert my own data to binary file as the file in the folder: “cow.vtp\\data \\5ab532bd952db1f3d2b7a5e2c1ffca47” with cpp application runs on the server, so I can use vtkHttpDataSetRe…

---

## [Question about instancing efficiency between vtk8.2 and vtk9.0](https://discourse.vtk.org/t/question-about-instancing-efficiency-between-vtk8-2-and-vtk9-0/8723)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 2\
**Last updated:** [June 17, 2022, 2:40pm UTC](https://discourse.vtk.org/t/question-about-instancing-efficiency-between-vtk8-2-and-vtk9-0/8723 "2022-06-17T14:40:59Z")

</div>

Hey guys, i took a test about variable instancing efficiency between vtk8.2 and vtk9.0 on different class. Here was what i got: testing times: 10000 Statistical method: average instancing time the method instancing: …

---

## [ResliceCursorWidget adds AngleWidget or DistanceWidget does not display sphere](https://discourse.vtk.org/t/reslicecursorwidget-adds-anglewidget-or-distancewidget-does-not-display-sphere/8680)

<div class="topic-metadata">

**Author:** [@zhangzhi93](https://discourse.vtk.org/u/zhangzhi93)\
**Replies:** 24\
**Last updated:** [June 17, 2022, 10:22am UTC](https://discourse.vtk.org/t/reslicecursorwidget-adds-anglewidget-or-distancewidget-does-not-display-sphere/8680 "2022-06-17T10:22:16Z")

</div>

When adding AngleWidget or DistanceWidget to ResliceCursorWidget, only the line is displayed and the sphere is not displayed. And dragging will report an error. Official example： Error when dragging DistanceWidge…

---

## [How to make XXXReader to support chinese file path under windows 7?](https://discourse.vtk.org/t/how-to-make-xxxreader-to-support-chinese-file-path-under-windows-7/8715)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 6\
**Last updated:** [June 17, 2022, 7:45am UTC](https://discourse.vtk.org/t/how-to-make-xxxreader-to-support-chinese-file-path-under-windows-7/8715 "2022-06-17T07:45:29Z")

</div>

Hello,this code: OBJReader reader=OBJReader::New(); reader-\>SetFileName(“c://user/用户/中文/model.obj”); //reader-\>SetFileName(“/home/user/中文/model.obj”); //for linux reader-\>Update(); auto data = reader-\>GetOutput(); …

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

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