# Latest

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

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

**Page:** 166

---

## [vktPropPicker-\>picker report read access violation](https://discourse.vtk.org/t/vktproppicker-picker-report-read-access-violation/6473)

<div class="topic-metadata">

**Author:** [@jjjkk](https://discourse.vtk.org/u/jjjkk)\
**Replies:** 0\
**Last updated:** [August 26, 2021, 9:15am UTC](https://discourse.vtk.org/t/vktproppicker-picker-report-read-access-violation/6473 "2021-08-26T09:15:09Z")

</div>

I am using both dicomseiral read and pickpixel example. https://kitware.github.io/vtk-examples/site/Cxx/IO/ReadDICOMSeries/ https://kitware.github.io/vtk-examples/site/Cxx/Images/PickPixel/ Well, in my custom imageint…

---

## [Build VTK with Python Bindings and CUDA, TBB, & MPI on Windows](https://discourse.vtk.org/t/build-vtk-with-python-bindings-and-cuda-tbb-mpi-on-windows/6468)

<div class="topic-metadata">

**Author:** [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 11:22pm UTC](https://discourse.vtk.org/t/build-vtk-with-python-bindings-and-cuda-tbb-mpi-on-windows/6468 "2021-08-25T23:22:43Z")

</div>

Problem I cannot load VTK into python on Windows with support for CUDA, MPI, and TBB. Volume rendering is unreasonably slow for production with the default PyPI distribution (hours or more) and I need to leverage my hard…

---

## [Rotation of camera based on 0 to 360](https://discourse.vtk.org/t/rotation-of-camera-based-on-0-to-360/6464)

<div class="topic-metadata">

**Author:** [@Rutvik\_Chauhan](https://discourse.vtk.org/u/Rutvik_Chauhan)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 7:17pm UTC](https://discourse.vtk.org/t/rotation-of-camera-based-on-0-to-360/6464 "2021-08-25T19:17:37Z")

</div>

Hello, I am trying to do camera rotation based on 0 to 360 degree heading in which 0 shows the north direction. But I found out that in vtkCamera, 0 will start from its current rotation and it’s rotation is based on foc…

---

## [VTK CMake Python Does Not Link or Include \`api-ms-win-core\` Libraries](https://discourse.vtk.org/t/vtk-cmake-python-does-not-link-or-include-api-ms-win-core-libraries/6458)

<div class="topic-metadata">

**Author:** [@Adam\_Hendry](https://discourse.vtk.org/u/Adam_Hendry)\
**Replies:** 1\
**Last updated:** [August 25, 2021, 12:50pm UTC](https://discourse.vtk.org/t/vtk-cmake-python-does-not-link-or-include-api-ms-win-core-libraries/6458 "2021-08-25T12:50:22Z")

</div>

VTK compiles and installs perfectly fine, but after adding the built files to my Python directory, importing vtk gives a DLL error: Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) \[MSC v.1928 64 bit (AMD64)\]…

---

## [Segmentation fault with vtkGeometryFilter on 4 threads](https://discourse.vtk.org/t/segmentation-fault-with-vtkgeometryfilter-on-4-threads/5735)

<div class="topic-metadata">

**Author:** [@mohd-afeef-badri](https://discourse.vtk.org/u/mohd-afeef-badri)\
**Replies:** 4\
**Last updated:** [May 20, 2021, 1:48pm UTC](https://discourse.vtk.org/t/segmentation-fault-with-vtkgeometryfilter-on-4-threads/5735 "2021-05-20T13:48:08Z")

</div>

Dear Experts, I have a vtu file containing a mesh composed of hexahedrons and polyhedrons. When I try to use vtkGeometryFilter() on this data it results in segmentation fault. I have included a MWE via python that can …

---

## [VTK membership sweep performed](https://discourse.vtk.org/t/vtk-membership-sweep-performed/6453)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 1:23pm UTC](https://discourse.vtk.org/t/vtk-membership-sweep-performed/6453 "2021-08-24T13:23:31Z")

</div>

Hi all, We recently went through the VTK member’s list on GitLab and removed or downgraded permissions for those that are either no longer at Kitware or haven’t been active. If any permissions were downgraded/removed in…

---

## [Streamlines not working](https://discourse.vtk.org/t/streamlines-not-working/6438)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 2:59pm UTC](https://discourse.vtk.org/t/streamlines-not-working/6438 "2021-08-23T14:59:11Z")

</div>

So I have a vti file which I read with vtkXMLImageDataReader and then used the vtkImageDataGeometryFilter on the Output. I used the vtkArrayCalculator to get vectors instead of three seperate scalars and on this new vect…

---

## [Overlaying images of organ segmentations with vtkImageBlend](https://discourse.vtk.org/t/overlaying-images-of-organ-segmentations-with-vtkimageblend/6273)

<div class="topic-metadata">

**Author:** [@Birkl](https://discourse.vtk.org/u/Birkl)\
**Replies:** 6\
**Last updated:** [August 23, 2021, 9:36am UTC](https://discourse.vtk.org/t/overlaying-images-of-organ-segmentations-with-vtkimageblend/6273 "2021-08-23T09:36:31Z")

</div>

Hi, I’ve got got several vtkImageData containing the segmented organs and would like to overlay them for the planar views in my application. I’m using a vtkImageBlend and feeding in all the images one after another wit…

---

## [OpenGL state errors with QVTKOpenGLWidget and vtk9.0](https://discourse.vtk.org/t/opengl-state-errors-with-qvtkopenglwidget-and-vtk9-0/6448)

<div class="topic-metadata">

**Author:** [@pi42](https://discourse.vtk.org/u/pi42)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 9:35am UTC](https://discourse.vtk.org/t/opengl-state-errors-with-qvtkopenglwidget-and-vtk9-0/6448 "2021-08-23T09:35:17Z")

</div>

I am trying to put a QVTKOpenGLNativeWidget in QDialog with QVBoxLayout, while adding the vtkImageActor to QVTKOpenGLNativeWidget , that window don’t show any rendering result.

---

## [How Can I combine c++template with vtkimage scalartype?](https://discourse.vtk.org/t/how-can-i-combine-c-template-with-vtkimage-scalartype/6445)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 0\
**Last updated:** [August 23, 2021, 3:56am UTC](https://discourse.vtk.org/t/how-can-i-combine-c-template-with-vtkimage-scalartype/6445 "2021-08-23T03:56:43Z")

</div>

Hi groups, I wrote a imgprocess class with c++ template. But when i use it, I have to use switch to judge the scalartype, and change it to class or class. Is there anyway to skip this switch? otherwise I have to write…

---

## [Subsample polydata](https://discourse.vtk.org/t/subsample-polydata/6444)

<div class="topic-metadata">

**Author:** [@Y\_So\_Salty](https://discourse.vtk.org/u/Y_So_Salty)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 2:27am UTC](https://discourse.vtk.org/t/subsample-polydata/6444 "2021-08-23T02:27:09Z")

</div>

I have a polydata with N\_v vertices and N\_f faces. I have manually segmented regions (and know all corresponding vertices) which belong to their respective classes. How do I create “subsampled” polydata for these select…

---

## [Threading: Parallel filters with OpenMP](https://discourse.vtk.org/t/threading-parallel-filters-with-openmp/6442)

<div class="topic-metadata">

**Author:** [@rootofpi](https://discourse.vtk.org/u/rootofpi)\
**Replies:** 3\
**Last updated:** [August 21, 2021, 10:51pm UTC](https://discourse.vtk.org/t/threading-parallel-filters-with-openmp/6442 "2021-08-21T22:51:35Z")

</div>

I have written a program with VTK that imports STL files and voxelises them. Sometimes a large number of files may have to be imported, voxelised and merged to obtain a single computational grid. In order to speed things…

---

## [How can i integrate the QWidget and the vtkContextView?](https://discourse.vtk.org/t/how-can-i-integrate-the-qwidget-and-the-vtkcontextview/2895)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 4\
**Last updated:** [August 21, 2021, 10:34am UTC](https://discourse.vtk.org/t/how-can-i-integrate-the-qwidget-and-the-vtkcontextview/2895 "2021-08-21T10:34:36Z")

</div>

How can i integrate the vtkContextView withe the Qt’widget like QVTKＷＩｇｅｔ?

---

## [I want to get boundaries that change with the perspective](https://discourse.vtk.org/t/i-want-to-get-boundaries-that-change-with-the-perspective/6410)

<div class="topic-metadata">

**Author:** [@kingui1106](https://discourse.vtk.org/u/kingui1106)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 11:01am UTC](https://discourse.vtk.org/t/i-want-to-get-boundaries-that-change-with-the-perspective/6410 "2021-08-20T11:01:34Z")

</div>

I want to get boundaries that change with the perspective. I can not find it, can you help me.

---

## [Can't use DICOM data to reconstruct 3D model](https://discourse.vtk.org/t/cant-use-dicom-data-to-reconstruct-3d-model/6424)

<div class="topic-metadata">

**Author:** [@jjjkk](https://discourse.vtk.org/u/jjjkk)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 7:08am UTC](https://discourse.vtk.org/t/cant-use-dicom-data-to-reconstruct-3d-model/6424 "2021-08-20T07:08:43Z")

</div>

I follow the tuturrial in https://kitware.github.io/vtk-examples/site/Cxx/Medical/MedicalDemo2/ I got the right result. But when I change the Reader from vtkMetaImageReader to vtkDICOMImageReader. The output is just a…

---

## [displaying imagedata and polydata in same reander](https://discourse.vtk.org/t/displaying-imagedata-and-polydata-in-same-reander/6367)

<div class="topic-metadata">

**Author:** [@Ewing](https://discourse.vtk.org/u/Ewing)\
**Replies:** 4\
**Last updated:** [August 20, 2021, 2:56am UTC](https://discourse.vtk.org/t/displaying-imagedata-and-polydata-in-same-reander/6367 "2021-08-20T02:56:43Z")

</div>

Hello,I want displaying imagedata and polydata in the same reander,use vtkjs. The effect is like this, in 3DSlicer but when load imagedata and polydata.I find the position of imagedata is not right. the imagedata …

---

## [Appending Delaunay output](https://discourse.vtk.org/t/appending-delaunay-output/6429)

<div class="topic-metadata">

**Author:** [@noel](https://discourse.vtk.org/u/noel)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 6:56pm UTC](https://discourse.vtk.org/t/appending-delaunay-output/6429 "2021-08-19T18:56:02Z")

</div>

Hi all, I am creating a curved surface and to tightly control the triangulation I apply the vtk Delaunay stepwise. I would then like to connect everything as one to later export it as an STL or vtk file. I have tried us…

---

## [Compiling custom VTK extension with python wrapper](https://discourse.vtk.org/t/compiling-custom-vtk-extension-with-python-wrapper/6427)

<div class="topic-metadata">

**Author:** [@Korijn](https://discourse.vtk.org/u/Korijn)\
**Replies:** 1\
**Last updated:** [August 19, 2021, 12:59pm UTC](https://discourse.vtk.org/t/compiling-custom-vtk-extension-with-python-wrapper/6427 "2021-08-19T12:59:26Z")

</div>

I am working to compile a custom VTK extension with python wrappers, and am trying to figure out how to do it with the new VTK 9 cmake build system. I must admit I am in a little bit over my head, and am hoping to recei…

---

## [VTK scripting to convert .vtk file into image](https://discourse.vtk.org/t/vtk-scripting-to-convert-vtk-file-into-image/6397)

<div class="topic-metadata">

**Author:** [@Ying](https://discourse.vtk.org/u/Ying)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 8:50pm UTC](https://discourse.vtk.org/t/vtk-scripting-to-convert-vtk-file-into-image/6397 "2021-08-18T20:50:09Z")

</div>

Hi, I am new to VTK and I try to convert my .vtk file generate from OpenFOAM into an image. But my current code cannot generate colorful pressure field although I set up the lookup table and scalar bar. The generated ima…

---

## [how to change vtkcamera from perspective to parallel gradually](https://discourse.vtk.org/t/how-to-change-vtkcamera-from-perspective-to-parallel-gradually/6387)

<div class="topic-metadata">

**Author:** [@smoothumut](https://discourse.vtk.org/u/smoothumut)\
**Replies:** 1\
**Last updated:** [August 18, 2021, 8:10pm UTC](https://discourse.vtk.org/t/how-to-change-vtkcamera-from-perspective-to-parallel-gradually/6387 "2021-08-18T20:10:35Z")

</div>

Hi, I can make the vtkcamera perspective or orthographic by using SetParallelProjection(False/True). But my requirement is to change the view from parallel to perspective or from perspective to parallel GRADUALLY Here i…

---

## [subdivision and self-intersection](https://discourse.vtk.org/t/subdivision-and-self-intersection/6409)

<div class="topic-metadata">

**Author:** [@Hyunwoo\_Kim](https://discourse.vtk.org/u/Hyunwoo_Kim)\
**Replies:** 1\
**Last updated:** [August 18, 2021, 4:48pm UTC](https://discourse.vtk.org/t/subdivision-and-self-intersection/6409 "2021-08-18T16:48:34Z")

</div>

Hi, I’m trying to make a boundary surface mesh from rt structure. My surface mesh is not appropriately smoothed, so I’m about to use a subdivision filter for that. What I consider is that the subdivision filter checks…

---

## [Actor always shows same face](https://discourse.vtk.org/t/actor-always-shows-same-face/6300)

<div class="topic-metadata">

**Author:** [@jvillota](https://discourse.vtk.org/u/jvillota)\
**Replies:** 11\
**Last updated:** [August 18, 2021, 1:14pm UTC](https://discourse.vtk.org/t/actor-always-shows-same-face/6300 "2021-08-18T13:14:06Z")

</div>

Hi all, I use a imageData to create a volume, but when I try to rotate it always show the same face. Moment 1. When the app render show this Moment 2. I rotate to see the other layers Moment 3. Again shows the f…

---

## [ScatterPlot Example: Different marker styles not working?](https://discourse.vtk.org/t/scatterplot-example-different-marker-styles-not-working/6414)

<div class="topic-metadata">

**Author:** [@nicfel](https://discourse.vtk.org/u/nicfel)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 2:10pm UTC](https://discourse.vtk.org/t/scatterplot-example-different-marker-styles-not-working/6414 "2021-08-18T14:10:47Z")

</div>

Hello everyone! I am working on a project where I use VTK alongside Qt. I am trying to render a chart inside of QDockWidget. I have a class that extends QVTKOpenGLNativeWidget and stores a renderer (vtkRenderer) and a r…

---

## [How to get a pointer of a VTK image to use in C.](https://discourse.vtk.org/t/how-to-get-a-pointer-of-a-vtk-image-to-use-in-c/6406)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [August 18, 2021, 12:52pm UTC](https://discourse.vtk.org/t/how-to-get-a-pointer-of-a-vtk-image-to-use-in-c/6406 "2021-08-18T12:52:44Z")

</div>

Dear All, vtkSmartPointer\<vtkImageConnectivityFilter\> connectivity; connectivity-\>SetInputData(image4); connectivity-\>SetScalarRange(255, 255); connectivity-\>SetSeedData(seedData2); connectivity-\>Upd…

---

## [How to output the vtk DataFile Version 3.0](https://discourse.vtk.org/t/how-to-output-the-vtk-datafile-version-3-0/6354)

<div class="topic-metadata">

**Author:** [@kingui1106](https://discourse.vtk.org/u/kingui1106)\
**Replies:** 5\
**Last updated:** [August 18, 2021, 3:16am UTC](https://discourse.vtk.org/t/how-to-output-the-vtk-datafile-version-3-0/6354 "2021-08-18T03:16:23Z")

</div>

I am use the vtk 9.0.1. I use vtkDataSetWriter to out put vtk file.And i get the # vtk DataFile Version 5.1. Is any way to output vtk DataFile Version 3.0. Thanks!!! ··· vtkNew writer; writer-\>SetFileName(filename)…

---

## [Vulkan Development](https://discourse.vtk.org/t/vulkan-development/3307)

<div class="topic-metadata">

**Author:** [@ken-martin](https://discourse.vtk.org/u/ken-martin)\
**Replies:** 26\
**Last updated:** [August 17, 2021, 9:20pm UTC](https://discourse.vtk.org/t/vulkan-development/3307 "2021-08-17T21:20:55Z")

</div>

For those who are interested here is a branch that includes basic Vulkan support missing many features and clearly a WIP. But feel free to play, extend, submit, etc. https://gitlab.kitware.com/ken-martin/vtk/-/tree/vulk…

---

## [Using vtkArrayCalculator to get a Vector Field from three Scalars (C++)](https://discourse.vtk.org/t/using-vtkarraycalculator-to-get-a-vector-field-from-three-scalars-c/6400)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 6:44pm UTC](https://discourse.vtk.org/t/using-vtkarraycalculator-to-get-a-vector-field-from-three-scalars-c/6400 "2021-08-17T18:44:22Z")

</div>

I have a vti Data with three Scalar Arrays and I am stuck, this is what I have done so far: xmlImageDataReader-\>SetFileName(sFilename.c\_str()); xmlImageDataReader-\>Update(); imageDataGeometryFilter-\>SetInputConnection…

---

## [Bug: vtkMetaImageWriter not writing vtkMetaImage Direction Matrix to the TransformMatrix line](https://discourse.vtk.org/t/bug-vtkmetaimagewriter-not-writing-vtkmetaimage-direction-matrix-to-the-transformmatrix-line/6405)

<div class="topic-metadata">

**Author:** [@MJJ](https://discourse.vtk.org/u/MJJ)\
**Replies:** 0\
**Last updated:** [August 17, 2021, 6:43pm UTC](https://discourse.vtk.org/t/bug-vtkmetaimagewriter-not-writing-vtkmetaimage-direction-matrix-to-the-transformmatrix-line/6405 "2021-08-17T18:43:39Z")

</div>

Also, a related bug: the vtkMetaImageReader does not read the TransformMatrix line. For example, see the sample .mhd file attached. It has a non identity TransformMatrix. (well… nvm as a new user i cant upload attache…

---

## [Iterate over Triangles in Tetrahedron Data (without redundancies)](https://discourse.vtk.org/t/iterate-over-triangles-in-tetrahedron-data-without-redundancies/6403)

<div class="topic-metadata">

**Author:** [@Flashtim](https://discourse.vtk.org/u/Flashtim)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 5:36pm UTC](https://discourse.vtk.org/t/iterate-over-triangles-in-tetrahedron-data-without-redundancies/6403 "2021-08-17T17:36:07Z")

</div>

Hey there! I am currently working with a vtkUnstructuredGrid object that is made up of a collection of tetrahedron cells. I now want to iterate over all triangles. One way to do so ist to use the GetCellData(); functio…

---

## [Reversed upside-down text on vtkCubeAxesActor](https://discourse.vtk.org/t/reversed-upside-down-text-on-vtkcubeaxesactor/6392)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [August 16, 2021, 11:56pm UTC](https://discourse.vtk.org/t/reversed-upside-down-text-on-vtkcubeaxesactor/6392 "2021-08-16T23:56:00Z")

</div>

I’m using VTK 8.2. When I display axes titles and tick labels on vtkCubeAxesActor, the text is reversed and upside-down. What could cause this? axesActor\_ = vtkSmartPointer\<vtkCubeAxesActor\>::New(); int use3D = 0; …

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

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