# Latest

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

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

**Page:** 159

---

## [how to get vtkImageViewer2 PlaneAxes differently and convert output image to bitmap or bitmapsource](https://discourse.vtk.org/t/how-to-get-vtkimageviewer2-planeaxes-differently-and-convert-output-image-to-bitmap-or-bitmapsource/6992)

<div class="topic-metadata">

**Author:** [@Javad\_Hosseini](https://discourse.vtk.org/u/Javad_Hosseini)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 1:35pm UTC](https://discourse.vtk.org/t/how-to-get-vtkimageviewer2-planeaxes-differently-and-convert-output-image-to-bitmap-or-bitmapsource/6992 "2021-10-27T13:35:45Z")

</div>

what im trying to do is a way to get image produced by vtkImageViewer and process on it. i have done this so far but it seems not working: vtkImageData data = \_viewer.GetInput(); Bitmap bitmap = data.ToBitmap(); i ge…

---

## [Move point but keep the mesh (python)](https://discourse.vtk.org/t/move-point-but-keep-the-mesh-python/6990)

<div class="topic-metadata">

**Author:** [@Texas](https://discourse.vtk.org/u/Texas)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 1:18pm UTC](https://discourse.vtk.org/t/move-point-but-keep-the-mesh-python/6990 "2021-10-27T13:18:30Z")

</div>

Main question : I would like to know if it is possible to move a point in one direction but keep the mesh in vtk-Python (see image below, with an example of 4 points moved) I am new to vtk and would like to know if some…

---

## [Is there any way to export vtkPolyData to step,iges or brep](https://discourse.vtk.org/t/is-there-any-way-to-export-vtkpolydata-to-step-iges-or-brep/6986)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 11:30am UTC](https://discourse.vtk.org/t/is-there-any-way-to-export-vtkpolydata-to-step-iges-or-brep/6986 "2021-10-27T11:30:39Z")

</div>

Hello,any way to do it,directly or indirectly?

---

## [Can I get cell Ids by cell type and points](https://discourse.vtk.org/t/can-i-get-cell-ids-by-cell-type-and-points/6980)

<div class="topic-metadata">

**Author:** [@huaweiping](https://discourse.vtk.org/u/huaweiping)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 7:45am UTC](https://discourse.vtk.org/t/can-i-get-cell-ids-by-cell-type-and-points/6980 "2021-10-27T07:45:03Z")

</div>

Hi, I have a dataset with 50050050 points and related point data. I have done some operation and extract a closed but irregular structure with points. However, I want to visualize the isosurface of the structure so I ne…

---

## [NIFTI file rendering blank, possibly camera or color levels?](https://discourse.vtk.org/t/nifti-file-rendering-blank-possibly-camera-or-color-levels/6978)

<div class="topic-metadata">

**Author:** [@anonymous\_iguana](https://discourse.vtk.org/u/anonymous_iguana)\
**Replies:** 0\
**Last updated:** [October 27, 2021, 12:15am UTC](https://discourse.vtk.org/t/nifti-file-rendering-blank-possibly-camera-or-color-levels/6978 "2021-10-27T00:15:40Z")

</div>

Hi there, I’ve been trying to render a .nii file using ITK.js and VTK.js and so far I’ve only been able to come up with a blank black square… I believe my file is being loaded (at least partially), as I am able to get …

---

## [Unix Build Error](https://discourse.vtk.org/t/unix-build-error/6805)

<div class="topic-metadata">

**Author:** [@simon.michnowicz](https://discourse.vtk.org/u/simon.michnowicz)\
**Replies:** 17\
**Last updated:** [October 26, 2021, 10:42pm UTC](https://discourse.vtk.org/t/unix-build-error/6805 "2021-10-26T22:42:54Z")

</div>

Dear Support, I am getting a cmake error when I try to build on a Centos 7 Box – Performing Test CHECK\_HAVE\_STAT64\_STRUCT - Failed The failed test shows /usr/local/src/VTK/VTK-9.1.0.rc2/build/CMakeFiles/CMakeTmp/src.…

---

## [VTK point cloud and mesh filters for downsampling, registration, ICP transform](https://discourse.vtk.org/t/vtk-point-cloud-and-mesh-filters-for-downsampling-registration-icp-transform/6974)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.vtk.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 7:59pm UTC](https://discourse.vtk.org/t/vtk-point-cloud-and-mesh-filters-for-downsampling-registration-icp-transform/6974 "2021-10-26T19:59:33Z")

</div>

In the context of the SlicerMorph project (details below). We are looking to improving existing VTK filters or develop new ones. Question Following a suggestion of @will.schroeder , I am reaching out to understand which…

---

## [How to mesh concentric irregular ellipsoid ?](https://discourse.vtk.org/t/how-to-mesh-concentric-irregular-ellipsoid/6911)

<div class="topic-metadata">

**Author:** [@Texas](https://discourse.vtk.org/u/Texas)\
**Replies:** 2\
**Last updated:** [October 26, 2021, 12:33pm UTC](https://discourse.vtk.org/t/how-to-mesh-concentric-irregular-ellipsoid/6911 "2021-10-26T12:33:09Z")

</div>

Hello, Me question is specific: as the title said, I am trying to mesh concentric ellipsoid. Each ellipsoid defined by cloud point. And I try to use de Delaunay\_2D method. I use 2 consecutive ellipsoid and mesh it. I c…

---

## [How to extract actor edges in VTK.JS](https://discourse.vtk.org/t/how-to-extract-actor-edges-in-vtk-js/6934)

<div class="topic-metadata">

**Author:** [@lgq00139](https://discourse.vtk.org/u/lgq00139)\
**Replies:** 4\
**Last updated:** [October 26, 2021, 1:38am UTC](https://discourse.vtk.org/t/how-to-extract-actor-edges-in-vtk-js/6934 "2021-10-26T01:38:59Z")

</div>

How to extract actor edges in VTK.JS

---

## [Setting vtkLookupTable ramp seems to have no effect](https://discourse.vtk.org/t/setting-vtklookuptable-ramp-seems-to-have-no-effect/6967)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 11:15pm UTC](https://discourse.vtk.org/t/setting-vtklookuptable-ramp-seems-to-have-no-effect/6967 "2021-10-25T23:15:59Z")

</div>

My C++ app displays a topographic surface, and I want color to indicate elevation. I create a lookup table from 11 discrete colors. I would like the displayed color of each pixel to represent the linear interpolation bet…

---

## [Investigate Difference Between Two VTK Objects](https://discourse.vtk.org/t/investigate-difference-between-two-vtk-objects/6965)

<div class="topic-metadata">

**Author:** [@theodorebaltis](https://discourse.vtk.org/u/theodorebaltis)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 6:48pm UTC](https://discourse.vtk.org/t/investigate-difference-between-two-vtk-objects/6965 "2021-10-25T18:48:49Z")

</div>

I am having an issue with a vtkUnstructuredGrid dataset that I create largely using vtk.util.numpy\_support.numpy\_to\_vtk I am attempting to convert this dataset to a vtkPolyData using the vtkGeometryFilter but it hangs a…

---

## [vtkCamera when does the ProjectionTransform get set ???](https://discourse.vtk.org/t/vtkcamera-when-does-the-projectiontransform-get-set/6948)

<div class="topic-metadata">

**Author:** [@ARSanderson](https://discourse.vtk.org/u/ARSanderson)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 4:30pm UTC](https://discourse.vtk.org/t/vtkcamera-when-does-the-projectiontransform-get-set/6948 "2021-10-25T16:30:41Z")

</div>

I have a case where I pull off all of the vtkCamera attributes and save them so as a vtkCamera can not be pass around. Later I want to replicate that view, I have all of the parameters and create a new vtkCamera. However…

---

## [vtkLightKit in vtkjs](https://discourse.vtk.org/t/vtklightkit-in-vtkjs/6963)

<div class="topic-metadata">

**Author:** [@micheleivani](https://discourse.vtk.org/u/micheleivani)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 1:11pm UTC](https://discourse.vtk.org/t/vtklightkit-in-vtkjs/6963 "2021-10-25T13:11:47Z")

</div>

Hello, I just joined the forum. I develop a desktop win form application in c#. I’m using VTK with C# lib and right now I’m testing the vtkjs features. In c# lib I use the vtkLightKit class in order to make the default…

---

## [Inconsistent behavior in X11 interactor ProcessEvents](https://discourse.vtk.org/t/inconsistent-behavior-in-x11-interactor-processevents/6955)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 8:28am UTC](https://discourse.vtk.org/t/inconsistent-behavior-in-x11-interactor-processevents/6955 "2021-10-25T08:28:14Z")

</div>

When I call ProcessEvents in my own loop, the joystick functionality: Dolly, Spin, Rotate do not work. However, zooming in/out works. This is not the case on windows or SDL2. void callback(vtkObject\* caller, unsigned lo…

---

## [shader replacement issue in 9.1.0.rc1](https://discourse.vtk.org/t/shader-replacement-issue-in-9-1-0-rc1/6949)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 10:14am UTC](https://discourse.vtk.org/t/shader-replacement-issue-in-9-1-0-rc1/6949 "2021-10-23T10:14:15Z")

</div>

We use dashed lines in our application. Dashed lines are no longer supported natively, so I have developed an actor that implements the fix proposed by @clintonstimpson in https://gitlab.kitware.com/vtk/vtk/-/issues/1579…

---

## [How to read Dicom using VTK from header](https://discourse.vtk.org/t/how-to-read-dicom-using-vtk-from-header/6954)

<div class="topic-metadata">

**Author:** [@Riad](https://discourse.vtk.org/u/Riad)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 8:00am UTC](https://discourse.vtk.org/t/how-to-read-dicom-using-vtk-from-header/6954 "2021-10-25T08:00:15Z")

</div>

Hello, I have some issues when I try to read Dicom from header. I Have to files (File1.IMG and file2.hdr) and I’m using this code: vtkSmartPointer\< vtkDICOMImageReader \> reader = vtkSmartPointer\< vtkDICOMImageReader \>::…

---

## [set EdgeVisibilityOn when draw VTK\_HEXAHEDRON](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932)

<div class="topic-metadata">

**Author:** [@Ren](https://discourse.vtk.org/u/Ren)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 2:35am UTC](https://discourse.vtk.org/t/set-edgevisibilityon-when-draw-vtk-hexahedron/6932 "2021-10-25T02:35:07Z")

</div>

I have a question about EdgeVisibilityOn when draw VTK\_HEXAHEDRON, why a little edge will be show in the picture? In SetRepresentationToSurface mode, the small edge should be hide.

---

## [Disable interactions of interactor in python](https://discourse.vtk.org/t/disable-interactions-of-interactor-in-python/6939)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 2\
**Last updated:** [October 24, 2021, 12:53pm UTC](https://discourse.vtk.org/t/disable-interactions-of-interactor-in-python/6939 "2021-10-24T12:53:49Z")

</div>

I use vtk in an application (qt) where I would like to define my own events for right-mouse button (context menu) as well as some of the key presses. Problem is that they are already used by the interactor. (https://vt…

---

## [EMST based on Delaunay3D](https://discourse.vtk.org/t/emst-based-on-delaunay3d/6942)

<div class="topic-metadata">

**Author:** [@Lina](https://discourse.vtk.org/u/Lina)\
**Replies:** 0\
**Last updated:** [October 22, 2021, 2:23pm UTC](https://discourse.vtk.org/t/emst-based-on-delaunay3d/6942 "2021-10-22T14:23:51Z")

</div>

Hello, I would like to use the Delaunay3D filter to build a euclidian minimum spanning tree. I have a doubt about the parameters to use to have a correct result. Should I even use the 3D? if yes which alpha value I shoul…

---

## [Move actors and retrieve their world coordinates](https://discourse.vtk.org/t/move-actors-and-retrieve-their-world-coordinates/6914)

<div class="topic-metadata">

**Author:** [@lsioctl](https://discourse.vtk.org/u/lsioctl)\
**Replies:** 11\
**Last updated:** [October 22, 2021, 12:31pm UTC](https://discourse.vtk.org/t/move-actors-and-retrieve-their-world-coordinates/6914 "2021-10-22T12:31:13Z")

</div>

Hello ! This discussion is related to: I would like to: move (translate) actors with slider retrieve their position in world coordinate once moved Is it possible ? I feel I don’t understand enough VTK and do somet…

---

## [Reading a CGNS file in Python](https://discourse.vtk.org/t/reading-a-cgns-file-in-python/6938)

<div class="topic-metadata">

**Author:** [@Procyon](https://discourse.vtk.org/u/Procyon)\
**Replies:** 0\
**Last updated:** [October 22, 2021, 11:17am UTC](https://discourse.vtk.org/t/reading-a-cgns-file-in-python/6938 "2021-10-22T11:17:39Z")

</div>

Hello, I would like to read/import a CGNS file using the VTK Python bindings, but I did not find a vtkCGNSReader() method in the Python vtk module. Using vtkGenericDataClassReader does not work either. It is a HDF5 CGN…

---

## [Reading a binary vtk file with multiple scalars](https://discourse.vtk.org/t/reading-a-binary-vtk-file-with-multiple-scalars/6936)

<div class="topic-metadata">

**Author:** [@Procyon](https://discourse.vtk.org/u/Procyon)\
**Replies:** 0\
**Last updated:** [October 22, 2021, 10:17am UTC](https://discourse.vtk.org/t/reading-a-binary-vtk-file-with-multiple-scalars/6936 "2021-10-22T10:17:36Z")

</div>

Hello, I am trying to read a binary vtk file using vtkGenericDataObjectReader, but it reads only the first scalar, even when i call ReadAllScalarsOn(). Here is my Python code: theFilename = 'StaticMixer\_001\_VTK\\Default…

---

## [Changing ShapeWidget Colors](https://discourse.vtk.org/t/changing-shapewidget-colors/6850)

<div class="topic-metadata">

**Author:** [@seattlewayne](https://discourse.vtk.org/u/seattlewayne)\
**Replies:** 4\
**Last updated:** [October 22, 2021, 10:13am UTC](https://discourse.vtk.org/t/changing-shapewidget-colors/6850 "2021-10-22T10:13:43Z")

</div>

I continue to play with the ShapeWidget Example and have come up with an issue that I have not been able to solve. How do you change the color of the RectangleWidget? I was able to change the color of the EllipseWidget…

---

## [Example of vtkProgrammableGlyphFilter in Python](https://discourse.vtk.org/t/example-of-vtkprogrammableglyphfilter-in-python/6926)

<div class="topic-metadata">

**Author:** [@woodscn](https://discourse.vtk.org/u/woodscn)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 4:58am UTC](https://discourse.vtk.org/t/example-of-vtkprogrammableglyphfilter-in-python/6926 "2021-10-22T04:58:14Z")

</div>

Is it possible to provide an example of vtkProgrammableGlyphFilter in Python? I’m not sure how to handle the void function pointer.

---

## [Matlab system() call to anaconda env python script which uses VTK](https://discourse.vtk.org/t/matlab-system-call-to-anaconda-env-python-script-which-uses-vtk/4081)

<div class="topic-metadata">

**Author:** [@gwave](https://discourse.vtk.org/u/gwave)\
**Replies:** 1\
**Last updated:** [October 21, 2021, 3:27pm UTC](https://discourse.vtk.org/t/matlab-system-call-to-anaconda-env-python-script-which-uses-vtk/4081 "2021-10-21T15:27:21Z")

</div>

I’ve spent the last 24hrs scouring the internet to try and find a solution for this but nothing seems to work. I’m on a Windows OS I’m using Matlab 2019a and I call a Python script during the execution of the code. The…

---

## [Problem when using PaintWidget](https://discourse.vtk.org/t/problem-when-using-paintwidget/6887)

<div class="topic-metadata">

**Author:** [@gaston-perret](https://discourse.vtk.org/u/gaston-perret)\
**Replies:** 3\
**Last updated:** [October 20, 2021, 6:38pm UTC](https://discourse.vtk.org/t/problem-when-using-paintwidget/6887 "2021-10-20T18:38:45Z")

</div>

Hello. Im trying to use the PaintWidget and I get the following error in the console: Uncaught ReferenceError: \_toConsumableArray$1 is not defined at d215de43-467b-4325-a63d-983ea8728018:616 I tracked this method and …

---

## [TimeOut in web-project-templates-master example.](https://discourse.vtk.org/t/timeout-in-web-project-templates-master-example/6925)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 6:28pm UTC](https://discourse.vtk.org/t/timeout-in-web-project-templates-master-example/6925 "2021-10-20T18:28:26Z")

</div>

Dear All, As I understand the cited example when started of the side of the server and the browser is not started the server side timeouts and ends. Is it true? How to start without timeout? Thanks, Luís Gonçalves

---

## [Thresholding VolumeViewer](https://discourse.vtk.org/t/thresholding-volumeviewer/6896)

<div class="topic-metadata">

**Author:** [@emil-peter](https://discourse.vtk.org/u/emil-peter)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 6:03pm UTC](https://discourse.vtk.org/t/thresholding-volumeviewer/6896 "2021-10-20T18:03:04Z")

</div>

Hi all, I’ve seen the examples of vtk js where the volume renderer is used in combination with vtkPiecewiseFunction and the vtkPiecewiseGaussianWidget I was wondering if there is a way to use this piecewise function to…

---

## [Convert dataset to PolyData](https://discourse.vtk.org/t/convert-dataset-to-polydata/6913)

<div class="topic-metadata">

**Author:** [@woodscn](https://discourse.vtk.org/u/woodscn)\
**Replies:** 2\
**Last updated:** [October 20, 2021, 3:09pm UTC](https://discourse.vtk.org/t/convert-dataset-to-polydata/6913 "2021-10-20T15:09:49Z")

</div>

How do you convert a 2D dataset to PolyData in VTK? I would use Extract Surface in Paraview, but the documentation for vtkExtractSurface seems to describe something different, and it requires a PolyData input. It may als…

---

## [how to generate vtkTexture?](https://discourse.vtk.org/t/how-to-generate-vtktexture/6924)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.vtk.org/u/junqiangchen)\
**Replies:** 0\
**Last updated:** [October 20, 2021, 9:10am UTC](https://discourse.vtk.org/t/how-to-generate-vtktexture/6924 "2021-10-20T09:10:12Z")

</div>

Hi,i want generate virtual bracket.i have generated the virtual cylinder,like this: but i want to put texture on cylinder,just like this, here i have the bracket stl file,like this: so,is there any methods to c…

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

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