# Support

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

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

**Page:** 59

---

## [vtkCubeAxesActor2D (8.2.0), changing axis label font size (does not work)](https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485)

<div class="topic-metadata">

**Author:** [@francek](https://discourse.vtk.org/u/francek)\
**Replies:** 1\
**Last updated:** [January 9, 2023, 2:55am UTC](https://discourse.vtk.org/t/vtkcubeaxesactor2d-8-2-0-changing-axis-label-font-size-does-not-work/1485 "2023-01-09T02:55:33Z")

</div>

Hi, When I run CubeAxesActor2D example and change the font size from tprop-\>SetFontSize(20); to e.g. tprop-\>SetFontSize(40); the actual font size does not change. Any idea why/how to change label font size? Th…

---

## [Error GLSL 1.50 is not supported.](https://discourse.vtk.org/t/error-glsl-1-50-is-not-supported/1444)

<div class="topic-metadata">

**Author:** [@pbazavan](https://discourse.vtk.org/u/pbazavan)\
**Replies:** 4\
**Last updated:** [January 8, 2023, 9:52am UTC](https://discourse.vtk.org/t/error-glsl-1-50-is-not-supported/1444 "2023-01-08T09:52:34Z")

</div>

Hello people, I’m new on this site. I am getting an error when trying to run a simple vtk representation program. The error is “error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and…

---

## [Convert .vtp to 3d array or tensor](https://discourse.vtk.org/t/convert-vtp-to-3d-array-or-tensor/10385)

<div class="topic-metadata">

**Author:** [@Nikita\_Litvinenko](https://discourse.vtk.org/u/Nikita_Litvinenko)\
**Replies:** 1\
**Last updated:** [January 7, 2023, 5:36pm UTC](https://discourse.vtk.org/t/convert-vtp-to-3d-array-or-tensor/10385 "2023-01-07T17:36:05Z")

</div>

Hi all! I use the dataset Vascular Model Repository and in it the aorta models are stored in .vtp . I wanted to ask if someone knows if it is possible in any way (at least programmatically, in any programming language) t…

---

## [How to obtain the polydata added in trackball actor interactor.](https://discourse.vtk.org/t/how-to-obtain-the-polydata-added-in-trackball-actor-interactor/10306)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 4\
**Last updated:** [January 6, 2023, 2:11pm UTC](https://discourse.vtk.org/t/how-to-obtain-the-polydata-added-in-trackball-actor-interactor/10306 "2023-01-06T14:11:18Z")

</div>

I have a vtkPolyData, and generate a vtkActor. I add this vtkActor to vtkInteractorStyleTrackballActor. After some rotation/pan/spin action, the position/scale/orientation of vtkActor has been changed, but the vtkPolyDat…

---

## [vtkTransformPolyDataFilter output a incorrect result](https://discourse.vtk.org/t/vtktransformpolydatafilter-output-a-incorrect-result/10366)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 11\
**Last updated:** [January 6, 2023, 9:38am UTC](https://discourse.vtk.org/t/vtktransformpolydatafilter-output-a-incorrect-result/10366 "2023-01-06T09:38:35Z")

</div>

I have a polydata and a transformMatrix. I compute two result: transform the center point of polydata with transformMatrix. transform the polydata with transformMatrix, and get center of the new poly data. I find the …

---

## [How to change scalarbarwidget font properties](https://discourse.vtk.org/t/how-to-change-scalarbarwidget-font-properties/10343)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 6\
**Last updated:** [January 4, 2023, 9:27pm UTC](https://discourse.vtk.org/t/how-to-change-scalarbarwidget-font-properties/10343 "2023-01-04T21:27:13Z")

</div>

I can’t find a way to change the scarlarbarwidget font properties such as size and color. Can anyone help? BK

---

## ['vtkDICOMImageReader' Errors: 'Couldn't get sorted files', while trying to import a set of .dcm files.](https://discourse.vtk.org/t/vtkdicomimagereader-errors-couldnt-get-sorted-files-while-trying-to-import-a-set-of-dcm-files/10314)

<div class="topic-metadata">

**Author:** [@wang](https://discourse.vtk.org/u/wang)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 4:50pm UTC](https://discourse.vtk.org/t/vtkdicomimagereader-errors-couldnt-get-sorted-files-while-trying-to-import-a-set-of-dcm-files/10314 "2023-01-04T16:50:27Z")

</div>

Hello All, I am trying to run the following example from MedicalDemo4 using Python3. Since my input data is a set of raw CT images, I modified ‘reader = vtkMetaImageReader()’ to ‘reader = vtkDICOMImageReader()’ with ‘r…

---

## [vtkOutlineGlowPass in multiview](https://discourse.vtk.org/t/vtkoutlineglowpass-in-multiview/10053)

<div class="topic-metadata">

**Author:** [@micheleivani](https://discourse.vtk.org/u/micheleivani)\
**Replies:** 6\
**Last updated:** [January 4, 2023, 2:13pm UTC](https://discourse.vtk.org/t/vtkoutlineglowpass-in-multiview/10053 "2023-01-04T14:13:08Z")

</div>

Hello, I’m using Activz (vtk c#). I have a multiview following the example https://kitware.github.io/vtk-examples/site/Cxx/Visualization/MultipleViewports/ and the main viewport has a glow effect following the example h…

---

## [Is there any way to check whether the "Delete()" has been invoked already?](https://discourse.vtk.org/t/is-there-any-way-to-check-whether-the-delete-has-been-invoked-already/10324)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 4\
**Last updated:** [January 3, 2023, 10:23pm UTC](https://discourse.vtk.org/t/is-there-any-way-to-check-whether-the-delete-has-been-invoked-already/10324 "2023-01-03T22:23:30Z")

</div>

Hello,Is there any way to check whether the “Delete()” has been invoked already?

---

## [vtkTubeFilter vary radius](https://discourse.vtk.org/t/vtktubefilter-vary-radius/10361)

<div class="topic-metadata">

**Author:** [@micheleivani](https://discourse.vtk.org/u/micheleivani)\
**Replies:** 1\
**Last updated:** [January 3, 2023, 2:55pm UTC](https://discourse.vtk.org/t/vtktubefilter-vary-radius/10361 "2023-01-03T14:55:16Z")

</div>

Hello, I need to get the following behavior. I have a list of points with x,y, and z coordinates and radius. I want to use a vtkKochanekSpline and vtkTubeFilter with the SetVaryRadiusToVaryRadiusByAbsoluteScalar op…

---

## [vtkCamera SetParallelProjection not working properly](https://discourse.vtk.org/t/vtkcamera-setparallelprojection-not-working-properly/10370)

<div class="topic-metadata">

**Author:** [@jackshen2028](https://discourse.vtk.org/u/jackshen2028)\
**Replies:** 0\
**Last updated:** [January 3, 2023, 2:19pm UTC](https://discourse.vtk.org/t/vtkcamera-setparallelprojection-not-working-properly/10370 "2023-01-03T14:19:15Z")

</div>

Dear VTK community, I am trying to change vtk camera from parallel mode to perspective mode by using SetParallelProjection(True/False), everything works as expected until I scroll the mouse, which changes the view scale…

---

## [where will the render show the final color](https://discourse.vtk.org/t/where-will-the-render-show-the-final-color/10368)

<div class="topic-metadata">

**Author:** [@gujiangtao](https://discourse.vtk.org/u/gujiangtao)\
**Replies:** 0\
**Last updated:** [January 3, 2023, 8:27am UTC](https://discourse.vtk.org/t/where-will-the-render-show-the-final-color/10368 "2023-01-03T08:27:42Z")

</div>

Hi everyone Now I am reading the source code of vtk .But I am confused about something . for example ,I have used the GPUvolumeraycastmapper to generate volume,and also set the finalcolorlevel. but I really do not kno…

---

## [vtkImageMapToColors display a wrong color](https://discourse.vtk.org/t/vtkimagemaptocolors-display-a-wrong-color/10360)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 4\
**Last updated:** [January 3, 2023, 6:13am UTC](https://discourse.vtk.org/t/vtkimagemaptocolors-display-a-wrong-color/10360 "2023-01-03T06:13:54Z")

</div>

I am using vtkImageMapToColors to map gray image to color image. My image has only 0/1 value: img = vtk.vtkImageData() img.SetDimensions(256, 256, 1) img.AllocateScalars(vtk.VTK\_INT, 1) for i in range(256): for j i…

---

## [ALL\_BUILD in Visual Studio did not install VTK under program files - Windows 10](https://discourse.vtk.org/t/all-build-in-visual-studio-did-not-install-vtk-under-program-files-windows-10/10213)

<div class="topic-metadata">

**Author:** [@Jerry1](https://discourse.vtk.org/u/Jerry1)\
**Replies:** 2\
**Last updated:** [December 15, 2022, 9:55pm UTC](https://discourse.vtk.org/t/all-build-in-visual-studio-did-not-install-vtk-under-program-files-windows-10/10213 "2022-12-15T21:55:09Z")

</div>

Hello. I am new to VTK and I have downloaded, configured, and generated VTK with CMake. Once I have done that, I then went to the VTK visual studio solution file that was generated under /bin and ran the build for ALL\_B…

---

## [how to visualizate the tetrahedron?](https://discourse.vtk.org/t/how-to-visualizate-the-tetrahedron/10339)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 6\
**Last updated:** [December 31, 2022, 3:04pm UTC](https://discourse.vtk.org/t/how-to-visualizate-the-tetrahedron/10339 "2022-12-31T15:04:31Z")

</div>

I want to visualize a tetrahedron, and my code is: nodes = \[ \[ 3.56000000e+02, 2.56000000e+02, 0.00000000e+00\], \[ 1.56000000e+02, 1.56000000e+02, 1.22464676e-14\], \[ 1.56000000e+02, 2.06000000e+02, -8.6…

---

## [Convert 3D contour point cloud to binary voxel map](https://discourse.vtk.org/t/convert-3d-contour-point-cloud-to-binary-voxel-map/4214)

<div class="topic-metadata">

**Author:** [@ferdymercury](https://discourse.vtk.org/u/ferdymercury)\
**Replies:** 8\
**Last updated:** [December 31, 2022, 2:56pm UTC](https://discourse.vtk.org/t/convert-3d-contour-point-cloud-to-binary-voxel-map/4214 "2022-12-31T14:56:44Z")

</div>

I am writing a small C++ program, which contains: a voxel grid (nX \* nY \* nZ) a voxel (i,j,k) to 3D point (x,y,z) conversion matrix an array of 3D points (x,y,z) defining a closed surface As I am new to VTK, I was loo…

---

## [Running trame dashboard in browder from jupyter notebook](https://discourse.vtk.org/t/running-trame-dashboard-in-browder-from-jupyter-notebook/10181)

<div class="topic-metadata">

**Author:** [@Robert\_Collar](https://discourse.vtk.org/u/Robert_Collar)\
**Replies:** 4\
**Last updated:** [December 28, 2022, 5:11pm UTC](https://discourse.vtk.org/t/running-trame-dashboard-in-browder-from-jupyter-notebook/10181 "2022-12-28T17:11:19Z")

</div>

Hi VTK community! When I throw the simple example from here on the trame website into a jupyter notebook, I get the error displayed in the screenshot below. I’m able to run an app displayed in the browser from a app.py f…

---

## [Model class 'TransferFunctionModel' from module 'k3d' is loaded but can not be instantiated](https://discourse.vtk.org/t/model-class-transferfunctionmodel-from-module-k3d-is-loaded-but-can-not-be-instantiated/10312)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 3:08pm UTC](https://discourse.vtk.org/t/model-class-transferfunctionmodel-from-module-k3d-is-loaded-but-can-not-be-instantiated/10312 "2022-12-28T15:08:26Z")

</div>

I am trying to run the following example (K3D-jupyter/volume\_renderer.ipynb at 3fef1ea419a84a51c8aed56cb285b9fcf0a18c9a · K3D-tools/K3D-jupyter · GitHub) in jupyter notebook. import k3d import math import numpy as np im…

---

## [Change resolution of a 3D VTK dataset](https://discourse.vtk.org/t/change-resolution-of-a-3d-vtk-dataset/10322)

<div class="topic-metadata">

**Author:** [@pasvalietis](https://discourse.vtk.org/u/pasvalietis)\
**Replies:** 0\
**Last updated:** [December 28, 2022, 12:27am UTC](https://discourse.vtk.org/t/change-resolution-of-a-3d-vtk-dataset/10322 "2022-12-28T00:27:01Z")

</div>

Hello, I am working with a vtk dataset that has both scalar and vector field data, and the vtk type is vtkStructuredPoints. I want to decrease the grid resolution for each field to reduce file size and write the new dat…

---

## [Iso Volume Filter for VTK](https://discourse.vtk.org/t/iso-volume-filter-for-vtk/10316)

<div class="topic-metadata">

**Author:** [@Jimmy-KL](https://discourse.vtk.org/u/Jimmy-KL)\
**Replies:** 0\
**Last updated:** [December 27, 2022, 3:43am UTC](https://discourse.vtk.org/t/iso-volume-filter-for-vtk/10316 "2022-12-27T03:43:19Z")

</div>

Is there a Iso Volume filter for VTK? I usually use this filter in Paraview for my work, but I didn’t find such filter in VTK python interface. If there is no Iso Volume filter in VTK, I think there maybe a filter pipel…

---

## [is there a way to write to csv file when there is more than 1 table](https://discourse.vtk.org/t/is-there-a-way-to-write-to-csv-file-when-there-is-more-than-1-table/10279)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 2\
**Last updated:** [December 27, 2022, 2:46am UTC](https://discourse.vtk.org/t/is-there-a-way-to-write-to-csv-file-when-there-is-more-than-1-table/10279 "2022-12-27T02:46:03Z")

</div>

Hi all, I have a question regarding writing to csv file. In my program there are more than 1 table.Is there any way to write all the table data into one csv file.

---

## [Error while trying to use \`vtk\_to\_numpy\`](https://discourse.vtk.org/t/error-while-trying-to-use-vtk-to-numpy/10290)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 2\
**Last updated:** [December 26, 2022, 7:19am UTC](https://discourse.vtk.org/t/error-while-trying-to-use-vtk-to-numpy/10290 "2022-12-26T07:19:56Z")

</div>

Hi All, I am trying to run the following example (K3D-jupyter/volume\_renderer.ipynb at 3fef1ea419a84a51c8aed56cb285b9fcf0a18c9a · K3D-tools/K3D-jupyter · GitHub) in jupyter notebook. import k3d import math import numpy…

---

## [Intel oneTBB's flow\_graph and VTK's executive](https://discourse.vtk.org/t/intel-onetbbs-flow-graph-and-vtks-executive/10311)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [December 26, 2022, 2:26am UTC](https://discourse.vtk.org/t/intel-onetbbs-flow-graph-and-vtks-executive/10311 "2022-12-26T02:26:10Z")

</div>

I am considering using oneTBB’s flow\_graph as a framework for a dependency graph I am building. The grunt work done in the oneTBB nodes are performed via VTK code (mostly vtkAlogrithm derived classes) Will there be arc…

---

## [How to update the scalar range for evolving scalar values in a pipeline?](https://discourse.vtk.org/t/how-to-update-the-scalar-range-for-evolving-scalar-values-in-a-pipeline/10277)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 3\
**Last updated:** [December 22, 2022, 7:45pm UTC](https://discourse.vtk.org/t/how-to-update-the-scalar-range-for-evolving-scalar-values-in-a-pipeline/10277 "2022-12-22T19:45:20Z")

</div>

Hello!!! I have a fairly standard pipeline, the key piece of which is represented by the fragment below consisting of a vtkUnstructuredGrid (“data” below), a mapper and lookup table. The vtkUnstructuredGrid has multipl…

---

## [Diverging Log Lookup Table](https://discourse.vtk.org/t/diverging-log-lookup-table/10216)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 7\
**Last updated:** [December 22, 2022, 2:12pm UTC](https://discourse.vtk.org/t/diverging-log-lookup-table/10216 "2022-12-22T14:12:30Z")

</div>

This question is prompted from the MakeLUT function in the DisplacementPlot example: https://kitware.github.io/vtk-examples/site/Cxx/VisualizationAlgorithms/DisplacementPlot/ The MakeLUT function shows how to generate …

---

## [ICP not stitching point cloud together](https://discourse.vtk.org/t/icp-not-stitching-point-cloud-together/10293)

<div class="topic-metadata">

**Author:** [@Joe\_Rockclimber](https://discourse.vtk.org/u/Joe_Rockclimber)\
**Replies:** 2\
**Last updated:** [December 22, 2022, 3:39am UTC](https://discourse.vtk.org/t/icp-not-stitching-point-cloud-together/10293 "2022-12-22T03:39:44Z")

</div>

I have 1 scan. I have split the scan into 2 point clouds that have about 10 percent overlap. I offset one point cloud by .5 units in the X direction. I am trying to use the icp object to put the point clouds back togethe…

---

## [Visualizing Unstructured Grids](https://discourse.vtk.org/t/visualizing-unstructured-grids/9203)

<div class="topic-metadata">

**Author:** [@BlueKnight7](https://discourse.vtk.org/u/BlueKnight7)\
**Replies:** 4\
**Last updated:** [December 21, 2022, 7:21pm UTC](https://discourse.vtk.org/t/visualizing-unstructured-grids/9203 "2022-12-21T19:21:13Z")

</div>

I just started working with the vtkUnstructuredGrid class and have built a simple sphere using VTK\_HEXAHEDRON elements. When the sphere is rendered, only the exterior surfaces are displayed. This is evident when I pres…

---

## [How is vtkCursor2D supposed to be used?](https://discourse.vtk.org/t/how-is-vtkcursor2d-supposed-to-be-used/10225)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 6\
**Last updated:** [December 21, 2022, 5:25pm UTC](https://discourse.vtk.org/t/how-is-vtkcursor2d-supposed-to-be-used/10225 "2022-12-21T17:25:10Z")

</div>

Hello!! I want to use a cross hair cursor with configurable “aperture” (pick radius) in my app. I found vtkCursor2D and the example, converted the example to Python and ran it. vtkCursor2D gives me the shape I want and …

---

## [Installing VTK in Ubuntu 18.04](https://discourse.vtk.org/t/installing-vtk-in-ubuntu-18-04/2147)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.vtk.org/u/banikr)\
**Replies:** 25\
**Last updated:** [December 21, 2022, 11:31am UTC](https://discourse.vtk.org/t/installing-vtk-in-ubuntu-18-04/2147 "2022-12-21T11:31:08Z")

</div>

Hello I am following this link: VTK/Building/Linux - KitwarePublic to install VTK in my system. But having a lot of troubles while doing that. According to them, I downloaded the VTK-6.3.0.zip Version(as the latest one …

---

## [Same API returned pointer pointed to diffent array location after printing.](https://discourse.vtk.org/t/same-api-returned-pointer-pointed-to-diffent-array-location-after-printing/10284)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 1\
**Last updated:** [December 21, 2022, 11:25am UTC](https://discourse.vtk.org/t/same-api-returned-pointer-pointed-to-diffent-array-location-after-printing/10284 "2022-12-21T11:25:52Z")

</div>

Hello,I have a code piece like blew to print same returned vtkDataArray twice: //get the normal of the representative cell auto normal = obj-\>cellNormals()-\>GetTuple(reprenstiveCell.id); std::cout \<\< "Repre Cell Nor…

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

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