# Latest

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

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

**Page:** 188

---

## [How to create a qtdesigner plugin with vtk9.0.1](https://discourse.vtk.org/t/how-to-create-a-qtdesigner-plugin-with-vtk9-0-1/5028)

<div class="topic-metadata">

**Author:** [@suejay](https://discourse.vtk.org/u/suejay)\
**Replies:** 2\
**Last updated:** [January 19, 2021, 12:41am UTC](https://discourse.vtk.org/t/how-to-create-a-qtdesigner-plugin-with-vtk9-0-1/5028 "2021-01-19T00:41:25Z")

</div>

I have compiled the VTK9.0.1 by MSVC2017,but i can’t find the qt plugin lib.Has somthing wrong in my config?here is my cmake config

---

## [VTK, WebAssembly, and Annotations](https://discourse.vtk.org/t/vtk-webassembly-and-annotations/5032)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 1\
**Last updated:** [January 18, 2021, 10:50pm UTC](https://discourse.vtk.org/t/vtk-webassembly-and-annotations/5032 "2021-01-18T22:50:11Z")

</div>

I am porting my VTK C++ application to WebAssembly and it has worked great so far. I am getting ready to port my use of vtkLegendBoxActor, but I am concerned that it may not work. Am I correct that WebGL doesn’t support …

---

## [vtkErrorMacro with loguru now caught](https://discourse.vtk.org/t/vtkerrormacro-with-loguru-now-caught/4968)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 18\
**Last updated:** [January 18, 2021, 6:21pm UTC](https://discourse.vtk.org/t/vtkerrormacro-with-loguru-now-caught/4968 "2021-01-18T18:21:52Z")

</div>

A year or two ago, an effort was made to make sure that vtkErrorMacro codepaths would cause a test to fail. Bill Lorensen wrote the vtkTestErrorObserver class which may be used to capture errors from a specific vtkObject …

---

## [delete point and cell from polydata](https://discourse.vtk.org/t/delete-point-and-cell-from-polydata/4505)

<div class="topic-metadata">

**Author:** [@bistek](https://discourse.vtk.org/u/bistek)\
**Replies:** 8\
**Last updated:** [January 18, 2021, 1:57pm UTC](https://discourse.vtk.org/t/delete-point-and-cell-from-polydata/4505 "2021-01-18T13:57:51Z")

</div>

Hello, I am working on an interactive application and I need to delete individual points an, consequently, cells from polydata. I figured out I can do like this (e.g. to remove the last point and cell from a polyline - …

---

## [make a vtkPolyData from Points and Cells](https://discourse.vtk.org/t/make-a-vtkpolydata-from-points-and-cells/5020)

<div class="topic-metadata">

**Author:** [@SArbabi](https://discourse.vtk.org/u/SArbabi)\
**Replies:** 7\
**Last updated:** [January 18, 2021, 1:32pm UTC](https://discourse.vtk.org/t/make-a-vtkpolydata-from-points-and-cells/5020 "2021-01-18T13:32:20Z")

</div>

having a surface as a vtkPolyData like the one bellow, would it be possible to extract points and cells, and then again assemble them to a vtkPolyData like the surface we had first? vtkPolyData (0000022DAA05F6D0) Debu…

---

## [Help to compile ThirdParty/loguru under Windows 10 with gnu c++ 9.2](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588)

<div class="topic-metadata">

**Author:** [@cean\_wang](https://discourse.vtk.org/u/cean_wang)\
**Replies:** 18\
**Last updated:** [January 18, 2021, 1:26pm UTC](https://discourse.vtk.org/t/help-to-compile-thirdparty-loguru-under-windows-10-with-gnu-c-9-2/4588 "2021-01-18T13:26:21Z")

</div>

Hi, I am trying to compile VTK under Window 10 with gnu 9.2 for Windows from here: http://www.equation.com/servlet/equation.cmd?fa=fortran The cmake command is: cmake -DCMAKE\_MAKE\_PROGRAM=make -DCMAKE\_CXX\_COMPILER=g++…

---

## [the imageActor always transparent to volume?](https://discourse.vtk.org/t/the-imageactor-always-transparent-to-volume/5007)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.vtk.org/u/timeanddoctor)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 2:56pm UTC](https://discourse.vtk.org/t/the-imageactor-always-transparent-to-volume/5007 "2021-01-14T14:56:32Z")

</div>

I have shown a volume and image, but the volume always be front of the image, just like the follow picture:

---

## [ESET detect Trojan in vtkCommonCore-9.0d.dll (false-positive ?)](https://discourse.vtk.org/t/eset-detect-trojan-in-vtkcommoncore-9-0d-dll-false-positive/5019)

<div class="topic-metadata">

**Author:** [@Damien](https://discourse.vtk.org/u/Damien)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 4:08pm UTC](https://discourse.vtk.org/t/eset-detect-trojan-in-vtkcommoncore-9-0d-dll-false-positive/5019 "2021-01-15T16:08:42Z")

</div>

Hello, since this day, I can’t use VTK for one of my projects anymore, the ESET antivirus detects a trojan (ML/Augur) in the dll (vtkCommonCore-9.0d.dll). Is it possible without disabling the antivirus to fix this prob…

---

## [get the output data of a vtk filter](https://discourse.vtk.org/t/get-the-output-data-of-a-vtk-filter/5017)

<div class="topic-metadata">

**Author:** [@Christopher\_Wastell](https://discourse.vtk.org/u/Christopher_Wastell)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 3:27pm UTC](https://discourse.vtk.org/t/get-the-output-data-of-a-vtk-filter/5017 "2021-01-15T15:27:56Z")

</div>

Hi, I’m using a vtk filter to work on some input data. I see that the vtk filter has a method called GetOutputPort that pipes to the inputPort of the next block, but if I want to get the output of this filter and not pa…

---

## [Integration Time](https://discourse.vtk.org/t/integration-time/5009)

<div class="topic-metadata">

**Author:** [@mcgoldba](https://discourse.vtk.org/u/mcgoldba)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 11:48am UTC](https://discourse.vtk.org/t/integration-time/5009 "2021-01-15T11:48:10Z")

</div>

Hi All, I am curious about the “Integration Time” variable that is available after generating a vtkStreamline. I understand that this is some measure of the age of the streamline, but what are the units here, and how i…

---

## [ExternalVTKWidget volume rendering high CPU usage](https://discourse.vtk.org/t/externalvtkwidget-volume-rendering-high-cpu-usage/5012)

<div class="topic-metadata">

**Author:** [@Kmilo9999](https://discourse.vtk.org/u/Kmilo9999)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 3:12am UTC](https://discourse.vtk.org/t/externalvtkwidget-volume-rendering-high-cpu-usage/5012 "2021-01-15T03:12:35Z")

</div>

Hello, I am using my custom rendering engine and I would like to use vtk to render volume data on it. Also, I am using ExternalVTKWidget to use vtk with the engine’s opengl context. I Followed the examples of ExternalV…

---

## [Seek help! What is the replacement of the inputport and outputport classes in vtk7.1.1?](https://discourse.vtk.org/t/seek-help-what-is-the-replacement-of-the-inputport-and-outputport-classes-in-vtk7-1-1/4993)

<div class="topic-metadata">

**Author:** [@Vettle](https://discourse.vtk.org/u/Vettle)\
**Replies:** 3\
**Last updated:** [January 15, 2021, 12:18am UTC](https://discourse.vtk.org/t/seek-help-what-is-the-replacement-of-the-inputport-and-outputport-classes-in-vtk7-1-1/4993 "2021-01-15T00:18:36Z")

</div>

---

## [How to update texture of an already rendered actor in vtk python](https://discourse.vtk.org/t/how-to-update-texture-of-an-already-rendered-actor-in-vtk-python/5011)

<div class="topic-metadata">

**Author:** [@Debayan\_Ganguly](https://discourse.vtk.org/u/Debayan_Ganguly)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 9:53pm UTC](https://discourse.vtk.org/t/how-to-update-texture-of-an-already-rendered-actor-in-vtk-python/5011 "2021-01-14T21:53:31Z")

</div>

grid = rgb\_to\_vtk(np.ascontiguousarray(rgb)) texture = vtk.vtkTexture() texture.SetInputDataObject(grid) if interp: texture.InterpolateOn() actor\_obj.SetTexture(texture) I did this converted rgb image to vtk image…

---

## [How to create a scalar bar with Matplolib colormaps?](https://discourse.vtk.org/t/how-to-create-a-scalar-bar-with-matplolib-colormaps/5002)

<div class="topic-metadata">

**Author:** [@MM8050](https://discourse.vtk.org/u/MM8050)\
**Replies:** 0\
**Last updated:** [January 14, 2021, 12:33pm UTC](https://discourse.vtk.org/t/how-to-create-a-scalar-bar-with-matplolib-colormaps/5002 "2021-01-14T12:33:45Z")

</div>

Hello everyone, I am trying to implement a scalar bar for improving data reading. The particularity is that I want to have a specific colormap for the data and the scalar bar. I am wondering whether or not it is possibl…

---

## [Why the origin of vtkImageData is zero?](https://discourse.vtk.org/t/why-the-origin-of-vtkimagedata-is-zero/4974)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [January 13, 2021, 1:57pm UTC](https://discourse.vtk.org/t/why-the-origin-of-vtkimagedata-is-zero/4974 "2021-01-13T13:57:10Z")

</div>

I find a stranger thing. I read a dicom file with vtkDICOMImageReader, and then obtain the origin point. My code is: img2 = vtk.vtkDICOMImageReader() img2.SetFileName('xxx') img2.Update() image2 = img2.GetOutput() print…

---

## [VTK9 regression: vtkFollower unpickable](https://discourse.vtk.org/t/vtk9-regression-vtkfollower-unpickable/4991)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 2\
**Last updated:** [January 13, 2021, 2:33am UTC](https://discourse.vtk.org/t/vtk9-regression-vtkfollower-unpickable/4991 "2021-01-13T02:33:05Z")

</div>

This works fine in vtk8 but fails in vtk9 for objects with opacity \< 1: import vtk cone = vtk.vtkConeSource() coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInputConnection(cone.GetOutputPort()) coneActor = vtk.v…

---

## [How to make a square point round?](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980)

<div class="topic-metadata">

**Author:** [@sindzicat](https://discourse.vtk.org/u/sindzicat)\
**Replies:** 1\
**Last updated:** [January 13, 2021, 1:41am UTC](https://discourse.vtk.org/t/how-to-make-a-square-point-round/4980 "2021-01-13T01:41:24Z")

</div>

Hello! I’m new in VTK. A square point is constructed in this example (C++ version). I tried to find how to create a round point but found nothing that could help me. I found this article in Kitware blog how to make a …

---

## [Initializing Contourwidget with line interpolator](https://discourse.vtk.org/t/initializing-contourwidget-with-line-interpolator/4989)

<div class="topic-metadata">

**Author:** [@arnaud](https://discourse.vtk.org/u/arnaud)\
**Replies:** 0\
**Last updated:** [January 12, 2021, 12:20pm UTC](https://discourse.vtk.org/t/initializing-contourwidget-with-line-interpolator/4989 "2021-01-12T12:20:44Z")

</div>

Hello, I’m using vtkContourWidget to select cells on a surface/polydata and I would like to initialize the contour. I have no issues if I use only vtkcontourwidget and vtkPolygonalSurfacePointPlacer. I have created a p…

---

## [Displaying render information in \`vtkRenderer\`](https://discourse.vtk.org/t/displaying-render-information-in-vtkrenderer/4972)

<div class="topic-metadata">

**Author:** [@acamill](https://discourse.vtk.org/u/acamill)\
**Replies:** 2\
**Last updated:** [January 12, 2021, 1:23am UTC](https://discourse.vtk.org/t/displaying-render-information-in-vtkrenderer/4972 "2021-01-12T01:23:10Z")

</div>

Hello! I am displaying some 3d file in a vtkRenderer and I wish to know if there is a utility in the framework to directly dispay a metrics/information element in the renderer? I saw the framerate data is available, bu…

---

## [About web-project-templates-master](https://discourse.vtk.org/t/about-web-project-templates-master/4975)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 4\
**Last updated:** [January 11, 2021, 6:33pm UTC](https://discourse.vtk.org/t/about-web-project-templates-master/4975 "2021-01-11T18:33:45Z")

</div>

Dear All, I want to make a function handler of the mouse at vtk\_protocol.py. I inserted the following code in the class VtkCone: @exportRpc("viewport.mouse.interaction") def updatemousedoublecone(self, event): freq…

---

## [VTK Chart Overlay Doesn't work with VTK 9](https://discourse.vtk.org/t/vtk-chart-overlay-doesnt-work-with-vtk-9/3616)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.vtk.org/u/Andrew)\
**Replies:** 14\
**Last updated:** [January 11, 2021, 5:35pm UTC](https://discourse.vtk.org/t/vtk-chart-overlay-doesnt-work-with-vtk-9/3616 "2021-01-11T17:35:26Z")

</div>

Hey everyone, I’m trying to overlay a chart on a 3d scene. This works in VTK versions \< 9. Additionally I found the chart overlay example online doesn’t work with VTK 9. Example: https://lorensen.github.io/VTKExamples/s…

---

## [Getting an error trying to integrate one of your examples to my project](https://discourse.vtk.org/t/getting-an-error-trying-to-integrate-one-of-your-examples-to-my-project/4983)

<div class="topic-metadata">

**Author:** [@daniel\_Gilyadov](https://discourse.vtk.org/u/daniel_Gilyadov)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 2:46pm UTC](https://discourse.vtk.org/t/getting-an-error-trying-to-integrate-one-of-your-examples-to-my-project/4983 "2021-01-11T14:46:10Z")

</div>

Hey everyone, yesterday I tried to integrate this: with my project, but unfortunately got an error Steps I took to integrate: downloaded this file, and imported it into one of my project files checked the vers…

---

## [For vtk 9.0.1, has vtkImageReslice use the direction of image?](https://discourse.vtk.org/t/for-vtk-9-0-1-has-vtkimagereslice-use-the-direction-of-image/4981)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 2:32pm UTC](https://discourse.vtk.org/t/for-vtk-9-0-1-has-vtkimagereslice-use-the-direction-of-image/4981 "2021-01-11T14:32:03Z")

</div>

I am using vtkImageReslice in my project, and I find a stranger thing. The direction of vtkImageData is not a identify matrix, thus I adjust the direction by: x = \[0, 1, 0\] y = \[1, 0, 0\] z = \[0, 0, 1\] i…

---

## [Is it possible to load \*.osgb file to VTK?](https://discourse.vtk.org/t/is-it-possible-to-load-osgb-file-to-vtk/4977)

<div class="topic-metadata">

**Author:** [@highgod](https://discourse.vtk.org/u/highgod)\
**Replies:** 2\
**Last updated:** [January 11, 2021, 2:02pm UTC](https://discourse.vtk.org/t/is-it-possible-to-load-osgb-file-to-vtk/4977 "2021-01-11T14:02:05Z")

</div>

Hi, I want to use VTK to process \*.osgb file, is it anyway to load the \*.osgb file to VTK? Thanks Best Regards

---

## [Performance of rendering the PCD data.](https://discourse.vtk.org/t/performance-of-rendering-the-pcd-data/982)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 5\
**Last updated:** [January 11, 2021, 11:00am UTC](https://discourse.vtk.org/t/performance-of-rendering-the-pcd-data/982 "2021-01-11T11:00:22Z")

</div>

Hi all. I’m sorry for asking so many questions recently. :sob: But when I before asking a question, please understand that I have tested with sample code and googling. :flushed: My question is … I want to display the…

---

## [vtkTextProperty LineSpacing default to 1.0](https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978)

<div class="topic-metadata">

**Author:** [@Lfx\_Paul](https://discourse.vtk.org/u/Lfx_Paul)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 10:48am UTC](https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978 "2021-01-11T10:48:42Z")

</div>

Hi all, During the development of new features in vtkMatplotlibMathTextUtilities (support for multilines and multicolumns in text representation), we noticed that the LineSpacing property of vtkTextProperty was defaulte…

---

## [show percentage in vtk Pie chart](https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973)

<div class="topic-metadata">

**Author:** [@Nina](https://discourse.vtk.org/u/Nina)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 8:59am UTC](https://discourse.vtk.org/t/show-percentage-in-vtk-pie-chart/4973 "2021-01-11T08:59:15Z")

</div>

Hi; How can I display pourcentage in a pie chart using vtk. I followed this exemple, but I also want display data on pie chart. https://vtk.org/Wiki/VTK/Examples/Cxx/Plotting/PieChart Thank’s in advance

---

## [Writing a Polydatamapper to vtk](https://discourse.vtk.org/t/writing-a-polydatamapper-to-vtk/4951)

<div class="topic-metadata">

**Author:** [@devngc](https://discourse.vtk.org/u/devngc)\
**Replies:** 2\
**Last updated:** [January 10, 2021, 6:08pm UTC](https://discourse.vtk.org/t/writing-a-polydatamapper-to-vtk/4951 "2021-01-10T18:08:32Z")

</div>

Hi All, The following code creates polygons from point and adds polygons. I eventually write this appended data to a vtk file. I want to color these polygons to a specific RGB color so that when I load the vtk file in P…

---

## [vtkImageReslice do not include the center point](https://discourse.vtk.org/t/vtkimagereslice-do-not-include-the-center-point/4969)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [January 10, 2021, 1:29am UTC](https://discourse.vtk.org/t/vtkimagereslice-do-not-include-the-center-point/4969 "2021-01-10T01:29:38Z")

</div>

I am using vtkImageReslice to reslice a volume image. The vtkImageReslice need the direction and center point as the input. However, I find the center point do not located in the output of vtkImageReslice. from vtk.util…

---

## [Caching of rendering results in VTK render window layers?](https://discourse.vtk.org/t/caching-of-rendering-results-in-vtk-render-window-layers/4677)

<div class="topic-metadata">

**Author:** [@estan](https://discourse.vtk.org/u/estan)\
**Replies:** 3\
**Last updated:** [January 9, 2021, 6:25pm UTC](https://discourse.vtk.org/t/caching-of-rendering-results-in-vtk-render-window-layers/4677 "2021-01-09T18:25:43Z")

</div>

Hi all, We would like to draw some simple 2D polygonal geometry on top of a volume rendering. The drawing of the polygonal data should ideally rendered at a high frame rate, because it is supposed to follow the mouse an…

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

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