# Latest

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

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

**Page:** 151

---

## [combining vtk with unity](https://discourse.vtk.org/t/combining-vtk-with-unity/1524)

<div class="topic-metadata">

**Author:** [@svabhishek29](https://discourse.vtk.org/u/svabhishek29)\
**Replies:** 1\
**Last updated:** [December 16, 2021, 8:13am UTC](https://discourse.vtk.org/t/combining-vtk-with-unity/1524 "2021-12-16T08:13:11Z")

</div>

hi, is there a way to connect vtk with unity such that we can use vtk functions like volume rendering and LUT but render it in unity? thanks

---

## [Not able to format vtkCubeAxesActor() axis labels](https://discourse.vtk.org/t/not-able-to-format-vtkcubeaxesactor-axis-labels/7411)

<div class="topic-metadata">

**Author:** [@jonnymaserati](https://discourse.vtk.org/u/jonnymaserati)\
**Replies:** 0\
**Last updated:** [December 16, 2021, 8:03am UTC](https://discourse.vtk.org/t/not-able-to-format-vtkcubeaxesactor-axis-labels/7411 "2021-12-16T08:03:13Z")

</div>

I’m not able to change the formatting of the labels on my plot… what am I doing wrong? I have a Actor initiated: cubeAxesActor = vtkCubeAxesActor() And I’m trying to change the label formatting like this: cubeAxesAct…

---

## [Looping and Scatter/Gather - mapping to VTK pipeline](https://discourse.vtk.org/t/looping-and-scatter-gather-mapping-to-vtk-pipeline/7410)

<div class="topic-metadata">

**Author:** [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)\
**Replies:** 0\
**Last updated:** [December 16, 2021, 4:02am UTC](https://discourse.vtk.org/t/looping-and-scatter-gather-mapping-to-vtk-pipeline/7410 "2021-12-16T04:02:55Z")

</div>

Hi, I am trying to map a couple use cases I have come across in my work and how I can map them to VTK Case 1 : Looping range of parameter(s) \[Film/VFX/Animation related\] I have an vtkAlgorithm which takes an input (e.…

---

## [Draggable vtkTextWidget](https://discourse.vtk.org/t/draggable-vtktextwidget/7409)

<div class="topic-metadata">

**Author:** [@andrsd](https://discourse.vtk.org/u/andrsd)\
**Replies:** 0\
**Last updated:** [December 16, 2021, 12:05am UTC](https://discourse.vtk.org/t/draggable-vtktextwidget/7409 "2021-12-16T00:05:38Z")

</div>

Hello! I am trying to use vtkTextWidget such that a user can drag it to a desired location. I have a python code that adds the widget - I can resize it, but not move it. Below is a minimal (non)working example showing…

---

## [Image cursors not shown properly in VTK 9.1 (Four Pane Viewer)](https://discourse.vtk.org/t/image-cursors-not-shown-properly-in-vtk-9-1-four-pane-viewer/7407)

<div class="topic-metadata">

**Author:** [@Peter](https://discourse.vtk.org/u/Peter)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 9:10am UTC](https://discourse.vtk.org/t/image-cursors-not-shown-properly-in-vtk-9-1-four-pane-viewer/7407 "2021-12-15T09:10:56Z")

</div>

Hello! If I am running the Four Pane Viewer example with VTK 9.1, the cursors are not shown properly. I.e. the cursors are not shown at all, only some dots of the line are shown or the line is behind the image. If I re…

---

## [Multiple Web Browser sections in web-project-templates-master project](https://discourse.vtk.org/t/multiple-web-browser-sections-in-web-project-templates-master-project/7224)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.vtk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 10\
**Last updated:** [December 14, 2021, 8:35pm UTC](https://discourse.vtk.org/t/multiple-web-browser-sections-in-web-project-templates-master-project/7224 "2021-12-14T20:35:41Z")

</div>

Dear All, In the example web-project-templates-master when are open multiples sections in browsers the resources in the server are replicated each time. (with only one section in the server) Can the example be configur…

---

## [How to pass parameters to vtk constructor?](https://discourse.vtk.org/t/how-to-pass-parameters-to-vtk-constructor/7397)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 4\
**Last updated:** [December 14, 2021, 1:45pm UTC](https://discourse.vtk.org/t/how-to-pass-parameters-to-vtk-constructor/7397 "2021-12-14T13:45:00Z")

</div>

Generally, we use vtkSmartPointer to create a object as: vtkSmartPointer\<vtkConeSource\> cone = vtkSmartPointer\<vtkConeSource\>::New(); After reading the source code of vtkConeSource, I find it accept a parameter in the …

---

## [How to pick the prop in vtkAssembly](https://discourse.vtk.org/t/how-to-pick-the-prop-in-vtkassembly/7400)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 9:55am UTC](https://discourse.vtk.org/t/how-to-pick-the-prop-in-vtkassembly/7400 "2021-12-14T09:55:55Z")

</div>

I use vtkAssembly to collect some prop, but I meet problem when using vtkPropPicker. For example, I use vtkAssembly to group two line (line1/line2), and the vtkPropPicker also correctly pick this vtkAssembly. Is there a…

---

## [Design question about vtkExtractBlock UsingDataAssembly](https://discourse.vtk.org/t/design-question-about-vtkextractblock-usingdataassembly/7399)

<div class="topic-metadata">

**Author:** [@scotsman60](https://discourse.vtk.org/u/scotsman60)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 8:48am UTC](https://discourse.vtk.org/t/design-question-about-vtkextractblock-usingdataassembly/7399 "2021-12-14T08:48:29Z")

</div>

Hello!!! First off - I added the space in the topic title to get around a “long word” warning when posting… I’m using vtkExtractBlockUsingDataAssembly to extract blocks from a vtkPartitionedDataSetCollection and I can’…

---

## [Format file and compression parameters](https://discourse.vtk.org/t/format-file-and-compression-parameters/6784)

<div class="topic-metadata">

**Author:** [@Sagues](https://discourse.vtk.org/u/Sagues)\
**Replies:** 1\
**Last updated:** [December 14, 2021, 8:44am UTC](https://discourse.vtk.org/t/format-file-and-compression-parameters/6784 "2021-12-14T08:44:18Z")

</div>

I’ve exported unstructured grids to xml files in ascii, binary and appended format. I’ve used LZ4 and LZMA compression with level 5 and 9. All exported files in ascii (zlibcompression, default option) have a size of 691…

---

## [How to set tolerance for vtkPropPicker](https://discourse.vtk.org/t/how-to-set-tolerance-for-vtkproppicker/7398)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.vtk.org/u/zhang-qiang-github)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 8:38am UTC](https://discourse.vtk.org/t/how-to-set-tolerance-for-vtkproppicker/7398 "2021-12-14T08:38:47Z")

</div>

I want to pick actor in VTK. Firstly, I use vtkCellPicker, but it do not work as expected. vtkCellPicker can not pick vtk.vtkActor - Support - VTK And I still don’t know why. Then, I try vtkPropPicker, and it works fin…

---

## [glyph variable arrow size](https://discourse.vtk.org/t/glyph-variable-arrow-size/7391)

<div class="topic-metadata">

**Author:** [@cimo](https://discourse.vtk.org/u/cimo)\
**Replies:** 1\
**Last updated:** [December 13, 2021, 11:30pm UTC](https://discourse.vtk.org/t/glyph-variable-arrow-size/7391 "2021-12-13T23:30:04Z")

</div>

Hi all, I would like to assign arrows with a different size according to the selected scalar. Any idea ? Thanks in advance. N.

---

## [Remote Rendering to a python desktop gui application with vtk as a server](https://discourse.vtk.org/t/remote-rendering-to-a-python-desktop-gui-application-with-vtk-as-a-server/7335)

<div class="topic-metadata">

**Author:** [@BadCookie](https://discourse.vtk.org/u/BadCookie)\
**Replies:** 7\
**Last updated:** [December 13, 2021, 4:40pm UTC](https://discourse.vtk.org/t/remote-rendering-to-a-python-desktop-gui-application-with-vtk-as-a-server/7335 "2021-12-13T16:40:49Z")

</div>

Hi I have been able to do web-based remote rendering with vtk, vtk.web and wslink on the server side and vtk.js/paraview web on the client side. I want to be able to desktop based remote rendering with the exact same t…

---

## [Speedup initial display](https://discourse.vtk.org/t/speedup-initial-display/7368)

<div class="topic-metadata">

**Author:** [@Olivier](https://discourse.vtk.org/u/Olivier)\
**Replies:** 12\
**Last updated:** [December 13, 2021, 9:54am UTC](https://discourse.vtk.org/t/speedup-initial-display/7368 "2021-12-13T09:54:09Z")

</div>

Hi friends, I’m using VTK to display a huge number of (simple) objects. Each object has its own color & visibility & pickability. I’m trying to achieve the best performances possible. I’ve chosen to use a CompositePo…

---

## [VtkLibrary : Porting to 9.1 from 5.8](https://discourse.vtk.org/t/vtklibrary-porting-to-9-1-from-5-8/7386)

<div class="topic-metadata">

**Author:** [@Taimour](https://discourse.vtk.org/u/Taimour)\
**Replies:** 4\
**Last updated:** [December 13, 2021, 7:59am UTC](https://discourse.vtk.org/t/vtklibrary-porting-to-9-1-from-5-8/7386 "2021-12-13T07:59:45Z")

</div>

I am working on a project which was previously working with vtk5.8 . I have replaced header files and libraries in my project. Build is successful but when I try to switch to 3D mode I get following error. Please guide m…

---

## [ActiViz with Unity](https://discourse.vtk.org/t/activiz-with-unity/5153)

<div class="topic-metadata">

**Author:** [@AlexG](https://discourse.vtk.org/u/AlexG)\
**Replies:** 2\
**Last updated:** [December 13, 2021, 6:33am UTC](https://discourse.vtk.org/t/activiz-with-unity/5153 "2021-12-13T06:33:51Z")

</div>

Hello, i have some questions about working with vtk in Unity. With the ActiViz Asset in Unity I am able to use VTK functions inside the Unity scripts. I have now tested the free MedicalViewerAsset and have come across a…

---

## [Feature: logging support](https://discourse.vtk.org/t/feature-logging-support/171)

<div class="topic-metadata">

**Author:** [@utkarshayachit](https://discourse.vtk.org/u/utkarshayachit)\
**Replies:** 24\
**Last updated:** [December 12, 2021, 2:14pm UTC](https://discourse.vtk.org/t/feature-logging-support/171 "2021-12-12T14:14:06Z")

</div>

This is a proposal with draft implementation to add support for a logging framework to VTK originally introduce in this mailing list thread. Here’s an extract from the header docs in vtkLogger.h that summarizes how to u…

---

## [inherit from vtkUnstructuredGridReader replace RequestData](https://discourse.vtk.org/t/inherit-from-vtkunstructuredgridreader-replace-requestdata/7388)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.vtk.org/u/kayarre)\
**Replies:** 0\
**Last updated:** [December 12, 2021, 4:03am UTC](https://discourse.vtk.org/t/inherit-from-vtkunstructuredgridreader-replace-requestdata/7388 "2021-12-12T04:03:47Z")

</div>

I am working on porting a legacy reader to vtk 9.1 that inherits from vtkUnstructuredGridReader. This commit Kitware/VTK@e9bc920 removed RequestData and appears to be replaced by ReadMeshSimple I can’t seem to find a…

---

## [Opacity problem for selected scalar range](https://discourse.vtk.org/t/opacity-problem-for-selected-scalar-range/3094)

<div class="topic-metadata">

**Author:** [@MarKara](https://discourse.vtk.org/u/MarKara)\
**Replies:** 14\
**Last updated:** [December 10, 2021, 5:57pm UTC](https://discourse.vtk.org/t/opacity-problem-for-selected-scalar-range/3094 "2021-12-10T17:57:49Z")

</div>

Hi All I’m using vtkDiscretizableColorTransferFunction to set opacity for selected scalar range in unstructured grid. Depending of the camera position displayed unstructured grid shows some strange artifacts. As you …

---

## [vtkCoordinateFrameWidget](https://discourse.vtk.org/t/vtkcoordinateframewidget/7379)

<div class="topic-metadata">

**Author:** [@spyridon97](https://discourse.vtk.org/u/spyridon97)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 7:02pm UTC](https://discourse.vtk.org/t/vtkcoordinateframewidget/7379 "2021-12-09T19:02:30Z")

</div>

VTK now has the vtkCoordinateFrameWidget which controls 3 orthogonal, right-handed planes. (see VTK MR) The representation of the vtkCoordinateFrameWidget can be seen below: In more detail, the representation of th…

---

## [issue with the vtkDiscreteMarchingCubes class with release build of java wrapping](https://discourse.vtk.org/t/issue-with-the-vtkdiscretemarchingcubes-class-with-release-build-of-java-wrapping/7387)

<div class="topic-metadata">

**Author:** [@taol8](https://discourse.vtk.org/u/taol8)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 2:50pm UTC](https://discourse.vtk.org/t/issue-with-the-vtkdiscretemarchingcubes-class-with-release-build-of-java-wrapping/7387 "2021-12-10T14:50:59Z")

</div>

Hello all, I am working on a Fiji plugin that uses the vtk java wrapping to create 3D meshes from segmented 3D images using vtkDiscreteMarchingCubes, and other smoothing and mesh simplification operations (such as vtkWi…

---

## [How to build VTK and OpenVR locally?](https://discourse.vtk.org/t/how-to-build-vtk-and-openvr-locally/7381)

<div class="topic-metadata">

**Author:** [@Davis\_Philip](https://discourse.vtk.org/u/Davis_Philip)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 8:51am UTC](https://discourse.vtk.org/t/how-to-build-vtk-and-openvr-locally/7381 "2021-12-10T08:51:34Z")

</div>

Hello there, I’m new to VTK. Now I can build VTK locally and run VTK examples sucessfully. Because eventually I want to transfer the images and widgets visualized by VTK to the VR scene in my HTC Vive. For example, t…

---

## [Compiler error when adding VTK static library files to Qt project file](https://discourse.vtk.org/t/compiler-error-when-adding-vtk-static-library-files-to-qt-project-file/2597)

<div class="topic-metadata">

**Author:** [@Jay](https://discourse.vtk.org/u/Jay)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 10:18pm UTC](https://discourse.vtk.org/t/compiler-error-when-adding-vtk-static-library-files-to-qt-project-file/2597 "2021-12-09T22:18:54Z")

</div>

Hi, I am trying to add the VTK static library files to Qt Project, but I get linker error LNK2019. The same vtk library files when used with the visual studio they compile without any errors and program works well. I ha…

---

## [How to make a subclass of vtkRenderer?](https://discourse.vtk.org/t/how-to-make-a-subclass-of-vtkrenderer/7363)

<div class="topic-metadata">

**Author:** [@WailmerPail](https://discourse.vtk.org/u/WailmerPail)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 9:19pm UTC](https://discourse.vtk.org/t/how-to-make-a-subclass-of-vtkrenderer/7363 "2021-12-09T21:19:32Z")

</div>

Hi teams, I want to make a subclass of vtkRenderer, but it does not work. Even if I only change the vtkRenderer to “myRnderer”. I searched for hours but I can only get the information of "how to make a subclass of vtk…

---

## [How to use OpenGL primitives inside a vtkGenericOpenGLRenderWindow ?](https://discourse.vtk.org/t/how-to-use-opengl-primitives-inside-a-vtkgenericopenglrenderwindow/7364)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 9:11pm UTC](https://discourse.vtk.org/t/how-to-use-opengl-primitives-inside-a-vtkgenericopenglrenderwindow/7364 "2021-12-09T21:11:21Z")

</div>

Hello, I would like to add some OpenGL primitives to my vtk scene (GL\_Points) because vtkPoints is too slow to handle, is there a way to do that (without having a native opengl window but a vtkGenericOpenGLRenderWindow)…

---

## [Error when adding rectangle widget to react-vtkjs-viewport](https://discourse.vtk.org/t/error-when-adding-rectangle-widget-to-react-vtkjs-viewport/7297)

<div class="topic-metadata">

**Author:** [@shanebenlolo](https://discourse.vtk.org/u/shanebenlolo)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 8:53pm UTC](https://discourse.vtk.org/t/error-when-adding-rectangle-widget-to-react-vtkjs-viewport/7297 "2021-12-09T20:53:11Z")

</div>

Hello, I am trying to expand on the current react-vtkjs-viewport created by OHIF found here: GitHub - OHIF/react-vtkjs-viewport: VTK.js image viewport component in React, which currently allows for a basic paintWidget t…

---

## [VTKJS cancelling reader promise](https://discourse.vtk.org/t/vtkjs-cancelling-reader-promise/7342)

<div class="topic-metadata">

**Author:** [@kit](https://discourse.vtk.org/u/kit)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 7:32pm UTC](https://discourse.vtk.org/t/vtkjs-cancelling-reader-promise/7342 "2021-12-09T19:32:20Z")

</div>

Hi All, Apologies if this is a really basic question or betrays a lack of understanding on my part. I have a page where vtkXMLImageDataReader is used to load some data from the web. Using a sequence like this var read…

---

## [A question about solid clipper](https://discourse.vtk.org/t/a-question-about-solid-clipper/7367)

<div class="topic-metadata">

**Author:** [@KeyboardMan](https://discourse.vtk.org/u/KeyboardMan)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 4:38pm UTC](https://discourse.vtk.org/t/a-question-about-solid-clipper/7367 "2021-12-09T16:38:30Z")

</div>

How is “solid” defined，I tried to use vtkTableBasedClipDataSet to cut vtkCylinderSource, and the result seemed to be really “solid”. But when I tried other data types, I didn’t get the desired effect.This is a vtkUnstru…

---

## [requestData in representations](https://discourse.vtk.org/t/requestdata-in-representations/7192)

<div class="topic-metadata">

**Author:** [@emil-peter](https://discourse.vtk.org/u/emil-peter)\
**Replies:** 5\
**Last updated:** [December 9, 2021, 2:46pm UTC](https://discourse.vtk.org/t/requestdata-in-representations/7192 "2021-12-09T14:46:24Z")

</div>

When is the requestData() function called in representations? As I’m currently using: this.planeWidget.getWidgetState().setSlices(slices) to set an array of 3 values in my widget state to the desired values. But after t…

---

## [Create LODs with vtkExtractHierarchicalBins](https://discourse.vtk.org/t/create-lods-with-vtkextracthierarchicalbins/7377)

<div class="topic-metadata">

**Author:** [@Julienchz](https://discourse.vtk.org/u/Julienchz)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 2:10pm UTC](https://discourse.vtk.org/t/create-lods-with-vtkextracthierarchicalbins/7377 "2021-12-09T14:10:56Z")

</div>

Hi :slightly\_smiling\_face: I have a pointcloud in a vtkPoints. I am trying to create LODs of my pointcloud with vtkHierarchicalBinningFilter and vtkExtractHierarchicalBins but when I rendered different levels or bins I…

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

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