# Support

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

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

**Page:** 39

---

## [How to determine the size of triangles I want from vtkdelaunay2d(C++)](https://discourse.vtk.org/t/how-to-determine-the-size-of-triangles-i-want-from-vtkdelaunay2d-c/12593)

<div class="topic-metadata">

**Author:** [@Fran\_Wang](https://discourse.vtk.org/u/Fran_Wang)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 10:07am UTC](https://discourse.vtk.org/t/how-to-determine-the-size-of-triangles-i-want-from-vtkdelaunay2d-c/12593 "2023-11-01T10:07:12Z")

</div>

Hello all, Assume I have 4 points(3 are vertices of a triangle, and another one is one point inside that triangle(not on the edge)). I want to use delaunay2d to get three triangles(Connect that one point with the other…

---

## [About STL Slicing and Extracting the Inner Loops data](https://discourse.vtk.org/t/about-stl-slicing-and-extracting-the-inner-loops-data/12496)

<div class="topic-metadata">

**Author:** [@Anvesh](https://discourse.vtk.org/u/Anvesh)\
**Replies:** 15\
**Last updated:** [October 31, 2023, 4:04am UTC](https://discourse.vtk.org/t/about-stl-slicing-and-extracting-the-inner-loops-data/12496 "2023-10-31T04:04:37Z")

</div>

Hi there, I started working with VTK recently. My objective is to extract the contour points on the cutting plane when sliced through a STL (Standard Tessellation Language) file. I kind of achieved it by using vtkCutt…

---

## [Convert vtkArray -\> vtkPoints?](https://discourse.vtk.org/t/convert-vtkarray-vtkpoints/10609)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 10\
**Last updated:** [October 31, 2023, 4:46am UTC](https://discourse.vtk.org/t/convert-vtkarray-vtkpoints/10609 "2023-10-31T04:46:10Z")

</div>

It seems (to me) that the data in vtkArray should be similar to vtkPoints. If I read in data, as a numpy array, and convert it to vtk format like: pd = vtk.vtkPolyData() g = numpy\_to\_vtk(my\_nice\_array) pd.SetPoints(g) T…

---

## [Compilation fails on macOS Sonoma with homebrew gcc-13.2](https://discourse.vtk.org/t/compilation-fails-on-macos-sonoma-with-homebrew-gcc-13-2/12571)

<div class="topic-metadata">

**Author:** [@abhinavsns](https://discourse.vtk.org/u/abhinavsns)\
**Replies:** 5\
**Last updated:** [October 30, 2023, 12:55pm UTC](https://discourse.vtk.org/t/compilation-fails-on-macos-sonoma-with-homebrew-gcc-13-2/12571 "2023-10-30T12:55:41Z")

</div>

Hello, I am trying to compile Paraview with gcc 13.2.0 (homebrew gcc), OpenMPI 4.1.1 on macOS Sonoma and VTK compilation is failing with the following error message: /paraview/VTK/Rendering/UI/vtkCocoaMacOSXSDKCompatib…

---

## [vtkRenderWindowInteractor3D is not work with exit cod 0 and render window just flash and disappear!!!](https://discourse.vtk.org/t/vtkrenderwindowinteractor3d-is-not-work-with-exit-cod-0-and-render-window-just-flash-and-disappear/8976)

<div class="topic-metadata">

**Author:** [@heruiyuan](https://discourse.vtk.org/u/heruiyuan)\
**Replies:** 1\
**Last updated:** [October 30, 2023, 12:40pm UTC](https://discourse.vtk.org/t/vtkrenderwindowinteractor3d-is-not-work-with-exit-cod-0-and-render-window-just-flash-and-disappear/8976 "2023-10-30T12:40:25Z")

</div>

vtkNew colors; vtkNew Source; Source-\>SetXLength(5); Source-\>SetYLength(5); Source-\>SetZLength(5); Source-\>Update(); // Create a mapper and actor vtkNew mapper; mapper-\>SetInputConnection(Source-\>GetOutputPort())…

---

## [Failed to install VTK 9.3.0.rc1 in VS2022 on Windows 10](https://discourse.vtk.org/t/failed-to-install-vtk-9-3-0-rc1-in-vs2022-on-windows-10/12569)

<div class="topic-metadata">

**Author:** [@501586528](https://discourse.vtk.org/u/501586528)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 12:32pm UTC](https://discourse.vtk.org/t/failed-to-install-vtk-9-3-0-rc1-in-vs2022-on-windows-10/12569 "2023-10-30T12:32:45Z")

</div>

Hello. I am new to VTK and I have downloaded, configured, and generated VTK with CMake. Once I have done that, I then went to the VTK visual studio solution file that was generated under /bin and ran the build for ALL\_…

---

## [The GLTF importer is abnormal](https://discourse.vtk.org/t/the-gltf-importer-is-abnormal/12565)

<div class="topic-metadata">

**Author:** [@wshunvx](https://discourse.vtk.org/u/wshunvx)\
**Replies:** 1\
**Last updated:** [October 30, 2023, 9:38am UTC](https://discourse.vtk.org/t/the-gltf-importer-is-abnormal/12565 "2023-10-30T09:38:49Z")

</div>

glTF extension KHR\_materials\_specular is used in this model, but not supported by this loader. The extension will be ignored. glTF extension KHR\_materials\_ior is used in this model, but not supported by this loader. The…

---

## [vtkCircleSource color lines and face differently](https://discourse.vtk.org/t/vtkcirclesource-color-lines-and-face-differently/12567)

<div class="topic-metadata">

**Author:** [@KOt](https://discourse.vtk.org/u/KOt)\
**Replies:** 0\
**Last updated:** [October 30, 2023, 9:00am UTC](https://discourse.vtk.org/t/vtkcirclesource-color-lines-and-face-differently/12567 "2023-10-30T09:00:03Z")

</div>

Hi there, I have created a vtkCircleSource in vtk.js and want to color the lines with a different color and opacity then the face. I have noticed that setting the face to false and the lines to true does not render anyt…

---

## [Show segment connection edges of a tube](https://discourse.vtk.org/t/show-segment-connection-edges-of-a-tube/12560)

<div class="topic-metadata">

**Author:** [@j-miguel](https://discourse.vtk.org/u/j-miguel)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 1:36am UTC](https://discourse.vtk.org/t/show-segment-connection-edges-of-a-tube/12560 "2023-10-30T01:36:58Z")

</div>

I’m using the TubeFilter on top of a polyline to display a tube and now I would like to display the segments connection “rings” on the tube. I’ve tried setting On the EdgeVisibility, but it display (as expected) all the…

---

## [Linking problem with Xcode](https://discourse.vtk.org/t/linking-problem-with-xcode/12562)

<div class="topic-metadata">

**Author:** [@s195t](https://discourse.vtk.org/u/s195t)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 12:32am UTC](https://discourse.vtk.org/t/linking-problem-with-xcode/12562 "2023-10-30T00:32:01Z")

</div>

Hello everyone, Since a couple of hours I am struggling to get this C++ example to compile and run properly with Xcode. What I did to get here is: Install vtk through “brew install vtk” Added the search paths /opt/ho…

---

## [Sync VtkPlane with VtkPlaneSource vtkactor matrix](https://discourse.vtk.org/t/sync-vtkplane-with-vtkplanesource-vtkactor-matrix/12551)

<div class="topic-metadata">

**Author:** [@wdw753951](https://discourse.vtk.org/u/wdw753951)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 4:10pm UTC](https://discourse.vtk.org/t/sync-vtkplane-with-vtkplanesource-vtkactor-matrix/12551 "2023-10-27T16:10:17Z")

</div>

tubeFilter\_-\>Update(); vtkNew\<vtkTransform\> vtkTransform\_c; vtkTransform\_c-\>SetMatrix(cylinderActor\_-\>GetMatrix()); transFilter\_-\>SetInputConnection(tubeFilter\_-\>GetOutputPort()); transFilter\_-\>SetTra…

---

## [Serialization of vtkmodules.numpy\_interface.dataset\_adapter.PolyData object](https://discourse.vtk.org/t/serialization-of-vtkmodules-numpy-interface-dataset-adapter-polydata-object/12548)

<div class="topic-metadata">

**Author:** [@paulcena](https://discourse.vtk.org/u/paulcena)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 4:45pm UTC](https://discourse.vtk.org/t/serialization-of-vtkmodules-numpy-interface-dataset-adapter-polydata-object/12548 "2023-10-26T16:45:04Z")

</div>

I am reading some very large vtp,obj,ply files and accessing the data with the numpy\_interface.dataset adapter, and then performing some operations on the results. My program for large files takes about 40 seconds, and I…

---

## [Getting the distance between points by moving along the gradient](https://discourse.vtk.org/t/getting-the-distance-between-points-by-moving-along-the-gradient/12542)

<div class="topic-metadata">

**Author:** [@maksim\_dzhigil](https://discourse.vtk.org/u/maksim_dzhigil)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 7:34am UTC](https://discourse.vtk.org/t/getting-the-distance-between-points-by-moving-along-the-gradient/12542 "2023-10-26T07:34:22Z")

</div>

I have a model of the human heart represented by a surface mesh. I solve the Laplace differential equation to calculate the wall thickness on this domain. The solution is saved in vtu format and is a volumetric mesh. Bel…

---

## [closed curve offset on surface](https://discourse.vtk.org/t/closed-curve-offset-on-surface/12532)

<div class="topic-metadata">

**Author:** [@czc98](https://discourse.vtk.org/u/czc98)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 6:50am UTC](https://discourse.vtk.org/t/closed-curve-offset-on-surface/12532 "2023-10-25T06:50:26Z")

</div>

I want to offset the closed curve on the surface by the specified distance as shown in the figure. One of my ideas is to use contour lines（using vtkContourFilter）to extract the offset curve, But one of the main questi…

---

## [How to remove a border around a region in a microscopy image](https://discourse.vtk.org/t/how-to-remove-a-border-around-a-region-in-a-microscopy-image/12528)

<div class="topic-metadata">

**Author:** [@bkocev](https://discourse.vtk.org/u/bkocev)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 11:14am UTC](https://discourse.vtk.org/t/how-to-remove-a-border-around-a-region-in-a-microscopy-image/12528 "2023-10-24T11:14:52Z")

</div>

Hi everyone, I am loading a microscopy image using OpenSlide and trying to visualize it using VTK. Unfortunately, I get a region border visualized around the individual regions in the image: The data is the followin…

---

## [error with function using vtkArrayCalculator](https://discourse.vtk.org/t/error-with-function-using-vtkarraycalculator/12526)

<div class="topic-metadata">

**Author:** [@Ludo](https://discourse.vtk.org/u/Ludo)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 8:16am UTC](https://discourse.vtk.org/t/error-with-function-using-vtkarraycalculator/12526 "2023-10-24T08:16:22Z")

</div>

Hello everyone, I’m creating streamline with vtkstreamtracer and in order to create vector from my data I’m using vtkArrayCalculator. So far the data array name I was using was just a single word without space and had …

---

## [Need help with Isosurface creation](https://discourse.vtk.org/t/need-help-with-isosurface-creation/12503)

<div class="topic-metadata">

**Author:** [@Ludo](https://discourse.vtk.org/u/Ludo)\
**Replies:** 2\
**Last updated:** [October 23, 2023, 11:17pm UTC](https://discourse.vtk.org/t/need-help-with-isosurface-creation/12503 "2023-10-23T23:17:21Z")

</div>

Hello everyone I’m new to VTK and I’m developing an application that use VTK for displaying cross section, isosurface and so on using C#. I’ve succeeded getting cross section vertex position, index and data value for g…

---

## [vtksys/Configure.hxx](https://discourse.vtk.org/t/vtksys-configure-hxx/12495)

<div class="topic-metadata">

**Author:** [@Massi](https://discourse.vtk.org/u/Massi)\
**Replies:** 8\
**Last updated:** [October 23, 2023, 8:17pm UTC](https://discourse.vtk.org/t/vtksys-configure-hxx/12495 "2023-10-23T20:17:16Z")

</div>

Hello, I’m creating a C++ application that can read images and display/render them. Adding the this header #include \<vtk-9.3/vtkImageReader2.h\> on one of my hpp file generates the following error: /usr/local/include/v…

---

## [Strange behavior of vtkPointGaussianMapper](https://discourse.vtk.org/t/strange-behavior-of-vtkpointgaussianmapper/12482)

<div class="topic-metadata">

**Author:** [@fhauser](https://discourse.vtk.org/u/fhauser)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 7:49pm UTC](https://discourse.vtk.org/t/strange-behavior-of-vtkpointgaussianmapper/12482 "2023-10-23T19:49:13Z")

</div>

Hello all, I have a strange behavior of vtkPointGaussianMapper using vtkPoints. It seems like the triangles are not transparent or are not correctly sorted. I’m not sure if I correctly use vtkPointGaussianMapper or …

---

## [Converting vtkUnstructuredGrid to vtkPolyData](https://discourse.vtk.org/t/converting-vtkunstructuredgrid-to-vtkpolydata/12508)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 3\
**Last updated:** [October 23, 2023, 12:31pm UTC](https://discourse.vtk.org/t/converting-vtkunstructuredgrid-to-vtkpolydata/12508 "2023-10-23T12:31:21Z")

</div>

I have a vtkUnstructuredGrid that is a contiguous mass of connected vtkHexahedrons (it is an appended grouping of vtkUnstructuredGrid). I want to use some algorithms that only work with vtkPolyData (namely I want to dele…

---

## [How to make the vtkStreamTracer Result move？](https://discourse.vtk.org/t/how-to-make-the-vtkstreamtracer-result-move/12513)

<div class="topic-metadata">

**Author:** [@zhang.zs.cn](https://discourse.vtk.org/u/zhang.zs.cn)\
**Replies:** 0\
**Last updated:** [October 20, 2023, 3:10am UTC](https://discourse.vtk.org/t/how-to-make-the-vtkstreamtracer-result-move/12513 "2023-10-20T03:10:14Z")

</div>

According to the official example, we successfully render the flow curve using vtkStreamTracer, but how to make the flow curve move? I mean, let’s say a particle is moving along a curve, or there’s some other way to make…

---

## [Warning undefined symbol vtkBalloonRepresentation ScaleImage](https://discourse.vtk.org/t/warning-undefined-symbol-vtkballoonrepresentation-scaleimage/12509)

<div class="topic-metadata">

**Author:** [@cebugdev](https://discourse.vtk.org/u/cebugdev)\
**Replies:** 3\
**Last updated:** [October 20, 2023, 2:39am UTC](https://discourse.vtk.org/t/warning-undefined-symbol-vtkballoonrepresentation-scaleimage/12509 "2023-10-20T02:39:42Z")

</div>

I finally manage to build vtk in wasm with QT and reached the linking stage. However, I am getting this warning (and not a linker error) during build warning: undefined symbol: \_ZN24vtkBalloonRepresentation10ScaleImage…

---

## [How to terminate the execution of the vtk algorithm when using multiple threads？](https://discourse.vtk.org/t/how-to-terminate-the-execution-of-the-vtk-algorithm-when-using-multiple-threads/12506)

<div class="topic-metadata">

**Author:** [@Jawanz](https://discourse.vtk.org/u/Jawanz)\
**Replies:** 1\
**Last updated:** [October 19, 2023, 5:59pm UTC](https://discourse.vtk.org/t/how-to-terminate-the-execution-of-the-vtk-algorithm-when-using-multiple-threads/12506 "2023-10-19T17:59:31Z")

</div>

Hi,there, At present, I am using some vtk algorithms (the parent classes are vtkAlgorithm classes) to execute the Update function in the child threads. Sometimes, because it takes too long, I need to terminate the execu…

---

## [How do I get the intersection point of an MRI image and a straight line in space?](https://discourse.vtk.org/t/how-do-i-get-the-intersection-point-of-an-mri-image-and-a-straight-line-in-space/12487)

<div class="topic-metadata">

**Author:** [@Dylan](https://discourse.vtk.org/u/Dylan)\
**Replies:** 5\
**Last updated:** [October 19, 2023, 12:16pm UTC](https://discourse.vtk.org/t/how-do-i-get-the-intersection-point-of-an-mri-image-and-a-straight-line-in-space/12487 "2023-10-19T12:16:21Z")

</div>

I used vtkImageReslice to cut a series of MRI images(dicom format), and I got the cut reslice result as an vtkImageData in 3D space. There was another straight line in the 3D space. How could I get the intersection poi…

---

## [Can I avoid adding duplicate cells to a vtkPolyData?](https://discourse.vtk.org/t/can-i-avoid-adding-duplicate-cells-to-a-vtkpolydata/12483)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 5\
**Last updated:** [October 18, 2023, 8:26pm UTC](https://discourse.vtk.org/t/can-i-avoid-adding-duplicate-cells-to-a-vtkpolydata/12483 "2023-10-18T20:26:34Z")

</div>

I have a vtkUnstructuredGrid composed of vtkHexahedrons (originally it was a vtkPartitionedDataSet composed of vtkStructuredGrids - it made my life easier to just have one partition). The next processing stage needs to s…

---

## [Delete/Modify a cell in a UnstructuredGrid](https://discourse.vtk.org/t/delete-modify-a-cell-in-a-unstructuredgrid/6772)

<div class="topic-metadata">

**Author:** [@Drew](https://discourse.vtk.org/u/Drew)\
**Replies:** 6\
**Last updated:** [October 18, 2023, 7:04pm UTC](https://discourse.vtk.org/t/delete-modify-a-cell-in-a-unstructuredgrid/6772 "2023-10-18T19:04:31Z")

</div>

I have an UnstructuredGrid that consists of a collection of square cells. Given an id of a particular cell I would like to either (assume that the ids for the points defining this cell are p\_0,p\_1,p\_2,p\_3) a) delete tha…

---

## [vtk how to disable memory extra cost when call render()?](https://discourse.vtk.org/t/vtk-how-to-disable-memory-extra-cost-when-call-render/12439)

<div class="topic-metadata">

**Author:** [@ch\_zeng](https://discourse.vtk.org/u/ch_zeng)\
**Replies:** 6\
**Last updated:** [October 18, 2023, 1:04pm UTC](https://discourse.vtk.org/t/vtk-how-to-disable-memory-extra-cost-when-call-render/12439 "2023-10-18T13:04:12Z")

</div>

Hi All, after load a vtkdataset,should use the renderWindow-\>Render()。but i found it will have a extra memory cost when the data is more than 100mb。 for example:a vtkdataset size is 500mb ,it’ll cost from 500mb to 1.5G …

---

## [Getting node IDs from a vtkCell?](https://discourse.vtk.org/t/getting-node-ids-from-a-vtkcell/12473)

<div class="topic-metadata">

**Author:** [@rexthor](https://discourse.vtk.org/u/rexthor)\
**Replies:** 4\
**Last updated:** [October 18, 2023, 12:16pm UTC](https://discourse.vtk.org/t/getting-node-ids-from-a-vtkcell/12473 "2023-10-18T12:16:02Z")

</div>

I’m generating a text list of node connectivity in a dataset, getting the node locations is pretty straightforward, but the connectivity is less so in my particular case. The dataset is a vtkUnstructuredGrid composed of…

---

## [vtkExtractGeometry on mulitple planes](https://discourse.vtk.org/t/vtkextractgeometry-on-mulitple-planes/12493)

<div class="topic-metadata">

**Author:** [@HBL](https://discourse.vtk.org/u/HBL)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 7:31pm UTC](https://discourse.vtk.org/t/vtkextractgeometry-on-mulitple-planes/12493 "2023-10-16T19:31:39Z")

</div>

I’m trying to implement something like Paraview’s crinkle slice but support multiple planes in a single filter. I expected I could use vtkImplicitBoolean to combine multiple planes into a single implicit function but I …

---

## [Rendering tubes and spheres and QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/rendering-tubes-and-spheres-and-qvtkopenglnativewidget/12168)

<div class="topic-metadata">

**Author:** [@totte\_karlsson](https://discourse.vtk.org/u/totte_karlsson)\
**Replies:** 10\
**Last updated:** [October 12, 2023, 2:09pm UTC](https://discourse.vtk.org/t/rendering-tubes-and-spheres-and-qvtkopenglnativewidget/12168 "2023-10-12T14:09:38Z")

</div>

Hello, We are rendering polylines and are using the technique described here to render points as spheres, pixels and wire vs tubes. I found that when using a console application, points are rendered as ‘pixels’ (square…

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

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