# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=126

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

**Page:** 127

---

## [VTK example](https://discourse.vtk.org/t/vtk-example/3769)

<div class="topic-metadata">

**Author:** [@AmBou99](https://discourse.vtk.org/u/AmBou99)\
**Replies:** 3\
**Last updated:** [July 15, 2020, 12:52pm UTC](https://discourse.vtk.org/t/vtk-example/3769 "2020-07-15T12:52:37Z")

</div>

Hello everyone, I’m new with vtk and in this forum. I have a question about the example on the website of VTK like this example : https://lorensen.github.io/VTKExamples/site/Cxx/IO/JPEGWriter/ I use cmake-gui : for t…

---

## [Z-buffer scale](https://discourse.vtk.org/t/z-buffer-scale/3483)

<div class="topic-metadata">

**Author:** [@j.praptak](https://discourse.vtk.org/u/j.praptak)\
**Replies:** 1\
**Last updated:** [July 14, 2020, 5:28pm UTC](https://discourse.vtk.org/t/z-buffer-scale/3483 "2020-07-14T17:28:45Z")

</div>

Hello. I’m creating a depth map from 3D just like in example: https://vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ZBuffer Is there an easy way to set the output so that the closest point of actor is Whitest (255,255,255) …

---

## [How to use NetCDFReader](https://discourse.vtk.org/t/how-to-use-netcdfreader/2397)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.vtk.org/u/Alex1)\
**Replies:** 3\
**Last updated:** [July 14, 2020, 5:23pm UTC](https://discourse.vtk.org/t/how-to-use-netcdfreader/2397 "2020-07-14T17:23:16Z")

</div>

Can someone explain to me how to use the NetCDFReader properly? I already tried this: vtkSmartPointer\<vtkNetCDFReader\> cdfReader = vtkSmartPointer\<vtkNetCDFReader\>::New(); cdfReader-\>SetFileName("example\_nc\_file.nc"); …

---

## [Is it possible to rubber band select Blocks from a composite data set?](https://discourse.vtk.org/t/is-it-possible-to-rubber-band-select-blocks-from-a-composite-data-set/3765)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 0\
**Last updated:** [July 13, 2020, 8:41pm UTC](https://discourse.vtk.org/t/is-it-possible-to-rubber-band-select-blocks-from-a-composite-data-set/3765 "2020-07-13T20:41:16Z")

</div>

Hello, I’m working with multiblock datasets and trying to figure out how best to select (and subsequently highlight) the contents of blocks that are selected using rubber band picking. It seems that vtkSelection/vtkSel…

---

## [Draw outline of 3D object](https://discourse.vtk.org/t/draw-outline-of-3d-object/3711)

<div class="topic-metadata">

**Author:** [@rprueckl](https://discourse.vtk.org/u/rprueckl)\
**Replies:** 4\
**Last updated:** [July 13, 2020, 7:05am UTC](https://discourse.vtk.org/t/draw-outline-of-3d-object/3711 "2020-07-13T07:05:19Z")

</div>

Hi, is there a possibility to render the outline of a 3D object just like Blender does? I mean the orange outline that is displayed around the maximum extents of the object when selected: Thanks for your help.

---

## [How to write cell data changed over time into one file by \`vtk.vtkXMLUnstructuredGridWriter\`?](https://discourse.vtk.org/t/how-to-write-cell-data-changed-over-time-into-one-file-by-vtk-vtkxmlunstructuredgridwriter/3759)

<div class="topic-metadata">

**Author:** [@whymath](https://discourse.vtk.org/u/whymath)\
**Replies:** 0\
**Last updated:** [July 13, 2020, 5:08am UTC](https://discourse.vtk.org/t/how-to-write-cell-data-changed-over-time-into-one-file-by-vtk-vtkxmlunstructuredgridwriter/3759 "2020-07-13T05:08:38Z")

</div>

I have a triangle mesh, and want to write some cell data which changed over time into a test.vtu files by vtk python interface. import numpy as np import vtk import vtk.util.numpy\_support as vnp mesh =vtk.vtkUnstructur…

---

## [Color/hide blocks on a vtkMultiBlockDataSet using vtkCompositePolyDataMapper2 and the block FieldData?](https://discourse.vtk.org/t/color-hide-blocks-on-a-vtkmultiblockdataset-using-vtkcompositepolydatamapper2-and-the-block-fielddata/3755)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 0\
**Last updated:** [July 13, 2020, 2:06am UTC](https://discourse.vtk.org/t/color-hide-blocks-on-a-vtkmultiblockdataset-using-vtkcompositepolydatamapper2-and-the-block-fielddata/3755 "2020-07-13T02:06:40Z")

</div>

I’m working with vtkMultiBlockDataSets and using vtkCompositePolyDataMapper2 using Python 3 and VTK 9 on Windows 10 My model has the color of each block associated with the PolyData as FieldData - a 3 component Scalar a…

---

## [Get the normal vector of a polygon using vtkPolyDataNormals](https://discourse.vtk.org/t/get-the-normal-vector-of-a-polygon-using-vtkpolydatanormals/3751)

<div class="topic-metadata">

**Author:** [@efdiloreto](https://discourse.vtk.org/u/efdiloreto)\
**Replies:** 4\
**Last updated:** [July 11, 2020, 11:48pm UTC](https://discourse.vtk.org/t/get-the-normal-vector-of-a-polygon-using-vtkpolydatanormals/3751 "2020-07-11T23:48:31Z")

</div>

I have a simple polygon where all points belong to the same plane, therefore the normal vectors at each point should be the same. The problem I have is that I can’t get those vectors. For example, I have the following c…

---

## [Getting a scalar value by checking vtkColorTransferFunction RGB color](https://discourse.vtk.org/t/getting-a-scalar-value-by-checking-vtkcolortransferfunction-rgb-color/3571)

<div class="topic-metadata">

**Author:** [@lonewolf](https://discourse.vtk.org/u/lonewolf)\
**Replies:** 4\
**Last updated:** [July 11, 2020, 11:35pm UTC](https://discourse.vtk.org/t/getting-a-scalar-value-by-checking-vtkcolortransferfunction-rgb-color/3571 "2020-07-11T23:35:23Z")

</div>

Hi all, I have been using VTK for some years now but a new challenge popped up. I need to reverse engineer the function void vtkColorTransferFunction::GetTable( double xStart, double xEnd, int size, double\* table ) i…

---

## [Can VTK be integrated with an existing CPQ(configure, price, quote) software to make automated drawings in the background based on parametric values provided?](https://discourse.vtk.org/t/can-vtk-be-integrated-with-an-existing-cpq-configure-price-quote-software-to-make-automated-drawings-in-the-background-based-on-parametric-values-provided/3745)

<div class="topic-metadata">

**Author:** [@Dishant\_Bhatt](https://discourse.vtk.org/u/Dishant_Bhatt)\
**Replies:** 5\
**Last updated:** [July 10, 2020, 8:37am UTC](https://discourse.vtk.org/t/can-vtk-be-integrated-with-an-existing-cpq-configure-price-quote-software-to-make-automated-drawings-in-the-background-based-on-parametric-values-provided/3745 "2020-07-10T08:37:45Z")

</div>

Let’s say a user wants to build and buy a house from scratch. He logs in to a CPQ (configure price quote ) software and starts putting in various details like length, breadth, height, volume, number of widows, the type o…

---

## [Sudden linking error on macOS on same version that used to build (8.2.0)](https://discourse.vtk.org/t/sudden-linking-error-on-macos-on-same-version-that-used-to-build-8-2-0/3742)

<div class="topic-metadata">

**Author:** [@rdbisme](https://discourse.vtk.org/u/rdbisme)\
**Replies:** 1\
**Last updated:** [July 10, 2020, 1:58am UTC](https://discourse.vtk.org/t/sudden-linking-error-on-macos-on-same-version-that-used-to-build-8-2-0/3742 "2020-07-10T01:58:59Z")

</div>

I’m trying to fix the Macports package of vtk that ships 8.2.0 version and that needs the fix for tp\_print with python 3.8. The problem is that this version used to build successfully without Python (I did not change th…

---

## [Extracting directionality from NIfTI files](https://discourse.vtk.org/t/extracting-directionality-from-nifti-files/3719)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 5\
**Last updated:** [July 9, 2020, 9:08pm UTC](https://discourse.vtk.org/t/extracting-directionality-from-nifti-files/3719 "2020-07-09T21:08:40Z")

</div>

Hi everyone, I have written a simple VTK NIfTI file viewer and want to be able to indicate which side of the images is left. By default, vtkNIFTIImageReader provides the data in voxel space, which has arbitrary orientat…

---

## [Trying to load custom loaded images into vtkImageImport](https://discourse.vtk.org/t/trying-to-load-custom-loaded-images-into-vtkimageimport/3704)

<div class="topic-metadata">

**Author:** [@Bandark](https://discourse.vtk.org/u/Bandark)\
**Replies:** 15\
**Last updated:** [July 9, 2020, 1:20pm UTC](https://discourse.vtk.org/t/trying-to-load-custom-loaded-images-into-vtkimageimport/3704 "2020-07-09T13:20:28Z")

</div>

Hello everyone, I’m trying to load custom loaded images (because at my workplace i must use this library) to vtkImageImport (and at the end to vtkImageData, to render a Volume). I have this object dicomStack that alrea…

---

## [vtkImplicitSelectionLoop does not work as expected](https://discourse.vtk.org/t/vtkimplicitselectionloop-does-not-work-as-expected/3342)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 0\
**Last updated:** [May 19, 2020, 5:06pm UTC](https://discourse.vtk.org/t/vtkimplicitselectionloop-does-not-work-as-expected/3342 "2020-05-19T17:06:49Z")

</div>

I implemented a function that clips a polydata from another polydata. The clip operation is fine for polys that don’t have sharp corners, but it gives weird results for those with sharp corners. How do I get about this? …

---

## [It is posible to modify a glyph after the actor creation?](https://discourse.vtk.org/t/it-is-posible-to-modify-a-glyph-after-the-actor-creation/3727)

<div class="topic-metadata">

**Author:** [@efdiloreto](https://discourse.vtk.org/u/efdiloreto)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 6:22pm UTC](https://discourse.vtk.org/t/it-is-posible-to-modify-a-glyph-after-the-actor-creation/3727 "2020-07-08T18:22:39Z")

</div>

For example, I created an arrow and I want to modify the scale and the orientation. For the orientation I can use (before the actor creation) the vtkArrowSource “InvertOn” method, and for the scale the vtkGlyph3D “SetSc…

---

## [Scaling a rendering scene](https://discourse.vtk.org/t/scaling-a-rendering-scene/173)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 13\
**Last updated:** [July 8, 2020, 1:26pm UTC](https://discourse.vtk.org/t/scaling-a-rendering-scene/173 "2020-07-08T13:26:53Z")

</div>

Overview: I’m curious about scaling a rendering scene for a feature in an open-source, VTK-based project I have been contributing to: vtki. Overall, vtki provides an intuitive, pythonic means of interfacing with VTK dat…

---

## [What's wrong with my VTU file?](https://discourse.vtk.org/t/whats-wrong-with-my-vtu-file/3721)

<div class="topic-metadata">

**Author:** [@jrwrigh](https://discourse.vtk.org/u/jrwrigh)\
**Replies:** 3\
**Last updated:** [July 7, 2020, 8:12pm UTC](https://discourse.vtk.org/t/whats-wrong-with-my-vtu-file/3721 "2020-07-07T20:12:05Z")

</div>

When I try to open the following VTK file in Paraview, it says that a reader could not be found. In looking at other forum posts, this probably means that the file format is invalid. However, due to the scarcity of examp…

---

## [Generating a mesh from vtkPolyData in C++](https://discourse.vtk.org/t/generating-a-mesh-from-vtkpolydata-in-c/3713)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.vtk.org/u/beginner)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 2:51pm UTC](https://discourse.vtk.org/t/generating-a-mesh-from-vtkpolydata-in-c/3713 "2020-07-07T14:51:13Z")

</div>

Hello, I’ve tried using vtkGreedyTerrainDecimation but it doesn’t seem to work in alignment with what I am doing. Also, I am trying to use reconstruction methods that don’t require a remote library. Are there any sugges…

---

## [pick 3D Widgets in openGL window](https://discourse.vtk.org/t/pick-3d-widgets-in-opengl-window/3717)

<div class="topic-metadata">

**Author:** [@kimia.af1998](https://discourse.vtk.org/u/kimia.af1998)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 1:54pm UTC](https://discourse.vtk.org/t/pick-3d-widgets-in-opengl-window/3717 "2020-07-07T13:54:48Z")

</div>

Hi I have a 2D distance widget and 3D distance widget. I want to pick them by left button click. I’ve done well the distance widget on 2D image but I cannot pick the 3D one(vtkDistanceRepresentation3D) in opengl window. …

---

## [VTKm: ThrowCastAndCallException when calling paint() on a View3D](https://discourse.vtk.org/t/vtkm-throwcastandcallexception-when-calling-paint-on-a-view3d/3712)

<div class="topic-metadata">

**Author:** [@McDave17](https://discourse.vtk.org/u/McDave17)\
**Replies:** 1\
**Last updated:** [July 7, 2020, 9:52am UTC](https://discourse.vtk.org/t/vtkm-throwcastandcallexception-when-calling-paint-on-a-view3d/3712 "2020-07-07T09:52:54Z")

</div>

Since the last topic I posted this in got quite of topic from the original topic I want to post this here again. As stated in the title this code unexpectedly crashes when calling paint() on the initiated View3D. This s…

---

## [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…

---

## [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…

---

## [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) …

---

## [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…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=125)

[Next page](https://discourse.vtk.org/c/support/6.md?page=127)
