# Development

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

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

**Page:** 47

---

## [pip install not working when using python-dbg](https://discourse.vtk.org/t/pip-install-not-working-when-using-python-dbg/2374)

<div class="topic-metadata">

**Author:** [@balborian](https://discourse.vtk.org/u/balborian)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 11:27pm UTC](https://discourse.vtk.org/t/pip-install-not-working-when-using-python-dbg/2374 "2020-01-04T23:27:03Z")

</div>

I am interested in installing vtk using python-dbg, but I get this error: miguelito@miguelito:~$ virtualenv --python=/usr/bin/python3-dbg testvtk miguelito@miguelito:~$ source testvtk/bin/activate (testvtk) miguelito@mi…

---

## [Updating UnstructredGrid after Adding Cell](https://discourse.vtk.org/t/updating-unstructredgrid-after-adding-cell/2345)

<div class="topic-metadata">

**Author:** [@ChristopherWaters](https://discourse.vtk.org/u/ChristopherWaters)\
**Replies:** 2\
**Last updated:** [December 29, 2019, 9:43am UTC](https://discourse.vtk.org/t/updating-unstructredgrid-after-adding-cell/2345 "2019-12-29T09:43:53Z")

</div>

Current System (bottom-up): points (vtkSmartPointer\< vtkPoints \>) topology(vtkSmartPointer\< vtkCellArray \>) unGrid(vtkSmartPointer\< vtkUnstructuredGrid \>) mapper(vtkSmartPointer\< vtkDataSetMapper \>) actor(vtkSmart…

---

## [vtkCutter](https://discourse.vtk.org/t/vtkcutter/2337)

<div class="topic-metadata">

**Author:** [@snehal](https://discourse.vtk.org/u/snehal)\
**Replies:** 4\
**Last updated:** [December 27, 2019, 1:48pm UTC](https://discourse.vtk.org/t/vtkcutter/2337 "2019-12-27T13:48:23Z")

</div>

Hello all, I am new in VTK please help me to resolve the following issue. I have volume data when i try to pass in vtkCutter function its give me the following error volume = vtk.vtkVolume() volume.SetMapper(volumeM…

---

## [convert nifti file to vtk polydata file](https://discourse.vtk.org/t/convert-nifti-file-to-vtk-polydata-file/2325)

<div class="topic-metadata">

**Author:** [@nour](https://discourse.vtk.org/u/nour)\
**Replies:** 4\
**Last updated:** [December 22, 2019, 1:11pm UTC](https://discourse.vtk.org/t/convert-nifti-file-to-vtk-polydata-file/2325 "2019-12-22T13:11:50Z")

</div>

I used to convert nifti file to .vtk file but what I noticed that there are many versions. I need # vtk DataFile Version 3.0 but this code gives me # vtk DataFile Version 4.2 . import vtk import sys reader = vtk.vtkNI…

---

## [vtkPropPicker not working in Java wrapper after upgrade to 8.2.0](https://discourse.vtk.org/t/vtkproppicker-not-working-in-java-wrapper-after-upgrade-to-8-2-0/2121)

<div class="topic-metadata">

**Author:** [@mat127](https://discourse.vtk.org/u/mat127)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 9:00am UTC](https://discourse.vtk.org/t/vtkproppicker-not-working-in-java-wrapper-after-upgrade-to-8-2-0/2121 "2019-12-16T09:00:50Z")

</div>

Hi, I use the VTK library through the Java wrapper. After upgrading to 8.2.0 my code using the vtkPropPicker does not work any more (in 8.1.1 was ok). The renderer where I do the picking contains a vtkAssembly containi…

---

## [Why does vtkConnectivityFilter not preserve point or cell data?](https://discourse.vtk.org/t/why-does-vtkconnectivityfilter-not-preserve-point-or-cell-data/2284)

<div class="topic-metadata">

**Author:** [@normanius](https://discourse.vtk.org/u/normanius)\
**Replies:** 0\
**Last updated:** [December 15, 2019, 11:13pm UTC](https://discourse.vtk.org/t/why-does-vtkconnectivityfilter-not-preserve-point-or-cell-data/2284 "2019-12-15T23:13:42Z")

</div>

Dear all I noticed that vtkPolyDataConnectivityFilter doesn’t preserve point or cell data. Any particular reason for this behavior? I see that the connectivity filter may discard points and cells. Because the remaining…

---

## [How can I display the contour color (inner model](https://discourse.vtk.org/t/how-can-i-display-the-contour-color-inner-model/2283)

<div class="topic-metadata">

**Author:** [@1115](https://discourse.vtk.org/u/1115)\
**Replies:** 0\
**Last updated:** [December 15, 2019, 6:53am UTC](https://discourse.vtk.org/t/how-can-i-display-the-contour-color-inner-model/2283 "2019-12-15T06:53:21Z")

</div>

Left : VTK, Right : OpenGL I want to display the contour like right(opengl)

---

## [Is GetConnectivityArray missing from vtkCellArray class in Python package?](https://discourse.vtk.org/t/is-getconnectivityarray-missing-from-vtkcellarray-class-in-python-package/2250)

<div class="topic-metadata">

**Author:** [@pcs](https://discourse.vtk.org/u/pcs)\
**Replies:** 2\
**Last updated:** [December 12, 2019, 2:50pm UTC](https://discourse.vtk.org/t/is-getconnectivityarray-missing-from-vtkcellarray-class-in-python-package/2250 "2019-12-12T14:50:25Z")

</div>

I have an XML unstructured grid with polyhedral elements and would like to read it using Python for post-processing analysis of a simulation. I am using Python 3.7.4 and vtk 8.1.2. I can read the file with vtkXMLUnstruc…

---

## [Consistency of face orientation in vtkCell3D](https://discourse.vtk.org/t/consistency-of-face-orientation-in-vtkcell3d/2253)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 3:33pm UTC](https://discourse.vtk.org/t/consistency-of-face-orientation-in-vtkcell3d/2253 "2019-12-11T15:33:33Z")

</div>

Hi everyone, vtkCell class has the method vtkCell::GetFaces, and vtkCell3D class has vtkCell3D::GetFacePoints on top of that. In general, one would want that the orientation of the output face would be consistent, i.e. …

---

## [Simplification of Python modules, and things to watch for](https://discourse.vtk.org/t/simplification-of-python-modules-and-things-to-watch-for/2251)

<div class="topic-metadata">

**Author:** [@dgobbi](https://discourse.vtk.org/u/dgobbi)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 11:47am UTC](https://discourse.vtk.org/t/simplification-of-python-modules-and-things-to-watch-for/2251 "2019-12-11T11:47:08Z")

</div>

Hi All, This morning I merged a branch into master that changes the way that VTK’s Python modules are built and loaded. As you might recall, the vtk-python modules used to have three components: libvtkCommonCorePytho…

---

## [A question about exporting a large image(use vtkRenderLargeImage)](https://discourse.vtk.org/t/a-question-about-exporting-a-large-image-use-vtkrenderlargeimage/2199)

<div class="topic-metadata">

**Author:** [@sorlik](https://discourse.vtk.org/u/sorlik)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 2:57am UTC](https://discourse.vtk.org/t/a-question-about-exporting-a-large-image-use-vtkrenderlargeimage/2199 "2019-12-03T02:57:38Z")

</div>

I need to export the scene as a high-definition image, but the image is tiled through vtkRenderLargeImage(Use tiling to generate a large rendering). How can I export the high-definition image by filling ? Thanks.

---

## [Coverage is still messed up](https://discourse.vtk.org/t/coverage-is-still-messed-up/678)

<div class="topic-metadata">

**Author:** [@lorensen](https://discourse.vtk.org/u/lorensen)\
**Replies:** 9\
**Last updated:** [December 2, 2019, 3:47pm UTC](https://discourse.vtk.org/t/coverage-is-still-messed-up/678 "2019-12-02T15:47:40Z")

</div>

Foks, Coverage is running but not reporting file coverage. Bill

---

## [vtkStringArray is not properly added when vtkUnstructuredGrid is outputted as PVTU file](https://discourse.vtk.org/t/vtkstringarray-is-not-properly-added-when-vtkunstructuredgrid-is-outputted-as-pvtu-file/1684)

<div class="topic-metadata">

**Author:** [@vchan1186](https://discourse.vtk.org/u/vchan1186)\
**Replies:** 2\
**Last updated:** [December 1, 2019, 3:55am UTC](https://discourse.vtk.org/t/vtkstringarray-is-not-properly-added-when-vtkunstructuredgrid-is-outputted-as-pvtu-file/1684 "2019-12-01T03:55:02Z")

</div>

I am trying to add a vtkStringArray to a vtkUnstructuredGrid using the AddArray method. The string array shows up in the spreadsheet view for serial vtu files, but does not appear when loading a pvtu file in ParaView. I…

---

## [Bounding box of vtkImageData](https://discourse.vtk.org/t/bounding-box-of-vtkimagedata/2178)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 3\
**Last updated:** [November 29, 2019, 1:41pm UTC](https://discourse.vtk.org/t/bounding-box-of-vtkimagedata/2178 "2019-11-29T13:41:59Z")

</div>

While trying to find out why vtkProbeFilter often fails when probing a single-slice 3D volume with a line, I’ve found that vtkProbeFilter returns early because it finds that the line’s bounding box does not intersect the…

---

## [Requesting Thoughts Concerning using VTK as Mesh Data Structure for FEA Software](https://discourse.vtk.org/t/requesting-thoughts-concerning-using-vtk-as-mesh-data-structure-for-fea-software/2153)

<div class="topic-metadata">

**Author:** [@Keith\_Ballard](https://discourse.vtk.org/u/Keith_Ballard)\
**Replies:** 5\
**Last updated:** [November 27, 2019, 4:20pm UTC](https://discourse.vtk.org/t/requesting-thoughts-concerning-using-vtk-as-mesh-data-structure-for-fea-software/2153 "2019-11-27T16:20:38Z")

</div>

Hello All, I have been familiar with VTK for some time and use it extensively in ParaView plugins/VTK modules I write for post-processing of FEA data, but my use of VTK has been limited to post-processing. What I am no…

---

## [Decimation with texture maps](https://discourse.vtk.org/t/decimation-with-texture-maps/2166)

<div class="topic-metadata">

**Author:** [@Famous](https://discourse.vtk.org/u/Famous)\
**Replies:** 0\
**Last updated:** [November 27, 2019, 3:27pm UTC](https://discourse.vtk.org/t/decimation-with-texture-maps/2166 "2019-11-27T15:27:17Z")

</div>

Hi All, I am looking to extend a VTK based decimation algorithm to support texture maps. I can see that vtkQuadricDecimation class contains functions relating to TCoords e.g. SetTCoordsAttribute(vtkTypeBool), however v…

---

## [3D Reconstruction from 2D X-ray Images](https://discourse.vtk.org/t/3d-reconstruction-from-2d-x-ray-images/2138)

<div class="topic-metadata">

**Author:** [@rjsgml5698](https://discourse.vtk.org/u/rjsgml5698)\
**Replies:** 2\
**Last updated:** [November 26, 2019, 4:12am UTC](https://discourse.vtk.org/t/3d-reconstruction-from-2d-x-ray-images/2138 "2019-11-26T04:12:42Z")

</div>

Can I extract volume data with x-rays? Can only polydata be possible?

---

## [Add support for Apple Metal rendering for macOS and iOS](https://discourse.vtk.org/t/add-support-for-apple-metal-rendering-for-macos-and-ios/1849)

<div class="topic-metadata">

**Author:** [@hcwiley](https://discourse.vtk.org/u/hcwiley)\
**Replies:** 6\
**Last updated:** [November 24, 2019, 9:06pm UTC](https://discourse.vtk.org/t/add-support-for-apple-metal-rendering-for-macos-and-ios/1849 "2019-11-24T21:06:35Z")

</div>

Has there been any discussion internally at Kitware about Apple’s move as of WWDC 2018 to not support OpenGL any more? Looks like there needs to be a Metal backed rendering system to support this move. I would really …

---

## [Trouble using VTK Widget with QVTK](https://discourse.vtk.org/t/trouble-using-vtk-widget-with-qvtk/2110)

<div class="topic-metadata">

**Author:** [@Andreimd02](https://discourse.vtk.org/u/Andreimd02)\
**Replies:** 3\
**Last updated:** [November 22, 2019, 2:38pm UTC](https://discourse.vtk.org/t/trouble-using-vtk-widget-with-qvtk/2110 "2019-11-22T14:38:36Z")

</div>

Hi, guys, So, I’m have a trouble to use QVTKRenderWindowInteractor and vtkContourWidget I have this program This is how I made it: class SimulationWindow(QMainWindow): def init(self): super().init() self.initWin…

---

## [Calculation of 4x4 matrix of planes](https://discourse.vtk.org/t/calculation-of-4x4-matrix-of-planes/1423)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 14\
**Last updated:** [November 21, 2019, 2:31pm UTC](https://discourse.vtk.org/t/calculation-of-4x4-matrix-of-planes/1423 "2019-11-21T14:31:10Z")

</div>

Hi, I am using the example of ImplicitPlaneWidget2. I want to be able to manipulate this by inputting a 3D image (.raw). I studied about 4x4 matrix. I would like to write a program to calculate 4x4 matrix in plane. T…

---

## [Clang format discussion](https://discourse.vtk.org/t/clang-format-discussion/2073)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)\
**Replies:** 40\
**Last updated:** [November 20, 2019, 7:38pm UTC](https://discourse.vtk.org/t/clang-format-discussion/2073 "2019-11-20T19:38:56Z")

</div>

At the hackathon this week, there was discussion of using clang-format on VTK to enforce coding style guidelines. This allows formatting of a merge request using Do: reformat so that local formatting isn’t necessary (and…

---

## [Goodbye GetVoidPointer: Using ArrayDispatch and DataArrayRanges](https://discourse.vtk.org/t/goodbye-getvoidpointer-using-arraydispatch-and-dataarrayranges/2097)

<div class="topic-metadata">

**Author:** [@allison.vacanti](https://discourse.vtk.org/u/allison.vacanti)\
**Replies:** 2\
**Last updated:** [November 14, 2019, 11:36pm UTC](https://discourse.vtk.org/t/goodbye-getvoidpointer-using-arraydispatch-and-dataarrayranges/2097 "2019-11-14T23:36:00Z")

</div>

One of the topics discussed at the hackathon involved deprecating vtkDataArray::GetVoidPointer. While this is not likely to happen for a while, we’ve agreed to stop using GetVoidPointer and vtkTemplateMacro in new code, …

---

## [Is there a way to find pick actor index from vtkActorCollection?](https://discourse.vtk.org/t/is-there-a-way-to-find-pick-actor-index-from-vtkactorcollection/2086)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 9:16am UTC](https://discourse.vtk.org/t/is-there-a-way-to-find-pick-actor-index-from-vtkactorcollection/2086 "2019-11-12T09:16:13Z")

</div>

I have imported actors and added to vtkActorCollection. Then I implemented a vtkPropPicker. Now I want to know the i’th value of that picked actor from that vtkActorCollection? There is a vtkActorCollection method vtkOb…

---

## [Build error in VTK-based project: "include called with wrong number of arguments. include() only takes one file."](https://discourse.vtk.org/t/build-error-in-vtk-based-project-include-called-with-wrong-number-of-arguments-include-only-takes-one-file/2078)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 1:32am UTC](https://discourse.vtk.org/t/build-error-in-vtk-based-project-include-called-with-wrong-number-of-arguments-include-only-takes-one-file/2078 "2019-11-12T01:32:21Z")

</div>

I’m making progress with building 3D Slicer with VTK master. Now build fails where a VTK-based library is configured. The error message is: include called with wrong number of arguments. include() only takes one file…

---

## [vtkGenericDataArray lookup](https://discourse.vtk.org/t/vtkgenericdataarray-lookup/2055)

<div class="topic-metadata">

**Author:** [@andreasbuykx](https://discourse.vtk.org/u/andreasbuykx)\
**Replies:** 2\
**Last updated:** [November 8, 2019, 1:37pm UTC](https://discourse.vtk.org/t/vtkgenericdataarray-lookup/2055 "2019-11-08T13:37:32Z")

</div>

I was using the vtkIntArray::LookupValue on an array with repetitive values, similar to this: import vtk values = \[ 2, 2, 3, 3, 3, 8, 7, 8, 7, 8, 7, 6, 9, 6, 9, 6, 9\] array = vtk.vtkIntArray() for v in values: arr…

---

## [Need for Help.There are some errors while configuring VTK 6.2.0 using RHEL8](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-while-configuring-vtk-6-2-0-using-rhel8/2059)

<div class="topic-metadata">

**Author:** [@Manasa](https://discourse.vtk.org/u/Manasa)\
**Replies:** 1\
**Last updated:** [November 7, 2019, 7:40pm UTC](https://discourse.vtk.org/t/need-for-help-there-are-some-errors-while-configuring-vtk-6-2-0-using-rhel8/2059 "2019-11-07T19:40:04Z")

</div>

While configuring and building VTK 6.2.0 using RHEL8 i am getting error in CMake like this: CMake Error at CMake/vtkCompilerExtras.cmake:42 (if): if given arguments: "cc: error: ARGS: No such file or directory …

---

## [missing VTKData](https://discourse.vtk.org/t/missing-vtkdata/1945)

<div class="topic-metadata">

**Author:** [@toddy](https://discourse.vtk.org/u/toddy)\
**Replies:** 16\
**Last updated:** [November 7, 2019, 1:40am UTC](https://discourse.vtk.org/t/missing-vtkdata/1945 "2019-11-07T01:40:32Z")

</div>

Is there an environment variable which needs to be set, so that when the tests are run they find data in ./ExternalData/Testing/Data? Or is it set in CMake? Thanks.

---

## [VTK Crash (through Point Cloud Library) - In vtkOpenGLIndexBufferObject::AppendPointIndexBuffer](https://discourse.vtk.org/t/vtk-crash-through-point-cloud-library-in-vtkopenglindexbufferobject-appendpointindexbuffer/1764)

<div class="topic-metadata">

**Author:** [@tmaslach](https://discourse.vtk.org/u/tmaslach)\
**Replies:** 1\
**Last updated:** [November 6, 2019, 11:12am UTC](https://discourse.vtk.org/t/vtk-crash-through-point-cloud-library-in-vtkopenglindexbufferobject-appendpointindexbuffer/1764 "2019-11-06T11:12:54Z")

</div>

Hi, I’m trying to diagnose a crash I’m running into while drawing a point cloud using the PCL library. The crash is happening in vtkOpenGLIndexBufferObject, in vtkOpenGLIndexBufferObject::AppendPointIndexBuffer. Speci…

---

## [What best to pick and move actor?](https://discourse.vtk.org/t/what-best-to-pick-and-move-actor/2024)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 8:23am UTC](https://discourse.vtk.org/t/what-best-to-pick-and-move-actor/2024 "2019-11-05T08:23:45Z")

</div>

I have seen vtkInteractorStyleTrackballActor approach. But can’t use two styles vtkInteractorStyleTrackballActor and vtkInteractorStyleTrackballCamera at same time. What will be best way to achieve the movement of an act…

---

## [Issue with vtkPointDataToCellData filter with Categorical Data option](https://discourse.vtk.org/t/issue-with-vtkpointdatatocelldata-filter-with-categorical-data-option/1970)

<div class="topic-metadata">

**Author:** [@acbauer](https://discourse.vtk.org/u/acbauer)\
**Replies:** 6\
**Last updated:** [November 4, 2019, 2:19pm UTC](https://discourse.vtk.org/t/issue-with-vtkpointdatatocelldata-filter-with-categorical-data-option/1970 "2019-11-04T14:19:14Z")

</div>

When the CategoricalData option of the vtkPointDataToCellData filter is selected then in certain cases there are no cell data arrays created from this filter. Looking at vtkPointDataToCellData.cxx, specifically the else …

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

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