# Support

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

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

**Page:** 34

---

## [Cell data to point data](https://discourse.vtk.org/t/cell-data-to-point-data/13008)

<div class="topic-metadata">

**Author:** [@TheInevitable360](https://discourse.vtk.org/u/TheInevitable360)\
**Replies:** 9\
**Last updated:** [January 7, 2024, 8:10am UTC](https://discourse.vtk.org/t/cell-data-to-point-data/13008 "2024-01-07T08:10:24Z")

</div>

I have a strcutured grid with colored cells like this: which shows colors based on cells data. i want to have some sort of interpolation to make it smoother and have color transition, so i set points color of my stru…

---

## [RectilinearWipe with different LevelWindows possible?](https://discourse.vtk.org/t/rectilinearwipe-with-different-levelwindows-possible/13023)

<div class="topic-metadata">

**Author:** [@Gerald\_Lodron](https://discourse.vtk.org/u/Gerald_Lodron)\
**Replies:** 0\
**Last updated:** [January 6, 2024, 5:39pm UTC](https://discourse.vtk.org/t/rectilinearwipe-with-different-levelwindows-possible/13023 "2024-01-06T17:39:33Z")

</div>

Hi I made a (2D) image comparison application where two (geotiff) images can get compared using vtk’s rectiliear wipe widget. i used a vtk-\>itk-\>vtk pipeline to resample the images first so that both have same datatype,…

---

## [anti-alias seems not working in QVTKOpenGLNativeWidget](https://discourse.vtk.org/t/anti-alias-seems-not-working-in-qvtkopenglnativewidget/12979)

<div class="topic-metadata">

**Author:** [@baker-Xie](https://discourse.vtk.org/u/baker-Xie)\
**Replies:** 4\
**Last updated:** [January 5, 2024, 11:43am UTC](https://discourse.vtk.org/t/anti-alias-seems-not-working-in-qvtkopenglnativewidget/12979 "2024-01-05T11:43:16Z")

</div>

The left window is a QVTKOpenGLNativeWidget renderwindow, the right is vtkRenderWindow. The gree cube is a vtkCubeSource → vtkGlyph3DMapper. You can see the cube in right window is smoother than left. I have write t…

---

## [How to use vtkGlyph3D to set different color / scale / type / orientation?](https://discourse.vtk.org/t/how-to-use-vtkglyph3d-to-set-different-color-scale-type-orientation/13005)

<div class="topic-metadata">

**Author:** [@baker-Xie](https://discourse.vtk.org/u/baker-Xie)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 5:34am UTC](https://discourse.vtk.org/t/how-to-use-vtkglyph3d-to-set-different-color-scale-type-orientation/13005 "2024-01-05T05:34:00Z")

</div>

I need to render a huge number of instance(each one have different color / scale / orientation / type), I want to use vtkGlyph3D to do this. The following is my code (it does not work) void Test2() { vtkNew\<vtkNamed…

---

## [use vtkTextActor to display chinese](https://discourse.vtk.org/t/use-vtktextactor-to-display-chinese/12999)

<div class="topic-metadata">

**Author:** [@501586528](https://discourse.vtk.org/u/501586528)\
**Replies:** 4\
**Last updated:** [January 5, 2024, 1:36am UTC](https://discourse.vtk.org/t/use-vtktextactor-to-display-chinese/12999 "2024-01-05T01:36:56Z")

</div>

I’m a chinese developer, I want to display chinese. when I set font size less than 18, it won’t display.Only font size greater than 18 display. How can i display chinese with font size less than 18? Here is my code. st…

---

## [vtkGhostType segmentation fault with AMRexGridReader](https://discourse.vtk.org/t/vtkghosttype-segmentation-fault-with-amrexgridreader/13009)

<div class="topic-metadata">

**Author:** [@paulcena](https://discourse.vtk.org/u/paulcena)\
**Replies:** 4\
**Last updated:** [January 4, 2024, 8:34pm UTC](https://discourse.vtk.org/t/vtkghosttype-segmentation-fault-with-amrexgridreader/13009 "2024-01-04T20:34:06Z")

</div>

I am working on replicating a working Paraview pipeline in python vtk and I am running into so many issues, the main stopping point is a segmentation fault created when I use vtkGhostType array with a cell data to point …

---

## [Weird render error](https://discourse.vtk.org/t/weird-render-error/12902)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 11\
**Last updated:** [January 4, 2024, 8:03pm UTC](https://discourse.vtk.org/t/weird-render-error/12902 "2024-01-04T20:03:56Z")

</div>

I’m using vtk9. I drew some blue and white tubes using vtkTubeFilter on a separate layer of vtkRenderer, and sometimes the following render error occurs. (Those small aligned rectangles shouldn’t be there) I observed…

---

## [GetConstructorInfo exception on multiple thread](https://discourse.vtk.org/t/getconstructorinfo-exception-on-multiple-thread/12753)

<div class="topic-metadata">

**Author:** [@liuzhongshu](https://discourse.vtk.org/u/liuzhongshu)\
**Replies:** 20\
**Last updated:** [January 4, 2024, 10:49am UTC](https://discourse.vtk.org/t/getconstructorinfo-exception-on-multiple-thread/12753 "2024-01-04T10:49:34Z")

</div>

I am using Activz.Net 9, and want to async load multiple obj files, so I use multiple thread, but I will get GetConstructorInfo exception as following: System.Exception: error: IndexedConstructors table already has a n…

---

## [How to achieve this AlwaysOnTop effect？](https://discourse.vtk.org/t/how-to-achieve-this-alwaysontop-effect/13003)

<div class="topic-metadata">

**Author:** [@nanoahSR](https://discourse.vtk.org/u/nanoahSR)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 3:05am UTC](https://discourse.vtk.org/t/how-to-achieve-this-alwaysontop-effect/13003 "2024-01-04T03:05:47Z")

</div>

Hello! I want to achieve the Star CCM+ AlwaysOnTop effect. Is this AlwaysOnTopmade with Coincident topology? If so, how are the parameters determined, especially the units? This internal component can be seen from…

---

## [Visualising higher-order elements](https://discourse.vtk.org/t/visualising-higher-order-elements/13001)

<div class="topic-metadata">

**Author:** [@chennachaos](https://discourse.vtk.org/u/chennachaos)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 5:24pm UTC](https://discourse.vtk.org/t/visualising-higher-order-elements/13001 "2024-01-03T17:24:05Z")

</div>

I am interested in visualising the solution of higher-order elements, particularly cubic elements, using the vtkHigherOrderTriangle and vtkHigherOrderTetra objects. I tried the following, similar to what I have done wit…

---

## [Why would vtkCellPicker pick different points?](https://discourse.vtk.org/t/why-would-vtkcellpicker-pick-different-points/12950)

<div class="topic-metadata">

**Author:** [@Sean\_Meath](https://discourse.vtk.org/u/Sean_Meath)\
**Replies:** 4\
**Last updated:** [January 3, 2024, 2:02pm UTC](https://discourse.vtk.org/t/why-would-vtkcellpicker-pick-different-points/12950 "2024-01-03T14:02:51Z")

</div>

Good day, kinda new to VTK so I apologize if I’m not too too clear. I have a cellPicker picking on a specific location. Rerunning the same code multiple times can cause a different actor to be picked. I used the printse…

---

## [Cell Coloring](https://discourse.vtk.org/t/cell-coloring/12996)

<div class="topic-metadata">

**Author:** [@Mordrago](https://discourse.vtk.org/u/Mordrago)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 2:44pm UTC](https://discourse.vtk.org/t/cell-coloring/12996 "2024-01-03T14:44:25Z")

</div>

Hello! I developed code that color selecting cells, code belowe: self.polydata = polydata self.colors.SetNumberOfComponents(3) self.colors.SetName("Colors") default\_color = \[255, 255, 2…

---

## [Creating a custom interactor style by overwriting the rotate function](https://discourse.vtk.org/t/creating-a-custom-interactor-style-by-overwriting-the-rotate-function/12998)

<div class="topic-metadata">

**Author:** [@thecoderMCV](https://discourse.vtk.org/u/thecoderMCV)\
**Replies:** 3\
**Last updated:** [January 3, 2024, 12:29pm UTC](https://discourse.vtk.org/t/creating-a-custom-interactor-style-by-overwriting-the-rotate-function/12998 "2024-01-03T12:29:39Z")

</div>

Hello, We are currently stuck on an issue related to mouse movements, and despite extensive searches on the forums, we have not yet come across a similar question. When I right-click the mouse, I want the camera to rot…

---

## [Building VTK using an Anaconda environment](https://discourse.vtk.org/t/building-vtk-using-an-anaconda-environment/12991)

<div class="topic-metadata">

**Author:** [@Michael\_Jackson](https://discourse.vtk.org/u/Michael_Jackson)\
**Replies:** 4\
**Last updated:** [January 2, 2024, 9:05pm UTC](https://discourse.vtk.org/t/building-vtk-using-an-anaconda-environment/12991 "2024-01-02T21:05:19Z")

</div>

I am trying to package our application into an Anaconda package. Our application uses Vtk 9.2.6 and due to some conflicts between VTK, ITK, Qt6, and JepgTurbo we need to build VTK as part of the packaging process. We are…

---

## [How to show PartitionedDataSetCollection data?](https://discourse.vtk.org/t/how-to-show-partitioneddatasetcollection-data/12933)

<div class="topic-metadata">

**Author:** [@rockydut](https://discourse.vtk.org/u/rockydut)\
**Replies:** 2\
**Last updated:** [January 2, 2024, 6:26am UTC](https://discourse.vtk.org/t/how-to-show-partitioneddatasetcollection-data/12933 "2024-01-02T06:26:33Z")

</div>

I’m very confused forthe showing of vtkPartitionedDataSetCollection data, which mapper is suitable for such data. The following code shows that “mapper-\>SetInputConnection(partionDataSetColl)” is incorrect. How to corr…

---

## [Locating the index of a value in a vtk (double) array](https://discourse.vtk.org/t/locating-the-index-of-a-value-in-a-vtk-double-array/12389)

<div class="topic-metadata">

**Author:** [@apteroti](https://discourse.vtk.org/u/apteroti)\
**Replies:** 10\
**Last updated:** [January 2, 2024, 5:42am UTC](https://discourse.vtk.org/t/locating-the-index-of-a-value-in-a-vtk-double-array/12389 "2024-01-02T05:42:37Z")

</div>

I have a vtkDoubleArray and want to find a value’s index (which I know exists) without converting my vtk array to the C++ array (and using std::find). Is it possible to do so? I tried LookupValue but it failed me. Here i…

---

## [Solid clip for structured grid](https://discourse.vtk.org/t/solid-clip-for-structured-grid/12986)

<div class="topic-metadata">

**Author:** [@TheInevitable360](https://discourse.vtk.org/u/TheInevitable360)\
**Replies:** 2\
**Last updated:** [December 30, 2023, 7:47pm UTC](https://discourse.vtk.org/t/solid-clip-for-structured-grid/12986 "2023-12-30T19:47:51Z")

</div>

I am new to VTK :slight\_smile: and I have a meshed cube produced with structured grid like this: using this code: struct Mesh { int xMesh; int yMesh; int zMesh; }; struct Size { double xSize; double ySize; d…

---

## [Set vtkCubeAxesActor label format and remove exponent](https://discourse.vtk.org/t/set-vtkcubeaxesactor-label-format-and-remove-exponent/457)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 5\
**Last updated:** [December 30, 2023, 7:21pm UTC](https://discourse.vtk.org/t/set-vtkcubeaxesactor-label-format-and-remove-exponent/457 "2023-12-30T19:21:52Z")

</div>

How can I set the format of the vtkCubeAxesActor such that the exponent is not shown? For example, I have a data set with the bounds: \[5970000.0, 5999000.0, 5970000.0, 5999000.0, 0.0, 0.0\] which when plotted with the def…

---

## [vtkTextActor memory leak](https://discourse.vtk.org/t/vtktextactor-memory-leak/12967)

<div class="topic-metadata">

**Author:** [@d0891s93](https://discourse.vtk.org/u/d0891s93)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 3:17pm UTC](https://discourse.vtk.org/t/vtktextactor-memory-leak/12967 "2023-12-28T15:17:06Z")

</div>

Hello, I found vtkTextActor memory leak when i put random number in to vtkTextActor color. (VTK : 9.3, QT : 5.15.2) Below is a simplified version of the code. If you insert a random number into the code, it leaks memo…

---

## [vtkImageData: No scalar field has been specified-assuming 1 component](https://discourse.vtk.org/t/vtkimagedata-no-scalar-field-has-been-specified-assuming-1-component/6166)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 7\
**Last updated:** [December 28, 2023, 5:40am UTC](https://discourse.vtk.org/t/vtkimagedata-no-scalar-field-has-been-specified-assuming-1-component/6166 "2023-12-28T05:40:28Z")

</div>

I am using vmtk to obtain cpr image. But vtkImageData reported a bug. My code is: curvedMPRImageFilter = vtkvmtk.vtkvmtkCurvedMPRImageFilter() curvedMPRImageFilter.SetInputData(vtkImg) curvedMPRImageFilter.SetCenterli…

---

## [Building vs 2022 issue](https://discourse.vtk.org/t/building-vs-2022-issue/12972)

<div class="topic-metadata">

**Author:** [@kilani\_walid](https://discourse.vtk.org/u/kilani_walid)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 3:40am UTC](https://discourse.vtk.org/t/building-vs-2022-issue/12972 "2023-12-27T03:40:55Z")

</div>

vtkConstantImplicitBackend::vtkConstantImplicitBackend(unsigned \_\_int64) (??0?$vtkConstantImplicitBackend@\_K@@QEAA@\_K@Z) already defined in vtkToImplicitRamerDouglasPeuckerStrategy.obj|FiltersReduction|C:\\VTK\\bin\\Filters…

---

## [glew](https://discourse.vtk.org/t/glew/12952)

<div class="topic-metadata">

**Author:** [@Rafael\_Scatena](https://discourse.vtk.org/u/Rafael_Scatena)\
**Replies:** 4\
**Last updated:** [December 26, 2023, 11:23pm UTC](https://discourse.vtk.org/t/glew/12952 "2023-12-26T23:23:49Z")

</div>

Is it necessary to have gl/glew installed to run vtk?

---

## [volume rendering frequency is very slow](https://discourse.vtk.org/t/volume-rendering-frequency-is-very-slow/12941)

<div class="topic-metadata">

**Author:** [@Hedwig\_Huang](https://discourse.vtk.org/u/Hedwig_Huang)\
**Replies:** 2\
**Last updated:** [December 26, 2023, 3:16pm UTC](https://discourse.vtk.org/t/volume-rendering-frequency-is-very-slow/12941 "2023-12-26T15:16:20Z")

</div>

Hi there! I am working on volume rendering for MIP/MinIP, VR and VE for MRI. Now here I edited so many codes for renderer, renderwindow, actor and mapper, etc. But I found that it’s quite weried that when I tried to int…

---

## [vtk has no attribute 'vtk Volume Ray Cast Composite Function'](https://discourse.vtk.org/t/vtk-has-no-attribute-vtk-volume-ray-cast-composite-function/12870)

<div class="topic-metadata">

**Author:** [@RoseSuiteMadule](https://discourse.vtk.org/u/RoseSuiteMadule)\
**Replies:** 4\
**Last updated:** [December 26, 2023, 3:08pm UTC](https://discourse.vtk.org/t/vtk-has-no-attribute-vtk-volume-ray-cast-composite-function/12870 "2023-12-26T15:08:38Z")

</div>

Hi. I got an error module ‘vtk’ has no attribute ‘vtkVolumeRayCastCompositeFunction’. Can you help me to resolve this? Thanks

---

## ["1 OpenGL errors detected 0 : (1285) Out of memory" after tens of thousands of Loop (inside each Loop: new Window, Render, VolumeMapper then delete them))](https://discourse.vtk.org/t/1-opengl-errors-detected-0-1285-out-of-memory-after-tens-of-thousands-of-loop-inside-each-loop-new-window-render-volumemapper-then-delete-them/12928)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [December 24, 2023, 1:02pm UTC](https://discourse.vtk.org/t/1-opengl-errors-detected-0-1285-out-of-memory-after-tens-of-thousands-of-loop-inside-each-loop-new-window-render-volumemapper-then-delete-them/12928 "2023-12-24T13:02:39Z")

</div>

“1 OpenGL errors detected 0 : (1285) Out of memory” after tens of thousands of Loop (inside each Loop: new Window, Render, VolumeMapper then delete them))

---

## [Normals/roughness appear to be missing from display using vtkOBJImporter](https://discourse.vtk.org/t/normals-roughness-appear-to-be-missing-from-display-using-vtkobjimporter/12955)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 3\
**Last updated:** [December 23, 2023, 7:22am UTC](https://discourse.vtk.org/t/normals-roughness-appear-to-be-missing-from-display-using-vtkobjimporter/12955 "2023-12-23T07:22:17Z")

</div>

Hello, I’m using vtkOBJImporter to display an obj file. I have an associated .mtl file which references various roughness, normals, diffuse texture .pngs etc. VTK succesfully displays the .obj file and I can clearly se…

---

## [Is there a way to compile the VTK to a single dll](https://discourse.vtk.org/t/is-there-a-way-to-compile-the-vtk-to-a-single-dll/12948)

<div class="topic-metadata">

**Author:** [@WangZP10969](https://discourse.vtk.org/u/WangZP10969)\
**Replies:** 4\
**Last updated:** [December 23, 2023, 7:09am UTC](https://discourse.vtk.org/t/is-there-a-way-to-compile-the-vtk-to-a-single-dll/12948 "2023-12-23T07:09:41Z")

</div>

When I use vtk, I use a lot of dlls, I was wondering if there is a way to modify the cmake configuration to implement a single dll. I tried to retrieve all the cxx files to generate a single library project, but there a…

---

## [How to show different 2D text in different position in high performance?](https://discourse.vtk.org/t/how-to-show-different-2d-text-in-different-position-in-high-performance/12944)

<div class="topic-metadata">

**Author:** [@baker-Xie](https://discourse.vtk.org/u/baker-Xie)\
**Replies:** 3\
**Last updated:** [December 23, 2023, 12:47am UTC](https://discourse.vtk.org/t/how-to-show-different-2d-text-in-different-position-in-high-performance/12944 "2023-12-23T00:47:28Z")

</div>

I want to show many 2D text (\>200). As far as I know, if I create vtkTextActor for each of them, I think it may be slow (because meanwhile I need to show large amount of other element). So what method should I use?

---

## [How to combile vtkGlyph3DMapper and vtkMultiBlockDataset](https://discourse.vtk.org/t/how-to-combile-vtkglyph3dmapper-and-vtkmultiblockdataset/12960)

<div class="topic-metadata">

**Author:** [@baker-Xie](https://discourse.vtk.org/u/baker-Xie)\
**Replies:** 2\
**Last updated:** [December 23, 2023, 12:36am UTC](https://discourse.vtk.org/t/how-to-combile-vtkglyph3dmapper-and-vtkmultiblockdataset/12960 "2023-12-23T00:36:52Z")

</div>

The following code doesn’t show anything vtkNew\<vtkCubeSource\> cube\_source; vtkNew\<vtkArrowSource\> arrow\_source; vtkNew\<vtkSphereSource\> sphere\_source; vtkNew\<vtkMultiPieceDataSet\> data…

---

## [vtk-8.1 has GPU memory leak? esp. on Linux. the related class is vtkXOpenGLRenderWindow](https://discourse.vtk.org/t/vtk-8-1-has-gpu-memory-leak-esp-on-linux-the-related-class-is-vtkxopenglrenderwindow/12879)

<div class="topic-metadata">

**Author:** [@gpu](https://discourse.vtk.org/u/gpu)\
**Replies:** 2\
**Last updated:** [December 22, 2023, 3:43pm UTC](https://discourse.vtk.org/t/vtk-8-1-has-gpu-memory-leak-esp-on-linux-the-related-class-is-vtkxopenglrenderwindow/12879 "2023-12-22T15:43:38Z")

</div>

vtk-8.1 has GPU memory leak? esp. on Linux. the related class are vtkRenderWindow，vtkXOpenGLRenderWindow

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

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