# Development

**URL:** https://discourse.vtk.org/c/development/7.md?page=49

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

**Page:** 50

---

## [bug for QVTKWidget with Qt5.9 and VTK8.0](https://discourse.vtk.org/t/bug-for-qvtkwidget-with-qt5-9-and-vtk8-0/1457)

<div class="topic-metadata">

**Author:** [@pbazavan](https://discourse.vtk.org/u/pbazavan)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 2:26pm UTC](https://discourse.vtk.org/t/bug-for-qvtkwidget-with-qt5-9-and-vtk8-0/1457 "2019-08-01T14:26:51Z")

</div>

I have a bug when displaying a simple 3D vtk object in a Qt window using QVTKWidget. Hidden surfaces and visible surfaces are not well rendered. I’m using Qt 5.9 and VTK 8.0 on an Ubuntu system. Information on my compu…

---

## [superpose multi-Volume](https://discourse.vtk.org/t/superpose-multi-volume/1458)

<div class="topic-metadata">

**Author:** [@Moun](https://discourse.vtk.org/u/Moun)\
**Replies:** 1\
**Last updated:** [August 1, 2019, 2:23pm UTC](https://discourse.vtk.org/t/superpose-multi-volume/1458 "2019-08-01T14:23:51Z")

</div>

Hello, I need to show multi-volume in the same render. But, I can’t superpose them. How can I do that, please?

---

## [Color individual vtkCells](https://discourse.vtk.org/t/color-individual-vtkcells/1465)

<div class="topic-metadata">

**Author:** [@Aramos](https://discourse.vtk.org/u/Aramos)\
**Replies:** 0\
**Last updated:** [August 1, 2019, 7:50am UTC](https://discourse.vtk.org/t/color-individual-vtkcells/1465 "2019-08-01T07:50:18Z")

</div>

Hi! I’m working with complex 3D models which I color with a vtkLookupTable, using their point data. This is working just fine, but now I need a way to highlight individual vtkCells by clicking them on the vtkRenderer. …

---

## [Update information of the topic "Error GLSL 1.50 is not supported"](https://discourse.vtk.org/t/update-information-of-the-topic-error-glsl-1-50-is-not-supported/1450)

<div class="topic-metadata">

**Author:** [@pbazavan](https://discourse.vtk.org/u/pbazavan)\
**Replies:** 0\
**Last updated:** [July 30, 2019, 1:10pm UTC](https://discourse.vtk.org/t/update-information-of-the-topic-error-glsl-1-50-is-not-supported/1450 "2019-07-30T13:10:49Z")

</div>

Hello everybody, I come back to the topic “Error: GLSL 1.50 is not supported”. The error “GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES” is generated when the context OpenGL…

---

## [Error: 0 connections](https://discourse.vtk.org/t/error-0-connections/1435)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 12:56pm UTC](https://discourse.vtk.org/t/error-0-connections/1435 "2019-07-30T12:56:05Z")

</div>

Hello, I am trying to create a silhouette which highlights a box. I create a box with the standard lines of code, using vtkCubeSource, …, and vtkActor. 664 silhouette = vtk.vtkPolyDataSilhouette() 665 s…

---

## [compress model with texture](https://discourse.vtk.org/t/compress-model-with-texture/1434)

<div class="topic-metadata">

**Author:** [@xuexl](https://discourse.vtk.org/u/xuexl)\
**Replies:** 0\
**Last updated:** [July 29, 2019, 12:52am UTC](https://discourse.vtk.org/t/compress-model-with-texture/1434 "2019-07-29T00:52:38Z")

</div>

we have a model with texture of a building, but it is so big, so we want to compress it, then view in the web page or for LOD. i find vtkQuadricDecimation can compress mesh, but no texture, we nedd mesh with texture,…

---

## [Transformation and Position of Two Actors](https://discourse.vtk.org/t/transformation-and-position-of-two-actors/1417)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 2\
**Last updated:** [July 26, 2019, 11:21am UTC](https://discourse.vtk.org/t/transformation-and-position-of-two-actors/1417 "2019-07-26T11:21:54Z")

</div>

Hello, I have an actor and it has been transformed in 3D space. It has been rotated and translated. It is somewhere in 3D space. I have a second actor and I want it to be in the same position and orientation as the firs…

---

## [PropPicker does not work for ViewProps anymore](https://discourse.vtk.org/t/proppicker-does-not-work-for-viewprops-anymore/1413)

<div class="topic-metadata">

**Author:** [@cvandijck](https://discourse.vtk.org/u/cvandijck)\
**Replies:** 2\
**Last updated:** [July 26, 2019, 9:10am UTC](https://discourse.vtk.org/t/proppicker-does-not-work-for-viewprops-anymore/1413 "2019-07-26T09:10:16Z")

</div>

Hi, In VTK 8.2, the PropPicker, which uses the renderers pick method, changed to use the hardware selector. It seems this selector does not work for general Props like an ImageActor. This means that the general PropPick…

---

## [matlab martix to vtkMatrix4x4](https://discourse.vtk.org/t/matlab-martix-to-vtkmatrix4x4/1419)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 5\
**Last updated:** [July 25, 2019, 6:16pm UTC](https://discourse.vtk.org/t/matlab-martix-to-vtkmatrix4x4/1419 "2019-07-25T18:16:13Z")

</div>

Hello, I have an existing matlab.double(\[1, 0, 0, 0\], \[0, 1, 0, 0\], \[0, 0, 1, 0\], \[0, 0, 0, 1\]) matlab matrix. I would like to turn it into a vtkMatrix4x4 so I can use it as an argument in PokeMatrix to transform a seco…

---

## [vtkStaticCellLinks, vtkStaticPointLocator, vtkStaticCellLocator - speed improvements](https://discourse.vtk.org/t/vtkstaticcelllinks-vtkstaticpointlocator-vtkstaticcelllocator-speed-improvements/1333)

<div class="topic-metadata">

**Author:** [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)\
**Replies:** 11\
**Last updated:** [July 24, 2019, 4:12pm UTC](https://discourse.vtk.org/t/vtkstaticcelllinks-vtkstaticpointlocator-vtkstaticcelllocator-speed-improvements/1333 "2019-07-24T16:12:40Z")

</div>

Background: Over the past few years there have been substantial speed improvements due to the addition of systems like vtk-m and vtkSMPTools. Additionally, C++11 constructs like std::atomic provide facilities for multith…

---

## [Preservation of cut plane(vtkImplicitPlaneWidget2)](https://discourse.vtk.org/t/preservation-of-cut-plane-vtkimplicitplanewidget2/1394)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 6\
**Last updated:** [July 23, 2019, 1:27am UTC](https://discourse.vtk.org/t/preservation-of-cut-plane-vtkimplicitplanewidget2/1394 "2019-07-23T01:27:21Z")

</div>

Hi, I am improving tkImplicitPlaneWidget2. For example, I want to be able to save to my file by pressing a specific key after selecting the cutting plane. Is it technically possible to save the cutting plane as a 2D i…

---

## [dotted line example does not work](https://discourse.vtk.org/t/dotted-line-example-does-not-work/1397)

<div class="topic-metadata">

**Author:** [@marcomusy](https://discourse.vtk.org/u/marcomusy)\
**Replies:** 2\
**Last updated:** [July 22, 2019, 1:01pm UTC](https://discourse.vtk.org/t/dotted-line-example-does-not-work/1397 "2019-07-22T13:01:49Z")

</div>

Hi This example doesn’t seem to work anymore… https://vtk.org/Wiki/VTK/Examples/Python/DottedLine has something changed?

---

## [Visualization of cutting plane angle (vtkImplicitPlaneWidget2)](https://discourse.vtk.org/t/visualization-of-cutting-plane-angle-vtkimplicitplanewidget2/1372)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 2\
**Last updated:** [July 19, 2019, 8:31am UTC](https://discourse.vtk.org/t/visualization-of-cutting-plane-angle-vtkimplicitplanewidget2/1372 "2019-07-19T08:31:25Z")

</div>

Hi, I am using vtkImplicitPlaneWidget2. I want to know the angle and coordinates of the cutting plane after mouse operation. How can I know the angles and coordinates? Please let me know if you know. @dgobbi

---

## [Building VTK with CMake 3.15](https://discourse.vtk.org/t/building-vtk-with-cmake-3-15/1370)

<div class="topic-metadata">

**Author:** [@amaclean](https://discourse.vtk.org/u/amaclean)\
**Replies:** 3\
**Last updated:** [July 18, 2019, 10:57pm UTC](https://discourse.vtk.org/t/building-vtk-with-cmake-3-15/1370 "2019-07-18T22:57:23Z")

</div>

The build fails with: CMake Error at Common/Core/CMakeLists.txt:442 (check\_symbol\_exists): Unknown CMake command "check\_symbol\_exists". The fix is to add: include(CheckSymbolExists) However should this be added to …

---

## [GLFTImporter example added to VTKExamples](https://discourse.vtk.org/t/glftimporter-example-added-to-vtkexamples/1356)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 7\
**Last updated:** [July 18, 2019, 8:29am UTC](https://discourse.vtk.org/t/glftimporter-example-added-to-vtkexamples/1356 "2019-07-18T08:29:34Z")

</div>

Folks, I’ve added a new example, GLFTImporter to the VTK Examples Project. glTF (derivative short form of GL Transmission Format) is a file format for 3D scenes and models using the JSON standard. There are a few issue…

---

## [vtkActor2D not always displayed on screen](https://discourse.vtk.org/t/vtkactor2d-not-always-displayed-on-screen/1374)

<div class="topic-metadata">

**Author:** [@Aramos](https://discourse.vtk.org/u/Aramos)\
**Replies:** 0\
**Last updated:** [July 18, 2019, 7:58am UTC](https://discourse.vtk.org/t/vtkactor2d-not-always-displayed-on-screen/1374 "2019-07-18T07:58:29Z")

</div>

Hi all, I’m working on a project where I can interact with different 3D models, one per vtkRenderer (a maximum of 4 vtkRenderers can be opened/loaded with models in the vtkRenderWindow, splitting the screen/RenderWindow…

---

## [Multiple render window interaction/synchronization in vtk](https://discourse.vtk.org/t/multiple-render-window-interaction-synchronization-in-vtk/1360)

<div class="topic-metadata">

**Author:** [@aish](https://discourse.vtk.org/u/aish)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 7:06am UTC](https://discourse.vtk.org/t/multiple-render-window-interaction-synchronization-in-vtk/1360 "2019-07-17T07:06:29Z")

</div>

Hi, Similar questions have been asked multiple time in the past but I couldn’t find a proper answer to this issue. I am trying to implement the 4 panes view thing (axial, coronal, sagittal and 3D(surface render)) usin…

---

## [Error about AddViewProp](https://discourse.vtk.org/t/error-about-addviewprop/1352)

<div class="topic-metadata">

**Author:** [@Moun](https://discourse.vtk.org/u/Moun)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 1:57pm UTC](https://discourse.vtk.org/t/error-about-addviewprop/1352 "2019-07-16T13:57:15Z")

</div>

Hello VTK experts, I am new and I would like to develop a volume in 3D. In cases, I have used the addviewprop. Unfortunately, I have a crash when i used this function and I couldn’t solve this problem. This is my erro…

---

## [Adding texture on the image](https://discourse.vtk.org/t/adding-texture-on-the-image/1346)

<div class="topic-metadata">

**Author:** [@lovetoV\_T\_K](https://discourse.vtk.org/u/lovetoV_T_K)\
**Replies:** 0\
**Last updated:** [July 16, 2019, 5:31am UTC](https://discourse.vtk.org/t/adding-texture-on-the-image/1346 "2019-07-16T05:31:42Z")

</div>

Hi I am using VTK 8.2.0 on windows. I have build the VTK source to build folder. I need to add texture on the image. i have used the attached source code for that. its compiling without any error. When i run the applica…

---

## [Chaning the size of vtkCaptionActor2D caption](https://discourse.vtk.org/t/chaning-the-size-of-vtkcaptionactor2d-caption/1338)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 1\
**Last updated:** [July 15, 2019, 6:06pm UTC](https://discourse.vtk.org/t/chaning-the-size-of-vtkcaptionactor2d-caption/1338 "2019-07-15T18:06:48Z")

</div>

Hello, I am using vtkCaptionActor2D to label objects and the text is too big. Is there a way to change the size of the text? Correct me if I am wrong but I am quite sure you have to specify Position and Position2 argum…

---

## [About ImplictPlaneWidget2.cxx](https://discourse.vtk.org/t/about-implictplanewidget2-cxx/1318)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 4\
**Last updated:** [July 14, 2019, 11:52am UTC](https://discourse.vtk.org/t/about-implictplanewidget2-cxx/1318 "2019-07-14T11:52:04Z")

</div>

Hi, I am using the example of ImplicitPlaneWidget2. I want to be able to manipulate this by inputting a 3D image (.raw). Data entry has been corrected as follows. vtkSmartPointer reader = vtkSmartPointer::New(); rea…

---

## [Adding a label to an actor in VTK](https://discourse.vtk.org/t/adding-a-label-to-an-actor-in-vtk/1320)

<div class="topic-metadata">

**Author:** [@at123](https://discourse.vtk.org/u/at123)\
**Replies:** 5\
**Last updated:** [July 12, 2019, 8:47pm UTC](https://discourse.vtk.org/t/adding-a-label-to-an-actor-in-vtk/1320 "2019-07-12T20:47:43Z")

</div>

Hi, I am creating a GUI with some VTK renderings. Say I want to render multiple cubes and I want to keep track of the order, I would add a label to each of the cubes signifying the order they were placed. Is it possible…

---

## [How to determine if vtkPolyData has lines?](https://discourse.vtk.org/t/how-to-determine-if-vtkpolydata-has-lines/1328)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 0\
**Last updated:** [July 12, 2019, 8:00pm UTC](https://discourse.vtk.org/t/how-to-determine-if-vtkpolydata-has-lines/1328 "2019-07-12T20:00:27Z")

</div>

I’ve just noticed that now vtkPolyData::GetLines() and similar methods always return a valid vtkCellArray. If SetLines has not been called on the object before then some shared dummy array is returned. If this dummy arra…

---

## [SEHexception when using vtkContour with vtkCutter](https://discourse.vtk.org/t/sehexception-when-using-vtkcontour-with-vtkcutter/1319)

<div class="topic-metadata">

**Author:** [@SergeLalonde](https://discourse.vtk.org/u/SergeLalonde)\
**Replies:** 4\
**Last updated:** [July 12, 2019, 11:55am UTC](https://discourse.vtk.org/t/sehexception-when-using-vtkcontour-with-vtkcutter/1319 "2019-07-12T11:55:09Z")

</div>

I’ve discovered a bug that is probably 2 bugs in one when slicing a 3D scalar field using vtkCutter using the plane implicit function point=(0,0,0) normal=(0,0,1) with vtkContour that causes it to throw an SEHexception. …

---

## [Android NDK newer than r18 fails to compile](https://discourse.vtk.org/t/android-ndk-newer-than-r18-fails-to-compile/1310)

<div class="topic-metadata">

**Author:** [@hcwiley](https://discourse.vtk.org/u/hcwiley)\
**Replies:** 4\
**Last updated:** [July 10, 2019, 5:52am UTC](https://discourse.vtk.org/t/android-ndk-newer-than-r18-fails-to-compile/1310 "2019-07-10T05:52:42Z")

</div>

Android is currently not building when using the latest NDK r20 or the previous r19. This means we should look at the CHANGELOG for NDK r19 to determine the breaking change. Compiling fails after compile tools: -- Andro…

---

## [vtkpython on Ubuntu Xenial/Bionic](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292)

<div class="topic-metadata">

**Author:** [@Ron84](https://discourse.vtk.org/u/Ron84)\
**Replies:** 3\
**Last updated:** [July 8, 2019, 10:45am UTC](https://discourse.vtk.org/t/vtkpython-on-ubuntu-xenial-bionic/1292 "2019-07-08T10:45:19Z")

</div>

Does VTK 6.2 has a vtkpython executable? I’m trying to find it on Ubuntu Xenial. $ sudo apt-get install -y libvtk6.2 libvtk6-dev python-vtk6 $ sudo updatedb $ python -c "import vtk; import sys; print(vtk.VTK\_VERSION); p…

---

## [\[java\] cannot work using vtkImageReslice](https://discourse.vtk.org/t/java-cannot-work-using-vtkimagereslice/1285)

<div class="topic-metadata">

**Author:** [@george2008](https://discourse.vtk.org/u/george2008)\
**Replies:** 1\
**Last updated:** [July 7, 2019, 1:53pm UTC](https://discourse.vtk.org/t/java-cannot-work-using-vtkimagereslice/1285 "2019-07-07T13:53:09Z")

</div>

any help about vtk with java ? below java code is from C++/C#, but cannot work. vtkDICOMImageReader reader = new vtkDICOMImageReader(); reader.SetDirectoryName("/home/dicom/series1"); reader.SetDataByteOrd…

---

## [Problem in volume Rendering. Noise added automatically](https://discourse.vtk.org/t/problem-in-volume-rendering-noise-added-automatically/1235)

<div class="topic-metadata">

**Author:** [@arefinster](https://discourse.vtk.org/u/arefinster)\
**Replies:** 4\
**Last updated:** [July 3, 2019, 7:23pm UTC](https://discourse.vtk.org/t/problem-in-volume-rendering-noise-added-automatically/1235 "2019-07-03T19:23:16Z")

</div>

Hi, I have been trying to render a custom volume in vtk, but it is showing a lot of statics (random values). I have tried many options with no avail. Here is my code snippet. for (int k = 0; k \< existingVolDims\[2\]; k++…

---

## [Header-only vtk-derived class](https://discourse.vtk.org/t/header-only-vtk-derived-class/1254)

<div class="topic-metadata">

**Author:** [@tom](https://discourse.vtk.org/u/tom)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 5:40pm UTC](https://discourse.vtk.org/t/header-only-vtk-derived-class/1254 "2019-07-02T17:40:41Z")

</div>

Hi, I’m writing a few classes that derive from vtkSocketController. They have some things in common, so I’d like to write a small header-only abstract class for my other classes to inherit from. However, I’m having pr…

---

## [vtkStaticCellLocator FindClosestPoint?](https://discourse.vtk.org/t/vtkstaticcelllocator-findclosestpoint/1091)

<div class="topic-metadata">

**Author:** [@michal.wozniak](https://discourse.vtk.org/u/michal.wozniak)\
**Replies:** 5\
**Last updated:** [June 28, 2019, 4:28pm UTC](https://discourse.vtk.org/t/vtkstaticcelllocator-findclosestpoint/1091 "2019-06-28T16:28:53Z")

</div>

Hi, the standard vtkCellLocator contains the method FindClosestPoint, but with a bigger dataset, it’s getting slow. I thought I could parallelize my call to Locator::FindClosestPoint(…) but this method use QueryNumber …

[Previous page](https://discourse.vtk.org/c/development/7.md?page=48)

[Next page](https://discourse.vtk.org/c/development/7.md?page=50)
