# Support

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

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

**Page:** 42

---

## [interactor-\>Start after switch OffScreen and Render is not support on Linux/MacOS?](https://discourse.vtk.org/t/interactor-start-after-switch-offscreen-and-render-is-not-support-on-linux-macos/12262)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [September 11, 2023, 4:35am UTC](https://discourse.vtk.org/t/interactor-start-after-switch-offscreen-and-render-is-not-support-on-linux-macos/12262 "2023-09-11T04:35:39Z")

</div>

TestToggleOSWithInteractor.cxx: OffScreenRenderingOn, Render, OffScreenRenderingOff, Render, interactor-\>Start()…not support on Linux? // test works on Windows, in the future we need to // make sure it works for OSX and…

---

## [vtkImageReslice - translation](https://discourse.vtk.org/t/vtkimagereslice-translation/5528)

<div class="topic-metadata">

**Author:** [@gpotari](https://discourse.vtk.org/u/gpotari)\
**Replies:** 6\
**Last updated:** [September 11, 2023, 3:31am UTC](https://discourse.vtk.org/t/vtkimagereslice-translation/5528 "2023-09-11T03:31:06Z")

</div>

Hello Group, I have a question about how vtkImageReslice works . I understand that with SetResliceAxes we can define a transformation matrix to the reslicer, where the last column is the translation in 3D space. doubl…

---

## [Event vtkCommand::MouseMoveEvent doesn't work in QtQuick appliaction.](https://discourse.vtk.org/t/event-vtkcommand-mousemoveevent-doesnt-work-in-qtquick-appliaction/12259)

<div class="topic-metadata">

**Author:** [@gevorgyan2.7.99](https://discourse.vtk.org/u/gevorgyan2.7.99)\
**Replies:** 0\
**Last updated:** [September 8, 2023, 8:50am UTC](https://discourse.vtk.org/t/event-vtkcommand-mousemoveevent-doesnt-work-in-qtquick-appliaction/12259 "2023-09-08T08:50:43Z")

</div>

There is a class QVTKInteractorAdapter that is a layer between QtQuick and VTK for interaction. Qt has an event QEvent::HoverMove (The mouse cursor moves inside a hover widget). This event corresponds to the event from V…

---

## [application of Iterative Closest PointTransform](https://discourse.vtk.org/t/application-of-iterative-closest-pointtransform/12254)

<div class="topic-metadata">

**Author:** [@Limz90](https://discourse.vtk.org/u/Limz90)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 10:00am UTC](https://discourse.vtk.org/t/application-of-iterative-closest-pointtransform/12254 "2023-09-07T10:00:00Z")

</div>

Hello, I have a vtkvolume object and got from it a mesh\_1 through marchingcubes; then I copied that mesh and applied a translation, let’s name it mesh\_2. So my probelm is that when i’m using vtkIterativeClosestPointTra…

---

## [What can cause vtkPolyDataMapper::GetInputAlgorithm() to return null?](https://discourse.vtk.org/t/what-can-cause-vtkpolydatamapper-getinputalgorithm-to-return-null/12147)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 6\
**Last updated:** [September 5, 2023, 11:20am UTC](https://discourse.vtk.org/t/what-can-cause-vtkpolydatamapper-getinputalgorithm-to-return-null/12147 "2023-09-05T11:20:41Z")

</div>

I’m developing with C++ and VTK-9.2.6 on ubuntu 20.04.2. My application displays bathymetry data. I’ve subclassed vtkAbstractPolyDataReader to GmtGridReader, which reads the bathymetry data from a NetCDF file. I’ve wr…

---

## [Get cliping texture inside a surface](https://discourse.vtk.org/t/get-cliping-texture-inside-a-surface/12243)

<div class="topic-metadata">

**Author:** [@veltia](https://discourse.vtk.org/u/veltia)\
**Replies:** 0\
**Last updated:** [September 5, 2023, 3:47am UTC](https://discourse.vtk.org/t/get-cliping-texture-inside-a-surface/12243 "2023-09-05T03:47:04Z")

</div>

Hello, Sorry, I don’t know how to describe this question exactly: I wish to make my code run as this picture shows. It looks like I should do: Create a surface rendering actor first, and cut the empty part away wit…

---

## [Enable edges on MultiBlockDataSet](https://discourse.vtk.org/t/enable-edges-on-multiblockdataset/12219)

<div class="topic-metadata">

**Author:** [@BotellaA](https://discourse.vtk.org/u/BotellaA)\
**Replies:** 1\
**Last updated:** [September 1, 2023, 2:39pm UTC](https://discourse.vtk.org/t/enable-edges-on-multiblockdataset/12219 "2023-09-01T14:39:52Z")

</div>

I have a vtm file made of 4 vtp representing triangulated surfaces. I would like to display the mesh edges of these surfaces. The following code seems to work only on one of the surfaces. Is there another way to achieve …

---

## [Hide given block of a MultiBlockdataSet](https://discourse.vtk.org/t/hide-given-block-of-a-multiblockdataset/12233)

<div class="topic-metadata">

**Author:** [@BotellaA](https://discourse.vtk.org/u/BotellaA)\
**Replies:** 0\
**Last updated:** [September 1, 2023, 2:38pm UTC](https://discourse.vtk.org/t/hide-given-block-of-a-multiblockdataset/12233 "2023-09-01T14:38:04Z")

</div>

Given the following vtm file loaded as a MultiBlockDataSet, I would like to hide the block named “surfaces”. I found it difficult to understand how to use the CompositePolyDataMapper and its DisplayAttributes class to di…

---

## [Generate binary image volume from surface mesh](https://discourse.vtk.org/t/generate-binary-image-volume-from-surface-mesh/12231)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.vtk.org/u/isuruwi)\
**Replies:** 1\
**Last updated:** [September 1, 2023, 1:28pm UTC](https://discourse.vtk.org/t/generate-binary-image-volume-from-surface-mesh/12231 "2023-09-01T13:28:47Z")

</div>

Hi, I’m currently working on generating a binary mask image volume from a volumetric mesh in VTK unstructured grid format. To accomplish this, I began by extracting the poly data through a geometry filter and then perfo…

---

## [From one execution to another, application may work normally or show nothing](https://discourse.vtk.org/t/from-one-execution-to-another-application-may-work-normally-or-show-nothing/12136)

<div class="topic-metadata">

**Author:** [@Bktero](https://discourse.vtk.org/u/Bktero)\
**Replies:** 6\
**Last updated:** [August 28, 2023, 1:48pm UTC](https://discourse.vtk.org/t/from-one-execution-to-another-application-may-work-normally-or-show-nothing/12136 "2023-08-28T13:48:09Z")

</div>

Hello I have a Python script that displays some actors in a window. It’s quite simple (more or less what you can find in the examples). Sometimes, I run my script and everything works normally: I see the 2 actors and I…

---

## ["ImportError: DLL load failed" error when trying to import vtk](https://discourse.vtk.org/t/importerror-dll-load-failed-error-when-trying-to-import-vtk/12156)

<div class="topic-metadata">

**Author:** [@engineer](https://discourse.vtk.org/u/engineer)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 1:27pm UTC](https://discourse.vtk.org/t/importerror-dll-load-failed-error-when-trying-to-import-vtk/12156 "2023-08-28T13:27:03Z")

</div>

I’m running python 3.10.9 on Windows 10 Pro. Steps to reproduce: I create a new virtualenv with python -m venv env then run pip install vtk, which installs vtk version 9.2.6. Then, when I try to simply import vtk in the …

---

## [any way to just render a vtkTextureObject in a viewport?](https://discourse.vtk.org/t/any-way-to-just-render-a-vtktextureobject-in-a-viewport/12191)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 3\
**Last updated:** [August 27, 2023, 2:30am UTC](https://discourse.vtk.org/t/any-way-to-just-render-a-vtktextureobject-in-a-viewport/12191 "2023-08-27T02:30:01Z")

</div>

any way to just render a vtkTextureObject in a viewport? the texture is dynamic from another viewport, eg. render the depthBuffer of the main scene in another viewport

---

## [is there any way to visualize float depthBuffer in VTK? copyToFrameBuffer seems cannot work.](https://discourse.vtk.org/t/is-there-any-way-to-visualize-float-depthbuffer-in-vtk-copytoframebuffer-seems-cannot-work/12192)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [August 27, 2023, 2:25am UTC](https://discourse.vtk.org/t/is-there-any-way-to-visualize-float-depthbuffer-in-vtk-copytoframebuffer-seems-cannot-work/12192 "2023-08-27T02:25:10Z")

</div>

is there any way to visualize float depthBuffer in VTK, copyToFrameBuffer seems cannot work. Thanks!

---

## [is there Matrix for Float but not Double?](https://discourse.vtk.org/t/is-there-matrix-for-float-but-not-double/12201)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 3\
**Last updated:** [August 27, 2023, 2:23am UTC](https://discourse.vtk.org/t/is-there-matrix-for-float-but-not-double/12201 "2023-08-27T02:23:10Z")

</div>

is there Matrix for Float but not Double?

---

## [inherit from vtkRenderPass, but the viewport the pass render into isNot the same as the setting viewport to the render.Why?](https://discourse.vtk.org/t/inherit-from-vtkrenderpass-but-the-viewport-the-pass-render-into-isnot-the-same-as-the-setting-viewport-to-the-render-why/12204)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [August 26, 2023, 4:00pm UTC](https://discourse.vtk.org/t/inherit-from-vtkrenderpass-but-the-viewport-the-pass-render-into-isnot-the-same-as-the-setting-viewport-to-the-render-why/12204 "2023-08-26T16:00:39Z")

</div>

inherit from vtkRenderPass, but the viewport the pass render into isNot the same as the setting viewport to the render.Why?

---

## [how to set all the value of vtkTextureObject to an init value, eg. 0 or 1 ?](https://discourse.vtk.org/t/how-to-set-all-the-value-of-vtktextureobject-to-an-init-value-eg-0-or-1/12194)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 1\
**Last updated:** [August 26, 2023, 3:34pm UTC](https://discourse.vtk.org/t/how-to-set-all-the-value-of-vtktextureobject-to-an-init-value-eg-0-or-1/12194 "2023-08-26T15:34:51Z")

</div>

how to set all the value of vtkTextureObject to an init value, eg. 0 or 1 ?

---

## [Inheriting from vtkActor for custom OpenGL rendering](https://discourse.vtk.org/t/inheriting-from-vtkactor-for-custom-opengl-rendering/11358)

<div class="topic-metadata">

**Author:** [@mohaya](https://discourse.vtk.org/u/mohaya)\
**Replies:** 9\
**Last updated:** [August 26, 2023, 1:50am UTC](https://discourse.vtk.org/t/inheriting-from-vtkactor-for-custom-opengl-rendering/11358 "2023-08-26T01:50:18Z")

</div>

Hello. I created a CustomActor class which inherits from vtkOpenGLActor and overrides the common rendering methods. The idea is to use OpenGL calls directly within these methods to render with custom shaders. I managed …

---

## [Download source for VTK 9.1.x?](https://discourse.vtk.org/t/download-source-for-vtk-9-1-x/12199)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 3\
**Last updated:** [August 25, 2023, 6:14pm UTC](https://discourse.vtk.org/t/download-source-for-vtk-9-1-x/12199 "2023-08-25T18:14:52Z")

</div>

The VTK download page shows the current release, the previous release, and a release before that. E.g. it currently shows VTK-9.3.0.RC, VTK-8.2.0, and VTK-7.1.1. Is it possible for me to load a previous version that doe…

---

## [Compile error for vtkFloatArray.SetValue](https://discourse.vtk.org/t/compile-error-for-vtkfloatarray-setvalue/12182)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 2\
**Last updated:** [August 25, 2023, 10:32am UTC](https://discourse.vtk.org/t/compile-error-for-vtkfloatarray-setvalue/12182 "2023-08-25T10:32:33Z")

</div>

I tried to build an c# example of vtk-examples: src\\CSharp\\PolyData\\NullPoint.cs using Activiz.NET 9, but get a compile error for SetValue: vtkFloatArray floatArray = vtkFloatArray.New(); floatArray.SetNumberOf…

---

## [Incorrect rendering of polydata surfaces when using vtkActor::SetUserTransform](https://discourse.vtk.org/t/incorrect-rendering-of-polydata-surfaces-when-using-vtkactor-setusertransform/12196)

<div class="topic-metadata">

**Author:** [@dyollb](https://discourse.vtk.org/u/dyollb)\
**Replies:** 1\
**Last updated:** [August 25, 2023, 5:11am UTC](https://discourse.vtk.org/t/incorrect-rendering-of-polydata-surfaces-when-using-vtkactor-setusertransform/12196 "2023-08-25T05:11:23Z")

</div>

I have a little viewer which basically just renders the surface extracted from a labelfield using vtkDiscreteFlyingEdges3D. The image/labelfield data has an associated orientation & origin which I store separately (not …

---

## [which format support to save the 1 comp Float Depth buffer out? only .tif?](https://discourse.vtk.org/t/which-format-support-to-save-the-1-comp-float-depth-buffer-out-only-tif/12193)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 3:51am UTC](https://discourse.vtk.org/t/which-format-support-to-save-the-1-comp-float-depth-buffer-out-only-tif/12193 "2023-08-24T03:51:07Z")

</div>

which format support to save the 1 comp Float Depth buffer out, only .tif?

---

## [The problem of render a vtk file](https://discourse.vtk.org/t/the-problem-of-render-a-vtk-file/12183)

<div class="topic-metadata">

**Author:** [@supersteven](https://discourse.vtk.org/u/supersteven)\
**Replies:** 2\
**Last updated:** [August 24, 2023, 2:00am UTC](https://discourse.vtk.org/t/the-problem-of-render-a-vtk-file/12183 "2023-08-24T02:00:36Z")

</div>

Here is a rendering of a vtk file as in attackment. Why some area is black? vessel2.vtk (2.6 MB)

---

## [AccessViolationException when exit](https://discourse.vtk.org/t/accessviolationexception-when-exit/12157)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 6\
**Last updated:** [August 24, 2023, 1:52am UTC](https://discourse.vtk.org/t/accessviolationexception-when-exit/12157 "2023-08-24T01:52:43Z")

</div>

My .net WPF application use Activiz.net 5.8, and sometimes will get an exception on exit. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is co…

---

## [Volumetric rendering artefacts](https://discourse.vtk.org/t/volumetric-rendering-artefacts/12180)

<div class="topic-metadata">

**Author:** [@Limz90](https://discourse.vtk.org/u/Limz90)\
**Replies:** 2\
**Last updated:** [August 23, 2023, 2:44pm UTC](https://discourse.vtk.org/t/volumetric-rendering-artefacts/12180 "2023-08-23T14:44:08Z")

</div>

Hi Guys, I am new to VTK and i am having some issues related to volumetric rendering using the vtkGPUVolumeRayCastMapper class. It works fine but when the data is moving or rotating, it shows some artefacts on the volum…

---

## [what's the meaning of Set Depth Image Scalar Type To UChar,UShort(other than Float)should be used at what situation?](https://discourse.vtk.org/t/whats-the-meaning-of-set-depth-image-scalar-type-to-uchar-ushort-other-than-float-should-be-used-at-what-situation/12188)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 12:09pm UTC](https://discourse.vtk.org/t/whats-the-meaning-of-set-depth-image-scalar-type-to-uchar-ushort-other-than-float-should-be-used-at-what-situation/12188 "2023-08-23T12:09:28Z")

</div>

what’s the meaning of SetDepthImageScalarTypeToUnsignedChar and SetDepthImageScalarTypeToUnsignedShort, other than SetDepthImageScalarTypeToFloat? isn’t DepthBuffer normally use float? if use UChar/UShort, how to decide…

---

## [which image writer support float? only tiff?](https://discourse.vtk.org/t/which-image-writer-support-float-only-tiff/12187)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 11:52am UTC](https://discourse.vtk.org/t/which-image-writer-support-float-only-tiff/12187 "2023-08-23T11:52:02Z")

</div>

which image writer support float? only tiff?

---

## ['output vec4 fragOutput1' but 'RTTDepthTextureObject-\>Create2D( with 1 compnents float/uchar/ushort'...?](https://discourse.vtk.org/t/output-vec4-fragoutput1-but-rttdepthtextureobject-create2d-with-1-compnents-float-uchar-ushort/12186)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 0\
**Last updated:** [August 23, 2023, 11:44am UTC](https://discourse.vtk.org/t/output-vec4-fragoutput1-but-rttdepthtextureobject-create2d-with-1-compnents-float-uchar-ushort/12186 "2023-08-23T11:44:21Z")

</div>

‘output vec4 fragOutput1’ but ‘RTTDepthTextureObject-\>Create2D( with 1 compnents float’…? why create the depthTexture with 1 comp and FLOAT, but the shader can use ‘vec4’, and fill the rgb with depth

---

## [How to get the correct Normals of my STL file, Can anyone give any help?](https://discourse.vtk.org/t/how-to-get-the-correct-normals-of-my-stl-file-can-anyone-give-any-help/12173)

<div class="topic-metadata">

**Author:** [@jealtw](https://discourse.vtk.org/u/jealtw)\
**Replies:** 3\
**Last updated:** [August 23, 2023, 9:07am UTC](https://discourse.vtk.org/t/how-to-get-the-correct-normals-of-my-stl-file-can-anyone-give-any-help/12173 "2023-08-23T09:07:43Z")

</div>

I have a STL file (Result\_Extrusion.stl), and I found that the normals of the polydata is incorrect, even after I use vtkPolyDataNormals to recalculate the normals, nothing has changed. Can anyone give any help, how to g…

---

## [TestGPURayCastVolumeDepthPass, why UseDepthPassOn need to GetDepthPassContourValues-\>SetValue ?](https://discourse.vtk.org/t/testgpuraycastvolumedepthpass-why-usedepthpasson-need-to-getdepthpasscontourvalues-setvalue/12152)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 6\
**Last updated:** [August 23, 2023, 4:20am UTC](https://discourse.vtk.org/t/testgpuraycastvolumedepthpass-why-usedepthpasson-need-to-getdepthpasscontourvalues-setvalue/12152 "2023-08-23T04:20:37Z")

</div>

TestGPURayCastVolumeDepthPass, why UseDepthPassOn need to GetDepthPassContourValues-\>SetValue ? try to On/Off and set different values, but saw nothing different. Thanks

---

## [is there any way to output the depthTexture of the volumeMapper while rendering the volume but not renderToImageOn?](https://discourse.vtk.org/t/is-there-any-way-to-output-the-depthtexture-of-the-volumemapper-while-rendering-the-volume-but-not-rendertoimageon/12178)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 1\
**Last updated:** [August 22, 2023, 11:57am UTC](https://discourse.vtk.org/t/is-there-any-way-to-output-the-depthtexture-of-the-volumemapper-while-rendering-the-volume-but-not-rendertoimageon/12178 "2023-08-22T11:57:13Z")

</div>

is there any way to output the depthTexture of the volumeMapper while rendering the volume but not renderToImageOn? Thanks

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

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