# Latest

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

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

**Page:** 237

---

## [Does the installation of paraview automatically install VTK as well?](https://discourse.vtk.org/t/does-the-installation-of-paraview-automatically-install-vtk-as-well/1861)

<div class="topic-metadata">

**Author:** [@zzzhhh](https://discourse.vtk.org/u/zzzhhh)\
**Replies:** 2\
**Last updated:** [October 4, 2019, 7:44pm UTC](https://discourse.vtk.org/t/does-the-installation-of-paraview-automatically-install-vtk-as-well/1861 "2019-10-04T19:44:58Z")

</div>

I heard that paraview is built around VTK, so I was wondering if the installation of paraview automatically installs VTK as well. Specifically, I hope CGAL’s cmake script can automatically detect the existence of VTK and…

---

## [Scalable Text Position by Scaling its Parent (QVtkRenderWindowInteractor) size vtk python](https://discourse.vtk.org/t/scalable-text-position-by-scaling-its-parent-qvtkrenderwindowinteractor-size-vtk-python/1871)

<div class="topic-metadata">

**Author:** [@kimia.af1998](https://discourse.vtk.org/u/kimia.af1998)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 7:24pm UTC](https://discourse.vtk.org/t/scalable-text-position-by-scaling-its-parent-qvtkrenderwindowinteractor-size-vtk-python/1871 "2019-10-04T19:24:25Z")

</div>

Hi I have a render window that contains a text actor . its widget container can scale and resize by user but the text position is still fixed.(I used grid layout with pyqt5 that is resizable and contains my render wind…

---

## [VtkSockets connection to not VTK Socket](https://discourse.vtk.org/t/vtksockets-connection-to-not-vtk-socket/1870)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.vtk.org/u/Alex1)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 6:28pm UTC](https://discourse.vtk.org/t/vtksockets-connection-to-not-vtk-socket/1870 "2019-10-04T18:28:27Z")

</div>

Hi, I am new to VTK and try to connect the vtkServerSocket to my TCP Client (Putty). I tried this: vtkSmartPointer\<vtkServerSocket\> ssocket = vtkSmartPointer\<vtkServerSocket\>::New(); vtkSmartPointer\<vtkSocketControlle…

---

## [Callback keypress interaction not working](https://discourse.vtk.org/t/callback-keypress-interaction-not-working/1865)

<div class="topic-metadata">

**Author:** [@Mikend994](https://discourse.vtk.org/u/Mikend994)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 11:01am UTC](https://discourse.vtk.org/t/callback-keypress-interaction-not-working/1865 "2019-10-04T11:01:59Z")

</div>

Hi, I’m trying to use a callback function for starting an action when a key(keyboard) is pressed. For doing this I’m implementing the “KeyPressObserver” example. My target is to increase the sphere radius when I click on…

---

## [vtkLight to follow camera facing](https://discourse.vtk.org/t/vtklight-to-follow-camera-facing/1855)

<div class="topic-metadata">

**Author:** [@rai-sam](https://discourse.vtk.org/u/rai-sam)\
**Replies:** 3\
**Last updated:** [October 4, 2019, 9:46am UTC](https://discourse.vtk.org/t/vtklight-to-follow-camera-facing/1855 "2019-10-04T09:46:11Z")

</div>

I have disabled automatic light generation. And want to use vtkLight to update light facing as camera. LightFollowCameraOn is not helping out.

---

## [OffScreenRenderingOn/Off stops the interactor?](https://discourse.vtk.org/t/offscreenrenderingon-off-stops-the-interactor/1862)

<div class="topic-metadata">

**Author:** [@Mskovmand](https://discourse.vtk.org/u/Mskovmand)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 8:44am UTC](https://discourse.vtk.org/t/offscreenrenderingon-off-stops-the-interactor/1862 "2019-10-04T08:44:31Z")

</div>

Having trouble implementing OffScreenRendering for when I’m exporting an image of my scene. What I’m doing: Generate data Enable OffScreenRendering Write image. Enable OnScreenRendering Render the image (to open the r…

---

## [Seg fault in Rendering/OpenGL2/vtkOpenGLTexture.cxx 8.2.0](https://discourse.vtk.org/t/seg-fault-in-rendering-opengl2-vtkopengltexture-cxx-8-2-0/1789)

<div class="topic-metadata">

**Author:** [@efahl](https://discourse.vtk.org/u/efahl)\
**Replies:** 7\
**Last updated:** [October 3, 2019, 7:33pm UTC](https://discourse.vtk.org/t/seg-fault-in-rendering-opengl2-vtkopengltexture-cxx-8-2-0/1789 "2019-10-03T19:33:52Z")

</div>

I’d been chasing a seg fault for some months now, trying to come up with a small reproducible test, but haven’t been able to trim it down to less that 100Ks of lines of code. I passed it off to a colleague who was looki…

---

## [vtkContour](https://discourse.vtk.org/t/vtkcontour/1845)

<div class="topic-metadata">

**Author:** [@hamid\_badi](https://discourse.vtk.org/u/hamid_badi)\
**Replies:** 1\
**Last updated:** [October 3, 2019, 6:22pm UTC](https://discourse.vtk.org/t/vtkcontour/1845 "2019-10-03T18:22:58Z")

</div>

Hello everybody, Maybe i’m stupid but i want to display the isolines from two different scalars field. To do that i have all nodes, cells (for the mesh) and two scalars node fields store polydata object. I set the activ…

---

## [Reading a VTR file with Python using vtkXMLRectilinearGridReader()](https://discourse.vtk.org/t/reading-a-vtr-file-with-python-using-vtkxmlrectilineargridreader/1846)

<div class="topic-metadata">

**Author:** [@swebste9](https://discourse.vtk.org/u/swebste9)\
**Replies:** 1\
**Last updated:** [October 3, 2019, 6:11pm UTC](https://discourse.vtk.org/t/reading-a-vtr-file-with-python-using-vtkxmlrectilineargridreader/1846 "2019-10-03T18:11:27Z")

</div>

I am a new user of VTR files and have inherited some legacy code that intends to read in a VTR file with Python using the vtkXMLRectilinearGridReader(). I am having difficulties getting this to work and am hoping someon…

---

## [Dashboard cleanup party](https://discourse.vtk.org/t/dashboard-cleanup-party/1856)

<div class="topic-metadata">

**Author:** [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Replies:** 5\
**Last updated:** [October 3, 2019, 5:30pm UTC](https://discourse.vtk.org/t/dashboard-cleanup-party/1856 "2019-10-03T17:30:01Z")

</div>

Folks, the dashboards for merge requests are currently a disaster. https://open.cdash.org/index.php?project=VTK taanab - 2006 failing tests duma - 1296 failing tests dejagore - 903 failing tests eeloo - 22 failing te…

---

## [resize renderwindow problem only with firefox](https://discourse.vtk.org/t/resize-renderwindow-problem-only-with-firefox/1242)

<div class="topic-metadata">

**Author:** [@PBrockmann](https://discourse.vtk.org/u/PBrockmann)\
**Replies:** 8\
**Last updated:** [October 3, 2019, 2:28pm UTC](https://discourse.vtk.org/t/resize-renderwindow-problem-only-with-firefox/1242 "2019-10-03T14:28:34Z")

</div>

I would like to have some feedback on a specific problem that appears only with firefox (tested with 67.0.4 (64-bit)) but not with google-chrome (Version 75.0.3770.100 (Official Build) (64-bit)). With firefox, the resiz…

---

## [CellPicker example glitch](https://discourse.vtk.org/t/cellpicker-example-glitch/1852)

<div class="topic-metadata">

**Author:** [@EmileSonneveld](https://discourse.vtk.org/u/EmileSonneveld)\
**Replies:** 3\
**Last updated:** [October 3, 2019, 8:25am UTC](https://discourse.vtk.org/t/cellpicker-example-glitch/1852 "2019-10-03T08:25:30Z")

</div>

Hi, In the following example there seem to have a glitch: https://kitware.github.io/vtk-js/examples/CellPicker.html Some points are considered to be on the Cell, while actually they appear in mid air. Is this intentio…

---

## [DICOM visualisation in vtk.js, deployed as external file in web](https://discourse.vtk.org/t/dicom-visualisation-in-vtk-js-deployed-as-external-file-in-web/1341)

<div class="topic-metadata">

**Author:** [@Bilal](https://discourse.vtk.org/u/Bilal)\
**Replies:** 3\
**Last updated:** [October 2, 2019, 4:51pm UTC](https://discourse.vtk.org/t/dicom-visualisation-in-vtk-js-deployed-as-external-file-in-web/1341 "2019-10-02T16:51:51Z")

</div>

Hi All, I’m a newbie to the VTK programming. Firstly apologies for such a naive question. All I want is to read/visualise a DICOM file on a web page where vtk.js is imported as an external file. I’ve searched online an…

---

## [ParaView or VTK.js or ITK - Which One is Best for Web DICOM Viewing?](https://discourse.vtk.org/t/paraview-or-vtk-js-or-itk-which-one-is-best-for-web-dicom-viewing/1357)

<div class="topic-metadata">

**Author:** [@Bilal](https://discourse.vtk.org/u/Bilal)\
**Replies:** 5\
**Last updated:** [October 2, 2019, 4:45pm UTC](https://discourse.vtk.org/t/paraview-or-vtk-js-or-itk-which-one-is-best-for-web-dicom-viewing/1357 "2019-10-02T16:45:07Z")

</div>

Hi All, I’m trying to develop a medical DICOM based imaging storage and viewing system using Oracle JDeveloper which is a Java EE framework for enterprise applications development. I found VTK a remarkable library so fa…

---

## [Writing xml vtu files using fortran](https://discourse.vtk.org/t/writing-xml-vtu-files-using-fortran/1829)

<div class="topic-metadata">

**Author:** [@Giant](https://discourse.vtk.org/u/Giant)\
**Replies:** 1\
**Last updated:** [September 30, 2019, 3:55am UTC](https://discourse.vtk.org/t/writing-xml-vtu-files-using-fortran/1829 "2019-09-30T03:55:19Z")

</div>

I am quite new to both Fortran language and VTK file format.So I have ASCII data(small part of data attached below) and want to write a vtu file for the data. Can someone provide possible guidance or solutions on how to …

---

## [How can I create a time dependent vtkUnstructuredGrid object?](https://discourse.vtk.org/t/how-can-i-create-a-time-dependent-vtkunstructuredgrid-object/1822)

<div class="topic-metadata">

**Author:** [@myousefi2016](https://discourse.vtk.org/u/myousefi2016)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 5:06pm UTC](https://discourse.vtk.org/t/how-can-i-create-a-time-dependent-vtkunstructuredgrid-object/1822 "2019-09-26T17:06:34Z")

</div>

Currently, I’m combining some vtu files that belong to different time snapshots into one vtu file by using this function: def Combiner(mainfiles,path): data\_to\_write = vtk.vtkUnstructuredGrid() writer = vtk.vtkXMLUnst…

---

## [ExtractCellsUsingPoints giving unusual output](https://discourse.vtk.org/t/extractcellsusingpoints-giving-unusual-output/1832)

<div class="topic-metadata">

**Author:** [@srbn.ghosh99](https://discourse.vtk.org/u/srbn.ghosh99)\
**Replies:** 0\
**Last updated:** [September 26, 2019, 4:40pm UTC](https://discourse.vtk.org/t/extractcellsusingpoints-giving-unusual-output/1832 "2019-09-26T16:40:19Z")

</div>

Hi, I want to split one triangular mesh into two parts based on the material information which is already included in the mesh. The data is looking like this and it should be split into two parts the blue one and the o…

---

## [New VTK build on windows - doesnt build anything](https://discourse.vtk.org/t/new-vtk-build-on-windows-doesnt-build-anything/1798)

<div class="topic-metadata">

**Author:** [@jep\_crain](https://discourse.vtk.org/u/jep_crain)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 2:12pm UTC](https://discourse.vtk.org/t/new-vtk-build-on-windows-doesnt-build-anything/1798 "2019-09-26T14:12:01Z")

</div>

Followed instructions here: https://vtk.org/Wiki/VTK/Building/Windows I am using Visual Studio 2019. CMake 3.15.3 CMake “configures” and “generates”. Produces a VTK.sln Load VTK.sln into VS19 - issue build. Get no…

---

## [UnStructuredGrid rendering with OSPRay](https://discourse.vtk.org/t/unstructuredgrid-rendering-with-ospray/1826)

<div class="topic-metadata">

**Author:** [@ymhsieh](https://discourse.vtk.org/u/ymhsieh)\
**Replies:** 0\
**Last updated:** [September 26, 2019, 3:42am UTC](https://discourse.vtk.org/t/unstructuredgrid-rendering-with-ospray/1826 "2019-09-26T03:42:40Z")

</div>

Hello, I have problems with rendering a simple unstructuredgrid with OSPRay turned on. The UnStructuredGrid is constructed as attached, and it renders fine without OSPRay. I’ve also tested my setup and vtkSphereSource …

---

## [integrate HAVS algorithm with OpenGL2 rendering background](https://discourse.vtk.org/t/integrate-havs-algorithm-with-opengl2-rendering-background/1824)

<div class="topic-metadata">

**Author:** [@fanfanliangliang](https://discourse.vtk.org/u/fanfanliangliang)\
**Replies:** 0\
**Last updated:** [September 26, 2019, 12:46am UTC](https://discourse.vtk.org/t/integrate-havs-algorithm-with-opengl2-rendering-background/1824 "2019-09-26T00:46:49Z")

</div>

Hello community , We are affected by a fatal issue on VTK8.0 . If we build VTK8.0 with OpenGL(rendering background), there are some classes about HAVS algorithm (such like vtkHAVSVolumeMapper) built successfully. But w…

---

## [How can set camera to get the result that see from the back?](https://discourse.vtk.org/t/how-can-set-camera-to-get-the-result-that-see-from-the-back/1730)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 14\
**Last updated:** [September 25, 2019, 5:31pm UTC](https://discourse.vtk.org/t/how-can-set-camera-to-get-the-result-that-see-from-the-back/1730 "2019-09-25T17:31:30Z")

</div>

I vtkSmartPointermyCamera = vtkSmartPointer::New(); myCamera-\>SetClippingRange(0,2);// myCamera-\>SetFocalPoint(212, 212, 148);// myCamera-\>SetPosition(212,900,148);// myCamera-\>ComputeViewPlaneNormal(); myCamera-\>…

---

## [vtkcutter with vtkimagereslice does not consider extent](https://discourse.vtk.org/t/vtkcutter-with-vtkimagereslice-does-not-consider-extent/1802)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.vtk.org/u/zandarina)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 1:24pm UTC](https://discourse.vtk.org/t/vtkcutter-with-vtkimagereslice-does-not-consider-extent/1802 "2019-09-25T13:24:56Z")

</div>

Hi everybody I would like an stl or polydata overlay an vtkimagedata. The problem i found is that the transform in vtkimagereslice does not consider the extent. So i use vtkcutter properly to compute the cut of the stl …

---

## [new to vtk/render a prism(wall) that vibrates along time](https://discourse.vtk.org/t/new-to-vtk-render-a-prism-wall-that-vibrates-along-time/1818)

<div class="topic-metadata">

**Author:** [@hgropelli](https://discourse.vtk.org/u/hgropelli)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 9:36am UTC](https://discourse.vtk.org/t/new-to-vtk-render-a-prism-wall-that-vibrates-along-time/1818 "2019-09-25T09:36:45Z")

</div>

Hello! I’m new to vtk. I already rendered in .vtk a group of particles (vtkunstructuredgrid) in movement (+1000) with scalars (temperature, radius…) to view in paraview, I had previously all conditions of particles gener…

---

## [DIMENSIONS field of the VTK legacy format](https://discourse.vtk.org/t/dimensions-field-of-the-vtk-legacy-format/1810)

<div class="topic-metadata">

**Author:** [@danielc](https://discourse.vtk.org/u/danielc)\
**Replies:** 3\
**Last updated:** [September 24, 2019, 6:48pm UTC](https://discourse.vtk.org/t/dimensions-field-of-the-vtk-legacy-format/1810 "2019-09-24T18:48:28Z")

</div>

Hello, I hope this is the correct forum to ask a question about the VTK legacy file format. I have this application (not mine) that produces VTK legacy files, and it does something funky with the DIMENSIONS line and I w…

---

## [Mac/Java build on CDash?](https://discourse.vtk.org/t/mac-java-build-on-cdash/1811)

<div class="topic-metadata">

**Author:** [@Gilthalas](https://discourse.vtk.org/u/Gilthalas)\
**Replies:** 0\
**Last updated:** [September 24, 2019, 12:16pm UTC](https://discourse.vtk.org/t/mac-java-build-on-cdash/1811 "2019-09-24T12:16:14Z")

</div>

I notice that there are several different configurations being built on https://open.cdash.org/index.php?project=VTK - are there plans to get one for Mac with Java wrappings? I still continue to have problems building V…

---

## [Exporting images by key operation.](https://discourse.vtk.org/t/exporting-images-by-key-operation/1756)

<div class="topic-metadata">

**Author:** [@1111](https://discourse.vtk.org/u/1111)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 10:40am UTC](https://discourse.vtk.org/t/exporting-images-by-key-operation/1756 "2019-09-24T10:40:33Z")

</div>

Hi, Currently, I am developing imaging using vtkImplicitPlaneWidget2. I’m thinking about saving to my file by pressing a certain key on the window. First, identify the keys and create code to operate them. Can you gi…

---

## [Is there a way to compile on the fly new classes inheriting a VTK class in python?](https://discourse.vtk.org/t/is-there-a-way-to-compile-on-the-fly-new-classes-inheriting-a-vtk-class-in-python/1806)

<div class="topic-metadata">

**Author:** [@Yohann\_Bearzi](https://discourse.vtk.org/u/Yohann_Bearzi)\
**Replies:** 2\
**Last updated:** [September 24, 2019, 3:28am UTC](https://discourse.vtk.org/t/is-there-a-way-to-compile-on-the-fly-new-classes-inheriting-a-vtk-class-in-python/1806 "2019-09-24T03:28:03Z")

</div>

I would need to be able to let users define new classes inheriting an abstract vtk class inheriting vtkDataObject with a few simple methods / static attributes to redefine. Is it possible in python to do this kind of stu…

---

## [LookupTable on Grid not working](https://discourse.vtk.org/t/lookuptable-on-grid-not-working/1807)

<div class="topic-metadata">

**Author:** [@Mikend994](https://discourse.vtk.org/u/Mikend994)\
**Replies:** 0\
**Last updated:** [September 23, 2019, 3:48pm UTC](https://discourse.vtk.org/t/lookuptable-on-grid-not-working/1807 "2019-09-23T15:48:05Z")

</div>

Hi, I’m trying to connect a LookupTable on a Grid(like one from examples). I have seen some tutorial and I have done what was in there, but it still not working. I have defined a new lookup table like this vtkSmart…

---

## [VTK.js - Using vtkImageReslice displaying black rectangle with ouput dimensionality set to 2](https://discourse.vtk.org/t/vtk-js-using-vtkimagereslice-displaying-black-rectangle-with-ouput-dimensionality-set-to-2/1425)

<div class="topic-metadata">

**Author:** [@diaztula](https://discourse.vtk.org/u/diaztula)\
**Replies:** 4\
**Last updated:** [September 23, 2019, 1:46pm UTC](https://discourse.vtk.org/t/vtk-js-using-vtkimagereslice-displaying-black-rectangle-with-ouput-dimensionality-set-to-2/1425 "2019-09-23T13:46:38Z")

</div>

Hello! I’m trying to use vtkImageReslice to display a CT in the axial orientation. I’m using the latest vtk.js with React and following the code from here. The problem is that it displays a black rectangle: This is …

---

## [why vtkResliceCursor set a negative in vtkResliceCursor.cxx file?](https://discourse.vtk.org/t/why-vtkreslicecursor-set-a-negative-in-vtkreslicecursor-cxx-file/1800)

<div class="topic-metadata">

**Author:** [@pingdan](https://discourse.vtk.org/u/pingdan)\
**Replies:** 0\
**Last updated:** [September 23, 2019, 7:36am UTC](https://discourse.vtk.org/t/why-vtkreslicecursor-set-a-negative-in-vtkreslicecursor-cxx-file/1800 "2019-09-23T07:36:31Z")

</div>

when I search the file ‘vtkResliceCursor.cxx’ and find as below: vtkResliceCursor::vtkResliceCursor() { … … this-\>ReslicePlanes-\>GetItem(0)-\>SetNormal(1,0,0); this-\>ReslicePlanes-\>GetItem(1)-\>SetNormal(0,-1,0); th…

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

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