# Interactive operations such as measuring, sketching, etc

**URL:** https://discourse.vtk.org/t/interactive-operations-such-as-measuring-sketching-etc/10389
**Category:** Web
**Created:** [January 5, 2023, 12:54pm UTC](https://discourse.vtk.org/t/interactive-operations-such-as-measuring-sketching-etc/10389 "2023-01-05T12:54:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mmXIO](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mmxio/32/6128_2.png) [@mmXIO](https://discourse.vtk.org/u/mmXIO)
#### Post date: [January 5, 2023, 12:54pm UTC](https://discourse.vtk.org/t/interactive-operations-such-as-measuring-sketching-etc/10389/1 "2023-01-05T12:54:40Z")

</div>

Hello, when I was working on web-based 3D visualization of medical images, I used vtkremoteview to display images from the backend on a web page. I’m thinking about whether I can use some widgets of vtk.js to sketch, measure, and other functions on the web page.

 ![ABBKE%SZX}%1%J1Y6L4%HUC](https://discourse.vtk.org/uploads/default/original/2X/b/b42fccc84e73a53c3eba7f25a6d455ae3059345f.jpeg)

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [January 6, 2023, 7:47am UTC](https://discourse.vtk.org/t/interactive-operations-such-as-measuring-sketching-etc/10389/2 "2023-01-06T07:47:14Z")

</div>

You can mix both: remote rendering + local rendering.  
You can look at the [ImageStream example](https://github.com/Kitware/vtk-js/tree/master/Sources/IO/Core/ImageStream/example).  
Please note that VTK.js does not have access to the depth buffer of the remote rendering, hence you may not rely on hardware picking.

---

<div class="post-metadata">

### Author: ![mmXIO](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mmxio/32/6128_2.png) [@mmXIO](https://discourse.vtk.org/u/mmXIO)
#### Post date: [January 6, 2023, 7:55am UTC](https://discourse.vtk.org/t/interactive-operations-such-as-measuring-sketching-etc/10389/3 "2023-01-06T07:55:50Z")

</div>

Thank you very much for your help! I will try it.
