# Support

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

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

**Page:** 150

---

## [Fortran interface to vtk](https://discourse.vtk.org/t/fortran-interface-to-vtk/1765)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 2\
**Last updated:** [September 16, 2019, 4:12pm UTC](https://discourse.vtk.org/t/fortran-interface-to-vtk/1765 "2019-09-16T16:12:09Z")

</div>

I have been using python bindings to vtk and vtk for a few years now. I am now working on a legacy Fortran project and would like to have native access to the vtk library or something like it. does anyone have any sugges…

---

## [Extrude output of delaunay 2D](https://discourse.vtk.org/t/extrude-output-of-delaunay-2d/1751)

<div class="topic-metadata">

**Author:** [@Neilesh\_Vinjamuri](https://discourse.vtk.org/u/Neilesh_Vinjamuri)\
**Replies:** 2\
**Last updated:** [September 13, 2019, 8:43pm UTC](https://discourse.vtk.org/t/extrude-output-of-delaunay-2d/1751 "2019-09-13T20:43:38Z")

</div>

Hi, I wanted to know whether it is possible to extrude the output from vtkDelaunay2D. I am trying to create a solid whose cross section is a semi-ellipse. I first created a polyData containing an arc attached to a line …

---

## [Which way to handle large data (2000x2560x1440 uint8)](https://discourse.vtk.org/t/which-way-to-handle-large-data-2000x2560x1440-uint8/1759)

<div class="topic-metadata">

**Author:** [@NardJ](https://discourse.vtk.org/u/NardJ)\
**Replies:** 3\
**Last updated:** [September 13, 2019, 6:22pm UTC](https://discourse.vtk.org/t/which-way-to-handle-large-data-2000x2560x1440-uint8/1759 "2019-09-13T18:22:54Z")

</div>

I need to visualize 2000 images each 2560x1440 and 8 bit color using Python3. The images are stored in a properietary 3d-printing format (RLE encoded). I have code to extract each image as an numpy array. Using vtk.vtkI…

---

## [the picture of coronal plane's left and right is reversion in vtk8.2.0 dicom mpr](https://discourse.vtk.org/t/the-picture-of-coronal-planes-left-and-right-is-reversion-in-vtk8-2-0-dicom-mpr/1754)

<div class="topic-metadata">

**Author:** [@chenzongxi](https://discourse.vtk.org/u/chenzongxi)\
**Replies:** 2\
**Last updated:** [September 12, 2019, 1:38pm UTC](https://discourse.vtk.org/t/the-picture-of-coronal-planes-left-and-right-is-reversion-in-vtk8-2-0-dicom-mpr/1754 "2019-09-12T13:38:33Z")

</div>

Hi, I use vs2017 to run the demo of dicom mpr(multi-planner reformation) with vtk8.2.0. The picture of transverse surface and sagittal plane is correct. But the picture of coronal plane is reverse of left and right. …

---

## [vtk complex array](https://discourse.vtk.org/t/vtk-complex-array/1747)

<div class="topic-metadata">

**Author:** [@shay](https://discourse.vtk.org/u/shay)\
**Replies:** 3\
**Last updated:** [September 11, 2019, 3:16pm UTC](https://discourse.vtk.org/t/vtk-complex-array/1747 "2019-09-11T15:16:03Z")

</div>

Hey, i’m new to vtk. i try to make a vtk image that contains a vtk complex array to create a nifti file with complex values in python. i used vtk.util.numpy\_to\_vtk to create an array, i know the function don’t support c…

---

## [How to set vtkActor with the NDI device ?](https://discourse.vtk.org/t/how-to-set-vtkactor-with-the-ndi-device/1744)

<div class="topic-metadata">

**Author:** [@james](https://discourse.vtk.org/u/james)\
**Replies:** 1\
**Last updated:** [September 11, 2019, 1:51pm UTC](https://discourse.vtk.org/t/how-to-set-vtkactor-with-the-ndi-device/1744 "2019-09-11T13:51:17Z")

</div>

hello everyone: I want show a image with vtkActor in 3D window. It can work,but i don’t know how to set it origin and orientation position these parameter let it direction and position Be consistent with NDI refrece…

---

## [Incorrect ordering of rendered objects](https://discourse.vtk.org/t/incorrect-ordering-of-rendered-objects/1736)

<div class="topic-metadata">

**Author:** [@llb](https://discourse.vtk.org/u/llb)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 9:25pm UTC](https://discourse.vtk.org/t/incorrect-ordering-of-rendered-objects/1736 "2019-09-10T21:25:59Z")

</div>

Hello, I am using vtkSTLReader to read a mesh, connected to a vtkPolyDataMapper and then a vtkLODActor to display the mesh. However, from certain viewpoints the “ordering” of parts of the mesh is incorrect, see the scre…

---

## [Need Help with Image Arithmetic (vtkImageMathematics, subtraction, division by a scalar)](https://discourse.vtk.org/t/need-help-with-image-arithmetic-vtkimagemathematics-subtraction-division-by-a-scalar/1716)

<div class="topic-metadata">

**Author:** [@MichelleKline](https://discourse.vtk.org/u/MichelleKline)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 7:26pm UTC](https://discourse.vtk.org/t/need-help-with-image-arithmetic-vtkimagemathematics-subtraction-division-by-a-scalar/1716 "2019-09-10T19:26:04Z")

</div>

Hi! I have a Python script which reads two DICOM images. I want to subtract one image from the other, and then divide the resulting difference by a scalar. In other words: output\_image = (input\_image2 - input\_image1)…

---

## [centering (justification/alignment) of vtkFollower text](https://discourse.vtk.org/t/centering-justification-alignment-of-vtkfollower-text/1632)

<div class="topic-metadata">

**Author:** [@dmgroppe](https://discourse.vtk.org/u/dmgroppe)\
**Replies:** 8\
**Last updated:** [September 10, 2019, 7:43pm UTC](https://discourse.vtk.org/t/centering-justification-alignment-of-vtkfollower-text/1632 "2019-09-10T19:43:06Z")

</div>

Hi all, I’m trying to use vtkFollower (https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Follower) to render text that labels a point in 3D space. The text appears slightly above and to the right of the point (i.e., th…

---

## [Plotting the mesh cell centroids with scalars value.](https://discourse.vtk.org/t/plotting-the-mesh-cell-centroids-with-scalars-value/1595)

<div class="topic-metadata">

**Author:** [@shadab\_anwar](https://discourse.vtk.org/u/shadab_anwar)\
**Replies:** 7\
**Last updated:** [September 10, 2019, 5:59pm UTC](https://discourse.vtk.org/t/plotting-the-mesh-cell-centroids-with-scalars-value/1595 "2019-09-10T17:59:23Z")

</div>

Hello Everyone. I have a csv file which I exported from a commercial CFD software. It contains x,y,z values of cell centroids and corresponding values of the scalar(velocitymagnitude, tempreature etc) at thoes points.…

---

## [Perplexing Problem with Annotation Overwriting Itself When No External Monitors](https://discourse.vtk.org/t/perplexing-problem-with-annotation-overwriting-itself-when-no-external-monitors/1720)

<div class="topic-metadata">

**Author:** [@MichelleKline](https://discourse.vtk.org/u/MichelleKline)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 8:48pm UTC](https://discourse.vtk.org/t/perplexing-problem-with-annotation-overwriting-itself-when-no-external-monitors/1720 "2019-09-09T20:48:22Z")

</div>

Hello, I am using vtkCornerAnnotation to display image coordinates as the user moves the mouse over an image in the vtkRenderWindow. It works nicely when I have an two external monitors connected to my Windows laptop. …

---

## [Change color of poly inside an imperfect surface.](https://discourse.vtk.org/t/change-color-of-poly-inside-an-imperfect-surface/1719)

<div class="topic-metadata">

**Author:** [@bruce.bogtrotter](https://discourse.vtk.org/u/bruce.bogtrotter)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 10:47am UTC](https://discourse.vtk.org/t/change-color-of-poly-inside-an-imperfect-surface/1719 "2019-09-08T10:47:08Z")

</div>

I’m trying to find the best way of changing color of polydata that has penetrated the surface of an (unperfectly closed) object. for example, if I have a foam football (with holes in it/imperefectly closed surface), and…

---

## [DICOM MRI Multiplanar Reformation (MPR) using vtkImageReslice](https://discourse.vtk.org/t/dicom-mri-multiplanar-reformation-mpr-using-vtkimagereslice/1626)

<div class="topic-metadata">

**Author:** [@MichelleKline](https://discourse.vtk.org/u/MichelleKline)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 9:46pm UTC](https://discourse.vtk.org/t/dicom-mri-multiplanar-reformation-mpr-using-vtkimagereslice/1626 "2019-09-06T21:46:36Z")

</div>

Hello, I am new to VTK. I’m stuck on a problem and could really use some advice. I am writing a small program to perform multiplanar reformation (MPR) on a DICOM. I’ve read many forums, Q&As (@dgobbi) and examples. A…

---

## [Retrieve information about a netCDF file (measure units)](https://discourse.vtk.org/t/retrieve-information-about-a-netcdf-file-measure-units/1715)

<div class="topic-metadata">

**Author:** [@lorenzocelli](https://discourse.vtk.org/u/lorenzocelli)\
**Replies:** 0\
**Last updated:** [September 6, 2019, 5:14pm UTC](https://discourse.vtk.org/t/retrieve-information-about-a-netcdf-file-measure-units/1715 "2019-09-06T17:14:57Z")

</div>

Hello! I’m very new to VTK and I have a stupid question about the netCDFCF reader. I have a .nc file (you can download it here: https://drive.google.com/file/d/174F6fmasQFZXVWV9xMqOZKR5qyRlrAm6/view?usp=sharing ) and I w…

---

## [how to mirror the image?](https://discourse.vtk.org/t/how-to-mirror-the-image/1707)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 1\
**Last updated:** [September 6, 2019, 6:59am UTC](https://discourse.vtk.org/t/how-to-mirror-the-image/1707 "2019-09-06T06:59:35Z")

</div>

m\_Renderer-\>GetActiveCamera()-\>SetViewUp(0, 0, -1); I set the camera by SetViewUp(), and now I want to exchange the image left and right. I mean I want to mirror the image along red line. how can I set camera, which …

---

## [Does vti (vtkImageData) only support 1channel?](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687)

<div class="topic-metadata">

**Author:** [@rjsgml5698](https://discourse.vtk.org/u/rjsgml5698)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 3:11pm UTC](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687 "2019-09-05T15:11:25Z")

</div>

Hello I have a question. Does vti(vtkImageData) only support 1channel? only greyscale? Thank you

---

## [VTK 9 release date ?](https://discourse.vtk.org/t/vtk-9-release-date/1701)

<div class="topic-metadata">

**Author:** [@simonesneault](https://discourse.vtk.org/u/simonesneault)\
**Replies:** 1\
**Last updated:** [September 5, 2019, 3:04pm UTC](https://discourse.vtk.org/t/vtk-9-release-date/1701 "2019-09-05T15:04:54Z")

</div>

Hello, Is there an expected release date for the upcoming VTK 9.0 ? Thanks

---

## [vtkimagereslice with vtkimageslab very slow when thickness](https://discourse.vtk.org/t/vtkimagereslice-with-vtkimageslab-very-slow-when-thickness/1629)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 7\
**Last updated:** [September 4, 2019, 4:00pm UTC](https://discourse.vtk.org/t/vtkimagereslice-with-vtkimageslab-very-slow-when-thickness/1629 "2019-09-04T16:00:53Z")

</div>

Hi everybody, I am making a curve surface reconstruction successfully with vtkimagereslice and appending every output of the curve to the final image (for each 2 points of the curve i reslice). I use that to obtain a pa…

---

## [Bug with scene coordinates of mouse events](https://discourse.vtk.org/t/bug-with-scene-coordinates-of-mouse-events/1688)

<div class="topic-metadata">

**Author:** [@e-kolosov](https://discourse.vtk.org/u/e-kolosov)\
**Replies:** 0\
**Last updated:** [September 4, 2019, 8:11am UTC](https://discourse.vtk.org/t/bug-with-scene-coordinates-of-mouse-events/1688 "2019-09-04T08:11:05Z")

</div>

Hello. The method vtkContextMouseEvent::GetScenePos() return a screen position instead a scene position. I think that the reason of this bug placed at the method vtkContextScene::EventCopy but I could not fix it in a s…

---

## [Problem about revolution and rotation(just like earth and sun) using Actor-\>SetOrigin(X,Y,Z)](https://discourse.vtk.org/t/problem-about-revolution-and-rotation-just-like-earth-and-sun-using-actor-setorigin-x-y-z/1679)

<div class="topic-metadata">

**Author:** [@xjtu\_lxj](https://discourse.vtk.org/u/xjtu_lxj)\
**Replies:** 3\
**Last updated:** [September 4, 2019, 3:56am UTC](https://discourse.vtk.org/t/problem-about-revolution-and-rotation-just-like-earth-and-sun-using-actor-setorigin-x-y-z/1679 "2019-09-04T03:56:39Z")

</div>

I am working on a school project about using VTK to draw a roller bearing. As you know, when the bearing is rotating, the roller is similar to pure rolling, it can be shown as rotation and revolution of the roller around…

---

## [Box clip with vtkTableBasedClipDataSet and sharp edges?](https://discourse.vtk.org/t/box-clip-with-vtktablebasedclipdataset-and-sharp-edges/1286)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 6\
**Last updated:** [September 3, 2019, 8:56pm UTC](https://discourse.vtk.org/t/box-clip-with-vtktablebasedclipdataset-and-sharp-edges/1286 "2019-09-03T20:56:02Z")

</div>

The vtkBoxClipDataSet is great, however, it produces a triangulated mesh outside of the clipping box much like the vtkClipDataSet filter as discussed in the thread: https://discourse.vtk.org/t/is-it-possible-to-turn-off-…

---

## [Attribute error in getting dimensions of list to write to a csv](https://discourse.vtk.org/t/attribute-error-in-getting-dimensions-of-list-to-write-to-a-csv/1648)

<div class="topic-metadata">

**Author:** [@tejas.canchi](https://discourse.vtk.org/u/tejas.canchi)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 8:18pm UTC](https://discourse.vtk.org/t/attribute-error-in-getting-dimensions-of-list-to-write-to-a-csv/1648 "2019-09-03T20:18:19Z")

</div>

I am trying to write a list that has been processed on flow image data to write to a CSV. I am getting the following error. Does anyone have any leads? return list(self.vtsData.GetDimensions()) AttributeError: ‘vtkComm…

---

## [vtkResampleToImage](https://discourse.vtk.org/t/vtkresampletoimage/1671)

<div class="topic-metadata">

**Author:** [@paul-bd](https://discourse.vtk.org/u/paul-bd)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 8:06pm UTC](https://discourse.vtk.org/t/vtkresampletoimage/1671 "2019-09-03T20:06:28Z")

</div>

Hi ! I aim trying to voxelize in python a 3D mesh of tetrahedron elements stored as a vtk unstructured grid (produced by tetgen) where I would like that each elements be graduatly incremented (numbered from 1 to n\_cells…

---

## [Eye-Dome Lighting: vtkEDLShading (example request)](https://discourse.vtk.org/t/eye-dome-lighting-vtkedlshading-example-request/508)

<div class="topic-metadata">

**Author:** [@banesullivan](https://discourse.vtk.org/u/banesullivan)\
**Replies:** 6\
**Last updated:** [September 1, 2019, 7:05pm UTC](https://discourse.vtk.org/t/eye-dome-lighting-vtkedlshading-example-request/508 "2019-09-01T19:05:38Z")

</div>

Could someone share an example of how to use the vtkEDLShading class in VTK? This is commonly used in ParaView but I can’t seem to find any examples using it in pure-VTK. Any help would be much appreciated!

---

## [Drawing a collection of variable length fixed radius cylinders](https://discourse.vtk.org/t/drawing-a-collection-of-variable-length-fixed-radius-cylinders/1602)

<div class="topic-metadata">

**Author:** [@noamb](https://discourse.vtk.org/u/noamb)\
**Replies:** 2\
**Last updated:** [August 30, 2019, 2:12pm UTC](https://discourse.vtk.org/t/drawing-a-collection-of-variable-length-fixed-radius-cylinders/1602 "2019-08-30T14:12:47Z")

</div>

I want to draw a collection of variable length fixed radius fixed color cylinders, and I want to be able to pick them. I’ve been trying to do it via glyphs, but each glyph object type I’ve tried fails in a different way…

---

## [picking glyphs vtkGlyph3DMapper](https://discourse.vtk.org/t/picking-glyphs-vtkglyph3dmapper/1618)

<div class="topic-metadata">

**Author:** [@noamb](https://discourse.vtk.org/u/noamb)\
**Replies:** 4\
**Last updated:** [August 30, 2019, 2:11pm UTC](https://discourse.vtk.org/t/picking-glyphs-vtkglyph3dmapper/1618 "2019-08-30T14:11:31Z")

</div>

Can anyone suggest what’s the right picker to use for finding out the top-most glyph at a glyph from a vtkGlyph3DMapper? I tried to use vtkCellPicker, but it never seems to return any hits from the glyphs, only from oth…

---

## [vtkXOpenGLRenderWindow error](https://discourse.vtk.org/t/vtkxopenglrenderwindow-error/1668)

<div class="topic-metadata">

**Author:** [@rajaya](https://discourse.vtk.org/u/rajaya)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 3:28am UTC](https://discourse.vtk.org/t/vtkxopenglrenderwindow-error/1668 "2019-08-30T03:28:43Z")

</div>

When I launch mayavi2 I get the following error message: ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 797 vtkXOpenGLRenderWindow (0x558dd837c070): GL version 2.1 wit…

---

## [why the slice cursor move back to the center?](https://discourse.vtk.org/t/why-the-slice-cursor-move-back-to-the-center/1664)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 1\
**Last updated:** [August 30, 2019, 2:58am UTC](https://discourse.vtk.org/t/why-the-slice-cursor-move-back-to-the-center/1664 "2019-08-30T02:58:02Z")

</div>

my steps: at the upper right view, move the red cursor line from center to right. 2.at he upper left view, I change the slice along z axis through mousewheel backward or forward. but the red line automatic move to cen…

---

## [Reslice of ImageData and glyph3D arrows](https://discourse.vtk.org/t/reslice-of-imagedata-and-glyph3d-arrows/1617)

<div class="topic-metadata">

**Author:** [@Louis](https://discourse.vtk.org/u/Louis)\
**Replies:** 18\
**Last updated:** [August 29, 2019, 7:37am UTC](https://discourse.vtk.org/t/reslice-of-imagedata-and-glyph3d-arrows/1617 "2019-08-29T07:37:27Z")

</div>

Hi everyone, I got a issue with my VTK pipeline but i don’t understand what did i do wrong. Currently I want to display an image of a 3D volume and on this image I want some 3D glyph arrows. But when I display it, any…

---

## [Constrain vtkDelaunay2D](https://discourse.vtk.org/t/constrain-vtkdelaunay2d/1609)

<div class="topic-metadata">

**Author:** [@danielmcquillen](https://discourse.vtk.org/u/danielmcquillen)\
**Replies:** 6\
**Last updated:** [August 28, 2019, 10:28pm UTC](https://discourse.vtk.org/t/constrain-vtkdelaunay2d/1609 "2019-08-28T22:28:10Z")

</div>

I’m attempting to use VTK to visualize heat transfer through a window frame cross section shaped like this: The examples for constraining a vtkDelaunay2D all show how to essentially punch a hole out of the generated m…

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

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