# 3D Lasso on a volume

**URL:** https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733
**Category:** Support
**Created:** [February 20, 2023, 5:45pm UTC](https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733 "2023-02-20T17:45:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![AndreAhmed](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreahmed/32/6061_2.png) [@AndreAhmed](https://discourse.vtk.org/u/AndreAhmed)
#### Post date: [February 20, 2023, 5:45pm UTC](https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733/1 "2023-02-20T17:45:28Z")

</div>

Hello,  
I’m looking for an algorithm or an example for a 3D Lasso on 3D Volume.  
I was looking for VtkVolumePicker class, but in the example there is no volume that is input into that class, all I see is picker.Pick(x,y,0,ren).  
Can you point to me an algorithm to achieve 3D Lasso rendering on a selected volume using mouse?

---

<div class="post-metadata">

### Author: ![AndreAhmed](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreahmed/32/6061_2.png) [@AndreAhmed](https://discourse.vtk.org/u/AndreAhmed)
#### Post date: [February 20, 2023, 11:00pm UTC](https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733/2 "2023-02-20T23:00:57Z")

</div>

Any suggestions for the steps required ?  
please

---

<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: [February 21, 2023, 1:53am UTC](https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733/3 "2023-02-21T01:53:23Z")

</div>

This feature is not implemented in VTK but you can easily add it to your VTK-based application. See more information on the implementation in 3D Slicer [here](https://discourse.vtk.org/t/how-to-delete-hide-specific-points-from-vtkvolume/10431/2).

---

<div class="post-metadata">

### Author: ![AndreAhmed](https://discourse.vtk.org/user_avatar/discourse.vtk.org/andreahmed/32/6061_2.png) [@AndreAhmed](https://discourse.vtk.org/u/AndreAhmed)
#### Post date: [February 21, 2023, 7:26am UTC](https://discourse.vtk.org/t/3d-lasso-on-a-volume/10733/4 "2023-02-21T07:26:01Z")

</div>

@lassoan  
Thanks for your quick reply and your help.

Can you show me the place where I draw the lasso curve by mouse points ?
