# Support

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

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

**Page:** 94

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Display topographic data as latitude, longitude and elevation?](https://discourse.vtk.org/t/display-topographic-data-as-latitude-longitude-and-elevation/6899)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 4\
**Last updated:** [October 18, 2021, 4:59pm UTC](https://discourse.vtk.org/t/display-topographic-data-as-latitude-longitude-and-elevation/6899 "2021-10-18T16:59:53Z")

</div>

My VTK C++ app reads GMT grid files that contain latitude/longitude (degrees) and corresponding elevation (meters) into a VtkPointArray, where x is longitude, y is latitude and z is depth. However the elevation range (z-…

---

## [vtkGeoTransform and vtkGeoProjection - how the heck to use them?](https://discourse.vtk.org/t/vtkgeotransform-and-vtkgeoprojection-how-the-heck-to-use-them/6898)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 2\
**Last updated:** [October 16, 2021, 9:20pm UTC](https://discourse.vtk.org/t/vtkgeotransform-and-vtkgeoprojection-how-the-heck-to-use-them/6898 "2021-10-16T21:20:51Z")

</div>

My vtk-8 C++ app reads GMT grid files that contain latitude/longitude (degrees) and elevation (meters) into a VtkPointArray. I would like to display the data in various map projections, including Universal Transverse Mer…

---

## [vtk app CPU usage 100%.](https://discourse.vtk.org/t/vtk-app-cpu-usage-100/6894)

<div class="topic-metadata">

**Author:** [@BeyondXinXin](https://discourse.vtk.org/u/BeyondXinXin)\
**Replies:** 0\
**Last updated:** [October 15, 2021, 9:37am UTC](https://discourse.vtk.org/t/vtk-app-cpu-usage-100/6894 "2021-10-15T09:37:21Z")

</div>

After modify vtkCubeAxesActor TitleText colour,CPU usage 100%. Set the uniform color and everything is normal class Callback : public vtkCommand { public: vtkTypeMacro(Callback, vtkCommand); static Callback \*New…

---

## [Visualize user made .ply properties with paraview](https://discourse.vtk.org/t/visualize-user-made-ply-properties-with-paraview/6886)

<div class="topic-metadata">

**Author:** [@Benjamin\_Fouquet](https://discourse.vtk.org/u/Benjamin_Fouquet)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 1:06pm UTC](https://discourse.vtk.org/t/visualize-user-made-ply-properties-with-paraview/6886 "2021-10-14T13:06:54Z")

</div>

Hello there, I have a .ply file with a user-defined property for each vertex. The property is a float value that is supposed to show the intensity of a particular vertex. Is there any elegant way to display this value i…

---

## [Point Cloud Cutting with no results](https://discourse.vtk.org/t/point-cloud-cutting-with-no-results/6855)

<div class="topic-metadata">

**Author:** [@dwventer](https://discourse.vtk.org/u/dwventer)\
**Replies:** 4\
**Last updated:** [October 14, 2021, 8:54am UTC](https://discourse.vtk.org/t/point-cloud-cutting-with-no-results/6855 "2021-10-14T08:54:05Z")

</div>

I’m stuck trying to slice a vtkCutter through my vtkPolyData object. Normally this is not a problem but for some reason, I’m getting no results from the cutter on datasets where I need to use vtkVertexGlyphFilter on the …

---

## [How to send python backend actor object data to vtk.js in HTML for rendering in web-browser?](https://discourse.vtk.org/t/how-to-send-python-backend-actor-object-data-to-vtk-js-in-html-for-rendering-in-web-browser/6799)

<div class="topic-metadata">

**Author:** [@Yuvi-416](https://discourse.vtk.org/u/Yuvi-416)\
**Replies:** 5\
**Last updated:** [October 12, 2021, 7:23pm UTC](https://discourse.vtk.org/t/how-to-send-python-backend-actor-object-data-to-vtk-js-in-html-for-rendering-in-web-browser/6799 "2021-10-12T19:23:10Z")

</div>

Hello everyone, I was trying to create a 3D web-viewer with the help of the Django framework. In the backend, I am using python ITK and VTK packages to read a series of DICOM images. And then I am passing the generated…

---

## [How to get 2D plane area?](https://discourse.vtk.org/t/how-to-get-2d-plane-area/6807)

<div class="topic-metadata">

**Author:** [@Dgg820502](https://discourse.vtk.org/u/Dgg820502)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 10:50am UTC](https://discourse.vtk.org/t/how-to-get-2d-plane-area/6807 "2021-10-12T10:50:29Z")

</div>

Dear friends, The following is my python code for generating the 2D area of a contour by randomly cutting a 3D figure. I have used vtkCutter and vtkImageReslice functions, but no ideal which function should use to get …

---

## [Smoothing vtkMarchingSquare output](https://discourse.vtk.org/t/smoothing-vtkmarchingsquare-output/4354)

<div class="topic-metadata">

**Author:** [@CDevel](https://discourse.vtk.org/u/CDevel)\
**Replies:** 9\
**Last updated:** [October 12, 2021, 7:33am UTC](https://discourse.vtk.org/t/smoothing-vtkmarchingsquare-output/4354 "2021-10-12T07:33:40Z")

</div>

Greetings to all. I have search around the net and the forum to find a way to smooth the output of vtkMarchingSquares but I am in dead end I think. I have implemented a Dicom Viewer with RTStruct and RTDose support. At …

---

## [Where to find examples in the VTKUserGuide book?](https://discourse.vtk.org/t/where-to-find-examples-in-the-vtkuserguide-book/6797)

<div class="topic-metadata">

**Author:** [@Lyna-Tlncgbnn](https://discourse.vtk.org/u/Lyna-Tlncgbnn)\
**Replies:** 1\
**Last updated:** [October 12, 2021, 1:34am UTC](https://discourse.vtk.org/t/where-to-find-examples-in-the-vtkuserguide-book/6797 "2021-10-12T01:34:50Z")

</div>

where to find the examples like The following example (Figure 4–5) demonstrates the use of texture mapping (see VTK/Examples/Rendering/Tcl/TPlane.tcl). I can\`t find it

---

## [Detect the collosion of models, and change model outlook realtime](https://discourse.vtk.org/t/detect-the-collosion-of-models-and-change-model-outlook-realtime/6778)

<div class="topic-metadata">

**Author:** [@xianger.qi](https://discourse.vtk.org/u/xianger.qi)\
**Replies:** 6\
**Last updated:** [October 11, 2021, 3:51am UTC](https://discourse.vtk.org/t/detect-the-collosion-of-models-and-change-model-outlook-realtime/6778 "2021-10-11T03:51:42Z")

</div>

Hi: Thanks for your reading. There are a question confused me, there are a femur model, and probe model. I control the probe to grind the femur. I can capture the collision caused by probe and femur. BUT I want to chang…

---

## [3D reconstruction](https://discourse.vtk.org/t/3d-reconstruction/6791)

<div class="topic-metadata">

**Author:** [@Lyna-Tlncgbnn](https://discourse.vtk.org/u/Lyna-Tlncgbnn)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 1:38am UTC](https://discourse.vtk.org/t/3d-reconstruction/6791 "2021-10-09T01:38:47Z")

</div>

How can I use CT dicom Images to reconstruct it， i use python

---

## [How to Use vtkAppendArcLength Filter with vtkPolyLine](https://discourse.vtk.org/t/how-to-use-vtkappendarclength-filter-with-vtkpolyline/6788)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 5:04pm UTC](https://discourse.vtk.org/t/how-to-use-vtkappendarclength-filter-with-vtkpolyline/6788 "2021-10-08T17:04:49Z")

</div>

I have several vtkPolyLine objects created from Plot on Intersection Curves filter. How can I use the vtkAppendArcLength filter to add arc\_length to its PointData? For instance, in ParaView, I am trying to get the follo…

---

## [vtk camera Pitch \> 87 degree resets view-up](https://discourse.vtk.org/t/vtk-camera-pitch-87-degree-resets-view-up/6786)

<div class="topic-metadata">

**Author:** [@santiago](https://discourse.vtk.org/u/santiago)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 10:25am UTC](https://discourse.vtk.org/t/vtk-camera-pitch-87-degree-resets-view-up/6786 "2021-10-08T10:25:54Z")

</div>

Hi All, I am using vtkCamea Pitch() for getting Coronal and Lateral view of a bone model. But when I use Pitch value \> 87 I get below warning. vtkRenderer.cxx:1164 WARN| vtkOpenGLRenderer (00000291DB33D650): Resettin…

---

## [Merging points of neighbour cells with vtkCleanPolyData](https://discourse.vtk.org/t/merging-points-of-neighbour-cells-with-vtkcleanpolydata/6782)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 8:00am UTC](https://discourse.vtk.org/t/merging-points-of-neighbour-cells-with-vtkcleanpolydata/6782 "2021-10-08T08:00:03Z")

</div>

Hi, I wish to extract the outer surface of a shape made of hexahedron. vtkGeometryFilter unfortunately can’t do it because these hexahedron are not sharing points. @will.schroeder suggested to use vtkCleanPolyData :…

---

## [How to pass data between VTK and netgen directly WITHOUT writing/reading files?](https://discourse.vtk.org/t/how-to-pass-data-between-vtk-and-netgen-directly-without-writing-reading-files/6776)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 0\
**Last updated:** [October 7, 2021, 5:03pm UTC](https://discourse.vtk.org/t/how-to-pass-data-between-vtk-and-netgen-directly-without-writing-reading-files/6776 "2021-10-07T17:03:51Z")

</div>

I knew how to exchange data by file,but it is verbose,so how to pass data to each other directly without writing/reading files?

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

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