# Support

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

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

**Page:** 143

---

## [Is it possible to turn off the plane rotation function of vtkPlaneWidget during interaction？](https://discourse.vtk.org/t/is-it-possible-to-turn-off-the-plane-rotation-function-of-vtkplanewidget-during-interaction/2410)

<div class="topic-metadata">

**Author:** [@kknnnyy](https://discourse.vtk.org/u/kknnnyy)\
**Replies:** 0\
**Last updated:** [January 11, 2020, 12:42pm UTC](https://discourse.vtk.org/t/is-it-possible-to-turn-off-the-plane-rotation-function-of-vtkplanewidget-during-interaction/2410 "2020-01-11T12:42:44Z")

</div>

In my project, I don’t need vtkPlaneWidget to rotate during interaction, how can I achieve it?

---

## [Volume rendering with vtkVolumeRayCastMapper but need help extracting the rendered grayscale image.](https://discourse.vtk.org/t/volume-rendering-with-vtkvolumeraycastmapper-but-need-help-extracting-the-rendered-grayscale-image/2404)

<div class="topic-metadata">

**Author:** [@spencermanwell](https://discourse.vtk.org/u/spencermanwell)\
**Replies:** 0\
**Last updated:** [January 11, 2020, 3:13am UTC](https://discourse.vtk.org/t/volume-rendering-with-vtkvolumeraycastmapper-but-need-help-extracting-the-rendered-grayscale-image/2404 "2020-01-11T03:13:33Z")

</div>

Hello VTK, I have been rendering volumes using vtkVolumeRayCastMapper with a modified vtkVolumeRayCastMIPFunction as grayscale images and I am interested in extracting the pixel values of these and writing the images to…

---

## [Access violation when deleting actor made from GLTF importer](https://discourse.vtk.org/t/access-violation-when-deleting-actor-made-from-gltf-importer/2400)

<div class="topic-metadata">

**Author:** [@pbrousson](https://discourse.vtk.org/u/pbrousson)\
**Replies:** 3\
**Last updated:** [January 10, 2020, 5:32pm UTC](https://discourse.vtk.org/t/access-violation-when-deleting-actor-made-from-gltf-importer/2400 "2020-01-10T17:32:02Z")

</div>

Hello, My application have to load different scenes repeatedly (synoptic views for SCADA application). I need to clean-up properly the renderer between to scenes to avoid increasing memory usage. I use a loop to clean…

---

## [AMD GPU can't display the examples of vtk](https://discourse.vtk.org/t/amd-gpu-cant-display-the-examples-of-vtk/2399)

<div class="topic-metadata">

**Author:** [@laomen](https://discourse.vtk.org/u/laomen)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 9:59am UTC](https://discourse.vtk.org/t/amd-gpu-cant-display-the-examples-of-vtk/2399 "2020-01-10T09:59:33Z")

</div>

Hi,guys: i built vtk examples of qt GUI,but i get some error when i run it. When i use Nvidia GPU,it can display.But when i change my GPU to AMD,it can’t work.it display the black.

---

## [Extracting data from the unstructured grid using vtkplane cutter](https://discourse.vtk.org/t/extracting-data-from-the-unstructured-grid-using-vtkplane-cutter/2362)

<div class="topic-metadata">

**Author:** [@venkatesh](https://discourse.vtk.org/u/venkatesh)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 4:54pm UTC](https://discourse.vtk.org/t/extracting-data-from-the-unstructured-grid-using-vtkplane-cutter/2362 "2020-01-09T16:54:04Z")

</div>

Hi, I am trying to using vtkPlane() and vtkCutter in python to read the unstructured data. I have the volume data and wanted to extract data over a plane. So, I pass the plane location and normal to extract the data. Th…

---

## ['-Wl,-rpath' not executed when building version 8.2.0](https://discourse.vtk.org/t/wl-rpath-not-executed-when-building-version-8-2-0/2383)

<div class="topic-metadata">

**Author:** [@Rigel](https://discourse.vtk.org/u/Rigel)\
**Replies:** 5\
**Last updated:** [January 9, 2020, 9:30am UTC](https://discourse.vtk.org/t/wl-rpath-not-executed-when-building-version-8-2-0/2383 "2020-01-09T09:30:40Z")

</div>

Hi, I downloaded version 8.2.0 of VTK from the website and CMaked it with default settings (the only flag being CMAKE\_INSTALL\_PREFIX; CMake version 3.10.2 on Ubuntu 18.04.3 LTS). Now, running e.g.: ldd -r ${HOME}/VTK/8…

---

## [About the camera perspective](https://discourse.vtk.org/t/about-the-camera-perspective/2223)

<div class="topic-metadata">

**Author:** [@minmin](https://discourse.vtk.org/u/minmin)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 10:45pm UTC](https://discourse.vtk.org/t/about-the-camera-perspective/2223 "2020-01-08T22:45:55Z")

</div>

Can you see from outside the object, but can you see from inside?

---

## [Camera focus on the cursor point](https://discourse.vtk.org/t/camera-focus-on-the-cursor-point/2277)

<div class="topic-metadata">

**Author:** [@ronan\_etesse](https://discourse.vtk.org/u/ronan_etesse)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 10:41pm UTC](https://discourse.vtk.org/t/camera-focus-on-the-cursor-point/2277 "2020-01-08T22:41:13Z")

</div>

Hi evrey one, I am on vtk 8.2, and I try on a 3d view (perspective enable) to zoom with wheel mouse on the current cursor position. For zooming I am using the Dolly function from vtkCamera. I’am zooming then I apply a…

---

## [UseFXAA by default](https://discourse.vtk.org/t/usefxaa-by-default/2390)

<div class="topic-metadata">

**Author:** [@santichialvo](https://discourse.vtk.org/u/santichialvo)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 8:12pm UTC](https://discourse.vtk.org/t/usefxaa-by-default/2390 "2020-01-08T20:12:09Z")

</div>

Hi everyone, In order to avoid antialiasing, there is the possibility to use UseFXAAOn() on every created render. I wanted to ask if there is a way to make this option enabled by default. Regards, Santiago.

---

## [ow to convert vtkImageData to numpy for a RGB image](https://discourse.vtk.org/t/ow-to-convert-vtkimagedata-to-numpy-for-a-rgb-image/2387)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [January 8, 2020, 4:43pm UTC](https://discourse.vtk.org/t/ow-to-convert-vtkimagedata-to-numpy-for-a-rgb-image/2387 "2020-01-08T16:43:01Z")

</div>

I want to convert a vtkImageData (3 components) to numpy. For a vtkImageData with 1 components, the following code works: temp = vtk\_to\_numpy(data.GetPointData().GetScalars()) dims = data.GetDimensions() numpy\_data = t…

---

## [vtk.numpy\_interface.dataset\_adapter doesn't work for vtkImageData](https://discourse.vtk.org/t/vtk-numpy-interface-dataset-adapter-doesnt-work-for-vtkimagedata/2342)

<div class="topic-metadata">

**Author:** [@MBG](https://discourse.vtk.org/u/MBG)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 2:07pm UTC](https://discourse.vtk.org/t/vtk-numpy-interface-dataset-adapter-doesnt-work-for-vtkimagedata/2342 "2020-01-07T14:07:58Z")

</div>

vtk.numpy\_interface.dataset\_adapter.WrapDataObject() returns PolyData for vtkImageData(). Is it possible to use this wrapper with vtkImageData?

---

## [raytracing in vtk](https://discourse.vtk.org/t/raytracing-in-vtk/2364)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 6\
**Last updated:** [January 7, 2020, 8:47am UTC](https://discourse.vtk.org/t/raytracing-in-vtk/2364 "2020-01-07T08:47:47Z")

</div>

hi, i was using Paraviewer and was able to use the OSPRayCaster to render the volume with raycasting to get better lighting and shadows and colors, how can this be achived in vtk in python? thanks

---

## [How to generate a Quadric mesh without topological holes](https://discourse.vtk.org/t/how-to-generate-a-quadric-mesh-without-topological-holes/2381)

<div class="topic-metadata">

**Author:** [@stwalker](https://discourse.vtk.org/u/stwalker)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 1:03am UTC](https://discourse.vtk.org/t/how-to-generate-a-quadric-mesh-without-topological-holes/2381 "2020-01-07T01:03:08Z")

</div>

Hello, I am using vtkQuadric and vtkSampleFunction to generate a quadric surface mesh, however, my application has the requirement that all meshes be closed (by which I mean no holes). I was wondering if there was any w…

---

## [vtkCommonInformationKeyManager Destruction Crash / Corrupt vfptr Table](https://discourse.vtk.org/t/vtkcommoninformationkeymanager-destruction-crash-corrupt-vfptr-table/2371)

<div class="topic-metadata">

**Author:** [@Trinian](https://discourse.vtk.org/u/Trinian)\
**Replies:** 4\
**Last updated:** [January 3, 2020, 8:38pm UTC](https://discourse.vtk.org/t/vtkcommoninformationkeymanager-destruction-crash-corrupt-vfptr-table/2371 "2020-01-03T20:38:37Z")

</div>

I’m loading VTK as a visualization plugin from within an MFC application, and when I go to close my application and the plugin is unloaded with FreeLibrary, vtkCommonInformationKeyManager will crash. Immediately before t…

---

## [SelectEnclosedPoints Tolerance](https://discourse.vtk.org/t/selectenclosedpoints-tolerance/1161)

<div class="topic-metadata">

**Author:** [@Caroline](https://discourse.vtk.org/u/Caroline)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 11:13pm UTC](https://discourse.vtk.org/t/selectenclosedpoints-tolerance/1161 "2020-01-02T23:13:19Z")

</div>

Dear Forum, I am looking for help in understanding how the tolerance for vtkSelectEnclosedPoints works please. I have been using vtkSelectEnclosedPoints to identify which points on a rectilinear grid lie within a vtkPo…

---

## [ParaView Programmable Source with vtkImageData output](https://discourse.vtk.org/t/paraview-programmable-source-with-vtkimagedata-output/2341)

<div class="topic-metadata">

**Author:** [@MBG](https://discourse.vtk.org/u/MBG)\
**Replies:** 3\
**Last updated:** [January 2, 2020, 10:56pm UTC](https://discourse.vtk.org/t/paraview-programmable-source-with-vtkimagedata-output/2341 "2020-01-02T22:56:14Z")

</div>

The code below is based on I try to create ParaView Programmable Source by the code below. I can see the correct properties on ParaView “Information” tab and there are no errors but the actual geometry isn’t avail…

---

## [How to simulate heating coil ?](https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344)

<div class="topic-metadata">

**Author:** [@stasbar](https://discourse.vtk.org/u/stasbar)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 10:31pm UTC](https://discourse.vtk.org/t/how-to-simulate-heating-coil/2344 "2020-01-02T22:31:13Z")

</div>

Hello, After a few days of research, I feel quite confused by what tool is responsible for what problem. That’s why I decided to ask here for help in finding out the directions where should I go. I would just like to kn…

---

## [How to apply different textures to each face of a tetrahedron](https://discourse.vtk.org/t/how-to-apply-different-textures-to-each-face-of-a-tetrahedron/2333)

<div class="topic-metadata">

**Author:** [@Cheng1087](https://discourse.vtk.org/u/Cheng1087)\
**Replies:** 2\
**Last updated:** [December 30, 2019, 10:51am UTC](https://discourse.vtk.org/t/how-to-apply-different-textures-to-each-face-of-a-tetrahedron/2333 "2019-12-30T10:51:44Z")

</div>

Here is my code example.(only can use one actor!) #include \<vtkAutoInit.h\> VTK\_MODULE\_INIT(vtkRenderingOpenGL2) VTK\_MODULE\_INIT(vtkInteractionStyle) #include \<vtkPoints.h\> #include \<vtkPolygon.h\> #include \<vtkCellA…

---

## [How to set lookup table for surfaceplot?](https://discourse.vtk.org/t/how-to-set-lookup-table-for-surfaceplot/2357)

<div class="topic-metadata">

**Author:** [@Yue\_JIN](https://discourse.vtk.org/u/Yue_JIN)\
**Replies:** 0\
**Last updated:** [December 30, 2019, 2:01am UTC](https://discourse.vtk.org/t/how-to-set-lookup-table-for-surfaceplot/2357 "2019-12-30T02:01:41Z")

</div>

Hello, I’m new with vtk. Is it possible to set lookup table for surfaceplot? And use lookup table scalar range? In addition, I found that when all the value in the table of a surfaceplot are the same, nothing will be sh…

---

## [Construct a 2D surface based on points defining the outline of an arbitrary shape](https://discourse.vtk.org/t/construct-a-2d-surface-based-on-points-defining-the-outline-of-an-arbitrary-shape/2354)

<div class="topic-metadata">

**Author:** [@michael23](https://discourse.vtk.org/u/michael23)\
**Replies:** 1\
**Last updated:** [December 29, 2019, 12:20pm UTC](https://discourse.vtk.org/t/construct-a-2d-surface-based-on-points-defining-the-outline-of-an-arbitrary-shape/2354 "2019-12-29T12:20:54Z")

</div>

Hello, I have a set of points which define the outline of an arbitrary shape. The shape is closed and contains no holes. Now I want to create the corresponding surface in VTK. My current approach is to create a vtkPoly…

---

## [vtkSTLWriter unknown error](https://discourse.vtk.org/t/vtkstlwriter-unknown-error/2334)

<div class="topic-metadata">

**Author:** [@Inna\_Daymand](https://discourse.vtk.org/u/Inna_Daymand)\
**Replies:** 4\
**Last updated:** [December 26, 2019, 11:48pm UTC](https://discourse.vtk.org/t/vtkstlwriter-unknown-error/2334 "2019-12-26T23:48:02Z")

</div>

this is file name c:\\Users\\Admin\\workspace\\TA\_PlacerOptimizer\\General\_folder\\Patient\_21007large\_TALPS\_2\_0\_InitNormAngles\_90\_90\_90\_ 90\\EF14\_Patient\_21007\_Fully\_segmented.stl this is my code in python self.output\_data.…

---

## [How to implement myself interactor in vtk pyqt?](https://discourse.vtk.org/t/how-to-implement-myself-interactor-in-vtk-pyqt/2331)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [December 23, 2019, 3:16pm UTC](https://discourse.vtk.org/t/how-to-implement-myself-interactor-in-vtk-pyqt/2331 "2019-12-23T15:16:09Z")

</div>

I need to start my own project. I want to implement my own interactor, and my code is: import vtk, sys from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor from PyQt5.QtWidgets import \* class myI…

---

## [How to use multiple textures for an actor？](https://discourse.vtk.org/t/how-to-use-multiple-textures-for-an-actor/2295)

<div class="topic-metadata">

**Author:** [@Cheng1087](https://discourse.vtk.org/u/Cheng1087)\
**Replies:** 4\
**Last updated:** [December 21, 2019, 1:52pm UTC](https://discourse.vtk.org/t/how-to-use-multiple-textures-for-an-actor/2295 "2019-12-21T13:52:29Z")

</div>

I have a block with multiple materials, each material corresponds to a texture. How do i show it in an actor？ In vtk8.1.2，I cannot get the number of texture unit that hardware support without class vtkOpenGLHardwareSup…

---

## [VTK Medical3 example clipping planes are of the iso center of volume](https://discourse.vtk.org/t/vtk-medical3-example-clipping-planes-are-of-the-iso-center-of-volume/2320)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 0\
**Last updated:** [December 20, 2019, 9:56am UTC](https://discourse.vtk.org/t/vtk-medical3-example-clipping-planes-are-of-the-iso-center-of-volume/2320 "2019-12-20T09:56:34Z")

</div>

Hi, I modified the Medical3 example of VTK and replace vtkVolumeReader16 with vtkDICOMImageReader and I run the Medical3 project and I see the volume perfectly! My problem is that the three clipping blades in iso cente…

---

## [Medical example of vtk using DICOM format slices](https://discourse.vtk.org/t/medical-example-of-vtk-using-dicom-format-slices/2313)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 0\
**Last updated:** [December 19, 2019, 8:52am UTC](https://discourse.vtk.org/t/medical-example-of-vtk-using-dicom-format-slices/2313 "2019-12-19T08:52:45Z")

</div>

Hi, I am new to this forum! I have used VTK for couple of month. questions: I have build and run vtk example Medical1…Medical4. I used headsq/quarter slices but I don’t know the format of quarter slice files, can any…

---

## [How to display the delaunay triangulation line for marching cubes?](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 12:12am UTC](https://discourse.vtk.org/t/how-to-display-the-delaunay-triangulation-line-for-marching-cubes/2307 "2019-12-19T00:12:19Z")

</div>

The isosurface obtained by marching cubes is actually a vtkPolyData. And it consist of many lines. How can I display those line? I only need to display lines (the first picture) nor the rendering (the second picture). …

---

## [Trying to visualize CT/MR data stored in HDF5 format](https://discourse.vtk.org/t/trying-to-visualize-ct-mr-data-stored-in-hdf5-format/2305)

<div class="topic-metadata">

**Author:** [@rds15](https://discourse.vtk.org/u/rds15)\
**Replies:** 2\
**Last updated:** [December 18, 2019, 4:34pm UTC](https://discourse.vtk.org/t/trying-to-visualize-ct-mr-data-stored-in-hdf5-format/2305 "2019-12-18T16:34:46Z")

</div>

Hello, I have CT/MR data stored in HDF5 format. My intention is to read the dataset that is stored in the .hdf5 file and display it in my own VTK viewer. Apparently not allowed to upload attachments, so I will send the …

---

## [Navigation Cube](https://discourse.vtk.org/t/navigation-cube/2258)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 6\
**Last updated:** [December 18, 2019, 6:42am UTC](https://discourse.vtk.org/t/navigation-cube/2258 "2019-12-18T06:42:42Z")

</div>

Hello. I used the vtk example to load the DICOM image and see the MPR and RAYCAST. The patient head was intuitive in direction, but thought that other parts of the body should be guided because it can be confusing. I w…

---

## [example in vtk.org/wiki not work](https://discourse.vtk.org/t/example-in-vtk-org-wiki-not-work/2297)

<div class="topic-metadata">

**Author:** [@Inna\_Daymand](https://discourse.vtk.org/u/Inna_Daymand)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 11:43pm UTC](https://discourse.vtk.org/t/example-in-vtk-org-wiki-not-work/2297 "2019-12-17T23:43:15Z")

</div>

Hello everyone, please, pay attention to publication https://vtk.org/Wiki/Example\_from\_and\_to\_python\_converters Example given here does not work. In general it is not possible to do wrapper from c++ to python using b…

---

## [How to have split normals on the boundary of a contour?](https://discourse.vtk.org/t/how-to-have-split-normals-on-the-boundary-of-a-contour/2301)

<div class="topic-metadata">

**Author:** [@Tim\_Hutton](https://discourse.vtk.org/u/Tim_Hutton)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 3:45pm UTC](https://discourse.vtk.org/t/how-to-have-split-normals-on-the-boundary-of-a-contour/2301 "2019-12-17T15:45:37Z")

</div>

Here’s the issue, and an image: https://github.com/GollyGang/ready/issues/47 My pipeline is vtkImageConstantPad -\> vtkContourFilter where the padding is used to add a cap on the open ends, to hide the interior sections …

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

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