# Latest

**URL:** https://discourse.vtk.org/latest.md?page=246

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

**Page:** 247

---

## [Cannot modify frame rate for a video using vtkFFMPEGWriter class](https://discourse.vtk.org/t/cannot-modify-frame-rate-for-a-video-using-vtkffmpegwriter-class/1163)

<div class="topic-metadata">

**Author:** [@aravind90](https://discourse.vtk.org/u/aravind90)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 6:02pm UTC](https://discourse.vtk.org/t/cannot-modify-frame-rate-for-a-video-using-vtkffmpegwriter-class/1163 "2019-06-17T18:02:38Z")

</div>

I’m trying to save an animation using vtkFFMPEGWriter class and it outputs MJPG videos with a fixed frame rate of 600 frames/sec. I tried explicitly setting the frame rate by calling SetRate() method but it seems to igno…

---

## [Could vtkCookieCutter return the outside mesh?](https://discourse.vtk.org/t/could-vtkcookiecutter-return-the-outside-mesh/1152)

<div class="topic-metadata">

**Author:** [@borisb](https://discourse.vtk.org/u/borisb)\
**Replies:** 2\
**Last updated:** [June 17, 2019, 3:52pm UTC](https://discourse.vtk.org/t/could-vtkcookiecutter-return-the-outside-mesh/1152 "2019-06-17T15:52:23Z")

</div>

I wanted to use vtkCookieCutter for a project to cut a hole in a surface but for now, it’s only meant to return the mesh lying inside the given contour loop, while I wanted to opposite. I tried other filters like vtkClip…

---

## [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…

---

## [Rendering volume to fixed resolution output then rescale to window](https://discourse.vtk.org/t/rendering-volume-to-fixed-resolution-output-then-rescale-to-window/1156)

<div class="topic-metadata">

**Author:** [@klayman](https://discourse.vtk.org/u/klayman)\
**Replies:** 0\
**Last updated:** [June 17, 2019, 10:08am UTC](https://discourse.vtk.org/t/rendering-volume-to-fixed-resolution-output-then-rescale-to-window/1156 "2019-06-17T10:08:08Z")

</div>

Hello, how do I setup the volume mapper + render window (+ potential new nodes in the pipeline) to ensure I never use an output render target which is larger than a certain maximum width,height? I want to keep rendering …

---

## [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…

---

## [Missing entry in CDash](https://discourse.vtk.org/t/missing-entry-in-cdash/1145)

<div class="topic-metadata">

**Author:** [@mwestphal](https://discourse.vtk.org/u/mwestphal)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 1:12pm UTC](https://discourse.vtk.org/t/missing-entry-in-cdash/1145 "2019-06-14T13:12:02Z")

</div>

On my MR: https://gitlab.kitware.com/vtk/vtk/merge\_requests/5651 This build is complete: https://buildbot.kitware.com/grid?branch=LPTImprovements&category=vtk-expected But only a few are visible in cdash : https://open…

---

## [Unit Testing Approach VTK TDD](https://discourse.vtk.org/t/unit-testing-approach-vtk-tdd/1124)

<div class="topic-metadata">

**Author:** [@joe.maliszewski](https://discourse.vtk.org/u/joe.maliszewski)\
**Replies:** 4\
**Last updated:** [June 14, 2019, 12:33pm UTC](https://discourse.vtk.org/t/unit-testing-approach-vtk-tdd/1124 "2019-06-14T12:33:30Z")

</div>

I have current set up a unit testing framework with CMake and Google Tests with vtk and qt. I cant find much documentation or examples of how people are developing VTK applications with TDD. Problems I am finding: I…

---

## [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…

---

## [Problems when calling SupportsOpenGL with windows 10 and Intel HD Graphic (520, 530 and 630) graphics card](https://discourse.vtk.org/t/problems-when-calling-supportsopengl-with-windows-10-and-intel-hd-graphic-520-530-and-630-graphics-card/1133)

<div class="topic-metadata">

**Author:** [@SFischer](https://discourse.vtk.org/u/SFischer)\
**Replies:** 0\
**Last updated:** [June 14, 2019, 10:02am UTC](https://discourse.vtk.org/t/problems-when-calling-supportsopengl-with-windows-10-and-intel-hd-graphic-520-530-and-630-graphics-card/1133 "2019-06-14T10:02:35Z")

</div>

Hi I am using VTK 8.1 I call vtkRenderWindow::Render() and vtkRenderWindow::SupportsOpenGL() on the same view. With windows 10 and Intel HD Graphic (520, 530 and 630) graphics card this leads since a windows update a …

---

## [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 …

---

## [3d Reconstruction with spacial coordinates](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122)

<div class="topic-metadata">

**Author:** [@Onur\_GUZELDEMIRCI](https://discourse.vtk.org/u/Onur_GUZELDEMIRCI)\
**Replies:** 4\
**Last updated:** [June 13, 2019, 1:24pm UTC](https://discourse.vtk.org/t/3d-reconstruction-with-spacial-coordinates/1122 "2019-06-13T13:24:36Z")

</div>

I am trying to reconstruct a 3d medical image from 2d images with spacial coordinates. Can I Do? How can I do in VTK?

---

## [Bad regression testing](https://discourse.vtk.org/t/bad-regression-testing/1120)

<div class="topic-metadata">

**Author:** [@utkarshayachit](https://discourse.vtk.org/u/utkarshayachit)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 7:45am UTC](https://discourse.vtk.org/t/bad-regression-testing/1120 "2019-06-13T07:45:54Z")

</div>

I know we’ve discussed this one in the past, but I can’t remember what the conclusion was and hence I am posting this again. I am trying to add a test for ParaView for this issue and am failing to get the test framework…

---

## [View Shear with vtkGPUVolumeRayCastMapper](https://discourse.vtk.org/t/view-shear-with-vtkgpuvolumeraycastmapper/1114)

<div class="topic-metadata">

**Author:** [@Matthew\_Troke](https://discourse.vtk.org/u/Matthew_Troke)\
**Replies:** 3\
**Last updated:** [June 12, 2019, 6:37pm UTC](https://discourse.vtk.org/t/view-shear-with-vtkgpuvolumeraycastmapper/1114 "2019-06-12T18:37:43Z")

</div>

I’m working on a vtk application which generates oblique views (by turning parallel projection on and setting view shear in the camera) and discovered that vtkGPUVolumeRayCastMapper does not appear to handle cameras with…

---

## [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…

---

## [Adding and wrapping a custom namespace within VTK](https://discourse.vtk.org/t/adding-and-wrapping-a-custom-namespace-within-vtk/1099)

<div class="topic-metadata">

**Author:** [@agirault](https://discourse.vtk.org/u/agirault)\
**Replies:** 17\
**Last updated:** [June 11, 2019, 9:58pm UTC](https://discourse.vtk.org/t/adding-and-wrapping-a-custom-namespace-within-vtk/1099 "2019-06-11T21:58:27Z")

</div>

I’m currently working on adding orientation support to vtkImageData (more on Discourse and GitLab). While working on IO, I came up with this solution to define anatomical orientation, axis, to be able to get the transfo…

---

## [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…

---

## [Clipping planes with vtkOSPRayVolumeMapper](https://discourse.vtk.org/t/clipping-planes-with-vtkosprayvolumemapper/1102)

<div class="topic-metadata">

**Author:** [@jeffreyak](https://discourse.vtk.org/u/jeffreyak)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 11:51pm UTC](https://discourse.vtk.org/t/clipping-planes-with-vtkosprayvolumemapper/1102 "2019-06-07T23:51:32Z")

</div>

Hello, I was recently experimenting with the vtkOSPRayVolumeMapper with a vtkImage dataset and it appears that clipping planes (i.e., added with mapper-\>AddClippingPlane(myPlane)) are not respected / supported. Rather,…

---

## [Multipass filter](https://discourse.vtk.org/t/multipass-filter/1097)

<div class="topic-metadata">

**Author:** [@Felipe\_Bordeu](https://discourse.vtk.org/u/Felipe_Bordeu)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 12:49pm UTC](https://discourse.vtk.org/t/multipass-filter/1097 "2019-06-07T12:49:34Z")

</div>

Hi, I’m trying to port an old filter to the current version of paraview (vtk 8.2.0) but I’m having trouble finding the same functionalities. this is the main idea of the filter. The filter is an optimization algorithm c…

---

## [Updating Contour widget using QVTKInteractor](https://discourse.vtk.org/t/updating-contour-widget-using-qvtkinteractor/1094)

<div class="topic-metadata">

**Author:** [@sateesh](https://discourse.vtk.org/u/sateesh)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 9:52am UTC](https://discourse.vtk.org/t/updating-contour-widget-using-qvtkinteractor/1094 "2019-06-07T09:52:17Z")

</div>

Hi , As shown in vtkContour widget Example, i have created a contour. using actor point placer placed it on Image Actor. But after initializing the widget with polydata, im not able to use the Start() on interactor as…

---

## [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, …

---

## [How to properly use multiple QVTKOpenGLNativeWidgets](https://discourse.vtk.org/t/how-to-properly-use-multiple-qvtkopenglnativewidgets/1081)

<div class="topic-metadata">

**Author:** [@bschleimer](https://discourse.vtk.org/u/bschleimer)\
**Replies:** 2\
**Last updated:** [June 5, 2019, 6:06pm UTC](https://discourse.vtk.org/t/how-to-properly-use-multiple-qvtkopenglnativewidgets/1081 "2019-06-05T18:06:03Z")

</div>

Hi, I’m porting our system from vtk7.1.1 to 8.2 and have been encountering several annoying issues. We have multiple viewports each with a QVTKOpenGLNativeWidget. Rendering works okay (with some issues with alpha) but…

---

## [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…

[Previous page](https://discourse.vtk.org/latest.md?page=245)

[Next page](https://discourse.vtk.org/latest.md?page=247)
