# Support

**URL:** https://discourse.vtk.org/c/support/6.md?page=133

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

**Page:** 134

---

## [Is PV MultiSlice view available in vtk python](https://discourse.vtk.org/t/is-pv-multislice-view-available-in-vtk-python/3164)

<div class="topic-metadata">

**Author:** [@terryturton](https://discourse.vtk.org/u/terryturton)\
**Replies:** 2\
**Last updated:** [April 27, 2020, 7:25pm UTC](https://discourse.vtk.org/t/is-pv-multislice-view-available-in-vtk-python/3164 "2020-04-27T19:25:40Z")

</div>

Can I get the PV multislice view (https://kitware.github.io/paraview-docs/latest/cxx/DesignSliceView.html) easily using vtk python? Thanks.

---

## [How to set colors for PointData of vtkStructuredGrid example](https://discourse.vtk.org/t/how-to-set-colors-for-pointdata-of-vtkstructuredgrid-example/3159)

<div class="topic-metadata">

**Author:** [@kerim](https://discourse.vtk.org/u/kerim)\
**Replies:** 2\
**Last updated:** [April 27, 2020, 12:39pm UTC](https://discourse.vtk.org/t/how-to-set-colors-for-pointdata-of-vtkstructuredgrid-example/3159 "2020-04-27T12:39:55Z")

</div>

Hi, I’m beginner. I read tutorial and watch examples but some basic questions still actual. So here is simple example of vtkStructuredGrid. I’m trying to add data to the points and display this data as color. The probl…

---

## [vtk filter for OpenFOAM](https://discourse.vtk.org/t/vtk-filter-for-openfoam/3141)

<div class="topic-metadata">

**Author:** [@matsubaraDaisuke](https://discourse.vtk.org/u/matsubaraDaisuke)\
**Replies:** 1\
**Last updated:** [April 27, 2020, 6:11am UTC](https://discourse.vtk.org/t/vtk-filter-for-openfoam/3141 "2020-04-27T06:11:22Z")

</div>

I want to filter a pressure by thresholding using python-vtk import vtk filename = "a.foam" reader = vtk.vtkOpenFOAMReader() reader.SetFileName(filename) reader.CreateCellToPointOn() reader.DecomposePolyhedraOn() reade…

---

## [Creating a graph in VTK](https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 1\
**Last updated:** [April 26, 2020, 7:07pm UTC](https://discourse.vtk.org/t/creating-a-graph-in-vtk/3150 "2020-04-26T19:07:12Z")

</div>

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

## [Update a vtkCutter with a qslider - c++](https://discourse.vtk.org/t/update-a-vtkcutter-with-a-qslider-c/3149)

<div class="topic-metadata">

**Author:** [@armel.demontgros](https://discourse.vtk.org/u/armel.demontgros)\
**Replies:** 2\
**Last updated:** [April 26, 2020, 12:27am UTC](https://discourse.vtk.org/t/update-a-vtkcutter-with-a-qslider-c/3149 "2020-04-26T00:27:56Z")

</div>

Hi I am fairly new to VTK and trying to push it as much as I can. I am trying to update the cuttling plane value with a qslider. I have a slice on a vtk in a QVTKOpenGLNativeWidget setup as exmVTK::exmVTK(QWidget\* pare…

---

## [Creating a graph in VTK using ConstructGraph](https://discourse.vtk.org/t/creating-a-graph-in-vtk-using-constructgraph/3157)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 0\
**Last updated:** [April 25, 2020, 12:39pm UTC](https://discourse.vtk.org/t/creating-a-graph-in-vtk-using-constructgraph/3157 "2020-04-25T12:39:08Z")

</div>

I want to create a graph using VTK class https://lorensen.github.io/VTKExamples/site/Python/Graphs/ConstructGraph/ def main(): g = vtk.vtkMutableUndirectedGraph() v1 = g.AddVertex() v2 = g.AddVertex() …

---

## [how to extend vtkImagePlaneWidget bounds](https://discourse.vtk.org/t/how-to-extend-vtkimageplanewidget-bounds/3151)

<div class="topic-metadata">

**Author:** [@yuhuimoon](https://discourse.vtk.org/u/yuhuimoon)\
**Replies:** 0\
**Last updated:** [April 25, 2020, 6:01am UTC](https://discourse.vtk.org/t/how-to-extend-vtkimageplanewidget-bounds/3151 "2020-04-25T06:01:53Z")

</div>

I’ve implemented MPR by using vtkImagePlaneWidget. I rotate one plane widget by changing its normal in the source code. But the bounds of the plane can not extend to the sagittal plane(the plane with red border), showed …

---

## [vtk image connectivity filter](https://discourse.vtk.org/t/vtk-image-connectivity-filter/3133)

<div class="topic-metadata">

**Author:** [@srbn.ghosh99](https://discourse.vtk.org/u/srbn.ghosh99)\
**Replies:** 11\
**Last updated:** [April 24, 2020, 6:42pm UTC](https://discourse.vtk.org/t/vtk-image-connectivity-filter/3133 "2020-04-24T18:42:21Z")

</div>

Hi, I have labeled 3D image with two different pixel values. I want to apply image connectivity filter to remove the other noises which are creating problems to create a simple surface extraction in the next level. I c…

---

## [How to interpret the output of CellData\['Topology'\]](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 3\
**Last updated:** [April 24, 2020, 6:29pm UTC](https://discourse.vtk.org/t/how-to-interpret-the-output-of-celldata-topology/3145 "2020-04-24T18:29:05Z")

</div>

I’ve the following VTK object obtained from vmtk.NetworkExtraction pprint(network\_dsa.CellData\[‘Topology’\]) gives VTKArray(\[\[0, 1\], \[0, 2\], \[0, 2\], \[0, 1\], \[0, 3\], \[0, 3\], \[0, 4\], \[0, 5\], \[0, 5\], \[1, 6\], \[4,…

---

## [Error in displaying the layout of a graph obtained from vmtkNetworkExtraction](https://discourse.vtk.org/t/error-in-displaying-the-layout-of-a-graph-obtained-from-vmtknetworkextraction/3139)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 3:13pm UTC](https://discourse.vtk.org/t/error-in-displaying-the-layout-of-a-graph-obtained-from-vmtknetworkextraction/3139 "2020-04-24T15:13:51Z")

</div>

Hi All, I’m referring to the examples available here to display a graph . The graph has been obtained from the following code and the input file is available here. reader = vmtkscripts.vmtkSurfaceReader() reader.Input…

---

## [vtk python from pip: vtkReebGraphToJoinSplitTree is not found.](https://discourse.vtk.org/t/vtk-python-from-pip-vtkreebgraphtojoinsplittree-is-not-found/3143)

<div class="topic-metadata">

**Author:** [@jaswantp](https://discourse.vtk.org/u/jaswantp)\
**Replies:** 3\
**Last updated:** [April 24, 2020, 2:59pm UTC](https://discourse.vtk.org/t/vtk-python-from-pip-vtkreebgraphtojoinsplittree-is-not-found/3143 "2020-04-24T14:59:55Z")

</div>

I’m using vtk python from pip, it is 8.1.2. Unable to find this attribute. Any suggestions? Is this function not available in 8.1.2? \>\>\> import vtk …

---

## [Compile error 9.0RC3, VS 2017, Windows 10, snprintf](https://discourse.vtk.org/t/compile-error-9-0rc3-vs-2017-windows-10-snprintf/3136)

<div class="topic-metadata">

**Author:** [@biagas](https://discourse.vtk.org/u/biagas)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 1:51pm UTC](https://discourse.vtk.org/t/compile-error-9-0rc3-vs-2017-windows-10-snprintf/3136 "2020-04-24T13:51:27Z")

</div>

I am using CMake 3.12.2, VS 2017 15.9.22 on a Windows 10 machine. When I compile, I get errors in libxml2 and tiff: Macro redefinition of 'snprintf' conflicts with Standard Library definition. I have traced it to Thir…

---

## [How to use vtkImageConnectivityFilter](https://discourse.vtk.org/t/how-to-use-vtkimageconnectivityfilter/3142)

<div class="topic-metadata">

**Author:** [@NeuZhangQiang](https://discourse.vtk.org/u/NeuZhangQiang)\
**Replies:** 1\
**Last updated:** [April 24, 2020, 12:36pm UTC](https://discourse.vtk.org/t/how-to-use-vtkimageconnectivityfilter/3142 "2020-04-24T12:36:45Z")

</div>

I need to use the vtkImageConnectivityFilter, and I want to use the SetExtractionModeToSeededRegions method. But, I don’t know how to provide the seed (such as (50, 50)). Could somebody provide a demo? For example: the…

---

## [OpenGL State errors with QVTKOpenGLStereoWidget using VTK master](https://discourse.vtk.org/t/opengl-state-errors-with-qvtkopenglstereowidget-using-vtk-master/3112)

<div class="topic-metadata">

**Author:** [@tchen87](https://discourse.vtk.org/u/tchen87)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 4:55pm UTC](https://discourse.vtk.org/t/opengl-state-errors-with-qvtkopenglstereowidget-using-vtk-master/3112 "2020-04-23T16:55:28Z")

</div>

I have an stereo application utilizing QT and running well on VTK8.1 using QVTKWidget. When switching to VTK8.2, I see a number of VTK errors every time a call is made to vtkRenderer::Render() (see discussion here) Howe…

---

## [Error while passing a VTK object in VmtkNetworkExtraction](https://discourse.vtk.org/t/error-while-passing-a-vtk-object-in-vmtknetworkextraction/3131)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.vtk.org/u/Deepa)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 3:52pm UTC](https://discourse.vtk.org/t/error-while-passing-a-vtk-object-in-vmtknetworkextraction/3131 "2020-04-23T15:52:07Z")

</div>

Hello Everyone, I’m trying to skeletonize a 3D volume n VMTK using the following code in python vmtkCommand = '''vmtksurfacereader -ifile foo.stl --pipe vmtksurfacewriter -ofile foo\_net.vtp''' p = pyp…

---

## [How to customize Z-buffer with several Polydata](https://discourse.vtk.org/t/how-to-customize-z-buffer-with-several-polydata/3129)

<div class="topic-metadata">

**Author:** [@BotellaA](https://discourse.vtk.org/u/BotellaA)\
**Replies:** 2\
**Last updated:** [April 23, 2020, 3:32pm UTC](https://discourse.vtk.org/t/how-to-customize-z-buffer-with-several-polydata/3129 "2020-04-23T15:32:39Z")

</div>

I have several Polydata representing surfaces in the same camera. They are in contact at their boundaries. I can see the polydata mesh that is supposed to be hidden. I tried to change the ClippingRange but it did not cha…

---

## [How to build examples in VTK 9.0.0-rc2 source](https://discourse.vtk.org/t/how-to-build-examples-in-vtk-9-0-0-rc2-source/3092)

<div class="topic-metadata">

**Author:** [@opoplawski](https://discourse.vtk.org/u/opoplawski)\
**Replies:** 4\
**Last updated:** [April 23, 2020, 1:34pm UTC](https://discourse.vtk.org/t/how-to-build-examples-in-vtk-9-0-0-rc2-source/3092 "2020-04-23T13:34:41Z")

</div>

I’m working on updating the Fedora VTK package to 9.0.0-rc2 and I’m having difficulty with the examples. It does not appear that the examples are built by simply running “make” anymore. Is this expected? My cmake comm…

---

## [How to set which Anatomical plane the imported image is](https://discourse.vtk.org/t/how-to-set-which-anatomical-plane-the-imported-image-is/3101)

<div class="topic-metadata">

**Author:** [@Yongun\_Lee](https://discourse.vtk.org/u/Yongun_Lee)\
**Replies:** 12\
**Last updated:** [April 23, 2020, 12:44pm UTC](https://discourse.vtk.org/t/how-to-set-which-anatomical-plane-the-imported-image-is/3101 "2020-04-23T12:44:16Z")

</div>

I learned through the ‘vtkFourPaneViewer’ example and the ‘vtkImageImport’ example, and finally I can import the Axial image into the vtkImageViewer to view the MPR and 3D View. However, if I import a Sagittal image, th…

---

## [How can I sample a 3D volume using vtk Fixed Point Volume Ray Cast Mapper](https://discourse.vtk.org/t/how-can-i-sample-a-3d-volume-using-vtk-fixed-point-volume-ray-cast-mapper/3126)

<div class="topic-metadata">

**Author:** [@spencermanwell](https://discourse.vtk.org/u/spencermanwell)\
**Replies:** 0\
**Last updated:** [April 23, 2020, 12:11am UTC](https://discourse.vtk.org/t/how-can-i-sample-a-3d-volume-using-vtk-fixed-point-volume-ray-cast-mapper/3126 "2020-04-23T00:11:58Z")

</div>

Hello VTK users, I am doing some quantitative work that requires that I sample every voxel along parallel rays that pass through a 3D volume, with (ideally) one ray passing through each of the voxels facing the camera. …

---

## [Intersection between a mesh and a volume](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120)

<div class="topic-metadata">

**Author:** [@hannah](https://discourse.vtk.org/u/hannah)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 7:01pm UTC](https://discourse.vtk.org/t/intersection-between-a-mesh-and-a-volume/3120 "2020-04-21T19:01:18Z")

</div>

Hello, I want to know if there is any solution to find the intersection between a mesh and a volume and colour the intersected area by using VTK? I am almost new with VTK, and any help could be helpful. Thanks

---

## [Relation between vtkImageData WL and vtkImageActor WL](https://discourse.vtk.org/t/relation-between-vtkimagedata-wl-and-vtkimageactor-wl/2934)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.vtk.org/u/flaviu2)\
**Replies:** 19\
**Last updated:** [April 21, 2020, 2:36pm UTC](https://discourse.vtk.org/t/relation-between-vtkimagedata-wl-and-vtkimageactor-wl/2934 "2020-04-21T14:36:37Z")

</div>

What is the relation between Window Level from vtkImageData and Window Level from vtkImageActor ? vtkImageProperty class has 2 members: double ColorWindow; double ColorLevel; and they are initialized with 255 and 1…

---

## [question about forum structure](https://discourse.vtk.org/t/question-about-forum-structure/3067)

<div class="topic-metadata">

**Author:** [@Joe](https://discourse.vtk.org/u/Joe)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 1:35pm UTC](https://discourse.vtk.org/t/question-about-forum-structure/3067 "2020-04-21T13:35:55Z")

</div>

May I ask if The discourse vtk forum employs people to answer questions as part of their job role in addition to volunteers? thank you

---

## [How does one specify Mesa's GL should be used when compiling VTK (9.0.0.rc2)](https://discourse.vtk.org/t/how-does-one-specify-mesas-gl-should-be-used-when-compiling-vtk-9-0-0-rc2/3114)

<div class="topic-metadata">

**Author:** [@biagas](https://discourse.vtk.org/u/biagas)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 1:22pm UTC](https://discourse.vtk.org/t/how-does-one-specify-mesas-gl-should-be-used-when-compiling-vtk-9-0-0-rc2/3114 "2020-04-21T13:22:35Z")

</div>

I am on a linux system whose system GL version is insufficient for VTK. I have compiled Mesa-17.2.8 (with LLVM 5.0.0) I have tried adding to the cmake command when building VTK: -DOPENGL\_INCLUDE\_DIR=/path/to/mesa/incl…

---

## [Rotate AxesActor to align axes to three vectors](https://discourse.vtk.org/t/rotate-axesactor-to-align-axes-to-three-vectors/3078)

<div class="topic-metadata">

**Author:** [@goflo](https://discourse.vtk.org/u/goflo)\
**Replies:** 1\
**Last updated:** [April 21, 2020, 1:01pm UTC](https://discourse.vtk.org/t/rotate-axesactor-to-align-axes-to-three-vectors/3078 "2020-04-21T13:01:12Z")

</div>

Hi, I need to add multiple AxesActors to represent the local coordinate systems of elements. For each element I have a coordinate system which is defined by three direction unit vectors (vx, vy, vz) and an origin point …

---

## [Build examples and Qt does not work on VTK 9.0.0.rc2 and VTK 9.0.0.rc3 and Ubuntu 18.04](https://discourse.vtk.org/t/build-examples-and-qt-does-not-work-on-vtk-9-0-0-rc2-and-vtk-9-0-0-rc3-and-ubuntu-18-04/3118)

<div class="topic-metadata">

**Author:** [@idhamari](https://discourse.vtk.org/u/idhamari)\
**Replies:** 4\
**Last updated:** [April 21, 2020, 11:58am UTC](https://discourse.vtk.org/t/build-examples-and-qt-does-not-work-on-vtk-9-0-0-rc2-and-vtk-9-0-0-rc3-and-ubuntu-18-04/3118 "2020-04-21T11:58:10Z")

</div>

I thought I should post here as well. source: https://gitlab.kitware.com/vtk/vtk/-/issues/17862 I tried both VTK 9.0.0.rc2 and VTK 9.0.0.rc3 on my Ubuntu 18.04 using CMake 3.14.4 and nothing works. There are no exampl…

---

## [Cut polyData with ImagePlaneWidget](https://discourse.vtk.org/t/cut-polydata-with-imageplanewidget/3115)

<div class="topic-metadata">

**Author:** [@rds15](https://discourse.vtk.org/u/rds15)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 1:28am UTC](https://discourse.vtk.org/t/cut-polydata-with-imageplanewidget/3115 "2020-04-21T01:28:16Z")

</div>

Hello, I am using 3 orthogonal ImagePlaneWidgets that are tied to 3 ResliceImageViewers to show each plane. Similar to the FourPaneViewer example. There are also a few sphere actors in the imagePlaneWidgets’ space. Wh…

---

## [vtk8.2 build/run problems on Mac with Java](https://discourse.vtk.org/t/vtk8-2-build-run-problems-on-mac-with-java/932)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 31\
**Last updated:** [April 20, 2020, 2:54pm UTC](https://discourse.vtk.org/t/vtk8-2-build-run-problems-on-mac-with-java/932 "2020-04-20T14:54:55Z")

</div>

I can successfully build vtk8.2 on mac. However, when I go to run the JoglConeRendering demo, I get the attached core dump. hs\_err\_pid93111.log (77.8 KB) If I run things with the vtk8.1 prepackaged jar and libs that @S…

---

## [Retrieving vtkChartXY data from mouse click](https://discourse.vtk.org/t/retrieving-vtkchartxy-data-from-mouse-click/3031)

<div class="topic-metadata">

**Author:** [@dwventer](https://discourse.vtk.org/u/dwventer)\
**Replies:** 13\
**Last updated:** [April 20, 2020, 12:35pm UTC](https://discourse.vtk.org/t/retrieving-vtkchartxy-data-from-mouse-click/3031 "2020-04-20T12:35:57Z")

</div>

I’m trying to get the selected data point from where a user clicked on the chart with a mouse. I manage to get the mouse click event with the following code: vtkSmartPointer \<vtkCallbackCommand\> callback = vtkSmartPoin…

---

## [Is there QVTKOpenGLWidget for python?](https://discourse.vtk.org/t/is-there-qvtkopenglwidget-for-python/2103)

<div class="topic-metadata">

**Author:** [@Andreimd02](https://discourse.vtk.org/u/Andreimd02)\
**Replies:** 1\
**Last updated:** [April 20, 2020, 7:16am UTC](https://discourse.vtk.org/t/is-there-qvtkopenglwidget-for-python/2103 "2020-04-20T07:16:26Z")

</div>

Hi, everyone, I have a problem to use the Contour Widget. Basically I have a QVTKRenderWindowInteractor to make my aplication embed in QT, but the Contour Widget doesn’t work on QVTKRenderWindowInteractor. Looking here …

---

## [How to change the length of the contour on the Z axis when drawing the profile through coordinate points](https://discourse.vtk.org/t/how-to-change-the-length-of-the-contour-on-the-z-axis-when-drawing-the-profile-through-coordinate-points/3100)

<div class="topic-metadata">

**Author:** [@huatianyu](https://discourse.vtk.org/u/huatianyu)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 1:28am UTC](https://discourse.vtk.org/t/how-to-change-the-length-of-the-contour-on-the-z-axis-when-drawing-the-profile-through-coordinate-points/3100 "2020-04-20T01:28:58Z")

</div>

data: \[ \[-0.62, 49.33, 29.5\], \[0.63, 49.33, 29.5\], \[1.88, 49.33, 29.5\], \[3.13, 49.31, 29.5\], \[4.38, 49.31, 29.5\], \[5.63, 49.33, 29.5\], \[6.88, 49.33, 29.5\], \[8.13, 49.33, 29.5\], \[9.38, 49.33, 29.5\], \[10.63, 49…

[Previous page](https://discourse.vtk.org/c/support/6.md?page=132)

[Next page](https://discourse.vtk.org/c/support/6.md?page=134)
