# Support

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

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

**Page:** 155

---

## [conversion of vtk data to matlab format](https://discourse.vtk.org/t/conversion-of-vtk-data-to-matlab-format/1194)

<div class="topic-metadata">

**Author:** [@sourav0921](https://discourse.vtk.org/u/sourav0921)\
**Replies:** 0\
**Last updated:** [June 22, 2019, 10:39am UTC](https://discourse.vtk.org/t/conversion-of-vtk-data-to-matlab-format/1194 "2019-06-22T10:39:34Z")

</div>

Hi, I am simulating two particle collision using LIGGGHTS software. The output particle data are generated in .vtk format. I only able to visualize the particle data not able to get into spreadsheet format. Can you kind…

---

## [vtk extruded polygon stl flipped normal](https://discourse.vtk.org/t/vtk-extruded-polygon-stl-flipped-normal/1167)

<div class="topic-metadata">

**Author:** [@ngokhale](https://discourse.vtk.org/u/ngokhale)\
**Replies:** 3\
**Last updated:** [June 21, 2019, 9:19am UTC](https://discourse.vtk.org/t/vtk-extruded-polygon-stl-flipped-normal/1167 "2019-06-21T09:19:56Z")

</div>

I am using vtk python to extrude a polygon, and then write out the extrusion to an stl file. The stl file gets written out with all the face normals pointing ‘outwards’, except for the base, for which the normal seems to…

---

## [Logo (vtkactor2d) on the top right](https://discourse.vtk.org/t/logo-vtkactor2d-on-the-top-right/1190)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 0\
**Last updated:** [June 21, 2019, 9:18am UTC](https://discourse.vtk.org/t/logo-vtkactor2d-on-the-top-right/1190 "2019-06-21T09:18:43Z")

</div>

Dear all, I would like to have the logo at the top right of my app even even if i minimize or maximize the windows. My first version was like this: logo\_-\>GetPositionCoordinate()-\>SetCoordinateSystemToNormalizedViewpo…

---

## [where is ospray/ospray.h?](https://discourse.vtk.org/t/where-is-ospray-ospray-h/1173)

<div class="topic-metadata">

**Author:** [@tdchen](https://discourse.vtk.org/u/tdchen)\
**Replies:** 4\
**Last updated:** [June 21, 2019, 2:30am UTC](https://discourse.vtk.org/t/where-is-ospray-ospray-h/1173 "2019-06-21T02:30:33Z")

</div>

I tried to compile VTK with OSPRay, but it failed. It said “cannot open source file ospray/ospray.h” And this file indeed not existed in VTK directory. What I should do in addition to check the Module\_vtkRenderingOSPR…

---

## [vtkAppendPolyData java problem](https://discourse.vtk.org/t/vtkappendpolydata-java-problem/1169)

<div class="topic-metadata">

**Author:** [@naffrancois](https://discourse.vtk.org/u/naffrancois)\
**Replies:** 5\
**Last updated:** [June 19, 2019, 8:17pm UTC](https://discourse.vtk.org/t/vtkappendpolydata-java-problem/1169 "2019-06-19T20:17:13Z")

</div>

Dear all, I am new to using vtk, please accept my apologies for any silly question. I am using java on windows 10 64b platform and I am currently trying to append two vtk files having the same structure: unstructured gr…

---

## [distance along poly line (spline)](https://discourse.vtk.org/t/distance-along-poly-line-spline/1153)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 6\
**Last updated:** [June 19, 2019, 6:03pm UTC](https://discourse.vtk.org/t/distance-along-poly-line-spline/1153 "2019-06-19T18:03:22Z")

</div>

When you have a spline (many points, one poly line cell), is it possible to compute the distance along the spline for each point? If this is possible when creating the spline, that’d be best but I have attached an examp…

---

## [RangeMin and RangeMax of points coordinates](https://discourse.vtk.org/t/rangemin-and-rangemax-of-points-coordinates/1176)

<div class="topic-metadata">

**Author:** [@Tho](https://discourse.vtk.org/u/Tho)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 2:18pm UTC](https://discourse.vtk.org/t/rangemin-and-rangemax-of-points-coordinates/1176 "2019-06-19T14:18:30Z")

</div>

Hi, I have to create a “.vtp” file (xml file for polydata object) from a model of simulation. I have found some examples on the internet to understand the construction of this kind of file. However, I don’t understand “…

---

## [ActiViz/C# can't create a new vtkDataArray](https://discourse.vtk.org/t/activiz-c-cant-create-a-new-vtkdataarray/1170)

<div class="topic-metadata">

**Author:** [@lucasouto](https://discourse.vtk.org/u/lucasouto)\
**Replies:** 3\
**Last updated:** [June 19, 2019, 1:58pm UTC](https://discourse.vtk.org/t/activiz-c-cant-create-a-new-vtkdataarray/1170 "2019-06-19T13:58:42Z")

</div>

Hi, I’m trying to visualize a scalar field on an unstructured grid. I already managed to build and visualize an vtkUnstructuredGrid where Points and Cells where defined. Now I want to “plot” a scalar field on that grid… …

---

## [How do i color mapping nrrd files](https://discourse.vtk.org/t/how-do-i-color-mapping-nrrd-files/1171)

<div class="topic-metadata">

**Author:** [@Script\_K](https://discourse.vtk.org/u/Script_K)\
**Replies:** 1\
**Last updated:** [June 19, 2019, 5:17am UTC](https://discourse.vtk.org/t/how-do-i-color-mapping-nrrd-files/1171 "2019-06-19T05:17:22Z")

</div>

Hi there. I’m working on color mapping nrrd files. The language I use is Python. The nrrd file used is the three-dimensional data corresponding to the head of the person. I want to do color mapping on the coordinates…

---

## [VTK + QT CMake errors](https://discourse.vtk.org/t/vtk-qt-cmake-errors/1166)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 1\
**Last updated:** [June 18, 2019, 11:54am UTC](https://discourse.vtk.org/t/vtk-qt-cmake-errors/1166 "2019-06-18T11:54:03Z")

</div>

Built vtk and qt together with no errors twice. When creating my own project I get this ironic error: When trying to use a vtkQt example, CMake can never find vtk, even when correctly pointing to its dir with: cmake -…

---

## [Zoom behavior in parallel vs perspective projection (camera position)](https://discourse.vtk.org/t/zoom-behavior-in-parallel-vs-perspective-projection-camera-position/1148)

<div class="topic-metadata">

**Author:** [@scbiradar](https://discourse.vtk.org/u/scbiradar)\
**Replies:** 4\
**Last updated:** [June 18, 2019, 6:15am UTC](https://discourse.vtk.org/t/zoom-behavior-in-parallel-vs-perspective-projection-camera-position/1148 "2019-06-18T06:15:57Z")

</div>

I was trying to fix near plane clipping issues in the parallel projection mode. It is very easy to get into a scenario where, in the parallel projection mode, the camera is at a position where there are one or more actor…

---

## [VTK / Open VR Issue](https://discourse.vtk.org/t/vtk-open-vr-issue/1160)

<div class="topic-metadata">

**Author:** [@jamesmarine](https://discourse.vtk.org/u/jamesmarine)\
**Replies:** 1\
**Last updated:** [June 17, 2019, 2:17pm UTC](https://discourse.vtk.org/t/vtk-open-vr-issue/1160 "2019-06-17T14:17:57Z")

</div>

I am trying to use VTK Open VR to send my result files to HTC Vive Pro, the VR is working well for small result files. But when the result file is large (with more nodes and meshes) , the result rendering can not be show…

---

## [Shortest path with vtkDijkstraGraphGeodesicPath](https://discourse.vtk.org/t/shortest-path-with-vtkdijkstragraphgeodesicpath/1150)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 7:37pm UTC](https://discourse.vtk.org/t/shortest-path-with-vtkdijkstragraphgeodesicpath/1150 "2019-06-15T19:37:38Z")

</div>

Over in PyVista, we’re running into a slight bug when using the vtkDijkstraGraphGeodesicPath algorithm to calculate the geodesic path between two vertices on a surface mesh. When playing around with the algorithm, I happ…

---

## [function that returns the cell type name for a vtk cell type id?](https://discourse.vtk.org/t/function-that-returns-the-cell-type-name-for-a-vtk-cell-type-id/1147)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 9:35am UTC](https://discourse.vtk.org/t/function-that-returns-the-cell-type-name-for-a-vtk-cell-type-id/1147 "2019-06-15T09:35:47Z")

</div>

hi, I’m looking for a C++ function or static method that returns the cell type name (or the corresponding class name) given a vtk cell type id (for debugging messages). I seem to remember I have used a function like that…

---

## [Creating uniform rectilinear slice of 3D data](https://discourse.vtk.org/t/creating-uniform-rectilinear-slice-of-3d-data/1002)

<div class="topic-metadata">

**Author:** [@philipp](https://discourse.vtk.org/u/philipp)\
**Replies:** 5\
**Last updated:** [June 14, 2019, 10:08pm UTC](https://discourse.vtk.org/t/creating-uniform-rectilinear-slice-of-3d-data/1002 "2019-06-14T22:08:37Z")

</div>

Hi, I need to obtain arbitrary slices of 3D data. I need these slices to be rectilinear and uniform. I figured out that probing it with an appropriate input geometry would do the trick. Is there any simple way to creat…

---

## [cannot convert argument 1 from 'int (\_\_cdecl \*)(vtkMultiProcessController \*,void \*)' to 'vtkProcessFunctionType'](https://discourse.vtk.org/t/cannot-convert-argument-1-from-int-cdecl-vtkmultiprocesscontroller-void-to-vtkprocessfunctiontype/1083)

<div class="topic-metadata">

**Author:** [@Famous](https://discourse.vtk.org/u/Famous)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 1:32pm UTC](https://discourse.vtk.org/t/cannot-convert-argument-1-from-int-cdecl-vtkmultiprocesscontroller-void-to-vtkprocessfunctiontype/1083 "2019-06-14T13:32:47Z")

</div>

Hi All, I get the following error while building my VTK project error C2664: 'void vtkMultiProcessController::SetSingleMethod(vtkProcessFunctionType,void \*)': cannot convert argument 1 from 'int (\_\_cdecl \*)(vtkMultiPro…

---

## [vtk build issue in windows os](https://discourse.vtk.org/t/vtk-build-issue-in-windows-os/1106)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 4\
**Last updated:** [June 14, 2019, 12:16pm UTC](https://discourse.vtk.org/t/vtk-build-issue-in-windows-os/1106 "2019-06-14T12:16:31Z")

</div>

Hi, i was successfully able to build vtk with python wrappings on mac OS using the suggestion given by Dan Lipsa in https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060/5, however when i …

---

## [vtkActor OpenGL resources remain in memory](https://discourse.vtk.org/t/vtkactor-opengl-resources-remain-in-memory/1126)

<div class="topic-metadata">

**Author:** [@toiski](https://discourse.vtk.org/u/toiski)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 12:23pm UTC](https://discourse.vtk.org/t/vtkactor-opengl-resources-remain-in-memory/1126 "2019-06-13T12:23:58Z")

</div>

I am experiencing memory bloating when rendering vtkActors in a QQuickFrameBufferObject::Renderer. VTK is version 8.1.1 and Qt is version 5.12.3. It appears that every vtkActor’s texture and geometry remains in memory i…

---

## [place an actor relative to camera](https://discourse.vtk.org/t/place-an-actor-relative-to-camera/1130)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 11:03pm UTC](https://discourse.vtk.org/t/place-an-actor-relative-to-camera/1130 "2019-06-13T23:03:50Z")

</div>

hi, i have a stereo tracking camera, with the transformations i am getting from that camera i am applying the transform on vtk camera through SetUserViewTransform or SetModelTransformMatrix. i am getting the same result…

---

## [Update point in real time](https://discourse.vtk.org/t/update-point-in-real-time/1129)

<div class="topic-metadata">

**Author:** [@osamax](https://discourse.vtk.org/u/osamax)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 9:18pm UTC](https://discourse.vtk.org/t/update-point-in-real-time/1129 "2019-06-13T21:18:59Z")

</div>

Hi everyone, I’m very new to VTK. I’ve found it to be quite complicated but have been familiarizing myself by playing with the tutorial examples (in C++). The task I’m working on is to have a single point that changes …

---

## [How to speed up about loading CSV file?](https://discourse.vtk.org/t/how-to-speed-up-about-loading-csv-file/1111)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [June 12, 2019, 2:37am UTC](https://discourse.vtk.org/t/how-to-speed-up-about-loading-csv-file/1111 "2019-06-12T02:37:29Z")

</div>

Hi all! I have a question about loading the CSV file. I’m using the ‘vtkDelimitedTextReader’ class to read the CSV model file. The code is as below: vtkNew\<vtkDelimitedTextReader\> m\_vtkCSVReader; m\_vtkCSVReader-\>Set…

---

## [multiple polylines after vtkStripper](https://discourse.vtk.org/t/multiple-polylines-after-vtkstripper/1078)

<div class="topic-metadata">

**Author:** [@sbucc](https://discourse.vtk.org/u/sbucc)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 7:28pm UTC](https://discourse.vtk.org/t/multiple-polylines-after-vtkstripper/1078 "2019-06-10T19:28:40Z")

</div>

I’m using vtkCutter followed by vtkStripper to get the intersection of a mesh with a plane, and it always returns multiple segments. I can easily ignore the very tiny ones (1-3 points), but sometimes it produces longer p…

---

## [Mark points inside a closed surface with a scalar value](https://discourse.vtk.org/t/mark-points-inside-a-closed-surface-with-a-scalar-value/1105)

<div class="topic-metadata">

**Author:** [@carpemonf](https://discourse.vtk.org/u/carpemonf)\
**Replies:** 0\
**Last updated:** [June 9, 2019, 3:06pm UTC](https://discourse.vtk.org/t/mark-points-inside-a-closed-surface-with-a-scalar-value/1105 "2019-06-09T15:06:17Z")

</div>

Hi all, I want to assign a specific value for the cells enclosed inside a set of surfaces/contours. The filter “vtkSelectEnclosedPoints” creates a mask with values outside (mask value=0) or inside (mask value=1) the sur…

---

## [Using QVTKOpenGLWidget with vtkContextItem-derived class](https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092)

<div class="topic-metadata">

**Author:** [@Kevin\_Hall](https://discourse.vtk.org/u/Kevin_Hall)\
**Replies:** 5\
**Last updated:** [June 7, 2019, 8:50am UTC](https://discourse.vtk.org/t/using-qvtkopenglwidget-with-vtkcontextitem-derived-class/1092 "2019-06-07T08:50:13Z")

</div>

Hi, I’m really new to VTK and I’m in the process of both reading the VTK online book and also trying to get a simple Qt-based application using a vtkContextItem-derived class to draw to a vtkContext2D. Anyway, I’ve bee…

---

## [Extract a sub-mesh from its boundary](https://discourse.vtk.org/t/extract-a-sub-mesh-from-its-boundary/325)

<div class="topic-metadata">

**Author:** [@lmainguy](https://discourse.vtk.org/u/lmainguy)\
**Replies:** 3\
**Last updated:** [June 7, 2019, 2:25am UTC](https://discourse.vtk.org/t/extract-a-sub-mesh-from-its-boundary/325 "2019-06-07T02:25:47Z")

</div>

Hi, Let’s say I have a list of connected edges in a mesh enclosing a part of it (the sub-mesh). Let’s say also I have an heuristic giving me a vertex V in the sub-mesh. Now I’d like to select all the vertices “inside”…

---

## [vtkProcrustesAlignmentFilter fails for certain geometries](https://discourse.vtk.org/t/vtkprocrustesalignmentfilter-fails-for-certain-geometries/1090)

<div class="topic-metadata">

**Author:** [@tossin](https://discourse.vtk.org/u/tossin)\
**Replies:** 6\
**Last updated:** [June 7, 2019, 1:17am UTC](https://discourse.vtk.org/t/vtkprocrustesalignmentfilter-fails-for-certain-geometries/1090 "2019-06-07T01:17:02Z")

</div>

Hello all, I am trying to align two surfaces derived from medical images of patient blood vessels (actually, the same patient at two time points): Figure 1 Because of vessel remodeling i.e., dilation due to growth, …

---

## [Can not find vtkImageData::GetDirectionMatrix](https://discourse.vtk.org/t/can-not-find-vtkimagedata-getdirectionmatrix/1087)

<div class="topic-metadata">

**Author:** [@mfazampour](https://discourse.vtk.org/u/mfazampour)\
**Replies:** 2\
**Last updated:** [June 5, 2019, 2:52pm UTC](https://discourse.vtk.org/t/can-not-find-vtkimagedata-getdirectionmatrix/1087 "2019-06-05T14:52:31Z")

</div>

I want to read a .mhd file and send the data and its parameters (origin and orientation) using ROS to another node, but the compiler complains that there is no GetDirectionMatrix in vtkImageData class. It should be there…

---

## [Example C++ VolumeRendering SimpleRayCast](https://discourse.vtk.org/t/example-c-volumerendering-simpleraycast/1059)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 16\
**Last updated:** [June 5, 2019, 6:05am UTC](https://discourse.vtk.org/t/example-c-volumerendering-simpleraycast/1059 "2019-06-05T06:05:47Z")

</div>

I have run the sample code (SimpleRayCast). The build is successful, but SimpleRayCast.exe can not run using the command prompt. When “SimpleRayCast ironProt.vtk” is entered on the command prompt, errors occurs and ope…

---

## [How to get pixel coordinate from nrrd file.](https://discourse.vtk.org/t/how-to-get-pixel-coordinate-from-nrrd-file/1077)

<div class="topic-metadata">

**Author:** [@Script\_K](https://discourse.vtk.org/u/Script_K)\
**Replies:** 2\
**Last updated:** [June 4, 2019, 11:31pm UTC](https://discourse.vtk.org/t/how-to-get-pixel-coordinate-from-nrrd-file/1077 "2019-06-04T23:31:20Z")

</div>

Now I want to get coordinate and pixel value from nrrd file. but I don’t know how to access file’s information. My nrrd file has annotation Result (Like circle). How to get pixel coordinate from nrrd file. Help me pl…

---

## [C#/C++ packages for working with PACS](https://discourse.vtk.org/t/c-c-packages-for-working-with-pacs/1075)

<div class="topic-metadata">

**Author:** [@dmgroppe](https://discourse.vtk.org/u/dmgroppe)\
**Replies:** 3\
**Last updated:** [June 4, 2019, 1:50am UTC](https://discourse.vtk.org/t/c-c-packages-for-working-with-pacs/1075 "2019-06-04T01:50:18Z")

</div>

Hi Discourse-VTK, I am using VTK to work with dicom files and would like to make it possible for my app to directly search for and access dicom files directly from a hospital PACS server. Can anyone recommend a C#/C++ pa…

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

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