# Latest

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

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

**Page:** 79

---

## [How to create proper netcdf plots like panoply in using vtk and opengl](https://discourse.vtk.org/t/how-to-create-proper-netcdf-plots-like-panoply-in-using-vtk-and-opengl/11328)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 5\
**Last updated:** [July 20, 2023, 2:14pm UTC](https://discourse.vtk.org/t/how-to-create-proper-netcdf-plots-like-panoply-in-using-vtk-and-opengl/11328 "2023-07-20T14:14:50Z")

</div>

In opengl how can i create plots like this using this code vtkSmartPointer\<vtkNetCDFCFReader\> reader = vtkSmartPointer\<vtkNetCDFCFReader\>::New(); reader-\>SetFileName("C:/Users/admin/Desktop/BOLTgui/BOL…

---

## [vtkDelaunay2D](https://discourse.vtk.org/t/vtkdelaunay2d/11447)

<div class="topic-metadata">

**Author:** [@Frankenstein](https://discourse.vtk.org/u/Frankenstein)\
**Replies:** 8\
**Last updated:** [July 20, 2023, 2:08pm UTC](https://discourse.vtk.org/t/vtkdelaunay2d/11447 "2023-07-20T14:08:33Z")

</div>

I have created a surface using the vtkDelaunay2D class, but due to different data, it often causes surface distortion like this ,How should I make these surfaces smoother? By the way, I have used several smoothing funct…

---

## [resolve : Neither dumpbin nor llvm-objdump could be found.](https://discourse.vtk.org/t/resolve-neither-dumpbin-nor-llvm-objdump-could-be-found/11781)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 2:03pm UTC](https://discourse.vtk.org/t/resolve-neither-dumpbin-nor-llvm-objdump-could-be-found/11781 "2023-07-20T14:03:22Z")

</div>

Hi, I am trying to build BarChartQt and I’ve configured the project correctly: However, when I execute Cmake --build ., I got errors: PS D:\\Study\\VTK\\Tutorial-MinGW\\BarChartQt\\build\> Cmake --build . \[ 20%\] Automatic …

---

## [How to visualize vector data using VTK](https://discourse.vtk.org/t/how-to-visualize-vector-data-using-vtk/11737)

<div class="topic-metadata">

**Author:** [@lake\_lagunita](https://discourse.vtk.org/u/lake_lagunita)\
**Replies:** 6\
**Last updated:** [July 20, 2023, 1:54pm UTC](https://discourse.vtk.org/t/how-to-visualize-vector-data-using-vtk/11737 "2023-07-20T13:54:04Z")

</div>

I am trying to visualize vector data using VTK. From some example I managed to write a code as follows: #include \<vtkActor.h\> #include \<vtkDataSetMapper.h\> #include \<vtkNamedColors.h\> #include \<vtkNew.h\> #include \<v…

---

## [VTK Examples - FroggieSurface and FroggieView](https://discourse.vtk.org/t/vtk-examples-froggiesurface-and-froggieview/11952)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 1:17pm UTC](https://discourse.vtk.org/t/vtk-examples-froggiesurface-and-froggieview/11952 "2023-07-20T13:17:34Z")

</div>

Introduction The VTK Frog example has been popular since the earliest days of the software. I am happy to announce that we have rejuvenated the code and made it easier to use. The original code – Frog.py, FrogDemo.py and…

---

## [How to create a vtu file with a 3D block model with sub-blocks?](https://discourse.vtk.org/t/how-to-create-a-vtu-file-with-a-3d-block-model-with-sub-blocks/11991)

<div class="topic-metadata">

**Author:** [@CharlesV](https://discourse.vtk.org/u/CharlesV)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 12:41pm UTC](https://discourse.vtk.org/t/how-to-create-a-vtu-file-with-a-3d-block-model-with-sub-blocks/11991 "2023-07-20T12:41:59Z")

</div>

Hi gents! First of all, I would like to apologize for my broken English. I am a mine engineer with a limited background in software programming. Despite this, I have managed to create some Python applications for my pe…

---

## [vtk.js remote view client failed to build.](https://discourse.vtk.org/t/vtk-js-remote-view-client-failed-to-build/11921)

<div class="topic-metadata">

**Author:** [@baoyun](https://discourse.vtk.org/u/baoyun)\
**Replies:** 26\
**Last updated:** [July 19, 2023, 7:26pm UTC](https://discourse.vtk.org/t/vtk-js-remote-view-client-failed-to-build/11921 "2023-07-19T19:26:35Z")

</div>

I am trying to build vtk.js for remote rendering vtk.js (kitware.github.io). But spend a lot of time, I could not make the client working. ( I am sure my vtk\_server.py works fine, I could make the entire system working …

---

## [Putting arrays on each cell of a mesh](https://discourse.vtk.org/t/putting-arrays-on-each-cell-of-a-mesh/11984)

<div class="topic-metadata">

**Author:** [@Marupio](https://discourse.vtk.org/u/Marupio)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 4:49pm UTC](https://discourse.vtk.org/t/putting-arrays-on-each-cell-of-a-mesh/11984 "2023-07-19T16:49:18Z")

</div>

I have a vtkMultiBlockDataSet that contains some vtkUnstructuredGrids and some vtkPolyData objects. I want to be able to put data on the cells of the vtkUnstructuredGrids such that each cell contains an arbitrary number…

---

## [How can I add http headers to vtkHttpDataSetReader ?](https://discourse.vtk.org/t/how-can-i-add-http-headers-to-vtkhttpdatasetreader/11979)

<div class="topic-metadata">

**Author:** [@Javi-r](https://discourse.vtk.org/u/Javi-r)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 3:33pm UTC](https://discourse.vtk.org/t/how-can-i-add-http-headers-to-vtkhttpdatasetreader/11979 "2023-07-19T15:33:27Z")

</div>

I am trying to upload a file in vtk.js .gz format from a server that needs authentication. I need add Authorization header to vtkHttpDataSetReader. How can I add headers to vtkHttpDataSetReader ? const reader = vtkHtt…

---

## [Get attributes and type data associated with points/cells](https://discourse.vtk.org/t/get-attributes-and-type-data-associated-with-points-cells/11956)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.vtk.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 3:29pm UTC](https://discourse.vtk.org/t/get-attributes-and-type-data-associated-with-points-cells/11956 "2023-07-19T15:29:25Z")

</div>

Hi, I am trying to extract the attributes associated with the point and cell data from a vtp file that contains tractography streamlines, together with some associated scalar and tensor data. So far I have been able to…

---

## [If stl is loaded as binary, it appears to be loaded but not visible on screen](https://discourse.vtk.org/t/if-stl-is-loaded-as-binary-it-appears-to-be-loaded-but-not-visible-on-screen/991)

<div class="topic-metadata">

**Author:** [@rjsgml5698](https://discourse.vtk.org/u/rjsgml5698)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 11:58am UTC](https://discourse.vtk.org/t/if-stl-is-loaded-as-binary-it-appears-to-be-loaded-but-not-visible-on-screen/991 "2023-07-19T11:58:55Z")

</div>

Hello! I am creating a viewer for stl using the example provided in vtk.js. However, there is a problem that can not be solved. If stl is loaded as binary, it appears to be loaded, but there is an invisible problem on …

---

## [Does VTK JS support MPR ?](https://discourse.vtk.org/t/does-vtk-js-support-mpr/2091)

<div class="topic-metadata">

**Author:** [@Phong\_Tran](https://discourse.vtk.org/u/Phong_Tran)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 11:54am UTC](https://discourse.vtk.org/t/does-vtk-js-support-mpr/2091 "2023-07-19T11:54:59Z")

</div>

Hi All, Can you tell me does VTK JS support MPR ? And is there any concrete example ? Thanks, Phong

---

## [Detect DICOM series inside client's folder from vtk.js running on browser](https://discourse.vtk.org/t/detect-dicom-series-inside-clients-folder-from-vtk-js-running-on-browser/7148)

<div class="topic-metadata">

**Author:** [@Simone](https://discourse.vtk.org/u/Simone)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 11:41am UTC](https://discourse.vtk.org/t/detect-dicom-series-inside-clients-folder-from-vtk-js-running-on-browser/7148 "2023-07-19T11:41:08Z")

</div>

Hi Everyone, I’m trying to develop a browser side js that can read a folder (chosen by the user) and detect/regroup all the dicom series in it. Is it possible in vtk.js? I know that in standard vtk library this could be…

---

## [How to get / set the camera zoom in renderWindow](https://discourse.vtk.org/t/how-to-get-set-the-camera-zoom-in-renderwindow/10399)

<div class="topic-metadata">

**Author:** [@dexter](https://discourse.vtk.org/u/dexter)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 11:00am UTC](https://discourse.vtk.org/t/how-to-get-set-the-camera-zoom-in-renderwindow/10399 "2023-07-19T11:00:53Z")

</div>

Hey, In a Generic Render Window, I’m rendering a 3D actor, that we can zoom using mouse scroll, I need to get and set the zoom property, I tried: GLWindow.getRenderer().getActiveCamera().getDistance() it doesn’t work, …

---

## [vtkDelaunay2D failed to triangulate some special concav polygons](https://discourse.vtk.org/t/vtkdelaunay2d-failed-to-triangulate-some-special-concav-polygons/9811)

<div class="topic-metadata">

**Author:** [@Robinhwd](https://discourse.vtk.org/u/Robinhwd)\
**Replies:** 11\
**Last updated:** [November 22, 2022, 1:44am UTC](https://discourse.vtk.org/t/vtkdelaunay2d-failed-to-triangulate-some-special-concav-polygons/9811 "2022-11-22T01:44:04Z")

</div>

Hi vtkers, I was trying to triangulate a mesh which includes two special concav polygons. The triangulation was perfect by using VTK 5.10 (vtkDelaunay2D), however when I update VTK to 9.2, it failed. Some triangles…

---

## [Slicer transformation result is different from my vtk codes](https://discourse.vtk.org/t/slicer-transformation-result-is-different-from-my-vtk-codes/11967)

<div class="topic-metadata">

**Author:** [@dzzhang](https://discourse.vtk.org/u/dzzhang)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 9:16pm UTC](https://discourse.vtk.org/t/slicer-transformation-result-is-different-from-my-vtk-codes/11967 "2023-07-18T21:16:39Z")

</div>

Recently I used the Transform module in Slicer to apply a linear transformation. Let’s say the translation is \[10, 20, 30\]. And the model moved to the correct position. However, when I used my own vtk codes below, the r…

---

## [vtkThinPlateSplineTransform custom base function](https://discourse.vtk.org/t/vtkthinplatesplinetransform-custom-base-function/11961)

<div class="topic-metadata">

**Author:** [@apteroti](https://discourse.vtk.org/u/apteroti)\
**Replies:** 3\
**Last updated:** [July 18, 2023, 8:47pm UTC](https://discourse.vtk.org/t/vtkthinplatesplinetransform-custom-base-function/11961 "2023-07-18T20:47:02Z")

</div>

I have two questions: 1- I was wondering how I can provide a custom base function for vtkThinPlateSplineTransform. For example, instead of R in a 3d scenario, I want to have the geodesic distance implemented into the alg…

---

## [How to use generic window interactor?](https://discourse.vtk.org/t/how-to-use-generic-window-interactor/11960)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 1:57pm UTC](https://discourse.vtk.org/t/how-to-use-generic-window-interactor/11960 "2023-07-18T13:57:17Z")

</div>

How to use vtkGenericRenderWindowInteractor? What is it meant for (use-case)? The documentation of vtkGenericRenderWindowInteractor is light… Not sure to get when, why and how you need to use this… Start from here: htt…

---

## [The code throws SIGSEGV after upgrading to VTK 9.2.6](https://discourse.vtk.org/t/the-code-throws-sigsegv-after-upgrading-to-vtk-9-2-6/11955)

<div class="topic-metadata">

**Author:** [@efourkal](https://discourse.vtk.org/u/efourkal)\
**Replies:** 3\
**Last updated:** [July 18, 2023, 12:46pm UTC](https://discourse.vtk.org/t/the-code-throws-sigsegv-after-upgrading-to-vtk-9-2-6/11955 "2023-07-18T12:46:28Z")

</div>

I have upgraded VTK from version 9.1 to 9.2.6. The code compiles, but throws SIGSEGV signal. GDB debugging gives the following: Thread 2 received signal SIGSEGV, Segmentation fault. vtkPoints::InsertNextPoint (this=0x6…

---

## [Draw Cylinder & Curved Shapes in VTKUnStructuredGrid](https://discourse.vtk.org/t/draw-cylinder-curved-shapes-in-vtkunstructuredgrid/11954)

<div class="topic-metadata">

**Author:** [@anshakeel](https://discourse.vtk.org/u/anshakeel)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 6:25am UTC](https://discourse.vtk.org/t/draw-cylinder-curved-shapes-in-vtkunstructuredgrid/11954 "2023-07-17T06:25:55Z")

</div>

Hello Everyone, Q1: I’m trying to generate VTK data. I have some Data that have cylindrical shapes like pipes and bends. I would like to convert them to VTK format. To achieve this, I am using VtkUnstructuredGrid.I sea…

---

## [Use wslink to interact with the server solution](https://discourse.vtk.org/t/use-wslink-to-interact-with-the-server-solution/11944)

<div class="topic-metadata">

**Author:** [@YaoDongcai](https://discourse.vtk.org/u/YaoDongcai)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 3:04am UTC](https://discourse.vtk.org/t/use-wslink-to-interact-with-the-server-solution/11944 "2023-07-18T03:04:56Z")

</div>

Use wslink to interact with the server solution, at present use this demo- Starting a vtk.js project from scratch | vtk.js , but found that the transmission is relatively slow, and the quality is not very good, there is …

---

## [vtk rendering satellite data from netcdf file in c++ error](https://discourse.vtk.org/t/vtk-rendering-satellite-data-from-netcdf-file-in-c-error/11930)

<div class="topic-metadata">

**Author:** [@Cave1212](https://discourse.vtk.org/u/Cave1212)\
**Replies:** 5\
**Last updated:** [July 17, 2023, 1:23pm UTC](https://discourse.vtk.org/t/vtk-rendering-satellite-data-from-netcdf-file-in-c-error/11930 "2023-07-17T13:23:36Z")

</div>

Im trying to render a netcdf satellite data file but when i open it i keep getting this error how do i fix this erorr 2023-07-11 12:15:04.205 ( 0.663s) \[ \] vtkNetCDFReader.cxx:834 WARN| vtkNetCDFC…

---

## [Help: Contour lines displayed discontinous](https://discourse.vtk.org/t/help-contour-lines-displayed-discontinous/11948)

<div class="topic-metadata">

**Author:** [@hxf0223](https://discourse.vtk.org/u/hxf0223)\
**Replies:** 6\
**Last updated:** [July 17, 2023, 12:16pm UTC](https://discourse.vtk.org/t/help-contour-lines-displayed-discontinous/11948 "2023-07-17T12:16:05Z")

</div>

I’m new on VTK, there’s a problem I do not know how to resolve: Select a contour to display using vtkContourFilter (The input data is a vtkUnstructuredGrid) filter-\>SetInputData(grid); filter-\>SetValue(0, 0.0); filter-\>S…

---

## [What "blit" mode do?](https://discourse.vtk.org/t/what-blit-mode-do/11934)

<div class="topic-metadata">

**Author:** [@fghoussen](https://discourse.vtk.org/u/fghoussen)\
**Replies:** 7\
**Last updated:** [July 16, 2023, 5:34pm UTC](https://discourse.vtk.org/t/what-blit-mode-do/11934 "2023-07-16T17:34:57Z")

</div>

What vtkOpenGLRenderWindow::SetFrameBlitModeToBlitToCurrent do? The documentation https://vtk.org/doc/nightly/html/classvtkOpenGLRenderWindow.html#abf6febada3d0b609614866e0f0f220f9 looks rather short to me!.. Can someb…

---

## [How can I show just border of Actor](https://discourse.vtk.org/t/how-can-i-show-just-border-of-actor/11903)

<div class="topic-metadata">

**Author:** [@A.M\_Shahpouri](https://discourse.vtk.org/u/A.M_Shahpouri)\
**Replies:** 6\
**Last updated:** [July 15, 2023, 8:28am UTC](https://discourse.vtk.org/t/how-can-i-show-just-border-of-actor/11903 "2023-07-15T08:28:26Z")

</div>

Hi I have a filled Actor Now I want to view just Border of this actor how can I do this?

---

## [Conversion of NIfTI mask file into VTK polydata file](https://discourse.vtk.org/t/conversion-of-nifti-mask-file-into-vtk-polydata-file/11915)

<div class="topic-metadata">

**Author:** [@sunita](https://discourse.vtk.org/u/sunita)\
**Replies:** 13\
**Last updated:** [July 15, 2023, 6:51am UTC](https://discourse.vtk.org/t/conversion-of-nifti-mask-file-into-vtk-polydata-file/11915 "2023-07-15T06:51:29Z")

</div>

Dear VTK users, We are trying to convert 3D numpy array into VTK polydata file to be used in three.js vtk loader which only supports polydata file. When we generated vtk file using ITK-SNAP we could load it to vtk load…

---

## [vtkCaption2D border size](https://discourse.vtk.org/t/vtkcaption2d-border-size/11947)

<div class="topic-metadata">

**Author:** [@DominionSoftware](https://discourse.vtk.org/u/DominionSoftware)\
**Replies:** 0\
**Last updated:** [July 14, 2023, 2:54pm UTC](https://discourse.vtk.org/t/vtkcaption2d-border-size/11947 "2023-07-14T14:54:39Z")

</div>

I’m having trouble gettting the size of the border to match the text. It seems a bit like a catch 22 in that the size of the text is not known until render. So getting the bounds of a new caption before rendering is in…

---

## [Multiple graphics card rendering](https://discourse.vtk.org/t/multiple-graphics-card-rendering/11927)

<div class="topic-metadata">

**Author:** [@kingui1106](https://discourse.vtk.org/u/kingui1106)\
**Replies:** 4\
**Last updated:** [July 14, 2023, 2:18pm UTC](https://discourse.vtk.org/t/multiple-graphics-card-rendering/11927 "2023-07-14T14:18:44Z")

</div>

I have dynamic scene what I would like to render in a VTK window (QT, VC++ 2015 application). Objects in the scene are pointcoulds with hundreds of thousands points. Scene consists of: House (~800,000 points), Car (~70…

---

## [How can I customize uniform variables that are used in replacement shader code in VTK.js?](https://discourse.vtk.org/t/how-can-i-customize-uniform-variables-that-are-used-in-replacement-shader-code-in-vtk-js/11802)

<div class="topic-metadata">

**Author:** [@Ranglage](https://discourse.vtk.org/u/Ranglage)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 2:16pm UTC](https://discourse.vtk.org/t/how-can-i-customize-uniform-variables-that-are-used-in-replacement-shader-code-in-vtk-js/11802 "2023-07-14T14:16:14Z")

</div>

In VTK, I can obtain a shader object from actor.GetShaderProperty() and customize uniform variables using the GetFragmentCustomUniforms().SetUniform3f() method. However, in VTK.js, the actor object does not have a shader…

---

## [Custom shader to deform mesh](https://discourse.vtk.org/t/custom-shader-to-deform-mesh/11943)

<div class="topic-metadata">

**Author:** [@alexDrinkwater](https://discourse.vtk.org/u/alexDrinkwater)\
**Replies:** 5\
**Last updated:** [July 14, 2023, 3:36am UTC](https://discourse.vtk.org/t/custom-shader-to-deform-mesh/11943 "2023-07-14T03:36:04Z")

</div>

I have polydata that contains point\_data that represents an FEA simulation’s displacement result. I am trying update the vertex shader in PolyDataMapper to add the displacement vector to the vertex position. I believe I…

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

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