# Latest

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

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

**Page:** 249

---

## [Commit 05f87557cd broke our app, causes pure red view](https://discourse.vtk.org/t/commit-05f87557cd-broke-our-app-causes-pure-red-view/950)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.vtk.org/u/seanm)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 8:03pm UTC](https://discourse.vtk.org/t/commit-05f87557cd-broke-our-app-causes-pure-red-view/950 "2019-05-23T20:03:13Z")

</div>

Hi all, Building our app against VTK master now results in all VTK views being pure opaque red instead of showing whatever they would normally show. We git bisected it to: commit 05f87557cd9fb6c20486398e2088fd70418276…

---

## [vtkPOpenFOAMReader reads wrong times](https://discourse.vtk.org/t/vtkpopenfoamreader-reads-wrong-times/1012)

<div class="topic-metadata">

**Author:** [@amel](https://discourse.vtk.org/u/amel)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 3:14pm UTC](https://discourse.vtk.org/t/vtkpopenfoamreader-reads-wrong-times/1012 "2019-05-23T15:14:08Z")

</div>

Dear devs, Good day to you. I have faced the following issue: vtkPOpenFOAMReader doesn’t read timestep directories of distributed OpenFOAM cases properly, when used in python. Namely, it always reads solutions with the …

---

## [vtkImageStack vs. vtkImageBlend](https://discourse.vtk.org/t/vtkimagestack-vs-vtkimageblend/1009)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 5:20pm UTC](https://discourse.vtk.org/t/vtkimagestack-vs-vtkimageblend/1009 "2019-05-23T17:20:23Z")

</div>

Hi VTK-experts, I would like to view the combination of two images (specifically two slices from a volume). It appears that I can do this with vtkImageStack or vtkImageBlend. Which class is preferable? thank you in adv…

---

## [2-D drawing](https://discourse.vtk.org/t/2-d-drawing/1010)

<div class="topic-metadata">

**Author:** [@Kevin\_Hall](https://discourse.vtk.org/u/Kevin_Hall)\
**Replies:** 2\
**Last updated:** [May 23, 2019, 3:11pm UTC](https://discourse.vtk.org/t/2-d-drawing/1010 "2019-05-23T15:11:43Z")

</div>

I’m investigating using VTK for some 3-d model animations, but the application I’m working on also needs a 2-d drawing area with ability to draw straight lines, points, and text. Does VTK easily support this type of 2-d…

---

## [vtkBillboardTextActor3D text always renders behind raycast volume](https://discourse.vtk.org/t/vtkbillboardtextactor3d-text-always-renders-behind-raycast-volume/983)

<div class="topic-metadata">

**Author:** [@msmerps](https://discourse.vtk.org/u/msmerps)\
**Replies:** 3\
**Last updated:** [May 23, 2019, 1:11pm UTC](https://discourse.vtk.org/t/vtkbillboardtextactor3d-text-always-renders-behind-raycast-volume/983 "2019-05-23T13:11:40Z")

</div>

Hi all, I’m trying to use vtkBillboardTextActor3D to create some text labels for objects in a raycast volume. The text renders at the correct location. However, when I rotate the volume such that the text should be in f…

---

## [vtk headless for testing](https://discourse.vtk.org/t/vtk-headless-for-testing/1006)

<div class="topic-metadata">

**Author:** [@nschloe](https://discourse.vtk.org/u/nschloe)\
**Replies:** 0\
**Last updated:** [May 22, 2019, 6:58am UTC](https://discourse.vtk.org/t/vtk-headless-for-testing/1006 "2019-05-22T06:58:17Z")

</div>

I have a simple VTK Python code that plots a tetrahedron: # plot a tetrahedron import numpy import vtk node\_coords = numpy.array( \[ \[1.0, 0.0, -1.0 / numpy.sqrt(8)\], \[-0.5, +numpy.sqrt(3.0) / 2.0, -…

---

## [Layered Renderers Do Not Render In Correct Order](https://discourse.vtk.org/t/layered-renderers-do-not-render-in-correct-order/1003)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 2\
**Last updated:** [May 22, 2019, 2:37am UTC](https://discourse.vtk.org/t/layered-renderers-do-not-render-in-correct-order/1003 "2019-05-22T02:37:12Z")

</div>

When using VTK C++ I was able to establish the rendering order of layered renderers (3 separate renderers) by using the SetLayer function of the vtkRenderer objects and SetNumberOfLayers on the vtkRenderWindow object. Wh…

---

## [vtkXMLPolyDataReader Texture Coordinates](https://discourse.vtk.org/t/vtkxmlpolydatareader-texture-coordinates/989)

<div class="topic-metadata">

**Author:** [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)\
**Replies:** 10\
**Last updated:** [May 21, 2019, 6:21pm UTC](https://discourse.vtk.org/t/vtkxmlpolydatareader-texture-coordinates/989 "2019-05-21T18:21:30Z")

</div>

I am reading a .vtp file using HttpDataAccessHelper and vtkXMLPolyDataReader, but the texture coordinates don’t appear to be in the polydata. I am able to open the .vtp and add the texture in Paraview so I know the textu…

---

## [OpenGLGPUVolumeRayCastMapper : rendering is not working](https://discourse.vtk.org/t/openglgpuvolumeraycastmapper-rendering-is-not-working/967)

<div class="topic-metadata">

**Author:** [@CNA](https://discourse.vtk.org/u/CNA)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 1:04pm UTC](https://discourse.vtk.org/t/openglgpuvolumeraycastmapper-rendering-is-not-working/967 "2019-05-21T13:04:13Z")

</div>

Hi everyone, I’m working on replace the vtkFixedPointVolumeRayCastMapper with the vtkOpenGLGPUVolumeRayCastMapper and I found something weird. First of all you have to know that i’m doing some transformations on the vt…

---

## [vtkRenderWindow with javax.swing](https://discourse.vtk.org/t/vtkrenderwindow-with-javax-swing/995)

<div class="topic-metadata">

**Author:** [@TheidenHD](https://discourse.vtk.org/u/TheidenHD)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 12:38pm UTC](https://discourse.vtk.org/t/vtkrenderwindow-with-javax-swing/995 "2019-05-21T12:38:49Z")

</div>

I have an animated vtkRenderWindow with vtkRenderWindowInteractor in Java. The animated Objekt is a Funktion witch changes over time. Now I have to implement some buttons and text fields to change the values of the Funkt…

---

## [problem accessing vtkPolyData info from vtkTransformPolyDataFilter](https://discourse.vtk.org/t/problem-accessing-vtkpolydata-info-from-vtktransformpolydatafilter/992)

<div class="topic-metadata">

**Author:** [@Michele](https://discourse.vtk.org/u/Michele)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 5:57pm UTC](https://discourse.vtk.org/t/problem-accessing-vtkpolydata-info-from-vtktransformpolydatafilter/992 "2019-05-20T17:57:40Z")

</div>

Hi everybody. I was using VTK 5.10 and decided to move to newer version. I found that there was a Migration/Replacement of SetInput and modified accordingly my code. In terms of Polydata visualization, everything works…

---

## [Preventing duplication of algorithm output data for timeseries, using vtkDataObject::DATA\_TIME\_STEP](https://discourse.vtk.org/t/preventing-duplication-of-algorithm-output-data-for-timeseries-using-vtkdataobject-data-time-step/994)

<div class="topic-metadata">

**Author:** [@kvankooten](https://discourse.vtk.org/u/kvankooten)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 5:06pm UTC](https://discourse.vtk.org/t/preventing-duplication-of-algorithm-output-data-for-timeseries-using-vtkdataobject-data-time-step/994 "2019-05-20T17:06:48Z")

</div>

I’ve come across an issue which has cropped up a number of times in cases where I had to make a conversion between in-memory VTK graphics class instances and an external graphics format that mirrors those VTK class insta…

---

## [Colors of vtkAnnotatedCubeActor faces (with vtkOrientationMarkerWidget)](https://discourse.vtk.org/t/colors-of-vtkannotatedcubeactor-faces-with-vtkorientationmarkerwidget/934)

<div class="topic-metadata">

**Author:** [@Marco](https://discourse.vtk.org/u/Marco)\
**Replies:** 8\
**Last updated:** [May 18, 2019, 10:34pm UTC](https://discourse.vtk.org/t/colors-of-vtkannotatedcubeactor-faces-with-vtkorientationmarkerwidget/934 "2019-05-18T22:34:22Z")

</div>

Hi all. In my VTK 3D scene, I am using a vtkOrientationMarkerWidget which in turn uses a vtkAnnotatedCubeActor as the widget’s vtkProp. I have an apparently-trivial question: how to customize the colors of this cube’s …

---

## [QVTKOpenGLWidget: simple animation does not work in a repository version of VTK.](https://discourse.vtk.org/t/qvtkopenglwidget-simple-animation-does-not-work-in-a-repository-version-of-vtk/988)

<div class="topic-metadata">

**Author:** [@sdobashi](https://discourse.vtk.org/u/sdobashi)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 1:32am UTC](https://discourse.vtk.org/t/qvtkopenglwidget-simple-animation-does-not-work-in-a-repository-version-of-vtk/988 "2019-05-20T01:32:01Z")

</div>

Hello everyone, A simple animation like “rotating cone” (VTK\\Examples\\Tutorial\\Step1\\Cxx\\Cone.cxx) does not properly work in a recent repository version of VTK if I use QVTKOpenGLWidget, while it properly works in VTK…

---

## [Texture + Poly Data with UVs from PolyData with Scalars](https://discourse.vtk.org/t/texture-poly-data-with-uvs-from-polydata-with-scalars/980)

<div class="topic-metadata">

**Author:** [@Andrew](https://discourse.vtk.org/u/Andrew)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 1:02am UTC](https://discourse.vtk.org/t/texture-poly-data-with-uvs-from-polydata-with-scalars/980 "2019-05-18T01:02:51Z")

</div>

Does VTK have a filter that will accept vtkPolyData input with scalars and output vtkPolyData with UV coordinates + vtkImageData texture mapped from the scalars? If so what is it called? I have not been able to find such…

---

## [vtkProbeFilter uses vtkStaticCellLocator::FindCell which produces different results than vtkDataSet::FindCell](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984)

<div class="topic-metadata">

**Author:** [@psandana](https://discourse.vtk.org/u/psandana)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 6:46pm UTC](https://discourse.vtk.org/t/vtkprobefilter-uses-vtkstaticcelllocator-findcell-which-produces-different-results-than-vtkdataset-findcell/984 "2019-05-17T18:46:39Z")

</div>

Hi, I found that vtkProbeFilter, since vtk8.2 uses by default a vtkStaticCellLocator. That breaks some of my tests. So I propose either of these two options: Modify vtkStaticCellLocator::FindCell() to use the this-\>Da…

---

## [Question about vtkChartXY](https://discourse.vtk.org/t/question-about-vtkchartxy/981)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 7:35am UTC](https://discourse.vtk.org/t/question-about-vtkchartxy/981 "2019-05-17T07:35:19Z")

</div>

Hi all. I have a question about the properties of the vtkChartXY. Question1) I want to change the color of the axis’s label. I think the ① is the ‘label’, and ② is the ‘title’. So, I tried to test the code as belo…

---

## [Java Wrapping in Windows](https://discourse.vtk.org/t/java-wrapping-in-windows/956)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 15\
**Last updated:** [May 17, 2019, 5:27am UTC](https://discourse.vtk.org/t/java-wrapping-in-windows/956 "2019-05-17T05:27:12Z")

</div>

Is anyone having trouble building Java wrapping in Windows? I think this commit Add glTF reader and importer (Mon, 8 April2019 19:25) is the culprit: b377cf79ccbd272ce7d4d508d5f6fc53f57d5f42 I’m using VTK 8.90 Java JDK…

---

## [Where is the vtkContextView header file?](https://discourse.vtk.org/t/where-is-the-vtkcontextview-header-file/977)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 12:38am UTC](https://discourse.vtk.org/t/where-is-the-vtkcontextview-header-file/977 "2019-05-17T00:38:18Z")

</div>

Hi all. I have a question about vtkContextView. environment SDK: VTK 8.9 IDE: Visual Studio 2015 OS: Windows 7 x64 I want to run the Line plot sample code. But the compiler can’t find vtkContextView header file. …

---

## [Multi-configuration from installed VTK](https://discourse.vtk.org/t/multi-configuration-from-installed-vtk/978)

<div class="topic-metadata">

**Author:** [@Sunderlandkyl](https://discourse.vtk.org/u/Sunderlandkyl)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 8:55pm UTC](https://discourse.vtk.org/t/multi-configuration-from-installed-vtk/978 "2019-05-16T20:55:25Z")

</div>

Hi all, Recently we’ve found that our current setup in Plus is unable to support multi-configuration builds with installed VTK. Is there a way to set up our CMake so that this is possible? (Related Plus issue.) @lass…

---

## [weird behaviour for a vtkimagereslice image to render in the full viewport](https://discourse.vtk.org/t/weird-behaviour-for-a-vtkimagereslice-image-to-render-in-the-full-viewport/973)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 1\
**Last updated:** [May 16, 2019, 10:05am UTC](https://discourse.vtk.org/t/weird-behaviour-for-a-vtkimagereslice-image-to-render-in-the-full-viewport/973 "2019-05-16T10:05:06Z")

</div>

Hi everybody, I would like to render the image with maximum zoom to the full viewport. I am using \[ vtkImageResliceViewer which has the same problem as vtkimageViewer2. For the axial image obtained by default i use the…

---

## [VTK\_MODULE\_INIT help](https://discourse.vtk.org/t/vtk-module-init-help/972)

<div class="topic-metadata">

**Author:** [@langer](https://discourse.vtk.org/u/langer)\
**Replies:** 3\
**Last updated:** [May 16, 2019, 12:58am UTC](https://discourse.vtk.org/t/vtk-module-init-help/972 "2019-05-16T00:58:20Z")

</div>

Hi – I have a C++ project that doesn’t use cmake, so vtk modules are loaded by explicitly listing the libraries in the linker arguments and using VTK\_MODULE\_INIT calls in the code. What is the best way to figure out wh…

---

## [How to change the color of the Point Cloud Data?](https://discourse.vtk.org/t/how-to-change-the-color-of-the-point-cloud-data/942)

<div class="topic-metadata">

**Author:** [@Kim\_William](https://discourse.vtk.org/u/Kim_William)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 11:53pm UTC](https://discourse.vtk.org/t/how-to-change-the-color-of-the-point-cloud-data/942 "2019-05-15T23:53:38Z")

</div>

Hi all. This is my 2nd question about VTK! :slight\_smile: Last time, I have inquired on loading the PLY file. link: https://discourse.vtk.org/t/the-ply-file-is-not-working/924 I can change the color of Point Cloud Da…

---

## [Add Word Cloud to InfoVis](https://discourse.vtk.org/t/add-word-cloud-to-infovis/976)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 10:32pm UTC](https://discourse.vtk.org/t/add-word-cloud-to-infovis/976 "2019-05-15T22:32:46Z")

</div>

Folks, As I reported earlier, I add a Word Cloud example to the VTKExamples Project.. Now, I plan to add a vtkWordCloud class InfoVis/Core. I think it will be a useful addition for presentations. For example, I wrot…

---

## [Advice required: is VTK the right choice for my application?](https://discourse.vtk.org/t/advice-required-is-vtk-the-right-choice-for-my-application/893)

<div class="topic-metadata">

**Author:** [@jean](https://discourse.vtk.org/u/jean)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 7:51pm UTC](https://discourse.vtk.org/t/advice-required-is-vtk-the-right-choice-for-my-application/893 "2019-05-15T19:51:53Z")

</div>

Hi everyone. First post here. I am about to develop a huge application to visualize 3D datasets from different technologies, and I am wondering if I could get some advice to make sure that VTK is the right choice for wh…

---

## [Separate "Support" topics: Advanced vs. General Use](https://discourse.vtk.org/t/separate-support-topics-advanced-vs-general-use/975)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 5\
**Last updated:** [May 15, 2019, 7:51pm UTC](https://discourse.vtk.org/t/separate-support-topics-advanced-vs-general-use/975 "2019-05-15T19:51:37Z")

</div>

It seems to me like there is a wide spread of questions under the “Support” topic - it often gets a bit overwhelming to sift through all the posts as there are questions posed from expert VTK users about some crazy compl…

---

## [How to print a list of vertices' location and IDs using python?](https://discourse.vtk.org/t/how-to-print-a-list-of-vertices-location-and-ids-using-python/965)

<div class="topic-metadata">

**Author:** [@Wenye\_He](https://discourse.vtk.org/u/Wenye_He)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 6:30pm UTC](https://discourse.vtk.org/t/how-to-print-a-list-of-vertices-location-and-ids-using-python/965 "2019-05-15T18:30:27Z")

</div>

Hello, I am new to VTK. I want to print a list of vertices’ location and IDs from an imported mesh. For a list of vertices, I have to loop “GetPoint(i)”…? For a list of IDs, “GetPointIds” return the list of point ids…

---

## [Applying lighting to texture](https://discourse.vtk.org/t/applying-lighting-to-texture/694)

<div class="topic-metadata">

**Author:** [@graphicsmonkey](https://discourse.vtk.org/u/graphicsmonkey)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 2:16am UTC](https://discourse.vtk.org/t/applying-lighting-to-texture/694 "2019-05-15T02:16:59Z")

</div>

In a previous project we used a OpenGL fragment shader to apply lighting effect to an input texture. E.g. the final color of the fragment was the source texture multiplied by the lighting value calculated in the fragment…

---

## [SetOpacity on Actor2D](https://discourse.vtk.org/t/setopacity-on-actor2d/963)

<div class="topic-metadata">

**Author:** [@Marcel\_Santos](https://discourse.vtk.org/u/Marcel_Santos)\
**Replies:** 0\
**Last updated:** [May 15, 2019, 12:13am UTC](https://discourse.vtk.org/t/setopacity-on-actor2d/963 "2019-05-15T00:13:09Z")

</div>

Hello, I often use actor-\>GetProperty()-\>SetOpacity(opacity); with the standard vtkActor. However, I notice that whenever I try to call the same method to set the opacity of vtkActor2D’s, it turns out that there is no…

---

## [Detect and extract disjoint portions of the dataset](https://discourse.vtk.org/t/detect-and-extract-disjoint-portions-of-the-dataset/959)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.vtk.org/u/amit112amit)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 8:20pm UTC](https://discourse.vtk.org/t/detect-and-extract-disjoint-portions-of-the-dataset/959 "2019-05-14T20:20:06Z")

</div>

Hi. I have a 3D surface mesh (unstructured grid) with periodic boundary conditions as shown below: I clipped it using the scalar values and got four separated domains: In this pictures there are four domains in 4 …

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

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