# Support

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

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

**Page:** 154

---

## [VTKChartLegend not movable](https://discourse.vtk.org/t/vtkchartlegend-not-movable/1237)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 1\
**Last updated:** [July 4, 2019, 2:43am UTC](https://discourse.vtk.org/t/vtkchartlegend-not-movable/1237 "2019-07-04T02:43:28Z")

</div>

My VTKChartLegend is unmovable, even with this returning true: chart-\>GetLegend()-\>GetDragEnabled(); Everything else about my VTKChartXY is working, and the interactor seems to be fully functional except for this. I am…

---

## [Get Point Array Data from an case file](https://discourse.vtk.org/t/get-point-array-data-from-an-case-file/1264)

<div class="topic-metadata">

**Author:** [@cvAIRteam](https://discourse.vtk.org/u/cvAIRteam)\
**Replies:** 0\
**Last updated:** [July 3, 2019, 4:50pm UTC](https://discourse.vtk.org/t/get-point-array-data-from-an-case-file/1264 "2019-07-03T16:50:27Z")

</div>

Hello everyone, I am a vtk beginner. I use it with python. In a case file, there is a point array called “Velocity” and i would like to extract/get the data of this array. At the beginning, I process as follow: read…

---

## [Opacity issue with point picking on surface](https://discourse.vtk.org/t/opacity-issue-with-point-picking-on-surface/1193)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 13\
**Last updated:** [July 3, 2019, 3:19pm UTC](https://discourse.vtk.org/t/opacity-issue-with-point-picking-on-surface/1193 "2019-07-03T15:19:43Z")

</div>

I have edited a actor to have an opacity less than 1, such that I can see a second actor inside the first. There seems to be a weird behavior that I didn’t notice when the opacity was set to 1. When using an interacti…

---

## [vtkExtractUnstructuredGrid does not return any points on Windows](https://discourse.vtk.org/t/vtkextractunstructuredgrid-does-not-return-any-points-on-windows/1164)

<div class="topic-metadata">

**Author:** [@ataber](https://discourse.vtk.org/u/ataber)\
**Replies:** 13\
**Last updated:** [July 3, 2019, 12:57am UTC](https://discourse.vtk.org/t/vtkextractunstructuredgrid-does-not-return-any-points-on-windows/1164 "2019-07-03T00:57:06Z")

</div>

The vtkExtractUnstructuredGrid class is awesome on Linux, where it successfully merges points for unstructured grids. However, on Windows, it returns 0 points with merging on. I have explicitly turned off all clipping so…

---

## [Culling of Point Labels](https://discourse.vtk.org/t/culling-of-point-labels/1243)

<div class="topic-metadata">

**Author:** [@akaszynski](https://discourse.vtk.org/u/akaszynski)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 7:04pm UTC](https://discourse.vtk.org/t/culling-of-point-labels/1243 "2019-07-02T19:04:29Z")

</div>

Is there a way to cull or hide point labels when they are behind a mesh? There’s a good example of this phenomenon here at pyvista Issue 282. I’ve tried to use vtkLabelPlacementMapper instead of vtkLabeledDataMapper, b…

---

## [VTK unstructured grid raw format in XML type](https://discourse.vtk.org/t/vtk-unstructured-grid-raw-format-in-xml-type/434)

<div class="topic-metadata">

**Author:** [@Mini\_love](https://discourse.vtk.org/u/Mini_love)\
**Replies:** 10\
**Last updated:** [July 2, 2019, 4:49pm UTC](https://discourse.vtk.org/t/vtk-unstructured-grid-raw-format-in-xml-type/434 "2019-07-02T16:49:16Z")

</div>

I am a newer of VTK, and I want to write a program to save my CFD results in Raw .vtu format. I find some examples from git-hub, but both of them don't work. I hope some one can help me. Do you have any Raw .vtu examp…

---

## [vtkStreamTracer using regular grid?](https://discourse.vtk.org/t/vtkstreamtracer-using-regular-grid/1215)

<div class="topic-metadata">

**Author:** [@Jesper\_Henriksen](https://discourse.vtk.org/u/Jesper_Henriksen)\
**Replies:** 1\
**Last updated:** [July 2, 2019, 11:41am UTC](https://discourse.vtk.org/t/vtkstreamtracer-using-regular-grid/1215 "2019-07-02T11:41:26Z")

</div>

Hi guys, I’m having great trouble getting the vtkStreamTracer to show any traces from generated data (the original code used a vtkRTAnalyticSource to generate the data). It is probably some thing trivial but I have been…

---

## [3d Render with vtkVolume error](https://discourse.vtk.org/t/3d-render-with-vtkvolume-error/1244)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 1:22am UTC](https://discourse.vtk.org/t/3d-render-with-vtkvolume-error/1244 "2019-07-02T01:22:39Z")

</div>

ERROR: In D:\\ct\\VTK\\VTK-8.1.2\\Rendering\\OpenGL2\\vtkWin32OpenGLRenderWindow.cxx, line 227 vtkWin32OpenGLRenderWindow (000001F37C5C8A70): wglMakeCurrent failed in MakeCurrent(), error … many errors like this. how to so…

---

## [Geometry Shader Implementation](https://discourse.vtk.org/t/geometry-shader-implementation/1189)

<div class="topic-metadata">

**Author:** [@Tharun](https://discourse.vtk.org/u/Tharun)\
**Replies:** 2\
**Last updated:** [July 1, 2019, 5:01pm UTC](https://discourse.vtk.org/t/geometry-shader-implementation/1189 "2019-07-01T17:01:43Z")

</div>

Can someone please guide me on how to inject Geometry Shader Code?

---

## [make cube a parent of camera](https://discourse.vtk.org/t/make-cube-a-parent-of-camera/1239)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 0\
**Last updated:** [July 1, 2019, 3:24pm UTC](https://discourse.vtk.org/t/make-cube-a-parent-of-camera/1239 "2019-07-01T15:24:34Z")

</div>

hi, is it possible in vtk, to make an actor like a cube actor, a parent of the active camera? so that if i change the transform of the cube actor the camera relatively follows the cube with the same off set i had set i…

---

## [interactor stops after scaling volume](https://discourse.vtk.org/t/interactor-stops-after-scaling-volume/1223)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 2\
**Last updated:** [June 29, 2019, 8:37am UTC](https://discourse.vtk.org/t/interactor-stops-after-scaling-volume/1223 "2019-06-29T08:37:13Z")

</div>

hi, i was experimenting with medical demo volume rendering example with my own nii file, i want to use the convention 1 unit = 1 meter so i scaled the volume by using vtk transform scale property and after the volume i…

---

## [VTK 8.2 with Gallium Driver SWR fails with vtkOpenGLSphereMapper](https://discourse.vtk.org/t/vtk-8-2-with-gallium-driver-swr-fails-with-vtkopenglspheremapper/1206)

<div class="topic-metadata">

**Author:** [@psandana](https://discourse.vtk.org/u/psandana)\
**Replies:** 3\
**Last updated:** [June 28, 2019, 7:44pm UTC](https://discourse.vtk.org/t/vtk-8-2-with-gallium-driver-swr-fails-with-vtkopenglspheremapper/1206 "2019-06-28T19:44:50Z")

</div>

Hi, I tried to use vtkAtoms which uses vtkOpenGLSphereMapper inside. On the new VTK 8.2 they are using a geometry shader. Using Mesa 17 with the llvmpipe driver works perfectly. But when changing to the SWR driver it fa…

---

## [painting vtkWindowToImageFilter output into QPixmap in Qt widget](https://discourse.vtk.org/t/painting-vtkwindowtoimagefilter-output-into-qpixmap-in-qt-widget/1226)

<div class="topic-metadata">

**Author:** [@sbucc](https://discourse.vtk.org/u/sbucc)\
**Replies:** 3\
**Last updated:** [June 28, 2019, 4:27pm UTC](https://discourse.vtk.org/t/painting-vtkwindowtoimagefilter-output-into-qpixmap-in-qt-widget/1226 "2019-06-28T16:27:58Z")

</div>

I’m trying to use vtkWindowToImageFilter to paint a single view of an object into a widget in my Qt application. The closest I can get is this (still wrong): # generate the view renderWin = vtk.vtkRenderWindow()…

---

## [Use of Tessellation Shader in VTK](https://discourse.vtk.org/t/use-of-tessellation-shader-in-vtk/1181)

<div class="topic-metadata">

**Author:** [@Tharun](https://discourse.vtk.org/u/Tharun)\
**Replies:** 3\
**Last updated:** [June 28, 2019, 3:38pm UTC](https://discourse.vtk.org/t/use-of-tessellation-shader-in-vtk/1181 "2019-06-28T15:38:36Z")

</div>

I have a triangular mesh(polygons as cells in vtkPolyData). Each point has different scalar value. There is a lookup table for coloring based on scalars. On using Point Color data as scalars, triangles have graded colo…

---

## [vtkResliceImageViewer](https://discourse.vtk.org/t/vtkresliceimageviewer/1233)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 8:36am UTC](https://discourse.vtk.org/t/vtkresliceimageviewer/1233 "2019-06-28T08:36:07Z")

</div>

Hello, I want to perform MPR on my 3D volume and display the 3 planes (axial, coronal and sagittal) in one render window. Problem is that, if I want to change the cursor (and update the other 2 views) in the upper plane …

---

## [Generating 3d body mesh from pointcloud](https://discourse.vtk.org/t/generating-3d-body-mesh-from-pointcloud/545)

<div class="topic-metadata">

**Author:** [@thully](https://discourse.vtk.org/u/thully)\
**Replies:** 8\
**Last updated:** [June 28, 2019, 7:50am UTC](https://discourse.vtk.org/t/generating-3d-body-mesh-from-pointcloud/545 "2019-06-28T07:50:39Z")

</div>

I have several pointcloud files consisting of x, y, and z points associated with a human body. What I’d like to do is generate a 3d mesh of this body from the pointcloud. Is this possible, and if so what filters should I…

---

## [2D vtk Renders in QT](https://discourse.vtk.org/t/2d-vtk-renders-in-qt/1231)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 5:45am UTC](https://discourse.vtk.org/t/2d-vtk-renders-in-qt/1231 "2019-06-28T05:45:20Z")

</div>

I am unable to do 2D vtk renders in QT without having override errors: “Generic Warning: In vtkContextDevice2D.cxx, line 31 Error: no override found for 'vtkContextDevice2D”. While trying to solve this I have been read…

---

## [vtk rendering problem on embedded linux](https://discourse.vtk.org/t/vtk-rendering-problem-on-embedded-linux/1229)

<div class="topic-metadata">

**Author:** [@1112](https://discourse.vtk.org/u/1112)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 2:25am UTC](https://discourse.vtk.org/t/vtk-rendering-problem-on-embedded-linux/1229 "2019-06-28T02:25:39Z")

</div>

hello everyone I build vtk8.2.0 by nanopi m4 (OS is ‘Armbian Bionic desktop legacy kernel 4.4.y’). At first time vtk was successfully, but rendering is very slow and FPS is only about 5 I use ‘glmark2-es2’ to evaluate…

---

## [vtkVolume can color mapping?](https://discourse.vtk.org/t/vtkvolume-can-color-mapping/1207)

<div class="topic-metadata">

**Author:** [@Script\_K](https://discourse.vtk.org/u/Script_K)\
**Replies:** 8\
**Last updated:** [June 27, 2019, 11:34pm UTC](https://discourse.vtk.org/t/vtkvolume-can-color-mapping/1207 "2019-06-27T23:34:07Z")

</div>

now i making pI’m creating a program that overlays two objects and prints one object with color mapping based on the coordinate values. The overlay output was successful, but I could not find a way to do color mapping. …

---

## [cmake: VTK\_PYTHON\_VERSION ignored, python 3.5 not found (VTK 8.2, ubuntu 16.04)](https://discourse.vtk.org/t/cmake-vtk-python-version-ignored-python-3-5-not-found-vtk-8-2-ubuntu-16-04/1216)

<div class="topic-metadata">

**Author:** [@sbucc](https://discourse.vtk.org/u/sbucc)\
**Replies:** 7\
**Last updated:** [June 27, 2019, 5:14pm UTC](https://discourse.vtk.org/t/cmake-vtk-python-version-ignored-python-3-5-not-found-vtk-8-2-ubuntu-16-04/1216 "2019-06-27T17:14:28Z")

</div>

I’m trying to build VTK 8.2 with bindings for python 3.5, so I set VTK\_PYTHON\_VERSION=3 (or 3.5), but cmake can’t find it, it finds just 2.7 instead: Could NOT find PythonInterp: Found unsuitable version “2.7.12”, but …

---

## [Outline Points Marker Style](https://discourse.vtk.org/t/outline-points-marker-style/1220)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 3:37am UTC](https://discourse.vtk.org/t/outline-points-marker-style/1220 "2019-06-27T03:37:46Z")

</div>

Is there a way to change how points are displayed? Specifically, is it possible to add an outline to all points similar to the matplotlib figure below matplotlib figure of some hard data points and an interpolated gr…

---

## [Grid for unstructured data in separate file?](https://discourse.vtk.org/t/grid-for-unstructured-data-in-separate-file/1031)

<div class="topic-metadata">

**Author:** [@janlv](https://discourse.vtk.org/u/janlv)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 1:02am UTC](https://discourse.vtk.org/t/grid-for-unstructured-data-in-separate-file/1031 "2019-06-27T01:02:29Z")

</div>

Hi, to save disk space when writing time-data on a constant unstructured grid, it would be nice to write grid points and cells once in a separate file and reference this file in the subsequent .vtu files? Is that possib…

---

## [How to clean rendering window in Qt (PySide2, Qt5)](https://discourse.vtk.org/t/how-to-clean-rendering-window-in-qt-pyside2-qt5/1217)

<div class="topic-metadata">

**Author:** [@sbucc](https://discourse.vtk.org/u/sbucc)\
**Replies:** 2\
**Last updated:** [June 26, 2019, 8:54pm UTC](https://discourse.vtk.org/t/how-to-clean-rendering-window-in-qt-pyside2-qt5/1217 "2019-06-26T20:54:49Z")

</div>

I’m writing a viewer with python 3.5 and Qt5, using PySide2. How do I completely wipe or unload the existing mesh from a rendering window? I just want the existing mesh to disappear when I click a button. I’m rendering…

---

## [display patient info in the render window](https://discourse.vtk.org/t/display-patient-info-in-the-render-window/1213)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 1\
**Last updated:** [June 26, 2019, 10:54am UTC](https://discourse.vtk.org/t/display-patient-info-in-the-render-window/1213 "2019-06-26T10:54:21Z")

</div>

Hello, I have 200 DICOM images of which I have successfully performed volume rendering. Now I want my window to also display some information about the patient (like ID patient, type of TC, …), how can I do that? Thanks…

---

## [why can't unload vtkCommonCore.dll](https://discourse.vtk.org/t/why-cant-unload-vtkcommoncore-dll/1200)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 1:28pm UTC](https://discourse.vtk.org/t/why-cant-unload-vtkcommoncore-dll/1200 "2019-06-25T13:28:06Z")

</div>

with vs2013, I use vtk in a mfc dll (just add four lines #include \<vtkAutoInit.h\> VTK\_MODULE\_INIT(vtkRenderingFreeType); VTK\_MODULE\_INIT(vtkInteractionStyle); VTK\_MODULE\_INIT(vtkRenderingOpenGL2); VTK\_MODULE\_INIT(vtkRe…

---

## [vtkColorMaps getPresetByName with vtk.js as external script](https://discourse.vtk.org/t/vtkcolormaps-getpresetbyname-with-vtk-js-as-external-script/1183)

<div class="topic-metadata">

**Author:** [@PBrockmann](https://discourse.vtk.org/u/PBrockmann)\
**Replies:** 3\
**Last updated:** [June 25, 2019, 10:58am UTC](https://discourse.vtk.org/t/vtkcolormaps-getpresetbyname-with-vtk-js-as-external-script/1183 "2019-06-25T10:58:35Z")

</div>

From https://kitware.github.io/vtk-js/examples/ScalarToRGBA.html there are those lines to preset a lookup table: import vtkColorMaps from 'vtk.js/Sources/Rendering/Core/ColorTransferFunction/ColorMaps'; import vtkColor…

---

## [How to Highlight the specified area on the slices obtained by VTKImageReslices](https://discourse.vtk.org/t/how-to-highlight-the-specified-area-on-the-slices-obtained-by-vtkimagereslices/1209)

<div class="topic-metadata">

**Author:** [@WtDMaO](https://discourse.vtk.org/u/WtDMaO)\
**Replies:** 0\
**Last updated:** [June 25, 2019, 8:07am UTC](https://discourse.vtk.org/t/how-to-highlight-the-specified-area-on-the-slices-obtained-by-vtkimagereslices/1209 "2019-06-25T08:07:01Z")

</div>

Actually, I consider this matter as a problem of coordinate transformation. What I want is to highlight the specified area like lesion on the CT. This is easy to achieve while the CT is normal like this http://vtk.104…

---

## [How to acquire the histogram statistic data from the vtkPolyData?](https://discourse.vtk.org/t/how-to-acquire-the-histogram-statistic-data-from-the-vtkpolydata/1203)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 9:09am UTC](https://discourse.vtk.org/t/how-to-acquire-the-histogram-statistic-data-from-the-vtkpolydata/1203 "2019-06-24T09:09:27Z")

</div>

Hi all :slight\_smile: I want to acquire the histogram statistics data from a specific row, after loading the 3D model file. (ex, Max / Min / Average / Std) In OpenCV, it can acquire the data using the as below code: c…

---

## [how to use vtk in a mfc dll](https://discourse.vtk.org/t/how-to-use-vtk-in-a-mfc-dll/1201)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 8:09am UTC](https://discourse.vtk.org/t/how-to-use-vtk-in-a-mfc-dll/1201 "2019-06-24T08:09:08Z")

</div>

with vs2013, vtk8.1, I create a mfc dll with a mfc dialog, in this dialog, there is a static control which is parent of vtkrenderwindow.The dialog create as a modaless dialog,when the main exe load the dll,it will create…

---

## [z](https://discourse.vtk.org/t/z/1197)

<div class="topic-metadata">

**Author:** [@Simaas](https://discourse.vtk.org/u/Simaas)\
**Replies:** 1\
**Last updated:** [June 22, 2019, 3:48pm UTC](https://discourse.vtk.org/t/z/1197 "2019-06-22T15:48:04Z")

</div>

z

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

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