# Latest

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

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

**Page:** 208

---

## [ICP is not working for specific data](https://discourse.vtk.org/t/icp-is-not-working-for-specific-data/3670)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.vtk.org/u/siaeleni)\
**Replies:** 2\
**Last updated:** [July 6, 2020, 6:48pm UTC](https://discourse.vtk.org/t/icp-is-not-working-for-specific-data/3670 "2020-07-06T18:48:24Z")

</div>

Hi all, I an using ICP (Iterative Closest Point algorithm - vtkIterativeClosestPointTransform) and so far works great for stl data that I have. But I just received some new stl files and it doesn’t give correct results…

---

## [Advice for displaying time dependent image data](https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702)

<div class="topic-metadata">

**Author:** [@fraser29](https://discourse.vtk.org/u/fraser29)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 6:28pm UTC](https://discourse.vtk.org/t/advice-for-displaying-time-dependent-image-data/3702 "2020-07-06T18:28:18Z")

</div>

I am looking for advice to render time dependent image volume data through vtk-js. My initial intent was to load a vti file with multi-component point data representing the time vector. However, it doesn’t appear that I…

---

## [Changing image file for test?](https://discourse.vtk.org/t/changing-image-file-for-test/3710)

<div class="topic-metadata">

**Author:** [@mdaley](https://discourse.vtk.org/u/mdaley)\
**Replies:** 1\
**Last updated:** [July 6, 2020, 3:13pm UTC](https://discourse.vtk.org/t/changing-image-file-for-test/3710 "2020-07-06T15:13:03Z")

</div>

Hello, I’ve changed some code. A test fails. I can see my image file from the test run and compare it to the expected image file. The existing expected image file is now wrong and my new one is correct. However, I c…

---

## [VTKm: Reading DataSet from Legacy .vtk-File](https://discourse.vtk.org/t/vtkm-reading-dataset-from-legacy-vtk-file/3285)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 29\
**Last updated:** [July 5, 2020, 8:23pm UTC](https://discourse.vtk.org/t/vtkm-reading-dataset-from-legacy-vtk-file/3285 "2020-07-05T20:23:35Z")

</div>

Hello! In context of my final Bachelors work I’m trying to read a Legacy .VTK-File using the vtkm::io::reader::VTKDataSetReader and then run a Countour Filter on it. The DataSet successfully is read, although it throws …

---

## [2D plot on surface of VTK Object](https://discourse.vtk.org/t/2d-plot-on-surface-of-vtk-object/3659)

<div class="topic-metadata">

**Author:** [@JANHMS](https://discourse.vtk.org/u/JANHMS)\
**Replies:** 4\
**Last updated:** [July 5, 2020, 11:35am UTC](https://discourse.vtk.org/t/2d-plot-on-surface-of-vtk-object/3659 "2020-07-05T11:35:17Z")

</div>

Hi there, I created a VTK object, which is made out of 20 cubes and appears to be one cube, with several Layers, defined through different colours. I created a polar plot with Matplotlib. Now I want to integrate those …

---

## [Removing polygons based on edge length after running Delaunay2D](https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701)

<div class="topic-metadata">

**Author:** [@BentMatt](https://discourse.vtk.org/u/BentMatt)\
**Replies:** 5\
**Last updated:** [July 4, 2020, 4:36pm UTC](https://discourse.vtk.org/t/removing-polygons-based-on-edge-length-after-running-delaunay2d/3701 "2020-07-04T16:36:25Z")

</div>

Hello! I’m completely new to VTK. I have written some code that loads a PCD file with PCL and converts, converts it to VTK points, and runs the Delaunay2D algorigthm on the points to create a mesh. Afterwards I want to …

---

## [vtkImageExtractComponents to vtkDICOMReader](https://discourse.vtk.org/t/vtkimageextractcomponents-to-vtkdicomreader/3682)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 6\
**Last updated:** [July 3, 2020, 2:07pm UTC](https://discourse.vtk.org/t/vtkimageextractcomponents-to-vtkdicomreader/3682 "2020-07-03T14:07:08Z")

</div>

I have loaded a DICOM series into a vtkDICOMReader, and to represent the data into a vtkVolume, I transfer it vtkDICOMReader into a vtkImageExtractComponents. On this vtkImageExtractComponents object I have done some seg…

---

## [About the VTK examples](https://discourse.vtk.org/t/about-the-vtk-examples/3292)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 24\
**Last updated:** [July 3, 2020, 12:23pm UTC](https://discourse.vtk.org/t/about-the-vtk-examples/3292 "2020-07-03T12:23:52Z")

</div>

With the release of VTK 9 (and, of course, the passing of Bill Lorensen), all the Examples from https://lorensen.github.io/VTKExamples/site/ can now be considered out of date. In my opinion, these examples are great res…

---

## ["vtkLinearExtrusionFilter" in vtkjs ?](https://discourse.vtk.org/t/vtklinearextrusionfilter-in-vtkjs/3691)

<div class="topic-metadata">

**Author:** [@xuexl](https://discourse.vtk.org/u/xuexl)\
**Replies:** 2\
**Last updated:** [July 3, 2020, 1:24am UTC](https://discourse.vtk.org/t/vtklinearextrusionfilter-in-vtkjs/3691 "2020-07-03T01:24:01Z")

</div>

Using “vtkLinearExtrusionFilter” in vtk(c++), I can create a 3D model from a polygon. Is there the same function class in vtk(javascript) ?

---

## [vtk.js mobile pan gesture](https://discourse.vtk.org/t/vtk-js-mobile-pan-gesture/3693)

<div class="topic-metadata">

**Author:** [@ddhh](https://discourse.vtk.org/u/ddhh)\
**Replies:** 2\
**Last updated:** [July 2, 2020, 11:17pm UTC](https://discourse.vtk.org/t/vtk-js-mobile-pan-gesture/3693 "2020-07-02T23:17:55Z")

</div>

Hi! I’m doing web 3D-model viewer project now. And I added the GestureCameraManipulator on my InteractorStyleManipulator. What I wanted to see was to implement rotate, zoom and panning functions on mobile environment. …

---

## [how to add Axes grid in vtk.js](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592)

<div class="topic-metadata">

**Author:** [@meihuisu](https://discourse.vtk.org/u/meihuisu)\
**Replies:** 3\
**Last updated:** [July 2, 2020, 8:14pm UTC](https://discourse.vtk.org/t/how-to-add-axes-grid-in-vtk-js/3592 "2020-07-02T20:14:41Z")

</div>

I have a 3d viewer base on OBJViewer. Is there a way to add axes grid to it ?

---

## [VTK-m: Installing VTK-m as a submodule of VTK](https://discourse.vtk.org/t/vtk-m-installing-vtk-m-as-a-submodule-of-vtk/3668)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 29\
**Last updated:** [July 2, 2020, 6:39pm UTC](https://discourse.vtk.org/t/vtk-m-installing-vtk-m-as-a-submodule-of-vtk/3668 "2020-07-02T18:39:41Z")

</div>

Hello, On Linux Mint I checked out VTK-Releas branch via GIT and I imported the sub module for VTKm and build it via CMake, ensuring that vtkm and AcceleratorsVTKm are enabled. This is completed successfully. Anyhow, af…

---

## [Assign colors to VtkElevationFilter?](https://discourse.vtk.org/t/assign-colors-to-vtkelevationfilter/3695)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 3:57pm UTC](https://discourse.vtk.org/t/assign-colors-to-vtkelevationfilter/3695 "2020-07-02T15:57:10Z")

</div>

How can I replace the default “rainbow” color scale associated with VtkElevation filter? Can I assign an alternate vtkLookupTable to the filter? I couldn’t find anything obvious in the Doxygen page… Thanks!

---

## [Unable to make all dll required/Build fails for VTK Java Wrapper](https://discourse.vtk.org/t/unable-to-make-all-dll-required-build-fails-for-vtk-java-wrapper/3694)

<div class="topic-metadata">

**Author:** [@prateekm](https://discourse.vtk.org/u/prateekm)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 2:19pm UTC](https://discourse.vtk.org/t/unable-to-make-all-dll-required-build-fails-for-vtk-java-wrapper/3694 "2020-07-02T14:19:46Z")

</div>

I have trying to build VTK with Java Wrapper. VTK-8.2 source used along with cmake 3.16, Java 8 and Visual Studio 2019 on Windows 10 64 bit machine I have tried to build VTK without Java Wrapper and it is working fine …

---

## [picking of transparent objects](https://discourse.vtk.org/t/picking-of-transparent-objects/3687)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 7:02am UTC](https://discourse.vtk.org/t/picking-of-transparent-objects/3687 "2020-07-02T07:02:10Z")

</div>

Is it possible to pick transparent actors? For vtkPicker it is documented that it only works on nontransparent objects. vtkPropPicker used vtkWorldPointPicker which uses renderer.GetZ. This returns 1.0 (on my machine) …

---

## [vtkWindowToImageFilter - how to get voxel coordinate from pixel coordinate?](https://discourse.vtk.org/t/vtkwindowtoimagefilter-how-to-get-voxel-coordinate-from-pixel-coordinate/3679)

<div class="topic-metadata">

**Author:** [@veltia](https://discourse.vtk.org/u/veltia)\
**Replies:** 1\
**Last updated:** [July 2, 2020, 2:10am UTC](https://discourse.vtk.org/t/vtkwindowtoimagefilter-how-to-get-voxel-coordinate-from-pixel-coordinate/3679 "2020-07-02T02:10:24Z")

</div>

Hi all, I’m using class vtkWindowToImageFilter to get the 2D screenshot from renderwindow. Then I get some interested pixels from 2D image. Any chance I can get the corresponding voxel coordinates back to vtk 3D rende…

---

## [How VTK can reads a DICOM file sequence and reconstructs it quickly!](https://discourse.vtk.org/t/how-vtk-can-reads-a-dicom-file-sequence-and-reconstructs-it-quickly/3685)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.vtk.org/u/wulicheng)\
**Replies:** 0\
**Last updated:** [July 2, 2020, 1:03am UTC](https://discourse.vtk.org/t/how-vtk-can-reads-a-dicom-file-sequence-and-reconstructs-it-quickly/3685 "2020-07-02T01:03:39Z")

</div>

VTK quickly reads DICOM file sequence and reconstructs it? Can I use multi thread or Segmented reading? And now I just read dicom file sequence by vtkDICOMImageReader::SetDirectoryName and update()

---

## [How to extract data from a vtkInformation?](https://discourse.vtk.org/t/how-to-extract-data-from-a-vtkinformation/3684)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 10:16pm UTC](https://discourse.vtk.org/t/how-to-extract-data-from-a-vtkinformation/3684 "2020-07-01T22:16:11Z")

</div>

Hello!!! I’m trying to recover data from a vtkInformation instance that I recover from vtkMultiBlockDataSet meta data. I can print the vtkInformation and I see the value of the “NAME” information - which is what I want…

---

## [Connectivity structure in parallel .vtu files?](https://discourse.vtk.org/t/connectivity-structure-in-parallel-vtu-files/3655)

<div class="topic-metadata">

**Author:** [@chavlin](https://discourse.vtk.org/u/chavlin)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 7:15pm UTC](https://discourse.vtk.org/t/connectivity-structure-in-parallel-vtu-files/3655 "2020-07-01T19:15:22Z")

</div>

Hi there! I’m working on a Python project that requires reading parallel output from a finite element model on an unstructured hexahedral grid. The output files are .pvtu (one per timestep) and .vtu (one per timestep pe…

---

## [Catch error on vtkDICOMWriter](https://discourse.vtk.org/t/catch-error-on-vtkdicomwriter/3664)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 11\
**Last updated:** [July 1, 2020, 12:36pm UTC](https://discourse.vtk.org/t/catch-error-on-vtkdicomwriter/3664 "2020-07-01T12:36:54Z")

</div>

I have the following code: vtkDICOMMRGenerator\* pGenerator = vtkDICOMMRGenerator::New(); vtkDICOMWriter\* pWriter = vtkDICOMWriter::New(); pWriter-\>SetInputConnection(m\_pImageExtractor-\>GetOutputPort()); pWriter-\>SetGene…

---

## [Subdivision filter](https://discourse.vtk.org/t/subdivision-filter/3642)

<div class="topic-metadata">

**Author:** [@pourarab](https://discourse.vtk.org/u/pourarab)\
**Replies:** 6\
**Last updated:** [July 1, 2020, 9:44am UTC](https://discourse.vtk.org/t/subdivision-filter/3642 "2020-07-01T09:44:02Z")

</div>

Hello dear users / developers, As input i have a polygon like following image : I used vtkLinearSubdivisionFilter to subdivide these triangles so i got this result : I want to have equilateral triangles as result,…

---

## [Introduction to ActiViz Webinar](https://discourse.vtk.org/t/introduction-to-activiz-webinar/3396)

<div class="topic-metadata">

**Author:** [@LucasGandel](https://discourse.vtk.org/u/LucasGandel)\
**Replies:** 8\
**Last updated:** [July 1, 2020, 6:17am UTC](https://discourse.vtk.org/t/introduction-to-activiz-webinar/3396 "2020-07-01T06:17:10Z")

</div>

Unleash the power of the Visualization Toolkit (VTK) for your 3D content in C#, .Net and Unity Software. ActiViz allows you to easily integrate 3D visualization in your .Net application. This 30 minutes webinar will foc…

---

## [Error building examples](https://discourse.vtk.org/t/error-building-examples/3583)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 14\
**Last updated:** [June 30, 2020, 10:55pm UTC](https://discourse.vtk.org/t/error-building-examples/3583 "2020-06-30T22:55:16Z")

</div>

I’m new to VTK. I built and installed VTK-8.2 on ubuntu 18.04.4. I want to build all the examples, and am following the directions at this link. . When I type ‘make’ I get: make Scanning dependencies of target AnimateA…

---

## [vtkXMLMultiBlockDataWriter does not appear to export field data](https://discourse.vtk.org/t/vtkxmlmultiblockdatawriter-does-not-appear-to-export-field-data/3669)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 8:48pm UTC](https://discourse.vtk.org/t/vtkxmlmultiblockdatawriter-does-not-appear-to-export-field-data/3669 "2020-06-29T20:48:31Z")

</div>

Hello!!! I’m using vtkMultBlockDatasets and I want to attach metadata to some of the Blocks, persist that metadata to disk and then use it when I read the file later. So far, I’ve been successful using the provided NAM…

---

## [Convert VTK to binary large object (BLOB)](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597)

<div class="topic-metadata">

**Author:** [@rishyak](https://discourse.vtk.org/u/rishyak)\
**Replies:** 2\
**Last updated:** [June 29, 2020, 3:29pm UTC](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597 "2020-06-29T15:29:16Z")

</div>

Hi everyone, I’m using PyVista to make .vtk and .vtk files of my NumPy array. I need to store these on an SQLAlchemy database to work with a web app. Unfortunately, the server can only store in binary large object (BLO…

---

## [Questions about Paraview](https://discourse.vtk.org/t/questions-about-paraview/3666)

<div class="topic-metadata">

**Author:** [@rw20](https://discourse.vtk.org/u/rw20)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 2:59pm UTC](https://discourse.vtk.org/t/questions-about-paraview/3666 "2020-06-29T14:59:10Z")

</div>

Hello, I am new to using Paraview and just have a couple of questions about it. I wanted to know if the software supports any method of reducing the number of samples of an uploaded point cloud. I also was wondering if …

---

## [Visualization of a mhd color file](https://discourse.vtk.org/t/visualization-of-a-mhd-color-file/3663)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 8:14am UTC](https://discourse.vtk.org/t/visualization-of-a-mhd-color-file/3663 "2020-06-29T08:14:10Z")

</div>

Dear All, Could you please provide a VTK script to read and visualize in color a .mhd file of MET\_UCHAR\_ARRAY of 3 dimensions (RGB)? Thanks, Luis Gonçalves

---

## [GetPolys() vertex indices weird order](https://discourse.vtk.org/t/getpolys-vertex-indices-weird-order/3662)

<div class="topic-metadata">

**Author:** [@panicbuttonvfx](https://discourse.vtk.org/u/panicbuttonvfx)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 2:30am UTC](https://discourse.vtk.org/t/getpolys-vertex-indices-weird-order/3662 "2020-06-29T02:30:03Z")

</div>

Hi, When I retrieve the polygon data from a mesh (the cube below as an example), I get something like this: \>\>\> vtk\_to\_numpy(mesh.GetPolys().GetData()) \>\>\> \[ 4 0 1 3 2 4 4 6 7 5 4 8 10 11 9 4 12 13 15 14 …

---

## [How to convert vtkImageData to vtkPolyData](https://discourse.vtk.org/t/how-to-convert-vtkimagedata-to-vtkpolydata/3635)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.vtk.org/u/beginner)\
**Replies:** 11\
**Last updated:** [June 28, 2020, 6:38pm UTC](https://discourse.vtk.org/t/how-to-convert-vtkimagedata-to-vtkpolydata/3635 "2020-06-28T18:38:15Z")

</div>

I’m trying to use the GetPoints method in vtkPolyData to generate a 3D mesh from an image. Currently, I parsed the image as a vtkImageData. How do I convert vtkImageData to vtkPolyData? Or are there any alternative ways …

---

## [Rendering cutting planes created with OpenFOAM](https://discourse.vtk.org/t/rendering-cutting-planes-created-with-openfoam/3580)

<div class="topic-metadata">

**Author:** [@obihoernchen\_x](https://discourse.vtk.org/u/obihoernchen_x)\
**Replies:** 2\
**Last updated:** [June 27, 2020, 2:38pm UTC](https://discourse.vtk.org/t/rendering-cutting-planes-created-with-openfoam/3580 "2020-06-27T14:38:23Z")

</div>

Hello everyone, I am working on a Python script to process an OpenFOAM simulation automatically. I’d like to do in Python with vtk, because the rest of my post processing is also in Python. My goal is to render all the …

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

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