# Latest

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

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

**Page:** 248

---

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

---

## [vtk8 is missing](https://discourse.vtk.org/t/vtk8-is-missing/1067)

<div class="topic-metadata">

**Author:** [@sourav0921](https://discourse.vtk.org/u/sourav0921)\
**Replies:** 4\
**Last updated:** [June 3, 2019, 4:27pm UTC](https://discourse.vtk.org/t/vtk8-is-missing/1067 "2019-06-03T16:27:43Z")

</div>

Hi, I installed VTK-8.2 in gnu server with cmake 3.14 using ccmake command. But after installation vtk8 is missing from usr/bin folder. Is this normal or there is some problem during installation?

---

## [VTK Decimation using MPI](https://discourse.vtk.org/t/vtk-decimation-using-mpi/1069)

<div class="topic-metadata">

**Author:** [@Famous](https://discourse.vtk.org/u/Famous)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 12:25pm UTC](https://discourse.vtk.org/t/vtk-decimation-using-mpi/1069 "2019-06-03T12:25:58Z")

</div>

Hi All, I have a list of vertices, normals and indices that define the triangles/facets of CAD file within an assembly. I want to decimate each CAD file in the assembly in parallel using MPI. Here is my workflow. C…

---

## [How to append output to XDMF file in a time-series simulation?](https://discourse.vtk.org/t/how-to-append-output-to-xdmf-file-in-a-time-series-simulation/1066)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.vtk.org/u/amit112amit)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 2:27pm UTC](https://discourse.vtk.org/t/how-to-append-output-to-xdmf-file-in-a-time-series-simulation/1066 "2019-06-02T14:27:02Z")

</div>

Hi. I noticed that vtkXdmf3Writer has WriteAllTimeSteps function. I have a simulation that updates a vtkPolyData as a function of time. But the program can run for several hours. So I want to keep writing out the vtkPol…

---

## [using vtk 8.2.0 with python wrappings with anaconda](https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 6\
**Last updated:** [May 31, 2019, 7:07pm UTC](https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060 "2019-05-31T19:07:43Z")

</div>

Hi, i built vtk with python wrappings successfully, when i go to bin in the build folder and run the vtkpython executable, it works properly with anaconda python version that i have given. when i open a new terminal wi…

---

## [vtk build issue with QT and python wrapping](https://discourse.vtk.org/t/vtk-build-issue-with-qt-and-python-wrapping/1053)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 7\
**Last updated:** [May 31, 2019, 4:34pm UTC](https://discourse.vtk.org/t/vtk-build-issue-with-qt-and-python-wrapping/1053 "2019-05-31T16:34:51Z")

</div>

hi, i was trying to build vtk with QT and python wrappings turned on. The build completed successfully and even installation, but when i do import vtk in python i get error Traceback (most recent call last): File “/an…

---

## [MPR with ResliceImageViewer](https://discourse.vtk.org/t/mpr-with-resliceimageviewer/1061)

<div class="topic-metadata">

**Author:** [@Marco\_Festugato](https://discourse.vtk.org/u/Marco_Festugato)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 1:13pm UTC](https://discourse.vtk.org/t/mpr-with-resliceimageviewer/1061 "2019-05-31T13:13:01Z")

</div>

Hello, I need to use the vtkResliceImageViewer to perform MPR. Do I have to create 3 different renderers in the same window in order to display axial, coronal and sagittal plane? How can I achieve that all 3 views share…

---

## [VTK standalone python installation](https://discourse.vtk.org/t/vtk-standalone-python-installation/1056)

<div class="topic-metadata">

**Author:** [@sourav0921](https://discourse.vtk.org/u/sourav0921)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 6:49am UTC](https://discourse.vtk.org/t/vtk-standalone-python-installation/1056 "2019-05-31T06:49:56Z")

</div>

Hi, Can anyone please tell me how to install the VTK standalone python. In the official page it is mentioned that after unrar I have to run it. But I not able to understand how to run it. Please help me

---

## [How to capture the window of a context view?](https://discourse.vtk.org/t/how-to-capture-the-window-of-a-context-view/1019)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.vtk.org/u/Andrew)\
**Replies:** 6\
**Last updated:** [May 31, 2019, 4:46am UTC](https://discourse.vtk.org/t/how-to-capture-the-window-of-a-context-view/1019 "2019-05-31T04:46:07Z")

</div>

I can’t seem to get vtkContextView to work with vtkWindowToImageFilter or vtkRenderLargeImage? I just get an corrupt png. Can anyone else? I saw something in the past on the forums on this with no solutions. But that was…

---

## [VTK Module Init error.](https://discourse.vtk.org/t/vtk-module-init-error/1015)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 7\
**Last updated:** [May 30, 2019, 11:46pm UTC](https://discourse.vtk.org/t/vtk-module-init-error/1015 "2019-05-30T23:46:44Z")

</div>

Hi all. I have a question about VTK\_MODULE\_INIT. My environment is as below: IDE: Visual Studio 2015 MFC (dialog based project) SDK: VTK 8.9 I have tested the sample code ‘LinePlot’. Link: https://lorensen.github.i…

---

## [building vtk8.2 with vtkdicom with python wrapping](https://discourse.vtk.org/t/building-vtk8-2-with-vtkdicom-with-python-wrapping/1045)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 3\
**Last updated:** [May 30, 2019, 1:34pm UTC](https://discourse.vtk.org/t/building-vtk8-2-with-vtkdicom-with-python-wrapping/1045 "2019-05-30T13:34:52Z")

</div>

hi, i am trying to build vtk version 8.2.0 with Module\_vtkDICOM : BOOL = ON from cmake gui with python wrappings, i have a few doubts, even though i have Module\_vtkDICOM : BOOL = ON in the cmake gui, when i run “make…

---

## [C++ Socket Problems](https://discourse.vtk.org/t/c-socket-problems/1049)

<div class="topic-metadata">

**Author:** [@tom](https://discourse.vtk.org/u/tom)\
**Replies:** 0\
**Last updated:** [May 30, 2019, 9:09am UTC](https://discourse.vtk.org/t/c-socket-problems/1049 "2019-05-30T09:09:29Z")

</div>

Hi, I’m trying to send vtk data over a very simple client/server interface using sockets. I’d like to use the vtk socket classes for this, but I can’t get them working. I’ve written a simple client program and a simple…

---

## [Touchscreen Pan Gesture](https://discourse.vtk.org/t/touchscreen-pan-gesture/1047)

<div class="topic-metadata">

**Author:** [@TravStu22](https://discourse.vtk.org/u/TravStu22)\
**Replies:** 3\
**Last updated:** [May 30, 2019, 12:38pm UTC](https://discourse.vtk.org/t/touchscreen-pan-gesture/1047 "2019-05-30T12:38:33Z")

</div>

I see indications in the documentation and online that there is touchscreen gesture recognition in VTK. However, I can’t seem to find detailed information on how to get this to work. Even when using the vtkInteractorStyl…

---

## [modify line color/width of ResliceCursorWidget](https://discourse.vtk.org/t/modify-line-color-width-of-reslicecursorwidget/1037)

<div class="topic-metadata">

**Author:** [@tom1](https://discourse.vtk.org/u/tom1)\
**Replies:** 1\
**Last updated:** [May 30, 2019, 11:51am UTC](https://discourse.vtk.org/t/modify-line-color-width-of-reslicecursorwidget/1037 "2019-05-30T11:51:41Z")

</div>

Dear community, what is the propper approach to modify the color and width of the center lines of a reslice cursor? I have noticed that vtkResliceCursorLineRepresentation provides access to the vtkResliceCursorActor, w…

---

## [Python socket sending and receiving](https://discourse.vtk.org/t/python-socket-sending-and-receiving/1035)

<div class="topic-metadata">

**Author:** [@tom](https://discourse.vtk.org/u/tom)\
**Replies:** 2\
**Last updated:** [May 30, 2019, 9:13am UTC](https://discourse.vtk.org/t/python-socket-sending-and-receiving/1035 "2019-05-30T09:13:59Z")

</div>

Hi, I’m trying to write a Python script that sends data over a vtk socket. I can’t work out how the Python bindings for the Send() and Receive() methods work. If I try and pass a python string as the first argument, I…

---

## [vtkEventData based classes are not Python-wrapped](https://discourse.vtk.org/t/vtkeventdata-based-classes-are-not-python-wrapped/1044)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [May 29, 2019, 9:55pm UTC](https://discourse.vtk.org/t/vtkeventdata-based-classes-are-not-python-wrapped/1044 "2019-05-29T21:55:26Z")

</div>

We would like to process virtual reality events in Python. However, event data is sent along with the event as a vtkEventDataDevice3D object (derived from vtkEventDataForDevice-\>vtkEventData-\>vtkObjectBase). (Edit: this…

---

## [Extract Cell and Point Id's from PolyData (not vtksource)](https://discourse.vtk.org/t/extract-cell-and-point-ids-from-polydata-not-vtksource/1024)

<div class="topic-metadata">

**Author:** [@TT\_McVey](https://discourse.vtk.org/u/TT_McVey)\
**Replies:** 4\
**Last updated:** [May 29, 2019, 6:15am UTC](https://discourse.vtk.org/t/extract-cell-and-point-ids-from-polydata-not-vtksource/1024 "2019-05-29T06:15:42Z")

</div>

Hello, I’ve searched for several days for the answer to this but if I missed an obvious answer then I apologize. Here is the setup for my issue. I am reading mesh data from and HDF5 file and assigning it to a vtkPolyD…

---

## [TIFF images flipped in vtkTIFFReader](https://discourse.vtk.org/t/tiff-images-flipped-in-vtktiffreader/1033)

<div class="topic-metadata">

**Author:** [@cryos](https://discourse.vtk.org/u/cryos)\
**Replies:** 2\
**Last updated:** [May 28, 2019, 10:59pm UTC](https://discourse.vtk.org/t/tiff-images-flipped-in-vtktiffreader/1033 "2019-05-28T22:59:42Z")

</div>

I have been looking into an issue with the vtkTIFFReader, and commit 84f9a173d81 made by @lorensen in 2014. The line that confuses me is: const bool flip = this-\>InternalImage-\>Orientation != ORIENTATION\_TOPLEFT; This …

---

## [vtkGlyph3DMapper with double precision as vtkGlyph3D?](https://discourse.vtk.org/t/vtkglyph3dmapper-with-double-precision-as-vtkglyph3d/1016)

<div class="topic-metadata">

**Author:** [@figueiredo](https://discourse.vtk.org/u/figueiredo)\
**Replies:** 5\
**Last updated:** [May 28, 2019, 10:11pm UTC](https://discourse.vtk.org/t/vtkglyph3dmapper-with-double-precision-as-vtkglyph3d/1016 "2019-05-28T22:11:17Z")

</div>

Hi there, My team has been trying to replace the filter vtkGlyph3D by its GPU version vtkGlyph3DMapper, but seems like the mapper version does not support large coordinates very well as the filter do. Since in our proje…

---

## [contour interpolation/resampling](https://discourse.vtk.org/t/contour-interpolation-resampling/1000)

<div class="topic-metadata">

**Author:** [@sbucc](https://discourse.vtk.org/u/sbucc)\
**Replies:** 6\
**Last updated:** [May 28, 2019, 4:03pm UTC](https://discourse.vtk.org/t/contour-interpolation-resampling/1000 "2019-05-28T16:03:34Z")

</div>

I’m completely new to vtk so bear with me if what I ask turns out to be incredibly easy for the expert user. Believe me, I’ve searched everywhere but I can’t find a way to do what I need. So here’s my problem: I have a …

---

## [Java Wrapping Error Win10 Visual Studio 2019](https://discourse.vtk.org/t/java-wrapping-error-win10-visual-studio-2019/1026)

<div class="topic-metadata">

**Author:** [@TheidenHD](https://discourse.vtk.org/u/TheidenHD)\
**Replies:** 3\
**Last updated:** [May 28, 2019, 1:39pm UTC](https://discourse.vtk.org/t/java-wrapping-error-win10-visual-studio-2019/1026 "2019-05-28T13:39:21Z")

</div>

When I try to Build the project I get the following Errors: 199\>C:\\Users\\Marko\\Downloads\\VTK-8.2.0\\VTK-8.2.0\\Rendering\\Core\\vtkProperty.h(469,17): error C2039: 'string': is not a member of 'std' 199\>C:\\Program Files (x…

---

## [Vtk data to Point Gaussian](https://discourse.vtk.org/t/vtk-data-to-point-gaussian/1018)

<div class="topic-metadata">

**Author:** [@Enemmi](https://discourse.vtk.org/u/Enemmi)\
**Replies:** 2\
**Last updated:** [May 28, 2019, 6:34am UTC](https://discourse.vtk.org/t/vtk-data-to-point-gaussian/1018 "2019-05-28T06:34:14Z")

</div>

Hello, I’m new with vtk, I would like to read a vtk file that contains coordinates and radii of spheres. In paraview, I am able to read it and make the data to be represented with Point Gaussian with the correct radius…

---

## [vtkMath::Jacobi: Error extracting eigenfunctions using vtkAbstractPicker](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-using-vtkabstractpicker/1013)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 1\
**Last updated:** [May 27, 2019, 7:45pm UTC](https://discourse.vtk.org/t/vtkmath-error-extracting-eigenfunctions-using-vtkabstractpicker/1013 "2019-05-27T19:45:28Z")

</div>

Hi again, I’m hitting a strange problem using vtkAbstractPicker. Specifically, when I initially load my render window and try to use the Pick method of a vtkAbstractPicker to get the 3D coordinates corresponding to a mo…

---

## [I don't know how to solve this VTK Method error](https://discourse.vtk.org/t/i-dont-know-how-to-solve-this-vtk-method-error/1029)

<div class="topic-metadata">

**Author:** [@Script\_K](https://discourse.vtk.org/u/Script_K)\
**Replies:** 1\
**Last updated:** [May 27, 2019, 3:30pm UTC](https://discourse.vtk.org/t/i-dont-know-how-to-solve-this-vtk-method-error/1029 "2019-05-27T15:30:27Z")

</div>

I am using VTK in Python now. And This is the first time I have been programming with Python. After outputting the 3D object, we want to output the cross section of the object using the AddClippingPlane function. Howev…

---

## [vtkScalarToRGBA Performance](https://discourse.vtk.org/t/vtkscalartorgba-performance/1014)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 5\
**Last updated:** [May 27, 2019, 2:52pm UTC](https://discourse.vtk.org/t/vtkscalartorgba-performance/1014 "2019-05-27T14:52:28Z")

</div>

I am loading a 2000 x 2000 8bpp texture through the vtkScalarToRGBA filter. The first render takes between 15 to 20 seconds to render. The interaction performance is great after that first render finishes. I stepped thro…

---

## [Is vtkStaticCellLocator::FindCell thread save?](https://discourse.vtk.org/t/is-vtkstaticcelllocator-findcell-thread-save/1027)

<div class="topic-metadata">

**Author:** [@lukas](https://discourse.vtk.org/u/lukas)\
**Replies:** 0\
**Last updated:** [May 27, 2019, 7:28am UTC](https://discourse.vtk.org/t/is-vtkstaticcelllocator-findcell-thread-save/1027 "2019-05-27T07:28:56Z")

</div>

Hi all, I am interested in using the FindCell method of the vtkStaticCellLocator from multiple threads. Is this save to do? In the VTK documentation I noticed, that the vtkDataSet also has a FindCell method with this i…

---

## [Gigabyte-large vtkUnstructuredGrid bottleneck.](https://discourse.vtk.org/t/gigabyte-large-vtkunstructuredgrid-bottleneck/1022)

<div class="topic-metadata">

**Author:** [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)\
**Replies:** 2\
**Last updated:** [May 24, 2019, 6:52pm UTC](https://discourse.vtk.org/t/gigabyte-large-vtkunstructuredgrid-bottleneck/1022 "2019-05-24T18:52:05Z")

</div>

Greetings, I’m building a large unstructured grid (a reservoir model) from a data set. The part below works super fast: // Create a VTK container with the points (mesh vertexes) vtkSmartPointer\< vtkPoints \> hexaPoints…

---

## [Geometry shader](https://discourse.vtk.org/t/geometry-shader/917)

<div class="topic-metadata">

**Author:** [@graphicsmonkey](https://discourse.vtk.org/u/graphicsmonkey)\
**Replies:** 2\
**Last updated:** [May 24, 2019, 6:29pm UTC](https://discourse.vtk.org/t/geometry-shader/917 "2019-05-24T18:29:17Z")

</div>

Hi, I’m working on a geometry shader and i’m having problems getting past a runtime error when i use layout( triangles\_adjacency ) in I’m not seeing the error when i use the following though layout( triangles ) in M…

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

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