# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=27

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

**Page:** 28

---

## [Issues Encountered While Picking Coordinates Using vtkCellPicker in MPR Program](https://discourse.vtk.org/t/issues-encountered-while-picking-coordinates-using-vtkcellpicker-in-mpr-program/13660)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 6\
**Last updated:** [April 7, 2024, 1:20pm UTC](https://discourse.vtk.org/t/issues-encountered-while-picking-coordinates-using-vtkcellpicker-in-mpr-program/13660 "2024-04-07T13:20:31Z")

</div>

When using this picker, I found that its picking range only covers half of the entire space. If my world coordinate range is 0-100, it can only pick up values from 50-100, and within the range of 0-50, the picked value c…

---

## [warp unstructured grid with field data](https://discourse.vtk.org/t/warp-unstructured-grid-with-field-data/13665)

<div class="topic-metadata">

**Author:** [@Juan\_Diego\_Silva](https://discourse.vtk.org/u/Juan_Diego_Silva)\
**Replies:** 1\
**Last updated:** [April 3, 2024, 1:17pm UTC](https://discourse.vtk.org/t/warp-unstructured-grid-with-field-data/13665 "2024-04-03T13:17:39Z")

</div>

I am trying to use vtk to visualize some FE results i got from calculix. I managed to use ccx2paraview to convert to .frd file from calculix to .vtk and now I am trying to follow this example https://examples.vtk.org/sit…

---

## [make Error 2 when installing VTK](https://discourse.vtk.org/t/make-error-2-when-installing-vtk/13663)

<div class="topic-metadata">

**Author:** [@Bhuang](https://discourse.vtk.org/u/Bhuang)\
**Replies:** 7\
**Last updated:** [April 3, 2024, 12:54pm UTC](https://discourse.vtk.org/t/make-error-2-when-installing-vtk/13663 "2024-04-03T12:54:44Z")

</div>

Hi! I have been trying to install VTK on my macbook via the code snippet: However, I run into a make error Can someone please help me in resolving this error? Thank you!

---

## [Rendering issues when tried vtk examples](https://discourse.vtk.org/t/rendering-issues-when-tried-vtk-examples/13653)

<div class="topic-metadata">

**Author:** [@MJamal](https://discourse.vtk.org/u/MJamal)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 4:00am UTC](https://discourse.vtk.org/t/rendering-issues-when-tried-vtk-examples/13653 "2024-04-01T04:00:26Z")

</div>

Hello, I’ve successfully built vtk by following this documentation without any errors. When trying out the examples, I am facing difficulties related to how the scene renders in the window. I’ve tried the two examples:…

---

## [Hardware Selector with an offscreen renderer ?](https://discourse.vtk.org/t/hardware-selector-with-an-offscreen-renderer/11338)

<div class="topic-metadata">

**Author:** [@tbridel](https://discourse.vtk.org/u/tbridel)\
**Replies:** 3\
**Last updated:** [April 1, 2024, 3:39am UTC](https://discourse.vtk.org/t/hardware-selector-with-an-offscreen-renderer/11338 "2024-04-01T03:39:40Z")

</div>

Good morning everyone ! I am trying to pick all the cells of a poly data viewed from a camera viewpoint, and I managed to put something together with a vtkOpenGLRenderer & the vtkOpenGLHardwareSelector. When I actually …

---

## [vtkPNGwriter problem of SetScale() larger than 1](https://discourse.vtk.org/t/vtkpngwriter-problem-of-setscale-larger-than-1/13657)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 0\
**Last updated:** [April 1, 2024, 2:36am UTC](https://discourse.vtk.org/t/vtkpngwriter-problem-of-setscale-larger-than-1/13657 "2024-04-01T02:36:41Z")

</div>

Hi there, I tried to do screenshot with 'vtkWindowToImage\` class, with the code below: vtkSmartPointer\<vtkWindowToImageFilter\> shot = vtkSmartPointer\<vtkWindowToImageFilter\>::New(); shot-\>SetInput(m\_pRenderWnd); shot…

---

## [heap corruption when tried to new a vtkSmartPointer](https://discourse.vtk.org/t/heap-corruption-when-tried-to-new-a-vtksmartpointer/13004)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 15\
**Last updated:** [April 1, 2024, 2:31am UTC](https://discourse.vtk.org/t/heap-corruption-when-tried-to-new-a-vtksmartpointer/13004 "2024-04-01T02:31:54Z")

</div>

When I tried to new a vtkSmartPointer with type of vtkTextMapper, error occured. But It’s very weird that this kind of error just happened in Release mode but not in Debug mode. Everything in Debug mode went fine. H…

---

## [How to update actor positon following the reslice matrix change of vtkImageReslice?](https://discourse.vtk.org/t/how-to-update-actor-positon-following-the-reslice-matrix-change-of-vtkimagereslice/13649)

<div class="topic-metadata">

**Author:** [@learn\_forever](https://discourse.vtk.org/u/learn_forever)\
**Replies:** 0\
**Last updated:** [March 29, 2024, 2:36am UTC](https://discourse.vtk.org/t/how-to-update-actor-positon-following-the-reslice-matrix-change-of-vtkimagereslice/13649 "2024-03-29T02:36:36Z")

</div>

Hi Experts: I use vtkImageReslice and vtkImageActor to show the slice of any DICOM data. Also I add a customizied curve into the same vtkRenderWindow. See picture below. When the reslice matrix is changed following the …

---

## [Where Can I Find the Built Examples?](https://discourse.vtk.org/t/where-can-i-find-the-built-examples/13632)

<div class="topic-metadata">

**Author:** [@devansan](https://discourse.vtk.org/u/devansan)\
**Replies:** 2\
**Last updated:** [March 28, 2024, 7:35am UTC](https://discourse.vtk.org/t/where-can-i-find-the-built-examples/13632 "2024-03-28T07:35:35Z")

</div>

Hello, I have a question regarding building VTK examples. I checked the VTK\_BUILD\_EXAMPLES in CMake and proceeded with the build. However, after the build, when I checked cmake-bin/Examples/VTKExamples.sl…

---

## [AbortController for aborting vtk.js file fetch requests](https://discourse.vtk.org/t/abortcontroller-for-aborting-vtk-js-file-fetch-requests/13629)

<div class="topic-metadata">

**Author:** [@rockermonster](https://discourse.vtk.org/u/rockermonster)\
**Replies:** 0\
**Last updated:** [March 25, 2024, 1:44pm UTC](https://discourse.vtk.org/t/abortcontroller-for-aborting-vtk-js-file-fetch-requests/13629 "2024-03-25T13:44:36Z")

</div>

I am loading dozens of STL files: var read = vtkSTLReader.newInstance() read.setUrl( files\[i\] , readOptions).then(...... Occasionally as a user I’d like to interrupt this process after the Ioop over the files completes…

---

## [Dynamic sequence of images using VTK](https://discourse.vtk.org/t/dynamic-sequence-of-images-using-vtk/13620)

<div class="topic-metadata">

**Author:** [@KSJ](https://discourse.vtk.org/u/KSJ)\
**Replies:** 4\
**Last updated:** [March 25, 2024, 1:01pm UTC](https://discourse.vtk.org/t/dynamic-sequence-of-images-using-vtk/13620 "2024-03-25T13:01:39Z")

</div>

I’m working on a project where I need to add multiple images to a blank vtkImageData in VTK. However, once the number of images reaches a certain limit, I need to remove the oldest image and shift the remaining images ac…

---

## [Mesh lines display discontinuity](https://discourse.vtk.org/t/mesh-lines-display-discontinuity/13507)

<div class="topic-metadata">

**Author:** [@SkyFishers](https://discourse.vtk.org/u/SkyFishers)\
**Replies:** 7\
**Last updated:** [March 22, 2024, 7:59am UTC](https://discourse.vtk.org/t/mesh-lines-display-discontinuity/13507 "2024-03-22T07:59:26Z")

</div>

I use VTK8.2 to render one FEA mode,I render the mode and element-edges in two vtkActor. But, when I move the camera, the mesh line may display discontinuity.Here is the picture.

---

## [RFC: Toward supporting distribution of VTK based modules on PyPI](https://discourse.vtk.org/t/rfc-toward-supporting-distribution-of-vtk-based-modules-on-pypi/4873)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 12\
**Last updated:** [March 21, 2024, 2:52pm UTC](https://discourse.vtk.org/t/rfc-toward-supporting-distribution-of-vtk-based-modules-on-pypi/4873 "2024-03-21T14:52:51Z")

</div>

In a nutshell, we would like to officially support the ability to package and distribute any VTK based modules on PyPI (Python Package Index). This means we would maintain a template to allow anyone in the community to …

---

## [Gradient of Unstructured Grid using Python](https://discourse.vtk.org/t/gradient-of-unstructured-grid-using-python/13606)

<div class="topic-metadata">

**Author:** [@ak11283](https://discourse.vtk.org/u/ak11283)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 1:18pm UTC](https://discourse.vtk.org/t/gradient-of-unstructured-grid-using-python/13606 "2024-03-21T13:18:30Z")

</div>

Hi All, From last couple of days I am trying to find derivative of pressure for each direction. The pressure data is on an unstructured grid (curvilinear grid coordinate). I did try to get it many ways but It is not lo…

---

## [How do I close window adjusting of vtkResliceCursorWidget](https://discourse.vtk.org/t/how-do-i-close-window-adjusting-of-vtkreslicecursorwidget/13598)

<div class="topic-metadata">

**Author:** [@WangTurbo](https://discourse.vtk.org/u/WangTurbo)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 12:35am UTC](https://discourse.vtk.org/t/how-do-i-close-window-adjusting-of-vtkreslicecursorwidget/13598 "2024-03-21T00:35:44Z")

</div>

I’m trying to change the FourPaneViewer project that comes with vtk, but I’m finding that I can’t turn off the window adjusting and zoom of the vtkResliceCursorWidget. The class doesn’t seem to provide a public function …

---

## [Legend Grid annotation from Paraview 12 with VTK filters](https://discourse.vtk.org/t/legend-grid-annotation-from-paraview-12-with-vtk-filters/13479)

<div class="topic-metadata">

**Author:** [@omdaniel](https://discourse.vtk.org/u/omdaniel)\
**Replies:** 11\
**Last updated:** [March 20, 2024, 12:51pm UTC](https://discourse.vtk.org/t/legend-grid-annotation-from-paraview-12-with-vtk-filters/13479 "2024-03-20T12:51:08Z")

</div>

The latest release of paraview 12 has a new feature called legend grid annotation that exist in screen space and is tethered to the -z view direction in parallel projection. This is a feature I was wanting to implement i…

---

## [no color when using python vtk rendering vtkfile with vtkpolydata，but it\`s ok with paraview](https://discourse.vtk.org/t/no-color-when-using-python-vtk-rendering-vtkfile-with-vtkpolydata-but-it-s-ok-with-paraview/13589)

<div class="topic-metadata">

**Author:** [@alphacheng](https://discourse.vtk.org/u/alphacheng)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 12:02pm UTC](https://discourse.vtk.org/t/no-color-when-using-python-vtk-rendering-vtkfile-with-vtkpolydata-but-it-s-ok-with-paraview/13589 "2024-03-20T12:02:39Z")

</div>

import vtk filename = "test.vtk" #reader reader = vtk.vtkPolyDataReader() reader.SetFileName(filename) reader.Update() grid = reader.GetOutput() field = "mag(U)" data\_type = "cell" magU = grid.GetPointData().GetArray("…

---

## [Working of shallowcopy in vtk](https://discourse.vtk.org/t/working-of-shallowcopy-in-vtk/13585)

<div class="topic-metadata">

**Author:** [@JunYeolChae](https://discourse.vtk.org/u/JunYeolChae)\
**Replies:** 0\
**Last updated:** [March 20, 2024, 4:15am UTC](https://discourse.vtk.org/t/working-of-shallowcopy-in-vtk/13585 "2024-03-20T04:15:20Z")

</div>

I have the following c++ code: vtkNew \_surf; \_surf-\>ShallowCopy(surf); vtkIdType cellId = Get\_ClosestCellId(\_surf, seedxyz); \_surf-\>DeleteCell(cellId); \_surf-\>RemoveDeletedCells(); After creating \_surf, we speci…

---

## [How to limit extent of planes in ResliceCursorWidget](https://discourse.vtk.org/t/how-to-limit-extent-of-planes-in-reslicecursorwidget/8527)

<div class="topic-metadata">

**Author:** [@fraser29](https://discourse.vtk.org/u/fraser29)\
**Replies:** 1\
**Last updated:** [March 20, 2024, 3:04am UTC](https://discourse.vtk.org/t/how-to-limit-extent-of-planes-in-reslicecursorwidget/8527 "2024-03-20T03:04:45Z")

</div>

I am working with a vtkResliceCusorWidget in a FourPlaneViewer-like application. I would like to know how I can limit the size of the plane widgets that are generated by vtkResliceCursorLineRepresentation. If, for inst…

---

## [Rendering 3D+t CFD data using GPU](https://discourse.vtk.org/t/rendering-3d-t-cfd-data-using-gpu/13563)

<div class="topic-metadata">

**Author:** [@russm66](https://discourse.vtk.org/u/russm66)\
**Replies:** 4\
**Last updated:** [March 19, 2024, 8:13pm UTC](https://discourse.vtk.org/t/rendering-3d-t-cfd-data-using-gpu/13563 "2024-03-19T20:13:04Z")

</div>

Hi, I’m new to VTK, and had a question about using it to render some volumetric data with a GPU. I’ve written a fluid sim using CUDA C/C++, and now I’m in the stage of the project where I need to visualize the output. E…

---

## [Oriented image data, vtkImageResliceMapper / vtkImageSlice in VTK 9.1.0?](https://discourse.vtk.org/t/oriented-image-data-vtkimagereslicemapper-vtkimageslice-in-vtk-9-1-0/8167)

<div class="topic-metadata">

**Author:** [@Sophonet](https://discourse.vtk.org/u/Sophonet)\
**Replies:** 7\
**Last updated:** [March 19, 2024, 11:34am UTC](https://discourse.vtk.org/t/oriented-image-data-vtkimagereslicemapper-vtkimageslice-in-vtk-9-1-0/8167 "2024-03-19T11:34:09Z")

</div>

Hi everyone, I would like to show oriented image data in “world” / DICOM coordinates. For that I am using vtkImageResliceMapper and need to set a user matrix from unrotated to rotated coordinates for vtkImageSlice (whic…

---

## [VTK-m install](https://discourse.vtk.org/t/vtk-m-install/13577)

<div class="topic-metadata">

**Author:** [@Rafael\_Scatena](https://discourse.vtk.org/u/Rafael_Scatena)\
**Replies:** 0\
**Last updated:** [March 18, 2024, 10:09pm UTC](https://discourse.vtk.org/t/vtk-m-install/13577 "2024-03-18T22:09:51Z")

</div>

Hello, When I try to compile vtk-m with vtk-m\_ENABLE\_CUDA I get an error (see below). My specifications are: I am using vtk-m version: 2.1.0. Gcc: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0. And Cuda compilation tools…

---

## [vtkCellPicker example with vtkCellLocator](https://discourse.vtk.org/t/vtkcellpicker-example-with-vtkcelllocator/13575)

<div class="topic-metadata">

**Author:** [@whereismymoney](https://discourse.vtk.org/u/whereismymoney)\
**Replies:** 0\
**Last updated:** [March 18, 2024, 9:38pm UTC](https://discourse.vtk.org/t/vtkcellpicker-example-with-vtkcelllocator/13575 "2024-03-18T21:38:32Z")

</div>

I have written some sample code that uses a vtkCellPicker with a vtkCellLocator. It is a simple modification of an existing VTK vtkCellPicker example. I did this because I could not find any examples anywhere of how to u…

---

## [Transient VTKHDF format questions](https://discourse.vtk.org/t/transient-vtkhdf-format-questions/13569)

<div class="topic-metadata">

**Author:** [@nncarlson](https://discourse.vtk.org/u/nncarlson)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 3:42pm UTC](https://discourse.vtk.org/t/transient-vtkhdf-format-questions/13569 "2024-03-18T15:42:07Z")

</div>

I’ve been able to create a working demo VTKHDF file of UnstructuredGrid type with transient CellData and PointData. But I have a couple lingering questions: How do I handle static CellData that isn’t indexed by time. …

---

## [why vtkCommand::TimerEvent not work?](https://discourse.vtk.org/t/why-vtkcommand-timerevent-not-work/10113)

<div class="topic-metadata">

**Author:** [@marlon.ma](https://discourse.vtk.org/u/marlon.ma)\
**Replies:** 3\
**Last updated:** [March 17, 2024, 3:11pm UTC](https://discourse.vtk.org/t/why-vtkcommand-timerevent-not-work/10113 "2024-03-17T15:11:38Z")

</div>

\#include \<vtkRenderWindowInteractor.h\> #include \<vtkRenderer.h\> #include \<vtkRenderWindow.h\> #include \<vtkSphereSource.h\> #include \<vtkPolyDataMapper.h\> #include \<vtkActor.h\> #include \<vtkAutoInit.h\> VTK\_MODULE\_INIT(vtkR…

---

## [What are the best GUI toolkits that can be used to make a VTK based app ?](https://discourse.vtk.org/t/what-are-the-best-gui-toolkits-that-can-be-used-to-make-a-vtk-based-app/9550)

<div class="topic-metadata">

**Author:** [@Hamza](https://discourse.vtk.org/u/Hamza)\
**Replies:** 17\
**Last updated:** [March 15, 2024, 3:54pm UTC](https://discourse.vtk.org/t/what-are-the-best-gui-toolkits-that-can-be-used-to-make-a-vtk-based-app/9550 "2024-03-15T15:54:42Z")

</div>

Hi everyone, So, The app in question will be used to visualize some complex 3D models for scientific purposes. I’m aware that QT has an good integration possibility but the licensing scheme makes it very hard for us to…

---

## [Non-manifold caused by marching cube](https://discourse.vtk.org/t/non-manifold-caused-by-marching-cube/13504)

<div class="topic-metadata">

**Author:** [@Napat](https://discourse.vtk.org/u/Napat)\
**Replies:** 4\
**Last updated:** [March 15, 2024, 11:32am UTC](https://discourse.vtk.org/t/non-manifold-caused-by-marching-cube/13504 "2024-03-15T11:32:26Z")

</div>

I have a structured points data that I have prepared in such a way that my actual simulation data is in the middle surrounded by boundary points that all have the value of 0. My idea is that once I applied marching cube …

---

## [Is there any way to to determine which actor is clicked when using vtkCellPicker to pick a assembly.](https://discourse.vtk.org/t/is-there-any-way-to-to-determine-which-actor-is-clicked-when-using-vtkcellpicker-to-pick-a-assembly/11192)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 2\
**Last updated:** [March 15, 2024, 1:33am UTC](https://discourse.vtk.org/t/is-there-any-way-to-to-determine-which-actor-is-clicked-when-using-vtkcellpicker-to-pick-a-assembly/11192 "2024-03-15T01:33:08Z")

</div>

Hello,for some reasons I have to put a bunch of actors into an assembly and at the same I have to highlight picked clicked.But vtkCellPicker-\>GetViewProp() returns a vtkAssembly?My questions are: 1, Is there any way t…

---

## [any special code when deal with Width but not Height? when resize window by Width the object behave different from resizing by Height...](https://discourse.vtk.org/t/any-special-code-when-deal-with-width-but-not-height-when-resize-window-by-width-the-object-behave-different-from-resizing-by-height/13536)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [March 14, 2024, 11:34am UTC](https://discourse.vtk.org/t/any-special-code-when-deal-with-width-but-not-height-when-resize-window-by-width-the-object-behave-different-from-resizing-by-height/13536 "2024-03-14T11:34:07Z")

</div>

any special code when deal with Width but not Height? when resize window by Width the object behave different from resizing by Height… eg. when only resize by Width, esp. when the window width reach and become smaller t…

---

## [ScaleBar Observer](https://discourse.vtk.org/t/scalebar-observer/13532)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 0\
**Last updated:** [March 14, 2024, 8:06am UTC](https://discourse.vtk.org/t/scalebar-observer/13532 "2024-03-14T08:06:00Z")

</div>

Hello! I want to AddObserver onto scale bar, but i dont know how. I added doubleclick event to int, but it is not working: self.scalar\_bar = vtkScalarBarActor() self.scalar\_bar.AddObserver("LeftButtonDoubleClickEvent",…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=26)

[Next page](https://discourse.vtk.org/c/support/6.md?page=28)
