# Development

**URL:** https://discourse.vtk.org/c/development/7.md?page=28

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

**Page:** 29

---

## [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…

---

## [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…

---

## [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?

---

## [Render the covered object](https://discourse.vtk.org/t/render-the-covered-object/8457)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 3\
**Last updated:** [June 16, 2022, 4:30pm UTC](https://discourse.vtk.org/t/render-the-covered-object/8457 "2022-06-16T16:30:47Z")

</div>

Hello, everyone. I have two objects to render, one is covered by the other, how to draw the covered object in VTK? In OpenGL, I can set the GL\_DEPTH\_TEST, but I can’t find the api in VTK, thanks.

---

## [External Dashboard and CDash mails](https://discourse.vtk.org/t/external-dashboard-and-cdash-mails/8031)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 12\
**Last updated:** [June 16, 2022, 12:55pm UTC](https://discourse.vtk.org/t/external-dashboard-and-cdash-mails/8031 "2022-06-16T12:55:22Z")

</div>

Situation: Some of you may know, some don’t, but VTK have a few external dashboards that are run nightly. There used to be a lot, but now, only RogueResearch dashboard (managed by @seanm ) are in this section. How they…

---

## [SetEdgeVisibility(1) in VTK 9.1 is now wrong in many models](https://discourse.vtk.org/t/setedgevisibility-1-in-vtk-9-1-is-now-wrong-in-many-models/8728)

<div class="topic-metadata">

**Author:** [@LexaMark](https://discourse.vtk.org/u/LexaMark)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 1:36am UTC](https://discourse.vtk.org/t/setedgevisibility-1-in-vtk-9-1-is-now-wrong-in-many-models/8728 "2022-06-15T01:36:54Z")

</div>

Some discussions are in another page in the Support category while this problem should be in the development category. Edge Show

---

## [Distance widget is not rendering](https://discourse.vtk.org/t/distance-widget-is-not-rendering/8725)

<div class="topic-metadata">

**Author:** [@makinox](https://discourse.vtk.org/u/makinox)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 8:47pm UTC](https://discourse.vtk.org/t/distance-widget-is-not-rendering/8725 "2022-06-14T20:47:12Z")

</div>

Hello, good day, I’m trying to use the distance widget in a created volume of DICOM files, but I have a problem that i don’t understand, and it is that the distance widget is shown in some studies and in others down, I h…

---

## [Upcoming changes to vtkCellArray](https://discourse.vtk.org/t/upcoming-changes-to-vtkcellarray/2066)

<div class="topic-metadata">

**Author:** [@allison.vacanti](https://discourse.vtk.org/u/allison.vacanti)\
**Replies:** 16\
**Last updated:** [June 14, 2022, 12:06pm UTC](https://discourse.vtk.org/t/upcoming-changes-to-vtkcellarray/2066 "2022-06-14T12:06:56Z")

</div>

Over the next few days/weeks, we’ll be merging in some major changes to vtkCellArray to support new functionality. This involves some significant changes to the vtkCellArray’s internal data structures, but we’ve retained…

---

## [vtkMomentInvariants.cxx build problem](https://discourse.vtk.org/t/vtkmomentinvariants-cxx-build-problem/8705)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 2:53pm UTC](https://discourse.vtk.org/t/vtkmomentinvariants-cxx-build-problem/8705 "2022-06-13T14:53:53Z")

</div>

Trying to build 9.1 with debug enabled and see the following: \[ 45%\] Building CXX object Remote/MomentInvariants/MomentInvariants/CMakeFiles/MomentInvariants.dir/vtkMomentInvariants.cxx.o In file included from /home/rm…

---

## [macOS ARM64 configure error](https://discourse.vtk.org/t/macos-arm64-configure-error/8689)

<div class="topic-metadata">

**Author:** [@ocommowi](https://discourse.vtk.org/u/ocommowi)\
**Replies:** 3\
**Last updated:** [June 9, 2022, 9:00pm UTC](https://discourse.vtk.org/t/macos-arm64-configure-error/8689 "2022-06-09T21:00:48Z")

</div>

Hi, I am currently compiling VTK on its release branch for a project on github and I’m testing ARM64 build. The build is made on an intel mac (github actions slave) and I tested two things : setting osx architectures in…

---

## [I have list of 2d images, I would like to visualize in 3d with volume rendering](https://discourse.vtk.org/t/i-have-list-of-2d-images-i-would-like-to-visualize-in-3d-with-volume-rendering/8687)

<div class="topic-metadata">

**Author:** [@Vikash\_Poddar](https://discourse.vtk.org/u/Vikash_Poddar)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 12:51pm UTC](https://discourse.vtk.org/t/i-have-list-of-2d-images-i-would-like-to-visualize-in-3d-with-volume-rendering/8687 "2022-06-09T12:51:27Z")

</div>

I have list of 2d images, I would like to visualize in 3d with volume rendering.

---

## [How to extract the dataArray values within a rectangleWidget or shapewidget in vtk.js?](https://discourse.vtk.org/t/how-to-extract-the-dataarray-values-within-a-rectanglewidget-or-shapewidget-in-vtk-js/8679)

<div class="topic-metadata">

**Author:** [@Sneha-pk](https://discourse.vtk.org/u/Sneha-pk)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 2:52pm UTC](https://discourse.vtk.org/t/how-to-extract-the-dataarray-values-within-a-rectanglewidget-or-shapewidget-in-vtk-js/8679 "2022-06-08T14:52:46Z")

</div>

I am trying to develop a region of interest/ROI and a histogram(Piecewise Gussian Widget) corresponding to that ROI. Is there a way to extract the vtkImageData within the region or the dataArray within the ROI? Thanks i…

---

## [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

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [How to fit only parts of actor When fit window](https://discourse.vtk.org/t/how-to-fit-only-parts-of-actor-when-fit-window/8609)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 0\
**Last updated:** [May 27, 2022, 2:30am UTC](https://discourse.vtk.org/t/how-to-fit-only-parts-of-actor-when-fit-window/8609 "2022-05-27T02:30:50Z")

</div>

Hello, everyone, How to fit only parts of actor When fit window, the other parts of actor draws with transparent.

---

## [How can i set the length of the linewidget in vtk.js?](https://discourse.vtk.org/t/how-can-i-set-the-length-of-the-linewidget-in-vtk-js/8583)

<div class="topic-metadata">

**Author:** [@Sneha-pk](https://discourse.vtk.org/u/Sneha-pk)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 1:05am UTC](https://discourse.vtk.org/t/how-can-i-set-the-length-of-the-linewidget-in-vtk-js/8583 "2022-05-25T01:05:23Z")

</div>

Hello everyone, I am trying to develop a fixed horizontal line using vtkLineWidget(as i need the functionality to drag it across). I am using the setOrigin() method for both handles to set the length of the line but the…

---

## [VTK.JS MultiSliceImageMapper](https://discourse.vtk.org/t/vtk-js-multisliceimagemapper/8580)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 7:34pm UTC](https://discourse.vtk.org/t/vtk-js-multisliceimagemapper/8580 "2022-05-24T19:34:41Z")

</div>

Hi VTK Support, I am trying out the vtk.js recently. I did try MultiSliceImageMapper example. I use Microsoft VsCode EDI. I npm start the example and i see the menu range slider controls. I did install html-loader in we…

---

## [VTK.JS MultiSliceImageMapper example](https://discourse.vtk.org/t/vtk-js-multisliceimagemapper-example/8579)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 7:17pm UTC](https://discourse.vtk.org/t/vtk-js-multisliceimagemapper-example/8579 "2022-05-24T19:17:17Z")

</div>

Hi, I have a question about VES (OpenGL ES mobile version) & KiwiViewer to view medical volumes on mobile. I could not find anything on the Kitware site. A repository for VES appeared from another developer GITHUB and I…

---

## [VTK Glyphs](https://discourse.vtk.org/t/vtk-glyphs/8575)

<div class="topic-metadata">

**Author:** [@Qrtiis](https://discourse.vtk.org/u/Qrtiis)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 2:55pm UTC](https://discourse.vtk.org/t/vtk-glyphs/8575 "2022-05-24T14:55:55Z")

</div>

Hello, I am working with carotid.vtk file and I added cutter, contour and glyphs - my glyphs have good direction and everything but they are colored the same (they are all blue) even though their size is different, im u…

---

## [VTK tubefilter](https://discourse.vtk.org/t/vtk-tubefilter/8544)

<div class="topic-metadata">

**Author:** [@Qrtiis](https://discourse.vtk.org/u/Qrtiis)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 12:35pm UTC](https://discourse.vtk.org/t/vtk-tubefilter/8544 "2022-05-24T12:35:23Z")

</div>

Anyone have a clue how to make one of the tubes end wider and another narrower? I have created a line and then added tube filter around it

---

## [Is there a help manual or example developed specifically for medical imaging?](https://discourse.vtk.org/t/is-there-a-help-manual-or-example-developed-specifically-for-medical-imaging/8571)

<div class="topic-metadata">

**Author:** [@IronMan](https://discourse.vtk.org/u/IronMan)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 9:10am UTC](https://discourse.vtk.org/t/is-there-a-help-manual-or-example-developed-specifically-for-medical-imaging/8571 "2022-05-24T09:10:13Z")

</div>

I would like to use VTK to develop an application similar to 3Dsclicer, not detailed enough in VTK user Guide, may VTK have other help manual or example for more detailed medical development,

---

## [How to realize the effect of floodlight with vtkLight?](https://discourse.vtk.org/t/how-to-realize-the-effect-of-floodlight-with-vtklight/8567)

<div class="topic-metadata">

**Author:** [@liu](https://discourse.vtk.org/u/liu)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 8:42am UTC](https://discourse.vtk.org/t/how-to-realize-the-effect-of-floodlight-with-vtklight/8567 "2022-05-24T08:42:42Z")

</div>

How to realize the effect of floodlight with vtkLight?

---

## [vtkResliceCursorWidget compatibility with QT QVTKWidget](https://discourse.vtk.org/t/vtkreslicecursorwidget-compatibility-with-qt-qvtkwidget/8562)

<div class="topic-metadata">

**Author:** [@Alexandera](https://discourse.vtk.org/u/Alexandera)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 3:18am UTC](https://discourse.vtk.org/t/vtkreslicecursorwidget-compatibility-with-qt-qvtkwidget/8562 "2022-05-24T03:18:40Z")

</div>

Hi, I am working on the medical GUI development with QT and VTK. I have made MPR (MultiPlanar reformation) in VTK alone, but it does not show when I show it in QT (basically I add the renderwindow and renderer to QVTKWi…

[Previous page](https://discourse.vtk.org/c/development/7.md?page=27)

[Next page](https://discourse.vtk.org/c/development/7.md?page=29)
