# Support

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

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

**Page:** 69

---

## [VtkCamera angular ranges ranges?](https://discourse.vtk.org/t/vtkcamera-angular-ranges-ranges/9322)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 6\
**Last updated:** [September 13, 2022, 8:07am UTC](https://discourse.vtk.org/t/vtkcamera-angular-ranges-ranges/9322 "2022-09-13T08:07:58Z")

</div>

It appears that one can set either the vertical or horizontal visual angles of a camera. If I was to set either of these (say the horizontal visual angle range) how would I find what is the other visual range (in this c…

---

## [VTKCamera Elevation and Azimuth angle query](https://discourse.vtk.org/t/vtkcamera-elevation-and-azimuth-angle-query/6777)

<div class="topic-metadata">

**Author:** [@Soumya\_Dutta](https://discourse.vtk.org/u/Soumya_Dutta)\
**Replies:** 3\
**Last updated:** [September 13, 2022, 6:41am UTC](https://discourse.vtk.org/t/vtkcamera-elevation-and-azimuth-angle-query/6777 "2022-09-13T06:41:58Z")

</div>

Hello, I have a python VTK script that does some rendering using VTK. I want to query the elevation and azimuth angles of the current view. I am trying to find APIs to do that and could not find any. I see the Elevation…

---

## [How to add the 'vn' attribute to the obj file through vtk or other methods](https://discourse.vtk.org/t/how-to-add-the-vn-attribute-to-the-obj-file-through-vtk-or-other-methods/9334)

<div class="topic-metadata">

**Author:** [@Dwight98](https://discourse.vtk.org/u/Dwight98)\
**Replies:** 0\
**Last updated:** [September 13, 2022, 6:07am UTC](https://discourse.vtk.org/t/how-to-add-the-vn-attribute-to-the-obj-file-through-vtk-or-other-methods/9334 "2022-09-13T06:07:23Z")

</div>

I have an obj file that contains only point properties and face properties, I want to generate normal vector properties for the file, how do I do it?

---

## [How do I eliminate the "ripples" of Volume Rendering?](https://discourse.vtk.org/t/how-do-i-eliminate-the-ripples-of-volume-rendering/4109)

<div class="topic-metadata">

**Author:** [@008](https://discourse.vtk.org/u/008)\
**Replies:** 12\
**Last updated:** [September 12, 2022, 12:49pm UTC](https://discourse.vtk.org/t/how-do-i-eliminate-the-ripples-of-volume-rendering/4109 "2022-09-12T12:49:57Z")

</div>

Hi, I have a series of cross-sectional images of a 3D object composed of two materials (green and purple) with a geometric shape etched on it. I use “volume rendering” to render it, but when I rotate the object, it has …

---

## [3D interaction does not work in RenderWindowControl (Activiz)](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313)

<div class="topic-metadata">

**Author:** [@masoud](https://discourse.vtk.org/u/masoud)\
**Replies:** 2\
**Last updated:** [September 12, 2022, 11:13am UTC](https://discourse.vtk.org/t/3d-interaction-does-not-work-in-renderwindowcontrol-activiz/9313 "2022-09-12T11:13:35Z")

</div>

Hello everyone, I am trying to build a windows form application in C# and show a 3D reconstruction of a dicom series via putting a “RenderWindowControl” in the form. Actually, I could successfully build the reconstructi…

---

## [Rendering multiple solids with only one Actor, yet retaining RGBA and Picking](https://discourse.vtk.org/t/rendering-multiple-solids-with-only-one-actor-yet-retaining-rgba-and-picking/7021)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 6\
**Last updated:** [September 12, 2022, 8:28am UTC](https://discourse.vtk.org/t/rendering-multiple-solids-with-only-one-actor-yet-retaining-rgba-and-picking/7021 "2022-09-12T08:28:26Z")

</div>

Hi dear friends, I’ve post an issue where I was facing bad overall framerate with a scene containing 500+ actors. Thanks to many useful answers, I’ve changed my code to create each solid as a vtkPolydata, then merging …

---

## [Loosing duplicate points when applying vtkClipPolyData?](https://discourse.vtk.org/t/loosing-duplicate-points-when-applying-vtkclippolydata/9327)

<div class="topic-metadata">

**Author:** [@ugis](https://discourse.vtk.org/u/ugis)\
**Replies:** 4\
**Last updated:** [September 12, 2022, 8:27am UTC](https://discourse.vtk.org/t/loosing-duplicate-points-when-applying-vtkclippolydata/9327 "2022-09-12T08:27:37Z")

</div>

Hi all, I am working on a large visualization project based on VTK and have stumbled on the following issue. What I am doing: Creating many polyData starting with some custom polygons; Assinging scalar values to point…

---

## [Is there an InteractorStyle that allows moving across a surface while tethered to it?](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 2\
**Last updated:** [September 12, 2022, 7:40am UTC](https://discourse.vtk.org/t/is-there-an-interactorstyle-that-allows-moving-across-a-surface-while-tethered-to-it/9320 "2022-09-12T07:40:27Z")

</div>

Is there any InteractorStyle that allows the viewer to move (using cursor arrow keys) across a surface while maintaining the elevation tethered to that surface? I am thinking here as if you were moving across a terrain f…

---

## [vtkCellPicker is not work for a stl file with directory in Chinese](https://discourse.vtk.org/t/vtkcellpicker-is-not-work-for-a-stl-file-with-directory-in-chinese/4437)

<div class="topic-metadata">

**Author:** [@TremblingV5](https://discourse.vtk.org/u/TremblingV5)\
**Replies:** 1\
**Last updated:** [September 11, 2022, 3:55pm UTC](https://discourse.vtk.org/t/vtkcellpicker-is-not-work-for-a-stl-file-with-directory-in-chinese/4437 "2022-09-11T15:55:06Z")

</div>

Hello Everyone! I use vtkSTLReader read a stl file with set filename by gbk(encoding of Chinese)，I found that vtkCellPicker is not work. I can get cell id byuse Pick() ,but i can’t get the position of it. In addition,…

---

## [vtkGenericOpenGLRenderWindow::Render() fails - how to use this class properly?](https://discourse.vtk.org/t/vtkgenericopenglrenderwindow-render-fails-how-to-use-this-class-properly/9307)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 0\
**Last updated:** [September 9, 2022, 10:15pm UTC](https://discourse.vtk.org/t/vtkgenericopenglrenderwindow-render-fails-how-to-use-this-class-properly/9307 "2022-09-09T22:15:35Z")

</div>

I’m running vtk-9.0.1 on ubuntu 20.04.5. Can someone please refer me to an example that uses vtkGenericOpenGLRenderWindow properly? MyClass has a member called renderWindow\_ wich points to a vtkGenericOpenGLRenderWindo…

---

## [Equivalent of const vtkIdType \*& in python?](https://discourse.vtk.org/t/equivalent-of-const-vtkidtype-in-python/9298)

<div class="topic-metadata">

**Author:** [@Unique](https://discourse.vtk.org/u/Unique)\
**Replies:** 3\
**Last updated:** [September 9, 2022, 8:17pm UTC](https://discourse.vtk.org/t/equivalent-of-const-vtkidtype-in-python/9298 "2022-09-09T20:17:50Z")

</div>

I’m trying to use the GetFaceToAdjacentFaces method but I don’t know what argument I need to pass, I’ve read the docs and I should pass a ‘const vtkIdType \*&’ but I don’t know how to do this in python. Code: reader = v…

---

## [How to copy zbuffer after window interaction](https://discourse.vtk.org/t/how-to-copy-zbuffer-after-window-interaction/9289)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 8\
**Last updated:** [September 9, 2022, 8:18am UTC](https://discourse.vtk.org/t/how-to-copy-zbuffer-after-window-interaction/9289 "2022-09-09T08:18:45Z")

</div>

I am trying to figure out how to obtain the zbuffer for a view after I have interacted with it. I am just starting with VTK. Here is the code that I have so far, # Create a render window, and interactor renderWindow = …

---

## [Compilation error:../Common/Core/vtkOStreamWrapper.h:108: memory exhausted](https://discourse.vtk.org/t/compilation-error-common-core-vtkostreamwrapper-h-memory-exhausted/9280)

<div class="topic-metadata">

**Author:** [@AlexLuya](https://discourse.vtk.org/u/AlexLuya)\
**Replies:** 7\
**Last updated:** [September 8, 2022, 1:08pm UTC](https://discourse.vtk.org/t/compilation-error-common-core-vtkostreamwrapper-h-memory-exhausted/9280 "2022-09-08T13:08:55Z")

</div>

I got a compilation error: vtkWrapHierarchy-9.1: In /home/user/workspace/VTK/Common/Core/vtkOStreamWrapper.h:108: memory exhausted. make\[2\]: \*\*\* \[Common/Core/CMakeFiles/vtkCommonCore-hierarchy.dir/build.make:281: lib/x…

---

## [How to pan/translate/move the actor without changing its coordinates or pan the camera using VTK?](https://discourse.vtk.org/t/how-to-pan-translate-move-the-actor-without-changing-its-coordinates-or-pan-the-camera-using-vtk/9300)

<div class="topic-metadata">

**Author:** [@ZyFan](https://discourse.vtk.org/u/ZyFan)\
**Replies:** 0\
**Last updated:** [September 8, 2022, 8:02pm UTC](https://discourse.vtk.org/t/how-to-pan-translate-move-the-actor-without-changing-its-coordinates-or-pan-the-camera-using-vtk/9300 "2022-09-08T20:02:06Z")

</div>

Hi All, I’m trying to develop a function that can pan the actor in the render window without changing its coordinates(I can not use the transform filter), just like drag the object in the window using your mouse. So I t…

---

## [Retrieving shadow values from a terrain](https://discourse.vtk.org/t/retrieving-shadow-values-from-a-terrain/9285)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 3\
**Last updated:** [September 7, 2022, 3:38pm UTC](https://discourse.vtk.org/t/retrieving-shadow-values-from-a-terrain/9285 "2022-09-07T15:38:16Z")

</div>

I have a regular gridded heightmap (terrain) that I converted into a VtkPolyData using VtkDelaunay2D. When rendering it, I set a light source at a particular location. Is there a way to retrieve the values for the shado…

---

## [How to disable normal vector selection handle in vtkPlaneWidget](https://discourse.vtk.org/t/how-to-disable-normal-vector-selection-handle-in-vtkplanewidget/9288)

<div class="topic-metadata">

**Author:** [@Jishnu](https://discourse.vtk.org/u/Jishnu)\
**Replies:** 0\
**Last updated:** [September 7, 2022, 4:47am UTC](https://discourse.vtk.org/t/how-to-disable-normal-vector-selection-handle-in-vtkplanewidget/9288 "2022-09-07T04:47:09Z")

</div>

Hello, I want to disable the vector selection handle in vtkPlaneWidget. However, I want to keep the sphere handles at the corner of the widget. I cannot find any function to specifically set properties for the normal vec…

---

## [How to combine vtkImageData?](https://discourse.vtk.org/t/how-to-combine-vtkimagedata/8947)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.vtk.org/u/Seun)\
**Replies:** 18\
**Last updated:** [September 6, 2022, 12:20pm UTC](https://discourse.vtk.org/t/how-to-combine-vtkimagedata/8947 "2022-09-06T12:20:28Z")

</div>

Hello everyone, I'm wondering if someone could help with an issue I'm trying to address. I have a situation where I would like to combine at least 2 vtkImageDatas (A & B) that could possibly have the following characte…

---

## [vtkAnnotatedCubeActor transformation question](https://discourse.vtk.org/t/vtkannotatedcubeactor-transformation-question/9271)

<div class="topic-metadata">

**Author:** [@a772485252](https://discourse.vtk.org/u/a772485252)\
**Replies:** 8\
**Last updated:** [September 6, 2022, 1:11am UTC](https://discourse.vtk.org/t/vtkannotatedcubeactor-transformation-question/9271 "2022-09-06T01:11:29Z")

</div>

Rotation of vtkonnotatedcubeactor does not work.Is there a mistake in my usage？I put it in vtkorientationmarkerwidget and call its rotation method.

---

## [vtkClipDataSet returns many smaller subpart types](https://discourse.vtk.org/t/vtkclipdataset-returns-many-smaller-subpart-types/9264)

<div class="topic-metadata">

**Author:** [@Spacetracker](https://discourse.vtk.org/u/Spacetracker)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 1:45pm UTC](https://discourse.vtk.org/t/vtkclipdataset-returns-many-smaller-subpart-types/9264 "2022-09-05T13:45:48Z")

</div>

Why does the vtkClipDataSet break up the original vtkHexahedron types from the vtkStructuredGrid into many smaller subpart types in the resulting vtkUnstructuredGrid? I expected the hexahedron cell types to be retained …

---

## [How to avoid or repair non-manifold edge when using vtkClipDataSet?](https://discourse.vtk.org/t/how-to-avoid-or-repair-non-manifold-edge-when-using-vtkclipdataset/9279)

<div class="topic-metadata">

**Author:** [@altair0985](https://discourse.vtk.org/u/altair0985)\
**Replies:** 0\
**Last updated:** [September 5, 2022, 8:57am UTC](https://discourse.vtk.org/t/how-to-avoid-or-repair-non-manifold-edge-when-using-vtkclipdataset/9279 "2022-09-05T08:57:39Z")

</div>

I am using vtkClipDataSet to clip unstructured grid composed of vtkPolyhedron. The first time of clipping is always perfect, but the second time or more sometimes generate warning such as non-manifold edge. How to avoid …

---

## [How to use ProgrammableGlyphFilter?](https://discourse.vtk.org/t/how-to-use-programmableglyphfilter/9274)

<div class="topic-metadata">

**Author:** [@tmnku](https://discourse.vtk.org/u/tmnku)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 6:14am UTC](https://discourse.vtk.org/t/how-to-use-programmableglyphfilter/9274 "2022-09-05T06:14:41Z")

</div>

Hi, I’m trying to create glyphs which each have a unique color, transformation and cellIDs so I can pick them individually. I found this post which suggested a ProgrammableGlyphFilter and I managed to get the picker to …

---

## [vtkAVIWriter not available on python wheel](https://discourse.vtk.org/t/vtkaviwriter-not-available-on-python-wheel/9162)

<div class="topic-metadata">

**Author:** [@Flagada](https://discourse.vtk.org/u/Flagada)\
**Replies:** 3\
**Last updated:** [September 2, 2022, 7:10pm UTC](https://discourse.vtk.org/t/vtkaviwriter-not-available-on-python-wheel/9162 "2022-09-02T19:10:14Z")

</div>

Hi all, Since vtk 9.1 it seems that vtkAVIWriter is no more included in python package for windows. I have the error : module ‘vtkmodules.all’ has no attribute ‘vtkAVIWriter’ This is the same with the latest 9.2 distr…

---

## [How to render multiple volumes with correct z-order?](https://discourse.vtk.org/t/how-to-render-multiple-volumes-with-correct-z-order/9253)

<div class="topic-metadata">

**Author:** [@Shuning\_Jiang](https://discourse.vtk.org/u/Shuning_Jiang)\
**Replies:** 5\
**Last updated:** [September 1, 2022, 7:37pm UTC](https://discourse.vtk.org/t/how-to-render-multiple-volumes-with-correct-z-order/9253 "2022-09-01T19:37:13Z")

</div>

Hello everyone, I’m new to VTK and I have a very basic problem but I can’t find a way to solve it. I’m trying to display two volumes that have no overlap by adding two vtkVolume into one renderer. However, the volume th…

---

## [std::bad\_alloc exception when building example](https://discourse.vtk.org/t/std-bad-alloc-exception-when-building-example/9261)

<div class="topic-metadata">

**Author:** [@louisld](https://discourse.vtk.org/u/louisld)\
**Replies:** 4\
**Last updated:** [September 1, 2022, 10:05am UTC](https://discourse.vtk.org/t/std-bad-alloc-exception-when-building-example/9261 "2022-09-01T10:05:15Z")

</div>

I am trying to build the cylinder example from the doc. I use cmake then open the project in Visual Studio. I am able to build the project but when I run it in debug mode I get the following error : Exception thrown at …

---

## [Cost of creating vtkMapper / vtkActor instances](https://discourse.vtk.org/t/cost-of-creating-vtkmapper-vtkactor-instances/9254)

<div class="topic-metadata">

**Author:** [@DStranz](https://discourse.vtk.org/u/DStranz)\
**Replies:** 9\
**Last updated:** [September 1, 2022, 3:42am UTC](https://discourse.vtk.org/t/cost-of-creating-vtkmapper-vtkactor-instances/9254 "2022-09-01T03:42:53Z")

</div>

I am continuing the implementation of my 3D scatterplot, consisting of spheres, each of which can have a different size and color. My current implementation uses a vtkMultiBlockDataSet to hold all of the spheres as bloc…

---

## [Building VTK in Ubuntu 21.04. OpenGL missing.](https://discourse.vtk.org/t/building-vtk-in-ubuntu-21-04-opengl-missing/9256)

<div class="topic-metadata">

**Author:** [@Jatin\_Chaudhary](https://discourse.vtk.org/u/Jatin_Chaudhary)\
**Replies:** 1\
**Last updated:** [August 31, 2022, 7:13pm UTC](https://discourse.vtk.org/t/building-vtk-in-ubuntu-21-04-opengl-missing/9256 "2022-08-31T19:13:21Z")

</div>

Hello, I tried to build VTK using the instructions on the GitHub page of VTK. I got the following error: CMake Error at CMake/vtkModule.cmake:4579 (message): Could not find the OpenGL external dependency. Call Stack …

---

## [vcpkg support for vtk 9.1?](https://discourse.vtk.org/t/vcpkg-support-for-vtk-9-1/7804)

<div class="topic-metadata">

**Author:** [@Markus\_Heller](https://discourse.vtk.org/u/Markus_Heller)\
**Replies:** 4\
**Last updated:** [August 30, 2022, 1:20pm UTC](https://discourse.vtk.org/t/vcpkg-support-for-vtk-9-1/7804 "2022-08-30T13:20:26Z")

</div>

I was just wondering whether anyone here would know when/if vtk 9.1 might become available via vcpkg?

---

## [Colored coincident surface display problem](https://discourse.vtk.org/t/colored-coincident-surface-display-problem/3924)

<div class="topic-metadata">

**Author:** [@Cheng1087](https://discourse.vtk.org/u/Cheng1087)\
**Replies:** 5\
**Last updated:** [August 30, 2022, 11:37am UTC](https://discourse.vtk.org/t/colored-coincident-surface-display-problem/3924 "2022-08-30T11:37:51Z")

</div>

As shown in the figure, the three colored surfaces partially overlap. It appears weird. How can i avoid this?

---

## [VTK cannot open file OpenGL::GL.lib](https://discourse.vtk.org/t/vtk-cannot-open-file-opengl-gl-lib/9060)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 6\
**Last updated:** [August 30, 2022, 6:26am UTC](https://discourse.vtk.org/t/vtk-cannot-open-file-opengl-gl-lib/9060 "2022-08-30T06:26:18Z")

</div>

I want to link RenderingOpenGL2 in my project: find\_package(VTK COMPONENTS ... RenderingOpenGL2 ) But the cmake reports a bug: Target "Pro" links to target "OpenGL::GL" but the target was not found. Perhaps a fi…

---

## [How can I show the past orbital trajectory of two orbiting bodies?](https://discourse.vtk.org/t/how-can-i-show-the-past-orbital-trajectory-of-two-orbiting-bodies/9223)

<div class="topic-metadata">

**Author:** [@leon1122](https://discourse.vtk.org/u/leon1122)\
**Replies:** 2\
**Last updated:** [August 29, 2022, 9:18pm UTC](https://discourse.vtk.org/t/how-can-i-show-the-past-orbital-trajectory-of-two-orbiting-bodies/9223 "2022-08-29T21:18:17Z")

</div>

I am currently modelling an ellipsoid and a sphere orbiting one another using vtkParametricEllipsoid and vtkSphereSource respectively. At each timestep, they read coordinates from a data file and update their positions u…

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

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