# Development

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

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

**Page:** 32

---

## [vtkImageReslice not working properly? ResliceAxes are set, but have no effect?](https://discourse.vtk.org/t/vtkimagereslice-not-working-properly-resliceaxes-are-set-but-have-no-effect/7796)

<div class="topic-metadata">

**Author:** [@MJJ](https://discourse.vtk.org/u/MJJ)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:21pm UTC](https://discourse.vtk.org/t/vtkimagereslice-not-working-properly-resliceaxes-are-set-but-have-no-effect/7796 "2022-02-09T21:21:53Z")

</div>

I have a vtkImageData called img that I want to use the vtkImageReslice algorithm on. I want to reslice this image data to create a subimage that has its voxels aligned to a different coordinate system. To do this i am…

---

## [After clip using vtkClipPolyData, stll remain faces](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830)

<div class="topic-metadata">

**Author:** [@feierpusier](https://discourse.vtk.org/u/feierpusier)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 12:02pm UTC](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830 "2022-02-14T12:02:10Z")

</div>

I used vtkClipPolyData function to clip a vtkPolyData with a vtkSphere(radius 0.38, center(-2.27855,-2.97874,-2.43147)),but four faces (red faces in below figure) still remain. The figure below demonstrated the vtkPolyDa…

---

## [Does vtk libraries need to add as per dependency in CMake ?](https://discourse.vtk.org/t/does-vtk-libraries-need-to-add-as-per-dependency-in-cmake/7825)

<div class="topic-metadata">

**Author:** [@shrikant](https://discourse.vtk.org/u/shrikant)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 1:25pm UTC](https://discourse.vtk.org/t/does-vtk-libraries-need-to-add-as-per-dependency-in-cmake/7825 "2022-02-13T13:25:06Z")

</div>

Dear all, I’m working with docker which built vtk7.1. I am seeing my project built successfully but while linking vtk libs it gives error about not finding some reference. I have all required vtk lib added in cmake. So…

---

## [Named algorithms](https://discourse.vtk.org/t/named-algorithms/7759)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 19\
**Last updated:** [February 11, 2022, 11:30am UTC](https://discourse.vtk.org/t/named-algorithms/7759 "2022-02-11T11:30:22Z")

</div>

Error messages from pipelines indicate algorithms by their ptr address and class name. With complex pipelines this is usually insufficient to identify the algorithm that sends the message. It would be very helpful if alg…

---

## [I found memory leak!!!](https://discourse.vtk.org/t/i-found-memory-leak/7815)

<div class="topic-metadata">

**Author:** [@MincheolKim](https://discourse.vtk.org/u/MincheolKim)\
**Replies:** 3\
**Last updated:** [February 11, 2022, 11:01am UTC](https://discourse.vtk.org/t/i-found-memory-leak/7815 "2022-02-11T11:01:33Z")

</div>

I find a problem and fixed it. The code is below. I think that you can find what is problem. Please update it in the next version. int vtkDataSetSurfaceFilter::UnstructuredGridExecute in vtkDataSetSurfaceFilter.cxx …

---

## [vtkVolume is not rendered when RenderPass is set (vtkSSAOPass)](https://discourse.vtk.org/t/vtkvolume-is-not-rendered-when-renderpass-is-set-vtkssaopass/7795)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.vtk.org/u/Daniel)\
**Replies:** 8\
**Last updated:** [February 11, 2022, 8:51am UTC](https://discourse.vtk.org/t/vtkvolume-is-not-rendered-when-renderpass-is-set-vtkssaopass/7795 "2022-02-11T08:51:41Z")

</div>

Hi @all, I’m experimenting around with vtkSSAOPass right now. I noticed that when I assign it to my renderer via ‘.SetPass(…)’, no vtkVolume objects are displayed. If I remove the assignment, the volume object is disp…

---

## [egl rendering problem](https://discourse.vtk.org/t/egl-rendering-problem/7816)

<div class="topic-metadata">

**Author:** [@yuxing55555](https://discourse.vtk.org/u/yuxing55555)\
**Replies:** 0\
**Last updated:** [February 11, 2022, 6:21am UTC](https://discourse.vtk.org/t/egl-rendering-problem/7816 "2022-02-11T06:21:26Z")

</div>

I used vtk9.0.0 to use egl rendering to add the same actor to two windows, and found that the window that added the actor first could not render the added actor. #include \<vtkActor.h\> #include \<vtkCamera.h\> #include \<v…

---

## [suppressing clang-tidy warnings from macros](https://discourse.vtk.org/t/suppressing-clang-tidy-warnings-from-macros/7807)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 1\
**Last updated:** [February 10, 2022, 11:05am UTC](https://discourse.vtk.org/t/suppressing-clang-tidy-warnings-from-macros/7807 "2022-02-10T11:05:51Z")

</div>

Some VTK warnings cause clang-tidy warnings in our code. For example, the SafeDownCast method implemented by the vtkTypeMacro causes a warning suggesting to use dynamic\_cast instead of static\_cast. This warning is unnec…

---

## [A possible bug for vtkPicker](https://discourse.vtk.org/t/a-possible-bug-for-vtkpicker/7801)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [February 10, 2022, 6:08am UTC](https://discourse.vtk.org/t/a-possible-bug-for-vtkpicker/7801 "2022-02-10T06:08:05Z")

</div>

I am using vtkCellPicker in my project. In some situation, the vtkCellPicker do not work. For example: import vtkmodules.all as vtk polyData = vtk.vtkPolyData() polyData.SetPoints(vtk.vtkPoints()) polyData.SetVerts(vt…

---

## [Object is clipped during rotation + zooming](https://discourse.vtk.org/t/object-is-clipped-during-rotation-zooming/7794)

<div class="topic-metadata">

**Author:** [@Daniel](https://discourse.vtk.org/u/Daniel)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 12:46pm UTC](https://discourse.vtk.org/t/object-is-clipped-during-rotation-zooming/7794 "2022-02-08T12:46:55Z")

</div>

Hi there, after importing objects into my view and then moving the camera (rotating and zooming in), the object is clipped. Especially if it is viewed from the right or bottom. See image gallery. I would have guesse…

---

## [Gauss points in cells](https://discourse.vtk.org/t/gauss-points-in-cells/6665)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 3:22pm UTC](https://discourse.vtk.org/t/gauss-points-in-cells/6665 "2022-02-07T15:22:14Z")

</div>

How can I add gauss points in cells (triangles, quadrilaterals, lines) in unstructured grid? Adding interpolate points, for example?

---

## [Asynchronous streaming of data from a pipeline](https://discourse.vtk.org/t/asynchronous-streaming-of-data-from-a-pipeline/7782)

<div class="topic-metadata">

**Author:** [@Jens\_Munk\_Hansen](https://discourse.vtk.org/u/Jens_Munk_Hansen)\
**Replies:** 2\
**Last updated:** [February 6, 2022, 10:08am UTC](https://discourse.vtk.org/t/asynchronous-streaming-of-data-from-a-pipeline/7782 "2022-02-06T10:08:34Z")

</div>

Hi Developers I am trying to make a Filter without any output ports and provide it with a Start() method and a Frequency property for setting up how often Update() is called and an internal thread will stream data acros…

---

## [Symbol clash and undefined behavior in application integrating VTK wigdets](https://discourse.vtk.org/t/symbol-clash-and-undefined-behavior-in-application-integrating-vtk-wigdets/7778)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 10:36pm UTC](https://discourse.vtk.org/t/symbol-clash-and-undefined-behavior-in-application-integrating-vtk-wigdets/7778 "2022-02-04T22:36:57Z")

</div>

The merge request MR-8885 (BUG: Rename vtkInteractionCallback class to avoid symbol clash) has just been submitted to address undefined behavior and crashes in application integrating one of the following VTK widgets: v…

---

## [Proposal: implementing fast data set topology statistics](https://discourse.vtk.org/t/proposal-implementing-fast-data-set-topology-statistics/7712)

<div class="topic-metadata">

**Author:** [@manuylovich](https://discourse.vtk.org/u/manuylovich)\
**Replies:** 6\
**Last updated:** [January 25, 2022, 4:31pm UTC](https://discourse.vtk.org/t/proposal-implementing-fast-data-set-topology-statistics/7712 "2022-01-25T16:31:27Z")

</div>

VTK has an abstract method vtkIdType vtkDataObject::GetNumberOfElements(int type) to get the number of points, cells, etc. It has a very fast implementation for any particular data object (vtkPolyData, vtkRectilinearGrid…

---

## [High-DPI scaling issues](https://discourse.vtk.org/t/high-dpi-scaling-issues/7693)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 2\
**Last updated:** [January 24, 2022, 3:00pm UTC](https://discourse.vtk.org/t/high-dpi-scaling-issues/7693 "2022-01-24T15:00:22Z")

</div>

Hi there, I am trialling out a new 4k display. Moving over from 1920x1080 to 3840x2040 of course results in tiny fonts etc, so I am using my system’s desktop scaling mechanism to so that everything is scaled by a factor…

---

## [Proposal: adding a \`vtkPointCloud\` data structure](https://discourse.vtk.org/t/proposal-adding-a-vtkpointcloud-data-structure/3872)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 22\
**Last updated:** [January 21, 2022, 2:42pm UTC](https://discourse.vtk.org/t/proposal-adding-a-vtkpointcloud-data-structure/3872 "2022-01-21T14:42:18Z")

</div>

As of today, VTK does not have a specialized class to store point clouds. One way to store a point cloud is to create a vtkPolyData using only vtkVertex cells. It works sometimes: some filters taking a vtkPolyData as inp…

---

## [GUISupportMFC missing files](https://discourse.vtk.org/t/guisupportmfc-missing-files/7599)

<div class="topic-metadata">

**Author:** [@Jaroslaw\_Sosnicki](https://discourse.vtk.org/u/Jaroslaw_Sosnicki)\
**Replies:** 4\
**Last updated:** [January 21, 2022, 1:24pm UTC](https://discourse.vtk.org/t/guisupportmfc-missing-files/7599 "2022-01-21T13:24:41Z")

</div>

I am using latest code downloaded from master. Listed files are included in “vtkMFCWindow.h” but are missing from master VTK/GUISupport/MFC at master · Kitware/VTK (github.com) missing files are: #include “vtkGUISu…

---

## [vtk on android 2d mode](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575)

<div class="topic-metadata">

**Author:** [@Albert\_Negron](https://discourse.vtk.org/u/Albert_Negron)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 10:36am UTC](https://discourse.vtk.org/t/vtk-on-android-2d-mode/7575 "2022-01-20T10:36:50Z")

</div>

I am using vtk on android, and setInteractorStyle to vtkInteractorStyleImage, why the interactor not responding to the motion event, I need to disable camera rotation and keep the camera translation on x-y plane, is the…

---

## [New -Woverloaded-virtual warning from GetDataSet()](https://discourse.vtk.org/t/new-woverloaded-virtual-warning-from-getdataset/7658)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 3\
**Last updated:** [January 18, 2022, 9:02am UTC](https://discourse.vtk.org/t/new-woverloaded-virtual-warning-from-getdataset/7658 "2022-01-18T09:02:12Z")

</div>

Hi all, This warning started on 2022-01-15 (Saturday): VTK/Common/DataModel/vtkUniformGridAMR.h:97:19: warning: 'vtkUniformGridAMR::GetDataSet' hides overloaded virtual function \[-Woverloaded-virtual\] vtkUniformGrid\*…

---

## [close the holes when using BooleanOperationPolyDataFilter](https://discourse.vtk.org/t/close-the-holes-when-using-booleanoperationpolydatafilter/7651)

<div class="topic-metadata">

**Author:** [@Hf\_Pro](https://discourse.vtk.org/u/Hf_Pro)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 7:57pm UTC](https://discourse.vtk.org/t/close-the-holes-when-using-booleanoperationpolydatafilter/7651 "2022-01-16T19:57:37Z")

</div>

how can the holes be closed when using BooleanOperationPolyDataFilter

---

## [Accessing material and pixel properties in UV mapped 3D regions of interest for mine-craft like game world](https://discourse.vtk.org/t/accessing-material-and-pixel-properties-in-uv-mapped-3d-regions-of-interest-for-mine-craft-like-game-world/7477)

<div class="topic-metadata">

**Author:** [@Joel\_Mckay](https://discourse.vtk.org/u/Joel_Mckay)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 4:37pm UTC](https://discourse.vtk.org/t/accessing-material-and-pixel-properties-in-uv-mapped-3d-regions-of-interest-for-mine-craft-like-game-world/7477 "2022-01-16T16:37:15Z")

</div>

I am currently generating some search paths using vtkCutter with vtkPlane for surface contours near object texture material(s) imported with OBJImporter My preliminary first try with libvtk is a simple test of a libvtk …

---

## [What type of documentation tool you use in your cmake Files ?](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640)

<div class="topic-metadata">

**Author:** [@dschiller](https://discourse.vtk.org/u/dschiller)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 3:29pm UTC](https://discourse.vtk.org/t/what-type-of-documentation-tool-you-use-in-your-cmake-files/7640 "2022-01-14T15:29:20Z")

</div>

At https://gitlab.kitware.com/vtk/vtk/-/blob/master/CMake/vtkModuleGraphviz.cmake#L1-7 you are using a documentation style I don’t know. I know about CMinx which uses #\[\[\[ ... #\]\]. I also tried doxygen but it seems not d…

---

## [All Animation in widget not work when use vtk with Qml](https://discourse.vtk.org/t/all-animation-in-widget-not-work-when-use-vtk-with-qml/7630)

<div class="topic-metadata">

**Author:** [@edwardAllen](https://discourse.vtk.org/u/edwardAllen)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 12:38am UTC](https://discourse.vtk.org/t/all-animation-in-widget-not-work-when-use-vtk-with-qml/7630 "2022-01-13T00:38:15Z")

</div>

I think all animation not work when this widget is in qml . Because , all mouse event are handled in quickItem::sync() function ,and animation is running in mouse event’s callback , after deal with mouse handle , qquick…

---

## [clipping a polydata using the implicit of another polydata via vtkClipPolyData leads to a big hole on the cut side.](https://discourse.vtk.org/t/clipping-a-polydata-using-the-implicit-of-another-polydata-via-vtkclippolydata-leads-to-a-big-hole-on-the-cut-side/7534)

<div class="topic-metadata">

**Author:** [@aveek-brahmachari](https://discourse.vtk.org/u/aveek-brahmachari)\
**Replies:** 10\
**Last updated:** [January 12, 2022, 9:30pm UTC](https://discourse.vtk.org/t/clipping-a-polydata-using-the-implicit-of-another-polydata-via-vtkclippolydata-leads-to-a-big-hole-on-the-cut-side/7534 "2022-01-12T21:30:24Z")

</div>

vtkSmartPointer\<vtkPolyData\> clipMesh (const vtkSmartPointer\<vtkPolyData\> &mesh1, const vtkSmartPointer\<vtkPolyData\> &mesh2) { vtkNew\<vtkImplicitPolyDataDistance\> implicit\_distance\_2; implicit\_distance\_2-\>SetInput(mes…

---

## [VTK 9.1 Release Cycle](https://discourse.vtk.org/t/vtk-9-1-release-cycle/6664)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 14\
**Last updated:** [January 12, 2022, 6:51am UTC](https://discourse.vtk.org/t/vtk-9-1-release-cycle/6664 "2022-01-12T06:51:32Z")

</div>

Hi all, It’s about time for a VTK release. The CI dashboards have been stabilizing fairly well and it seems like a good time to start cutting a release. Tentative dates: Sep 27: branch and create rc1 Oct 4: rc2 and …

---

## [Various -Wunused-but-set-variable warnings](https://discourse.vtk.org/t/various-wunused-but-set-variable-warnings/7580)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 11\
**Last updated:** [January 11, 2022, 4:36pm UTC](https://discourse.vtk.org/t/various-wunused-but-set-variable-warnings/7580 "2022-01-11T16:36:40Z")

</div>

Hi all, The newest clang gives some new -Wunused-but-set-variable warnings. Without knowing the code in question, it’s hard for someone like me to decide if the set value is harmlessly unused or if there is missing cod…

---

## [Running tests with xvfb-run](https://discourse.vtk.org/t/running-tests-with-xvfb-run/7597)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.vtk.org/u/RafaelPalomar)\
**Replies:** 2\
**Last updated:** [January 8, 2022, 12:05pm UTC](https://discourse.vtk.org/t/running-tests-with-xvfb-run/7597 "2022-01-08T12:05:59Z")

</div>

Hello, PROBLEM: I’m trying to run VTK testing through xvfb-run ctest and many of the tests (complete list of failed tests) end up failing with \*\*\*Exception: Numerical errors. I’ve been digging into the problem and fou…

---

## [vtkWindowedSincPolyDataFilter does NOT translate and scale the position coordinates back to the original coordinate frame](https://discourse.vtk.org/t/vtkwindowedsincpolydatafilter-does-not-translate-and-scale-the-position-coordinates-back-to-the-original-coordinate-frame/7561)

<div class="topic-metadata">

**Author:** [@Markus\_Heller](https://discourse.vtk.org/u/Markus_Heller)\
**Replies:** 7\
**Last updated:** [January 6, 2022, 6:34pm UTC](https://discourse.vtk.org/t/vtkwindowedsincpolydatafilter-does-not-translate-and-scale-the-position-coordinates-back-to-the-original-coordinate-frame/7561 "2022-01-06T18:34:21Z")

</div>

Hi, I noted a somewhat unexpected behavior when using the vtkWindowedSincPolyDataFilter. From the description of the filter, I expected that activation of the “NormalizeCoordinatesOn()” option should not affect the coor…

---

## [A potential bug for vtkPolyData](https://discourse.vtk.org/t/a-potential-bug-for-vtkpolydata/7562)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 7\
**Last updated:** [January 6, 2022, 3:48pm UTC](https://discourse.vtk.org/t/a-potential-bug-for-vtkpolydata/7562 "2022-01-06T15:48:39Z")

</div>

I create a vtkPolyData, and I can display it. The code is: import vtkmodules.all as vtk import time def point(x, y, z): polyData = vtk.vtkPolyData() polyData.SetPoints(vtk.vtkPoints()) polyData.SetVerts(vtk…

---

## [Can we write out the old VTK 4.2 file format with VTK 9?](https://discourse.vtk.org/t/can-we-write-out-the-old-vtk-4-2-file-format-with-vtk-9/5066)

<div class="topic-metadata">

**Author:** [@Alan\_Morris](https://discourse.vtk.org/u/Alan_Morris)\
**Replies:** 19\
**Last updated:** [December 30, 2021, 2:42am UTC](https://discourse.vtk.org/t/can-we-write-out-the-old-vtk-4-2-file-format-with-vtk-9/5066 "2021-12-30T02:42:50Z")

</div>

We are running into an issue upgrading ShapeWorks to VTK 9. We have an export mesh capability that writes out a polydata to a .vtk file. Our users import this into other tools such as CloudCompare. When we upgrade to …

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

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