# Latest

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

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

**Page:** 115

---

## [how to add a rigth mouse click popup menu option in a vtkview](https://discourse.vtk.org/t/how-to-add-a-rigth-mouse-click-popup-menu-option-in-a-vtkview/9627)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 0\
**Last updated:** [October 17, 2022, 11:10am UTC](https://discourse.vtk.org/t/how-to-add-a-rigth-mouse-click-popup-menu-option-in-a-vtkview/9627 "2022-10-17T11:10:51Z")

</div>

i have a mfc application and in there i have a menu option called “view” and in there the vtk view is diplayed when clicked the button when rigth clicking the vtk view I want to have 2 popup menu options anybody plz he…

---

## [Trouble when Introducing VTK 9.2.2 to winui3 C++](https://discourse.vtk.org/t/trouble-when-introducing-vtk-9-2-2-to-winui3-c/9622)

<div class="topic-metadata">

**Author:** [@pronaman](https://discourse.vtk.org/u/pronaman)\
**Replies:** 0\
**Last updated:** [October 17, 2022, 2:55am UTC](https://discourse.vtk.org/t/trouble-when-introducing-vtk-9-2-2-to-winui3-c/9622 "2022-10-17T02:55:31Z")

</div>

I am currently working with QT/QML. The product I am programming is only for windows based. so, I am going to use winui3 (not considering WPF, WinForms, and MFC. they are not easy to use C++ or very old). As you probabl…

---

## [How to use "vtkMedicalImageProperties.h" functions in visual studio with QT C++](https://discourse.vtk.org/t/how-to-use-vtkmedicalimageproperties-h-functions-in-visual-studio-with-qt-c/9597)

<div class="topic-metadata">

**Author:** [@a0980543469](https://discourse.vtk.org/u/a0980543469)\
**Replies:** 3\
**Last updated:** [October 15, 2022, 3:43pm UTC](https://discourse.vtk.org/t/how-to-use-vtkmedicalimageproperties-h-functions-in-visual-studio-with-qt-c/9597 "2022-10-15T15:43:25Z")

</div>

Hello everybody, I would like to use “vtkMedicalImageProperties.h” functions to get the information of DICOM, but have no idea to use the function. Is there any example or format that I can understand how to make it wo…

---

## [How to speed up render?](https://discourse.vtk.org/t/how-to-speed-up-render/9609)

<div class="topic-metadata">

**Author:** [@herman](https://discourse.vtk.org/u/herman)\
**Replies:** 2\
**Last updated:** [October 15, 2022, 12:01am UTC](https://discourse.vtk.org/t/how-to-speed-up-render/9609 "2022-10-15T00:01:46Z")

</div>

Dear vtk users: 15million points cost 1.8s to render. Is there any solutions to accelerate render ? Here is my code renderdemo.cxx (1.7 KB) Thanks!

---

## [Blurry contour plot with vtkBandedPolyDataContourFilter](https://discourse.vtk.org/t/blurry-contour-plot-with-vtkbandedpolydatacontourfilter/9613)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.vtk.org/u/Jan)\
**Replies:** 3\
**Last updated:** [October 14, 2022, 6:20pm UTC](https://discourse.vtk.org/t/blurry-contour-plot-with-vtkbandedpolydatacontourfilter/9613 "2022-10-14T18:20:34Z")

</div>

Hello everyone, I am trying to colour a 2D representation with a contour plot for which I am using vtkBandedPolyDataContourFilter. The available examples show very neat constant colouring within the bands, so I am a lit…

---

## [Cutting structured data Vectorfield](https://discourse.vtk.org/t/cutting-structured-data-vectorfield/9438)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.vtk.org/u/Jan)\
**Replies:** 2\
**Last updated:** [October 14, 2022, 7:27am UTC](https://discourse.vtk.org/t/cutting-structured-data-vectorfield/9438 "2022-10-14T07:27:17Z")

</div>

Hello everyone, I am working on displaying a vectorfield. The 3-components vector data is set as point-data in a vtkRectilinearGrid. This is, how I implemented the cutting: vtkCutter\* planeCut = vtkCutter::New();| pla…

---

## [how to implement export graph data to csv file](https://discourse.vtk.org/t/how-to-implement-export-graph-data-to-csv-file/9607)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 0\
**Last updated:** [October 14, 2022, 6:33am UTC](https://discourse.vtk.org/t/how-to-implement-export-graph-data-to-csv-file/9607 "2022-10-14T06:33:56Z")

</div>

i have created a xygraph refering to the vtk example(c++) https://kitware.github.io/vtk-examples/site/Cxx/Plotting/ScatterPlot/ i want this graph to be exported as a csv file can anyone help me with this

---

## [Vtk.js model disappeared after rotation](https://discourse.vtk.org/t/vtk-js-model-disappeared-after-rotation/9580)

<div class="topic-metadata">

**Author:** [@kevinxiaomu](https://discourse.vtk.org/u/kevinxiaomu)\
**Replies:** 2\
**Last updated:** [October 13, 2022, 2:59pm UTC](https://discourse.vtk.org/t/vtk-js-model-disappeared-after-rotation/9580 "2022-10-13T14:59:07Z")

</div>

The rotation function through the mouse left button is working well before I changed the “pan” function from mouse left + shift button to mouse right button. But after the pan function is changed to mouse right button, t…

---

## [Can VTK 8.2 link with Qt qml?](https://discourse.vtk.org/t/can-vtk-8-2-link-with-qt-qml/9563)

<div class="topic-metadata">

**Author:** [@mh0223](https://discourse.vtk.org/u/mh0223)\
**Replies:** 5\
**Last updated:** [October 13, 2022, 1:29pm UTC](https://discourse.vtk.org/t/can-vtk-8-2-link-with-qt-qml/9563 "2022-10-13T13:29:22Z")

</div>

Hi, I started developing vtk project with Qt version 5. I literally started it, so I loaded vtk library on Qt but I don’t know How to load renderWindow in qml file. How can I load vtkrenderwindow on qml file and manipu…

---

## [ColorTransferFunction - Stepped colors](https://discourse.vtk.org/t/colortransferfunction-stepped-colors/9578)

<div class="topic-metadata">

**Author:** [@stu039](https://discourse.vtk.org/u/stu039)\
**Replies:** 9\
**Last updated:** [October 13, 2022, 10:14am UTC](https://discourse.vtk.org/t/colortransferfunction-stepped-colors/9578 "2022-10-13T10:14:57Z")

</div>

Hi there, I am using a vtkColorTransfer function to apply colors to scalar values in my polydata. I am then applying this function to my scalarBarActor. This looks like the image below: I am wondering if there is a …

---

## [QML/VTK interactive widget](https://discourse.vtk.org/t/qml-vtk-interactive-widget/9591)

<div class="topic-metadata">

**Author:** [@jerogor](https://discourse.vtk.org/u/jerogor)\
**Replies:** 0\
**Last updated:** [October 13, 2022, 8:47am UTC](https://discourse.vtk.org/t/qml-vtk-interactive-widget/9591 "2022-10-13T08:47:18Z")

</div>

Hello, I am facing some issues regarding the use of QQuickVTKInteractiveWidget to leverage VTK interactive widgets into QML application. For example, I am trying to use the vtkCameraOrientationWidget. The widget appears…

---

## [How to force render a vtkActor](https://discourse.vtk.org/t/how-to-force-render-a-vtkactor/9459)

<div class="topic-metadata">

**Author:** [@m-agour](https://discourse.vtk.org/u/m-agour)\
**Replies:** 2\
**Last updated:** [October 13, 2022, 2:02am UTC](https://discourse.vtk.org/t/how-to-force-render-a-vtkactor/9459 "2022-10-13T02:02:44Z")

</div>

Hello VTK community, vtkActors that are not visible (outside camera range) seems to not getting rendered. I becomes an issue when I try to change the actor’s position using the shader (gl\_Position). The actor disappears…

---

## [Compilation errors related to PEGTL / Proj](https://discourse.vtk.org/t/compilation-errors-related-to-pegtl-proj/5929)

<div class="topic-metadata">

**Author:** [@KBentley57](https://discourse.vtk.org/u/KBentley57)\
**Replies:** 12\
**Last updated:** [October 12, 2022, 5:17pm UTC](https://discourse.vtk.org/t/compilation-errors-related-to-pegtl-proj/5929 "2022-10-12T17:17:31Z")

</div>

Hi all, I’ve nearly got VTK compiling with most of the ThirdParty packages turned off. There’s a few errors that are keeping me from 100%, and I’m open to ideas on how to move past them. The first is encountered in th…

---

## [Calculating the actual angle subtended by each pixel in a display](https://discourse.vtk.org/t/calculating-the-actual-angle-subtended-by-each-pixel-in-a-display/9559)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 3:19pm UTC](https://discourse.vtk.org/t/calculating-the-actual-angle-subtended-by-each-pixel-in-a-display/9559 "2022-10-12T15:19:31Z")

</div>

This is a follow up to this previous message (see VtkCamera angular ranges ranges? - Support - VTK). Can the vertical and horizontal angles for each pixel on a display be calculated? How? Thanks for any help. M.

---

## [Trame with custom vtkmodules library](https://discourse.vtk.org/t/trame-with-custom-vtkmodules-library/9463)

<div class="topic-metadata">

**Author:** [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 9:57am UTC](https://discourse.vtk.org/t/trame-with-custom-vtkmodules-library/9463 "2022-10-12T09:57:59Z")

</div>

Hello all, I’m trying to use trame with a custom vtk python build (which adds a module that exposes an interface to an external library). Everything seems to work fine regarding the custom python extensions. However, wh…

---

## [How to apply peeling on a .VTK surface](https://discourse.vtk.org/t/how-to-apply-peeling-on-a-vtk-surface/9577)

<div class="topic-metadata">

**Author:** [@dexter](https://discourse.vtk.org/u/dexter)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 9:32am UTC](https://discourse.vtk.org/t/how-to-apply-peeling-on-a-vtk-surface/9577 "2022-10-12T09:32:28Z")

</div>

Hi, I have a C++ example of depth peeling where they used vtkProbeFilter to apply peeling on a VTK skin head surface using the VTI volume values, and a slider to give the value of peeling, to finally get the VTK brain s…

---

## [Rendering fields defined in some blocks of a multiblock](https://discourse.vtk.org/t/rendering-fields-defined-in-some-blocks-of-a-multiblock/9576)

<div class="topic-metadata">

**Author:** [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 9:28am UTC](https://discourse.vtk.org/t/rendering-fields-defined-in-some-blocks-of-a-multiblock/9576 "2022-10-12T09:28:17Z")

</div>

Hello all, I’ve not thoroughly looked at how to render vtkMultiblockDataSets, I’ve noticed that there are a vtkCompositePolyDataMapper and vtkCompositePolyDataMapper2 (the latter seem to be deprecated). For the setup o…

---

## [How to view shader source code in vtk.js](https://discourse.vtk.org/t/how-to-view-shader-source-code-in-vtk-js/9496)

<div class="topic-metadata">

**Author:** [@sunlin0oo](https://discourse.vtk.org/u/sunlin0oo)\
**Replies:** 13\
**Last updated:** [October 12, 2022, 6:46am UTC](https://discourse.vtk.org/t/how-to-view-shader-source-code-in-vtk-js/9496 "2022-10-12T06:46:42Z")

</div>

Hi,I use Polydatamapper to customize shaders; I now have two questions: Question 1: When I read different files, there will be different parameters in vtkPolyDataVS or vtkPolyDataFS, which are not constant. How should I…

---

## [VTK 9.1 available as Maven dependency](https://discourse.vtk.org/t/vtk-9-1-available-as-maven-dependency/9371)

<div class="topic-metadata">

**Author:** [@Martin3d](https://discourse.vtk.org/u/Martin3d)\
**Replies:** 16\
**Last updated:** [October 11, 2022, 4:14pm UTC](https://discourse.vtk.org/t/vtk-9-1-available-as-maven-dependency/9371 "2022-10-11T16:14:35Z")

</div>

Hi, Marcel Luethi and I have packed all VTK libraries in Java jars that can now be added in Maven projects as follow. \<dependency\> \<groupId\>org.jzy3d\</groupId\> \<artifactId\>vtk-java-all\</artifactId\> \<version\>…

---

## [OBB error](https://discourse.vtk.org/t/obb-error/9570)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 0\
**Last updated:** [October 11, 2022, 3:11pm UTC](https://discourse.vtk.org/t/obb-error/9570 "2022-10-11T15:11:28Z")

</div>

I created extracted the polydata (TIN) from a terrain I generated using a combination of vtkDelaunay2D() followed by vtkWarpScalar() and finally GetPolyDataOutput() I then used the following lines: obbTree = vtkOBBTr…

---

## [Obtaining a vtkPolyData after running vtkWarpScalar](https://discourse.vtk.org/t/obtaining-a-vtkpolydata-after-running-vtkwarpscalar/9565)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 11:01am UTC](https://discourse.vtk.org/t/obtaining-a-vtkpolydata-after-running-vtkwarpscalar/9565 "2022-10-11T11:01:57Z")

</div>

I used a vtkWarpScalar filter to obtain the elevations from a triangulated surface. Now, I need to be able to access (or convert?) the mesh generated Into a vtkPolyData. Does anyone know how to do this?

---

## [Rendering VTK in external OpenGL context with single buffering](https://discourse.vtk.org/t/rendering-vtk-in-external-opengl-context-with-single-buffering/5863)

<div class="topic-metadata">

**Author:** [@Carol\_Capek](https://discourse.vtk.org/u/Carol_Capek)\
**Replies:** 7\
**Last updated:** [October 11, 2022, 7:43am UTC](https://discourse.vtk.org/t/rendering-vtk-in-external-opengl-context-with-single-buffering/5863 "2022-10-11T07:43:11Z")

</div>

Hi All! I want to render a circle (to start off slow) using VTK in an existing application. We use GLFW to create a window and the OpenGL context as well as GLAD for the bindings. I presume that vtkExternalOpenGLRenderW…

---

## [Render fuction cost too much time on repaint](https://discourse.vtk.org/t/render-fuction-cost-too-much-time-on-repaint/9562)

<div class="topic-metadata">

**Author:** [@herman](https://discourse.vtk.org/u/herman)\
**Replies:** 2\
**Last updated:** [October 11, 2022, 3:20am UTC](https://discourse.vtk.org/t/render-fuction-cost-too-much-time-on-repaint/9562 "2022-10-11T03:20:43Z")

</div>

Hello I received 15 million points,use vtk & c# to show them. when i use renderWindow to call fuction “render” (render window and render is already global vars),it costs 1.3s(have not interact yet). The repaint time i…

---

## [error when installing VTK with VS 2019](https://discourse.vtk.org/t/error-when-installing-vtk-with-vs-2019/9561)

<div class="topic-metadata">

**Author:** [@vromero59](https://discourse.vtk.org/u/vromero59)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 2:57am UTC](https://discourse.vtk.org/t/error-when-installing-vtk-with-vs-2019/9561 "2022-10-11T02:57:31Z")

</div>

I am using Visual Studio 2019 to compile VTK. When I compile INSTALL, I got the messake MSB3073. How I can correct this error? The complete message is as follows: 266\>C:\\Program Files (x86)\\Microsoft Visual Studio\\201…

---

## [View vtkOpenGLShaderCache substitutions and compile error message](https://discourse.vtk.org/t/view-vtkopenglshadercache-substitutions-and-compile-error-message/7040)

<div class="topic-metadata">

**Author:** [@nickc](https://discourse.vtk.org/u/nickc)\
**Replies:** 6\
**Last updated:** [October 11, 2022, 2:53am UTC](https://discourse.vtk.org/t/view-vtkopenglshadercache-substitutions-and-compile-error-message/7040 "2022-10-11T02:53:17Z")

</div>

Hi all, I’m going a bit crazy trying to figure out a compilation issue on MacOS. I know OpenGL isn’t supported anymore… but most of our code has been working great except for this one shader that I am trying to debug. U…

---

## [Backface Culling with PBR](https://discourse.vtk.org/t/backface-culling-with-pbr/9547)

<div class="topic-metadata">

**Author:** [@akaszynski](https://discourse.vtk.org/u/akaszynski)\
**Replies:** 5\
**Last updated:** [October 10, 2022, 9:29pm UTC](https://discourse.vtk.org/t/backface-culling-with-pbr/9547 "2022-10-10T21:29:15Z")

</div>

Hello, Is there a way to disable backface culling with physically based rendering? It seems that whenever PBR is enabled within VTK, backfaces are culled regardless of the setting of SetBackfaceCulling. Thanks!

---

## [Question about resample with dataset filter](https://discourse.vtk.org/t/question-about-resample-with-dataset-filter/9552)

<div class="topic-metadata">

**Author:** [@1116](https://discourse.vtk.org/u/1116)\
**Replies:** 0\
**Last updated:** [October 9, 2022, 4:45pm UTC](https://discourse.vtk.org/t/question-about-resample-with-dataset-filter/9552 "2022-10-09T16:45:17Z")

</div>

Hello, guys, could I ask a question regarding the resample with data set filter? I read the associated blog here https://www.kitware.com/dataset-resampling-filters/ I’m wondering if it is possible to resample data betw…

---

## [How to make a point cloud data from DICOM Series?](https://discourse.vtk.org/t/how-to-make-a-point-cloud-data-from-dicom-series/9505)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 5\
**Last updated:** [October 9, 2022, 8:51am UTC](https://discourse.vtk.org/t/how-to-make-a-point-cloud-data-from-dicom-series/9505 "2022-10-09T08:51:47Z")

</div>

Hi all. I’m using the 3D Slicer program. As far as I know, this program was based on the VTK library. The below image is a screenshot of the 3D Slicer program UI. I used DICOM images from the VTK ReadDICOMSeries ex…

---

## [Render to texture, and then use this texture on another actor.](https://discourse.vtk.org/t/render-to-texture-and-then-use-this-texture-on-another-actor/2667)

<div class="topic-metadata">

**Author:** [@Etienne\_Mallard](https://discourse.vtk.org/u/Etienne_Mallard)\
**Replies:** 4\
**Last updated:** [October 9, 2022, 6:26am UTC](https://discourse.vtk.org/t/render-to-texture-and-then-use-this-texture-on-another-actor/2667 "2022-10-09T06:26:00Z")

</div>

Hi everyone, TL;DR : Does someone have an example where a vtkFramebuffer is used to render a texture which is then used into another actor ? I’m new to vtk.js, and I would like to render my polyData into a texture, and…

---

## [Adding shader program to VTK OpenGL pipeline](https://discourse.vtk.org/t/adding-shader-program-to-vtk-opengl-pipeline/7348)

<div class="topic-metadata">

**Author:** [@Josef\_Biberstein](https://discourse.vtk.org/u/Josef_Biberstein)\
**Replies:** 2\
**Last updated:** [October 9, 2022, 3:10am UTC](https://discourse.vtk.org/t/adding-shader-program-to-vtk-opengl-pipeline/7348 "2022-10-09T03:10:38Z")

</div>

I’m trying to use an OpenGL shader I have that renders an infinite regular grid for use as a reference in the visualization of a vehicle trajectory. I’ve confirmed it works in base OpenGL, but I’m a bit confused on how I…

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

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