# Support

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

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

**Page:** 98

---

## [vtkCellPicker::GetCellId() always returns -1?](https://discourse.vtk.org/t/vtkcellpicker-getcellid-always-returns-1/6478)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 5:20pm UTC](https://discourse.vtk.org/t/vtkcellpicker-getcellid-always-returns-1/6478 "2021-08-31T17:20:32Z")

</div>

I’m using vtkCellPicker (vtk-8.2.0, ubuntu-18.04.5) to select points in vtkPolyData, by incorporating vtkCellPicker in my class that extends vtkInteractorStyleTrackballCamera. When I create the vtk pipeline in main() fol…

---

## [Timeseries many Files Data](https://discourse.vtk.org/t/timeseries-many-files-data/6516)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 0\
**Last updated:** [August 31, 2021, 1:57pm UTC](https://discourse.vtk.org/t/timeseries-many-files-data/6516 "2021-08-31T13:57:12Z")

</div>

I have many vti time files which I load with the help of XMLImageDataReader and then I use the ImageDataGeometryFilter to get Polydata Output. My Idea was that I store the different files as Polydata like that: polyData…

---

## [build latest vtk in wsl2(ubuntu2004) failed](https://discourse.vtk.org/t/build-latest-vtk-in-wsl2-ubuntu2004-failed/6501)

<div class="topic-metadata">

**Author:** [@eton](https://discourse.vtk.org/u/eton)\
**Replies:** 5\
**Last updated:** [August 31, 2021, 2:39am UTC](https://discourse.vtk.org/t/build-latest-vtk-in-wsl2-ubuntu2004-failed/6501 "2021-08-31T02:39:21Z")

</div>

Hi, everyone. I build vtk in windows’ wsl2 which is a ubuntu2004, always failed. use same way succeed in real ubuntu2004. Anyone can tell me why it failed or is it possible to solve the issue? Thanks. \[ 1%\] Built tar…

---

## [\`vtkCubeAxesActor2D\` show Y and X axes at both sides](https://discourse.vtk.org/t/vtkcubeaxesactor2d-show-y-and-x-axes-at-both-sides/6505)

<div class="topic-metadata">

**Author:** [@kerim](https://discourse.vtk.org/u/kerim)\
**Replies:** 0\
**Last updated:** [August 30, 2021, 6:23pm UTC](https://discourse.vtk.org/t/vtkcubeaxesactor2d-show-y-and-x-axes-at-both-sides/6505 "2021-08-30T18:23:08Z")

</div>

Hi, I can’t find a way to display X-axis at both sides: bottom and top. The same I need to do with Y-axis. // Cube axes vtkNew\<vtkCubeAxesActor2D\> cubeAxesActor; cubeAxesActor-\>SetCamera(renderer-\>GetActiveCamera…

---

## [vtkImageReslice: how to make point in the center of output image](https://discourse.vtk.org/t/vtkimagereslice-how-to-make-point-in-the-center-of-output-image/486)

<div class="topic-metadata">

**Author:** [@richardander](https://discourse.vtk.org/u/richardander)\
**Replies:** 3\
**Last updated:** [August 30, 2021, 10:05am UTC](https://discourse.vtk.org/t/vtkimagereslice-how-to-make-point-in-the-center-of-output-image/486 "2021-08-30T10:05:30Z")

</div>

Hello, I am using vtkImageReslice to generate an image by resliceAxes which is created by a normal direction and passing a point . In the output image, I can define its size by SetOutputExtent. my question is how to ma…

---

## [Which pick function should i used in DICOMImageSeries?](https://discourse.vtk.org/t/which-pick-function-should-i-used-in-dicomimageseries/6497)

<div class="topic-metadata">

**Author:** [@jjjkk](https://discourse.vtk.org/u/jjjkk)\
**Replies:** 0\
**Last updated:** [August 30, 2021, 2:53am UTC](https://discourse.vtk.org/t/which-pick-function-should-i-used-in-dicomimageseries/6497 "2021-08-30T02:53:13Z")

</div>

I try to use picker in ImageViewer2 which reade seriesof DICOMImage. But It seems picker-\>pick not work as the return value by pick is always zeor. The example I follow is using a 2d Image, while DICOMImage is a Series…

---

## [OSPRay 1.8 and TBB tbb2018\_20170919oss\_win Required](https://discourse.vtk.org/t/ospray-1-8-and-tbb-tbb2018-20170919oss-win-required/6493)

<div class="topic-metadata">

**Author:** [@Adam\_Hendry](https://discourse.vtk.org/u/Adam_Hendry)\
**Replies:** 5\
**Last updated:** [August 29, 2021, 1:44am UTC](https://discourse.vtk.org/t/ospray-1-8-and-tbb-tbb2018-20170919oss-win-required/6493 "2021-08-29T01:44:59Z")

</div>

Is there a reason why OSPRay 1.8, and TBB 2018 Update 1 (tbb2018\_20170919oss\_win) are required in VTK-9.0.3 and newer versions aren’t supported? Is this intentional?

---

## [support for Sigmoid VOI-LUT Function](https://discourse.vtk.org/t/support-for-sigmoid-voi-lut-function/6456)

<div class="topic-metadata">

**Author:** [@Taiji\_Zhao](https://discourse.vtk.org/u/Taiji_Zhao)\
**Replies:** 3\
**Last updated:** [August 27, 2021, 7:38pm UTC](https://discourse.vtk.org/t/support-for-sigmoid-voi-lut-function/6456 "2021-08-27T19:38:44Z")

</div>

Hi every one, I am quite new to VTK and the forum. I am working on building a dicom viewer UI for mammograms (2D xray image of breast) based on VTK and got stucked on a problem of displaying a image with sigmoid voi-lut…

---

## [vtkvolumemapper help](https://discourse.vtk.org/t/vtkvolumemapper-help/6486)

<div class="topic-metadata">

**Author:** [@Hanxin\_Hua](https://discourse.vtk.org/u/Hanxin_Hua)\
**Replies:** 0\
**Last updated:** [August 27, 2021, 6:20pm UTC](https://discourse.vtk.org/t/vtkvolumemapper-help/6486 "2021-08-27T18:20:07Z")

</div>

Hi there, I have an issue with vtkvolumemapper. void updateImage() { vtkSmartVolumeMapper\* mapper = nullptr; int sampleRate = 1; if (m\_Volume) { mapper = vtkSmartVolumeMapper::SafeDownCast(m\_Volume-\>GetMapper()); } i…

---

## [Availability of testing data associated with VTK and ParaView](https://discourse.vtk.org/t/availability-of-testing-data-associated-with-vtk-and-paraview/6481)

<div class="topic-metadata">

**Author:** [@MatthewFlamm](https://discourse.vtk.org/u/MatthewFlamm)\
**Replies:** 5\
**Last updated:** [August 27, 2021, 1:11pm UTC](https://discourse.vtk.org/t/availability-of-testing-data-associated-with-vtk-and-paraview/6481 "2021-08-27T13:11:08Z")

</div>

I see that there is data used for testing VTK and ParaView or at data.kitware.com, but there is no explicit license associated with those datasets that I can find. I was looking into using a few of the datasets for inte…

---

## [vtkCurvatures yields unreasonably large values along borders](https://discourse.vtk.org/t/vtkcurvatures-yields-unreasonably-large-values-along-borders/2527)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 15\
**Last updated:** [August 27, 2021, 1:21am UTC](https://discourse.vtk.org/t/vtkcurvatures-yields-unreasonably-large-values-along-borders/2527 "2021-08-27T01:21:44Z")

</div>

Hi Does anyone know why vtkCurvatures yields unreasonably high values close to the object’s border? See screenshot below. I expect the (Gaussian) curvature for my shapes to be in the range \[-0.5,1\]. However, I observe v…

---

## [vtkPolyDataToImageStencil issue](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-issue/6475)

<div class="topic-metadata">

**Author:** [@Hanxin\_Hua](https://discourse.vtk.org/u/Hanxin_Hua)\
**Replies:** 4\
**Last updated:** [August 26, 2021, 3:27pm UTC](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-issue/6475 "2021-08-26T15:27:06Z")

</div>

Hi everyone, I have a question about the usage of vtkPolyDataToImageStencil. vtkSmartPointer\<vtkCylinderSource\> cy = vtkSmartPointer\<vtkCylinderSource\>::New(); cy-\>SetHeight(20); cy-\>SetRadius(40); cy-\>SetResolution(20)…

---

## ["vtkLineIntegralConvolution2D.h": No such file or directory](https://discourse.vtk.org/t/vtklineintegralconvolution2d-h-no-such-file-or-directory/6451)

<div class="topic-metadata">

**Author:** [@Tees](https://discourse.vtk.org/u/Tees)\
**Replies:** 10\
**Last updated:** [August 26, 2021, 12:50pm UTC](https://discourse.vtk.org/t/vtklineintegralconvolution2d-h-no-such-file-or-directory/6451 "2021-08-26T12:50:35Z")

</div>

I get the following error message if I try to include any of the \<vtkLineIntegralConvolution2D.h \<vtkImageDataLIC2D.h\>\<vtkSurfaceLICMapper.h\>\<vtkSurfaceLICInterface.h\> libraries: Data (Include) cannot be opened: “vtkLin…

---

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

---

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

---

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

---

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

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

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