# Support

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

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

**Page:** 126

---

## [vtkOrientationMarkerWidget icon](https://discourse.vtk.org/t/vtkorientationmarkerwidget-icon/3865)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 1\
**Last updated:** [July 28, 2020, 7:17pm UTC](https://discourse.vtk.org/t/vtkorientationmarkerwidget-icon/3865 "2020-07-28T19:17:04Z")

</div>

I saw here an example of how to put a little volume (rabbit) as vtkOrientationMarkerWidget: https://vtk.org/Wiki/VTK/Examples/Cxx/Widgets/OrientationMarkerWidget How can I use another image instead of vtkXMLPolyDataRead…

---

## [\[RESOLVED\]: Issue LeftButtonPressEvent() to vtkRenderWindowInteractor with C++?](https://discourse.vtk.org/t/resolved-issue-leftbuttonpressevent-to-vtkrenderwindowinteractor-with-c/3858)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 1\
**Last updated:** [July 28, 2020, 6:36pm UTC](https://discourse.vtk.org/t/resolved-issue-leftbuttonpressevent-to-vtkrenderwindowinteractor-with-c/3858 "2020-07-28T18:36:37Z")

</div>

My C++ application displays an actor in a vtkRenderWindow, with an associated vtkGenericRenderWindowInteractor. If in “camera mode” and I left-click the mouse in the window at position x,y the surface is rendered from a …

---

## [Xmlunstructuredgridwriter issue with time.](https://discourse.vtk.org/t/xmlunstructuredgridwriter-issue-with-time/3853)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 2\
**Last updated:** [July 27, 2020, 7:27pm UTC](https://discourse.vtk.org/t/xmlunstructuredgridwriter-issue-with-time/3853 "2020-07-27T19:27:59Z")

</div>

I have used the multi-time step feature successfully before in a python script, now I am trying to do something similar with c++. I tried it several ways, but something weird is happening that’s causes paraview to choke…

---

## [How to change the size of the label on the vtkScalarBarActor?](https://discourse.vtk.org/t/how-to-change-the-size-of-the-label-on-the-vtkscalarbaractor/3532)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 3\
**Last updated:** [July 27, 2020, 1:38pm UTC](https://discourse.vtk.org/t/how-to-change-the-size-of-the-label-on-the-vtkscalarbaractor/3532 "2020-07-27T13:38:16Z")

</div>

Hi all! I would like to change the size of the label on the vtkScalarBarActor. The label size is too big, so I tried to change as below: vtkNew m\_vtkScalarBar; m\_vtkScalarBar-\>GetLabelTextProperty()-\>SetFontSize(10…

---

## [vtkImageAppendComponents can be used for several 3D Image Data](https://discourse.vtk.org/t/vtkimageappendcomponents-can-be-used-for-several-3d-image-data/3845)

<div class="topic-metadata">

**Author:** [@sharon](https://discourse.vtk.org/u/sharon)\
**Replies:** 2\
**Last updated:** [July 25, 2020, 6:49am UTC](https://discourse.vtk.org/t/vtkimageappendcomponents-can-be-used-for-several-3d-image-data/3845 "2020-07-25T06:49:55Z")

</div>

Dear All, I have two 3D image data with same dimension, both of them have separate scalar, which can apply different color transfer function. What i want to do is merge the two 3D Image Data together with final color i…

---

## [convert SimpleITK image to activiz vtkImageData in CSharp](https://discourse.vtk.org/t/convert-simpleitk-image-to-activiz-vtkimagedata-in-csharp/3673)

<div class="topic-metadata">

**Author:** [@langderyos](https://discourse.vtk.org/u/langderyos)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 6:43pm UTC](https://discourse.vtk.org/t/convert-simpleitk-image-to-activiz-vtkimagedata-in-csharp/3673 "2020-07-24T18:43:03Z")

</div>

Hello, everyone. I’m trying to convert SimpleITK image to activiz vtkImageData in CSharp using vtkImageImport. I compared eyery pixel value after convert itk.simple.image.It seems ok but when I want to use the new vtkI…

---

## [QVTKWidgetPlugin not found after upgrede to vtk9](https://discourse.vtk.org/t/qvtkwidgetplugin-not-found-after-upgrede-to-vtk9/3835)

<div class="topic-metadata">

**Author:** [@mariasom](https://discourse.vtk.org/u/mariasom)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 10:11am UTC](https://discourse.vtk.org/t/qvtkwidgetplugin-not-found-after-upgrede-to-vtk9/3835 "2020-07-24T10:11:49Z")

</div>

hello, i’m trying to upgrade my vtk libraries for my project from version 8.2 to 9.0, but i had some issues while compiling them. In my project i’m also using qt libraries (v5.13.1). i suppose i haven’t correctly generat…

---

## [Black VTK widget in pyqt5 with QWebEngine on Mac](https://discourse.vtk.org/t/black-vtk-widget-in-pyqt5-with-qwebengine-on-mac/3680)

<div class="topic-metadata">

**Author:** [@tgurgui](https://discourse.vtk.org/u/tgurgui)\
**Replies:** 7\
**Last updated:** [July 24, 2020, 10:07am UTC](https://discourse.vtk.org/t/black-vtk-widget-in-pyqt5-with-qwebengine-on-mac/3680 "2020-07-24T10:07:16Z")

</div>

Hello all, (I’ve post this question also in qt forum: https://forum.qt.io/topic/116371/qwebengineview-and-vtk-widget-on-mac) I’m building an application with a VTK widget (QVTKRenderWindowInteractor) to show 3D data an…

---

## [Storing RGBA values directly to VTI file for 2D data](https://discourse.vtk.org/t/storing-rgba-values-directly-to-vti-file-for-2d-data/3830)

<div class="topic-metadata">

**Author:** [@sdutta](https://discourse.vtk.org/u/sdutta)\
**Replies:** 3\
**Last updated:** [July 24, 2020, 8:14am UTC](https://discourse.vtk.org/t/storing-rgba-values-directly-to-vti-file-for-2d-data/3830 "2020-07-24T08:14:51Z")

</div>

I am wondering if it would be possible to store RGBA values into 2D VTI files instead of traditional data values. We are working on something which requires designing Opacity TF based on some criteria and we are trying t…

---

## [vtkRenderWindow::Render() is extremely slow when using vtkDelaunay2D filter](https://discourse.vtk.org/t/vtkrenderwindow-render-is-extremely-slow-when-using-vtkdelaunay2d-filter/3834)

<div class="topic-metadata">

**Author:** [@Tomasso](https://discourse.vtk.org/u/Tomasso)\
**Replies:** 4\
**Last updated:** [July 24, 2020, 12:44am UTC](https://discourse.vtk.org/t/vtkrenderwindow-render-is-extremely-slow-when-using-vtkdelaunay2d-filter/3834 "2020-07-24T00:44:08Z")

</div>

I’ve subclassed vtkAbstractPolyDataReader to “GmtGridReader” that reads an x,y grid of elevations. I pass the output of the reader through a vtkDelaunay2D filter before displaying it. However when I read and filter the d…

---

## [Size-dependent time cost of Delaunay3D filter](https://discourse.vtk.org/t/size-dependent-time-cost-of-delaunay3d-filter/3840)

<div class="topic-metadata">

**Author:** [@jduriez](https://discourse.vtk.org/u/jduriez)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 12:56pm UTC](https://discourse.vtk.org/t/size-dependent-time-cost-of-delaunay3d-filter/3840 "2020-07-23T12:56:05Z")

</div>

Hi, I’m facing size (or unit)-dependent time costs when using Delaunay3D filter on a discrete scalar field, and do not understand those. I’m actually working on the distance field to some sphere, for gridpoints on a st…

---

## [How to show the rgb colors on a triangle mesh with rgb data defined on its points in Paraview?](https://discourse.vtk.org/t/how-to-show-the-rgb-colors-on-a-triangle-mesh-with-rgb-data-defined-on-its-points-in-paraview/3836)

<div class="topic-metadata">

**Author:** [@whymath](https://discourse.vtk.org/u/whymath)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 10:44am UTC](https://discourse.vtk.org/t/how-to-show-the-rgb-colors-on-a-triangle-mesh-with-rgb-data-defined-on-its-points-in-paraview/3836 "2020-07-23T10:44:42Z")

</div>

I have a triangle mesh which has NN points and a rgb data array with shape (NN, 3) defined on these points, and I want to show the rgb data as colors on this triangle mesh in Paraview. Any suggestion? Thanks very much.

---

## [How to get a view inside a stl model](https://discourse.vtk.org/t/how-to-get-a-view-inside-a-stl-model/3817)

<div class="topic-metadata">

**Author:** [@ThresholDDD](https://discourse.vtk.org/u/ThresholDDD)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 5:57am UTC](https://discourse.vtk.org/t/how-to-get-a-view-inside-a-stl-model/3817 "2020-07-23T05:57:46Z")

</div>

Hi, guys, I want to take virtual images inside a STL model. Like I have a head model, and then I want to take a picture of surface inside brain, how can I do that? I am new to vtk, many thanks!!! Best regards, Judy

---

## [Multi-texture OBJ](https://discourse.vtk.org/t/multi-texture-obj/3775)

<div class="topic-metadata">

**Author:** [@panicbuttonvfx](https://discourse.vtk.org/u/panicbuttonvfx)\
**Replies:** 12\
**Last updated:** [July 23, 2020, 2:31am UTC](https://discourse.vtk.org/t/multi-texture-obj/3775 "2020-07-23T02:31:34Z")

</div>

Hi, I’m trying to load an OBJ file with more than one texture, and I can’t seem to find a way to do that in VTK. Searching for possible solutions, I’ve found a very convoluted one to create an entity for each texture an…

---

## [How to get color of an Image](https://discourse.vtk.org/t/how-to-get-color-of-an-image/3811)

<div class="topic-metadata">

**Author:** [@beginner](https://discourse.vtk.org/u/beginner)\
**Replies:** 2\
**Last updated:** [July 22, 2020, 10:27pm UTC](https://discourse.vtk.org/t/how-to-get-color-of-an-image/3811 "2020-07-22T22:27:05Z")

</div>

Hello everyone, I am trying to create a colored mesh based on a png image. I see that I can use the GetProperty() function in vtkProperty class but how can I access this to get the colors pixel by pixel, to insert it in…

---

## [vtkSmartPointer\<MyClass\>](https://discourse.vtk.org/t/vtksmartpointer-myclass/2321)

<div class="topic-metadata">

**Author:** [@Sohrab\_Azami](https://discourse.vtk.org/u/Sohrab_Azami)\
**Replies:** 6\
**Last updated:** [July 22, 2020, 4:41pm UTC](https://discourse.vtk.org/t/vtksmartpointer-myclass/2321 "2020-07-22T16:41:31Z")

</div>

Hi, I would like to pass a regular c++ class to my vtkSmartPointer object, obviously I have difficulty to compile it! What I did I drived it from vtkObject class: class vtkFile : public vtkObject { private: std\>\>vec…

---

## [Render window doesn't appear when running examples](https://discourse.vtk.org/t/render-window-doesnt-appear-when-running-examples/3826)

<div class="topic-metadata">

**Author:** [@JenJen](https://discourse.vtk.org/u/JenJen)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 3:55pm UTC](https://discourse.vtk.org/t/render-window-doesnt-appear-when-running-examples/3826 "2020-07-22T15:55:50Z")

</div>

I am new to VTK. I have installed the latest version, using CMake and Visual Studio 2017 on Windows 10. I have download and compiled c++ examples (Sphere, PolyDataToImageData, and Glyph3DImage) but when I run the execu…

---

## ["Could not find the VTK package with the following required components: RenderingContextOpenGL2."](https://discourse.vtk.org/t/could-not-find-the-vtk-package-with-the-following-required-components-renderingcontextopengl2/3778)

<div class="topic-metadata">

**Author:** [@JenJen](https://discourse.vtk.org/u/JenJen)\
**Replies:** 5\
**Last updated:** [July 22, 2020, 3:25pm UTC](https://discourse.vtk.org/t/could-not-find-the-vtk-package-with-the-following-required-components-renderingcontextopengl2/3778 "2020-07-22T15:25:47Z")

</div>

I am trying to run one of the examples “Glyph3DImage”, and also use vtkGlyph3DMapper in some other code. I am using the latest CMake and VTK9.0.0. The error “Could not find the VTK package with the following required c…

---

## [Incorrect boundary of the intersection between two hexahedrons](https://discourse.vtk.org/t/incorrect-boundary-of-the-intersection-between-two-hexahedrons/3781)

<div class="topic-metadata">

**Author:** [@rodrigomologni](https://discourse.vtk.org/u/rodrigomologni)\
**Replies:** 6\
**Last updated:** [July 20, 2020, 3:59pm UTC](https://discourse.vtk.org/t/incorrect-boundary-of-the-intersection-between-two-hexahedrons/3781 "2020-07-20T15:59:45Z")

</div>

Would anyone know how to solve this problem, please? I am using the vtkBooleanOperationPolyDataFilter class to produce the boundary of the intersection between two hexahedrons. Both hexahedrons are triangulated surfaces…

---

## [vtkOpenGLHardwareSelect error when picking in combination with vtkSSAOPass](https://discourse.vtk.org/t/vtkopenglhardwareselect-error-when-picking-in-combination-with-vtkssaopass/3350)

<div class="topic-metadata">

**Author:** [@rdbrn](https://discourse.vtk.org/u/rdbrn)\
**Replies:** 3\
**Last updated:** [July 20, 2020, 12:02pm UTC](https://discourse.vtk.org/t/vtkopenglhardwareselect-error-when-picking-in-combination-with-vtkssaopass/3350 "2020-07-20T12:02:15Z")

</div>

I’m getting the following error: vtkOpenGLHardwareSelect:199 ERR| vtkOpenGLHardwareSelector (0000020C7F641B90): Too many props. Currently only 16777214 props are supported. when picking a point using vtkPropPicker i…

---

## [vtkArrayCalculator constant vector operation](https://discourse.vtk.org/t/vtkarraycalculator-constant-vector-operation/3807)

<div class="topic-metadata">

**Author:** [@tkeskita](https://discourse.vtk.org/u/tkeskita)\
**Replies:** 0\
**Last updated:** [July 20, 2020, 6:07am UTC](https://discourse.vtk.org/t/vtkarraycalculator-constant-vector-operation/3807 "2020-07-20T06:07:44Z")

</div>

A simple Python vtkArrayCalculator question: how can I specify a constant vector c in SetFunction so that I can do vector operation like U + c for an existing vector field U? I introduce U using AddVectorArrayName("U"). …

---

## [Display of a 3D Image, in format I\[z\]\[y\]\[x\] located in GPU memory (Nvidia)](https://discourse.vtk.org/t/display-of-a-3d-image-in-format-i-z-y-x-located-in-gpu-memory-nvidia/3798)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 2\
**Last updated:** [July 19, 2020, 7:55pm UTC](https://discourse.vtk.org/t/display-of-a-3d-image-in-format-i-z-y-x-located-in-gpu-memory-nvidia/3798 "2020-07-19T19:55:51Z")

</div>

Dear All, I want to display a 3D image located in GPU, that I have the pointer, and it will allow rotation etc. I want to use the VTK in Python and I do not want to do transfers GPU-\>CPU of the image or vice-versa. Th…

---

## [ERROR:root:Hardware does not support the number of textures defined.](https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800)

<div class="topic-metadata">

**Author:** [@JANHMS](https://discourse.vtk.org/u/JANHMS)\
**Replies:** 1\
**Last updated:** [July 19, 2020, 5:14pm UTC](https://discourse.vtk.org/t/errorhardware-does-not-support-the-number-of-textures-defined/3800 "2020-07-19T17:14:24Z")

</div>

Hey there, I am using VTK, I create several planes and set a texture on them with a for loop. I total 43 different ones. A snipped of my code. I a loop, where texture\[i\] is a list of textures: texturePlane = vtk.vtkT…

---

## [Explicitly implement "modifiy" logic in RequestData method of a vtkAlgorithm Subclass?](https://discourse.vtk.org/t/explicitly-implement-modifiy-logic-in-requestdata-method-of-a-vtkalgorithm-subclass/3797)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 1\
**Last updated:** [July 18, 2020, 1:10pm UTC](https://discourse.vtk.org/t/explicitly-implement-modifiy-logic-in-requestdata-method-of-a-vtkalgorithm-subclass/3797 "2020-07-18T13:10:05Z")

</div>

When vtkAlgorithm (or) its sub-classes vtk\[UnstructuredGrid\], PolyData\],..\]Algorithm and the like are sub-classed, do I have to explicitly check mTime and do the processing only if it is required or is the magic all done…

---

## [Interaction problem](https://discourse.vtk.org/t/interaction-problem/3766)

<div class="topic-metadata">

**Author:** [@Cheng1087](https://discourse.vtk.org/u/Cheng1087)\
**Replies:** 2\
**Last updated:** [July 17, 2020, 6:06am UTC](https://discourse.vtk.org/t/interaction-problem/3766 "2020-07-17T06:06:28Z")

</div>

Two vtkSpheres are displayed in an actor, now I pick up a cell in vtkSphere, and then I need to highlight the selected vtkSphere. solutions: Change the polyData of the selected vtkSphere and assign different colors Bu…

---

## [VtkImage 3d to 2d](https://discourse.vtk.org/t/vtkimage-3d-to-2d/3774)

<div class="topic-metadata">

**Author:** [@AmBou99](https://discourse.vtk.org/u/AmBou99)\
**Replies:** 5\
**Last updated:** [July 16, 2020, 5:33pm UTC](https://discourse.vtk.org/t/vtkimage-3d-to-2d/3774 "2020-07-16T17:33:14Z")

</div>

Hello everyone, I work on a project and I have a problem. I need to save an image 2d in JPEG or PNG. The problem is : I have a 3d matrix I put the numbers of this matrix in a vtkImage (so this vtkImage is in 3d form…

---

## [Use vtkHardwareSelector to select point of vtkGlyph3DMapper](https://discourse.vtk.org/t/use-vtkhardwareselector-to-select-point-of-vtkglyph3dmapper/3790)

<div class="topic-metadata">

**Author:** [@michael23](https://discourse.vtk.org/u/michael23)\
**Replies:** 0\
**Last updated:** [July 16, 2020, 12:17pm UTC](https://discourse.vtk.org/t/use-vtkhardwareselector-to-select-point-of-vtkglyph3dmapper/3790 "2020-07-16T12:17:26Z")

</div>

Hi, I am using vtkGlyph3DMapper for rendering cylinders at certain points. Now I want to click on a cylinder and get the index of the point which was clicked. Here is my code (based on TestGlyph3DMapperCellPicking.cxx…

---

## [Best practice for rapidly changing vtkImageData?](https://discourse.vtk.org/t/best-practice-for-rapidly-changing-vtkimagedata/3744)

<div class="topic-metadata">

**Author:** [@harold.absalom](https://discourse.vtk.org/u/harold.absalom)\
**Replies:** 10\
**Last updated:** [July 16, 2020, 6:02am UTC](https://discourse.vtk.org/t/best-practice-for-rapidly-changing-vtkimagedata/3744 "2020-07-16T06:02:05Z")

</div>

I’m writing an application which takes a 3D vtkImageData\* from an external source, and then displays a number of slices (at least ten) from that data. The external data is updating at a fairly rapid rate (around 30 times…

---

## [How to use vtkXdmf3Writer() to write vtkPolyData for multiple time steps?](https://discourse.vtk.org/t/how-to-use-vtkxdmf3writer-to-write-vtkpolydata-for-multiple-time-steps/3785)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.vtk.org/u/amit112amit)\
**Replies:** 0\
**Last updated:** [July 16, 2020, 4:47am UTC](https://discourse.vtk.org/t/how-to-use-vtkxdmf3writer-to-write-vtkpolydata-for-multiple-time-steps/3785 "2020-07-16T04:47:33Z")

</div>

Hi. I looked at the source code for vtkXdmf3Writer.cxx and it seems to support writing multiple time steps to the output XDMF file. I have a code that generates a polydata object at every time step. I want to write all …

---

## [cmake-changes in vtk9.0.1 (occt build error)](https://discourse.vtk.org/t/cmake-changes-in-vtk9-0-1-occt-build-error/3736)

<div class="topic-metadata">

**Author:** [@looooo](https://discourse.vtk.org/u/looooo)\
**Replies:** 3\
**Last updated:** [July 15, 2020, 4:18pm UTC](https://discourse.vtk.org/t/cmake-changes-in-vtk9-0-1-occt-build-error/3736 "2020-07-15T16:18:24Z")

</div>

Please somebody involved in vtk-development can give a hint what cmake changes were added in vtk9. We are running into: CMake Error at CMakeLists.txt:730 (message): Could not find headers of used third-party products: …

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

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