# Support

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

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

**Page:** 66

---

## [apply marching cube on unstructured grid with vtk voxel cells](https://discourse.vtk.org/t/apply-marching-cube-on-unstructured-grid-with-vtk-voxel-cells/9593)

<div class="topic-metadata">

**Author:** [@willk](https://discourse.vtk.org/u/willk)\
**Replies:** 10\
**Last updated:** [October 24, 2022, 2:45pm UTC](https://discourse.vtk.org/t/apply-marching-cube-on-unstructured-grid-with-vtk-voxel-cells/9593 "2022-10-24T14:45:03Z")

</div>

I am trying to use a vtkMarchingCubes algo on a Unstructuredgrid data. The problem i am facing is vtkMarchingCubes only work with vtkImageData. ERROR:root:Input for connection index 0 on input port index 0 for algorithm…

---

## [Including VTK9 built from source in a wider project](https://discourse.vtk.org/t/including-vtk9-built-from-source-in-a-wider-project/9612)

<div class="topic-metadata">

**Author:** [@thomas-wright](https://discourse.vtk.org/u/thomas-wright)\
**Replies:** 5\
**Last updated:** [October 24, 2022, 2:23am UTC](https://discourse.vtk.org/t/including-vtk9-built-from-source-in-a-wider-project/9612 "2022-10-24T02:23:56Z")

</div>

Due to constraints around our build process, I would like to include the VTK source code alongside our own, for our application build configured with cmake. With VTK8 and earlier, we have been using the cmake command ADD…

---

## [Hoe can I get coordinates of vtkAxesActor after transform?](https://discourse.vtk.org/t/hoe-can-i-get-coordinates-of-vtkaxesactor-after-transform/9657)

<div class="topic-metadata">

**Author:** [@Danyuhui](https://discourse.vtk.org/u/Danyuhui)\
**Replies:** 1\
**Last updated:** [October 23, 2022, 9:39pm UTC](https://discourse.vtk.org/t/hoe-can-i-get-coordinates-of-vtkaxesactor-after-transform/9657 "2022-10-23T21:39:37Z")

</div>

Hi VTK experts I’m trying to create a vtkAxesActor(axes) and transform it by rotating.I wonder if there’s any functions can help me find out the coordinates of the X/Y/Z axis after transforming. I’ve tried to uses math…

---

## [Average Mesh and mesh scalar operations](https://discourse.vtk.org/t/average-mesh-and-mesh-scalar-operations/9649)

<div class="topic-metadata">

**Author:** [@Connor.Bowley](https://discourse.vtk.org/u/Connor.Bowley)\
**Replies:** 5\
**Last updated:** [October 21, 2022, 7:35pm UTC](https://discourse.vtk.org/t/average-mesh-and-mesh-scalar-operations/9649 "2022-10-21T19:35:15Z")

</div>

Are there any vtk filters that support the following operations, and if there is not, would anyone be opposed to the addition of said filters into VTK? Given a set of meshes in point correspondence: Compute the averag…

---

## [Error with StyleInteractor](https://discourse.vtk.org/t/error-with-styleinteractor/9640)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 3\
**Last updated:** [October 21, 2022, 1:20pm UTC](https://discourse.vtk.org/t/error-with-styleinteractor/9640 "2022-10-21T13:20:13Z")

</div>

I have the following code class MyInteractorStyle(vtkInteractorStyleTerrain): def \_\_init\_\_(self, renderer): self.SetCurrentRenderer(renderer) self.AddObserver("MouseMoveEvent", self.mou…

---

## [Example of how to generate a InteractorStyle where mouse click \*\*and\*\* mouse horizontal movement are combined](https://discourse.vtk.org/t/example-of-how-to-generate-a-interactorstyle-where-mouse-click-and-mouse-horizontal-movement-are-combined/9632)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 8:19am UTC](https://discourse.vtk.org/t/example-of-how-to-generate-a-interactorstyle-where-mouse-click-and-mouse-horizontal-movement-are-combined/9632 "2022-10-21T08:19:25Z")

</div>

I am trying to create my own interactorStyle and I need to be able to change the camera pitch by clicking on the left mouse button while moving the mouse horizontally. Can anyone indicate how to achieve this or point tow…

---

## [vtkCompositePolyDataMapper2 with very large numbers of blocks slow](https://discourse.vtk.org/t/vtkcompositepolydatamapper2-with-very-large-numbers-of-blocks-slow/9631)

<div class="topic-metadata">

**Author:** [@bheld](https://discourse.vtk.org/u/bheld)\
**Replies:** 8\
**Last updated:** [October 21, 2022, 4:15am UTC](https://discourse.vtk.org/t/vtkcompositepolydatamapper2-with-very-large-numbers-of-blocks-slow/9631 "2022-10-21T04:15:53Z")

</div>

We have some cases that will have \> 50,000 blocks in the input to vtkCompositePolyDataMapper2. Should we expect to see inefficiencies in rendering speed in particular (e.g. camera rotation)? We could modify the code th…

---

## [Opacity issue in QVTKOpenGLWidget and PCL Visualizer](https://discourse.vtk.org/t/opacity-issue-in-qvtkopenglwidget-and-pcl-visualizer/9646)

<div class="topic-metadata">

**Author:** [@Panda12197](https://discourse.vtk.org/u/Panda12197)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 2:53am UTC](https://discourse.vtk.org/t/opacity-issue-in-qvtkopenglwidget-and-pcl-visualizer/9646 "2022-10-21T02:53:23Z")

</div>

I am trying to set the opacity for Cube in pclviewer with surface. It is successed but I can not set the opacity value. It is OK when the opacity value is 1.0 but any values less than 1.0 make it invisible. The program…

---

## [How to generate a triangulation with the correct orientation?](https://discourse.vtk.org/t/how-to-generate-a-triangulation-with-the-correct-orientation/9599)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 1\
**Last updated:** [October 20, 2022, 2:32pm UTC](https://discourse.vtk.org/t/how-to-generate-a-triangulation-with-the-correct-orientation/9599 "2022-10-20T14:32:20Z")

</div>

I have the following code (see below) where: l,r,t,b are the coordinate bounds of a numpy array Z of size nrows x ncols that contains elevation data x =np.linspace(l, r, ncols) y =np.linspace(t, b, nrows) X,Y = np.mes…

---

## [How to identify and return a specific actor within a collection of actors?](https://discourse.vtk.org/t/how-to-identify-and-return-a-specific-actor-within-a-collection-of-actors/9653)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 0\
**Last updated:** [October 20, 2022, 10:57am UTC](https://discourse.vtk.org/t/how-to-identify-and-return-a-specific-actor-within-a-collection-of-actors/9653 "2022-10-20T10:57:34Z")

</div>

I have two related questions: Is there a way to provide a unique identifier to a vtkActor() ? Using renderer.GetActors() I get back a collection of actors, I am looking for a specific actor. How can I find and return …

---

## [BillboardTextActor3D (or similar) for Python](https://discourse.vtk.org/t/billboardtextactor3d-or-similar-for-python/9630)

<div class="topic-metadata">

**Author:** [@Kevin\_Sweeney](https://discourse.vtk.org/u/Kevin_Sweeney)\
**Replies:** 1\
**Last updated:** [October 19, 2022, 5:55am UTC](https://discourse.vtk.org/t/billboardtextactor3d-or-similar-for-python/9630 "2022-10-19T05:55:18Z")

</div>

I am working in Python (vtk with ipywidgets) and want to annotate my 3D glyphs with information (i.e. data point number etc) I see there is something available in C++ but I cannot find a method to perform the same in Py…

---

## [Place object in DICOM patient coordinates](https://discourse.vtk.org/t/place-object-in-dicom-patient-coordinates/9608)

<div class="topic-metadata">

**Author:** [@mortifiedpenguin](https://discourse.vtk.org/u/mortifiedpenguin)\
**Replies:** 3\
**Last updated:** [October 19, 2022, 7:28pm UTC](https://discourse.vtk.org/t/place-object-in-dicom-patient-coordinates/9608 "2022-10-19T19:28:17Z")

</div>

I am visualizing a DICOM CT dataset using vtk / Activiz. Now I want to place objects (e.g. a sphere for testing) using the DICOM coordinate space as defined by Image Position Patient / Image Orientation Patient. To this …

---

## [vtkPolyDataToImageStencil parallelization](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-parallelization/9625)

<div class="topic-metadata">

**Author:** [@chrisadamsonmcri](https://discourse.vtk.org/u/chrisadamsonmcri)\
**Replies:** 6\
**Last updated:** [October 19, 2022, 2:24am UTC](https://discourse.vtk.org/t/vtkpolydatatoimagestencil-parallelization/9625 "2022-10-19T02:24:37Z")

</div>

vtkPolyDataToImageStencil processes each slice of an image in serial and is slow when executed many times. There is a TODO: in the RequestData indicating that it would be easy to parallelize the method by processing each…

---

## [CMake FetchContent() build misses vtkCommonDataModelModule.h](https://discourse.vtk.org/t/cmake-fetchcontent-build-misses-vtkcommondatamodelmodule-h/9618)

<div class="topic-metadata">

**Author:** [@drpeterfranz](https://discourse.vtk.org/u/drpeterfranz)\
**Replies:** 14\
**Last updated:** [October 18, 2022, 9:56pm UTC](https://discourse.vtk.org/t/cmake-fetchcontent-build-misses-vtkcommondatamodelmodule-h/9618 "2022-10-18T21:56:47Z")

</div>

I am trying to change my build system to use CMake’s FetchContent(...) method. I specify the git repository and a git tag. When I start compiling I get the following: D:\\temp\\buildme2\\vtk-fss\_deps\\vtkrepo-src\\Common\\C…

---

## [cellLocator fails to find the points on the boundry](https://discourse.vtk.org/t/celllocator-fails-to-find-the-points-on-the-boundry/9628)

<div class="topic-metadata">

**Author:** [@1116](https://discourse.vtk.org/u/1116)\
**Replies:** 5\
**Last updated:** [October 18, 2022, 8:37pm UTC](https://discourse.vtk.org/t/celllocator-fails-to-find-the-points-on-the-boundry/9628 "2022-10-18T20:37:04Z")

</div>

Hello, guys: I have an image data shown in figure 1, and I try to use the points in this image data to do the interpolation for the the mesh in figure 2, which is an unstructured data. I try to go through each po…

---

## [Non-orthogonal volume rendering from structured points](https://discourse.vtk.org/t/non-orthogonal-volume-rendering-from-structured-points/9641)

<div class="topic-metadata">

**Author:** [@Gunjan\_Auti](https://discourse.vtk.org/u/Gunjan_Auti)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 8:27pm UTC](https://discourse.vtk.org/t/non-orthogonal-volume-rendering-from-structured-points/9641 "2022-10-18T20:27:03Z")

</div>

Hello all, I have a legacy .vtk file with STRUCTURED\_POINTS in scalar format but the volume I want to render is not parallel to the global coordinate system. Can anyone tell me how can I convert this data to a STRUCTURE…

---

## [Trying to find points that intersect a plane Python](https://discourse.vtk.org/t/trying-to-find-points-that-intersect-a-plane-python/9635)

<div class="topic-metadata">

**Author:** [@jamesIlosta](https://discourse.vtk.org/u/jamesIlosta)\
**Replies:** 1\
**Last updated:** [October 18, 2022, 3:56pm UTC](https://discourse.vtk.org/t/trying-to-find-points-that-intersect-a-plane-python/9635 "2022-10-18T15:56:10Z")

</div>

Hi, I have an .obj file and I’m trying to find points on the file that intersect a given plane. I did try to use vtkIntersectionPolyDataFilter. I did this by trying to create a plane using import object reader = vtk.v…

---

## [About installing VTK in Windows](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554)

<div class="topic-metadata">

**Author:** [@vromero59](https://discourse.vtk.org/u/vromero59)\
**Replies:** 3\
**Last updated:** [October 17, 2022, 7:34pm UTC](https://discourse.vtk.org/t/about-installing-vtk-in-windows/9554 "2022-10-17T19:34:47Z")

</div>

I am using Visual Studio 2019 to compile VTK. When I compile INSTALL, I got the messake MSB3073. How I can correct this error?

---

## [how to add a rigth mouse click popup menu option in a vtkview](https://discourse.vtk.org/t/how-to-add-a-rigth-mouse-click-popup-menu-option-in-a-vtkview/9627)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 0\
**Last updated:** [October 17, 2022, 11:10am UTC](https://discourse.vtk.org/t/how-to-add-a-rigth-mouse-click-popup-menu-option-in-a-vtkview/9627 "2022-10-17T11:10:51Z")

</div>

i have a mfc application and in there i have a menu option called “view” and in there the vtk view is diplayed when clicked the button when rigth clicking the vtk view I want to have 2 popup menu options anybody plz he…

---

## [How to use "vtkMedicalImageProperties.h" functions in visual studio with QT C++](https://discourse.vtk.org/t/how-to-use-vtkmedicalimageproperties-h-functions-in-visual-studio-with-qt-c/9597)

<div class="topic-metadata">

**Author:** [@a0980543469](https://discourse.vtk.org/u/a0980543469)\
**Replies:** 3\
**Last updated:** [October 15, 2022, 3:43pm UTC](https://discourse.vtk.org/t/how-to-use-vtkmedicalimageproperties-h-functions-in-visual-studio-with-qt-c/9597 "2022-10-15T15:43:25Z")

</div>

Hello everybody, I would like to use “vtkMedicalImageProperties.h” functions to get the information of DICOM, but have no idea to use the function. Is there any example or format that I can understand how to make it wo…

---

## [How to speed up render?](https://discourse.vtk.org/t/how-to-speed-up-render/9609)

<div class="topic-metadata">

**Author:** [@herman](https://discourse.vtk.org/u/herman)\
**Replies:** 2\
**Last updated:** [October 15, 2022, 12:01am UTC](https://discourse.vtk.org/t/how-to-speed-up-render/9609 "2022-10-15T00:01:46Z")

</div>

Dear vtk users: 15million points cost 1.8s to render. Is there any solutions to accelerate render ? Here is my code renderdemo.cxx (1.7 KB) Thanks!

---

## [Blurry contour plot with vtkBandedPolyDataContourFilter](https://discourse.vtk.org/t/blurry-contour-plot-with-vtkbandedpolydatacontourfilter/9613)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.vtk.org/u/Jan)\
**Replies:** 3\
**Last updated:** [October 14, 2022, 6:20pm UTC](https://discourse.vtk.org/t/blurry-contour-plot-with-vtkbandedpolydatacontourfilter/9613 "2022-10-14T18:20:34Z")

</div>

Hello everyone, I am trying to colour a 2D representation with a contour plot for which I am using vtkBandedPolyDataContourFilter. The available examples show very neat constant colouring within the bands, so I am a lit…

---

## [Cutting structured data Vectorfield](https://discourse.vtk.org/t/cutting-structured-data-vectorfield/9438)

<div class="topic-metadata">

**Author:** [@Jan](https://discourse.vtk.org/u/Jan)\
**Replies:** 2\
**Last updated:** [October 14, 2022, 7:27am UTC](https://discourse.vtk.org/t/cutting-structured-data-vectorfield/9438 "2022-10-14T07:27:17Z")

</div>

Hello everyone, I am working on displaying a vectorfield. The 3-components vector data is set as point-data in a vtkRectilinearGrid. This is, how I implemented the cutting: vtkCutter\* planeCut = vtkCutter::New();| pla…

---

## [how to implement export graph data to csv file](https://discourse.vtk.org/t/how-to-implement-export-graph-data-to-csv-file/9607)

<div class="topic-metadata">

**Author:** [@we\_create](https://discourse.vtk.org/u/we_create)\
**Replies:** 0\
**Last updated:** [October 14, 2022, 6:33am UTC](https://discourse.vtk.org/t/how-to-implement-export-graph-data-to-csv-file/9607 "2022-10-14T06:33:56Z")

</div>

i have created a xygraph refering to the vtk example(c++) https://kitware.github.io/vtk-examples/site/Cxx/Plotting/ScatterPlot/ i want this graph to be exported as a csv file can anyone help me with this

---

## [QML/VTK interactive widget](https://discourse.vtk.org/t/qml-vtk-interactive-widget/9591)

<div class="topic-metadata">

**Author:** [@jerogor](https://discourse.vtk.org/u/jerogor)\
**Replies:** 0\
**Last updated:** [October 13, 2022, 8:47am UTC](https://discourse.vtk.org/t/qml-vtk-interactive-widget/9591 "2022-10-13T08:47:18Z")

</div>

Hello, I am facing some issues regarding the use of QQuickVTKInteractiveWidget to leverage VTK interactive widgets into QML application. For example, I am trying to use the vtkCameraOrientationWidget. The widget appears…

---

## [Compilation errors related to PEGTL / Proj](https://discourse.vtk.org/t/compilation-errors-related-to-pegtl-proj/5929)

<div class="topic-metadata">

**Author:** [@KBentley57](https://discourse.vtk.org/u/KBentley57)\
**Replies:** 12\
**Last updated:** [October 12, 2022, 5:17pm UTC](https://discourse.vtk.org/t/compilation-errors-related-to-pegtl-proj/5929 "2022-10-12T17:17:31Z")

</div>

Hi all, I’ve nearly got VTK compiling with most of the ThirdParty packages turned off. There’s a few errors that are keeping me from 100%, and I’m open to ideas on how to move past them. The first is encountered in th…

---

## [Calculating the actual angle subtended by each pixel in a display](https://discourse.vtk.org/t/calculating-the-actual-angle-subtended-by-each-pixel-in-a-display/9559)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 3:19pm UTC](https://discourse.vtk.org/t/calculating-the-actual-angle-subtended-by-each-pixel-in-a-display/9559 "2022-10-12T15:19:31Z")

</div>

This is a follow up to this previous message (see VtkCamera angular ranges ranges? - Support - VTK). Can the vertical and horizontal angles for each pixel on a display be calculated? How? Thanks for any help. M.

---

## [Rendering fields defined in some blocks of a multiblock](https://discourse.vtk.org/t/rendering-fields-defined-in-some-blocks-of-a-multiblock/9576)

<div class="topic-metadata">

**Author:** [@Kostas\_Politis](https://discourse.vtk.org/u/Kostas_Politis)\
**Replies:** 0\
**Last updated:** [October 12, 2022, 9:28am UTC](https://discourse.vtk.org/t/rendering-fields-defined-in-some-blocks-of-a-multiblock/9576 "2022-10-12T09:28:17Z")

</div>

Hello all, I’ve not thoroughly looked at how to render vtkMultiblockDataSets, I’ve noticed that there are a vtkCompositePolyDataMapper and vtkCompositePolyDataMapper2 (the latter seem to be deprecated). For the setup o…

---

## [OBB error](https://discourse.vtk.org/t/obb-error/9570)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 0\
**Last updated:** [October 11, 2022, 3:11pm UTC](https://discourse.vtk.org/t/obb-error/9570 "2022-10-11T15:11:28Z")

</div>

I created extracted the polydata (TIN) from a terrain I generated using a combination of vtkDelaunay2D() followed by vtkWarpScalar() and finally GetPolyDataOutput() I then used the following lines: obbTree = vtkOBBTr…

---

## [Obtaining a vtkPolyData after running vtkWarpScalar](https://discourse.vtk.org/t/obtaining-a-vtkpolydata-after-running-vtkwarpscalar/9565)

<div class="topic-metadata">

**Author:** [@llobera](https://discourse.vtk.org/u/llobera)\
**Replies:** 1\
**Last updated:** [October 11, 2022, 11:01am UTC](https://discourse.vtk.org/t/obtaining-a-vtkpolydata-after-running-vtkwarpscalar/9565 "2022-10-11T11:01:57Z")

</div>

I used a vtkWarpScalar filter to obtain the elevations from a triangulated surface. Now, I need to be able to access (or convert?) the mesh generated Into a vtkPolyData. Does anyone know how to do this?

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

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