# How can I move the vertices by clicking with the mouse?

**URL:** https://discourse.vtk.org/t/how-can-i-move-the-vertices-by-clicking-with-the-mouse/8826
**Category:** Support
**Created:** [June 29, 2022, 7:25am UTC](https://discourse.vtk.org/t/how-can-i-move-the-vertices-by-clicking-with-the-mouse/8826 "2022-06-29T07:25:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ldk7972](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/l/9fc348/32.png) [@ldk7972](https://discourse.vtk.org/u/ldk7972)
#### Post date: [June 29, 2022, 7:25am UTC](https://discourse.vtk.org/t/how-can-i-move-the-vertices-by-clicking-with-the-mouse/8826/1 "2022-06-29T07:25:17Z")

</div>

![HowMoveVertex](https://discourse.vtk.org/uploads/default/original/2X/3/3aa1ad6a4d214ece542a7e7dd1af127e2a916b9c.jpeg)

please give me hint

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [July 1, 2022, 7:54pm UTC](https://discourse.vtk.org/t/how-can-i-move-the-vertices-by-clicking-with-the-mouse/8826/2 "2022-07-01T19:54:41Z")

</div>

This can be implemented using VTK widgets.

However, implementing applications with GUI and especially with 3D widgets is hard. As always, my recommendation is not to implement a new medical image computing application from scratch. If you need something very simple, go with a web application (e.g., based on OHIF/Cornerstone) because users will be upset it they have to install anything if all they need to do is to draw a box on an X-ray film). If you want to do some substantial processing and visualization then build on an existing medical image computing application framework (such as 3D Slicer or MITK).

See for example how markups work in [3D Slicer](https://slicer.org), implemented using VTK, ready to use in either C++ or Python:

[/uploads/default/original/2X/9/96eab8d2eb16f717d95bc75414575abe659b97be.mp4](https://discourse.vtk.org/uploads/default/original/2X/9/96eab8d2eb16f717d95bc75414575abe659b97be.mp4)
