<div dir='auto'><div>Have a look at vtkInteractorStyleRubberBandPick.<br><div><br><div>On 1 Mar 2018 10:38 p.m., ran <kor1581@gmail.com> wrote:<br><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi,
<br>
I'm using vtkResliceImageViewer to display a 2D dicom image. I need to draw
<br>
a rectangle over the image to select part of the image and need to retrieve
<br>
four corner coordinates. The rectangle should be interactive ie should be
<br>
possible to change its size and position and rotate over the image in 2d
<br>
plane independently. 
<br>
For this, I tried vtkBorderwidget, but it cannot be rotatable and also it
<br>
only give coordinate of the two diagonal corners.
<br>
I also tried vtkPlaneWidget but it rotates in 3d plane and couldn't restrict
<br>
rotation in one plane as I only need rotation in 2d plane.
<br>

<br>
Please help..
<br>
Thanks in advance
<br>

<br>

<br>

<br>

<br>

<br>
--
<br>
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
<br>
_______________________________________________
<br>
Powered by www.kitware.com
<br>

<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
<br>

<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
<br>

<br>
Search the list archives at: http://markmail.org/search/?q=vtkusers
<br>

<br>
Follow this link to subscribe/unsubscribe:
<br>
https://vtk.org/mailman/listinfo/vtkusers
<br>
</p>
</blockquote></div><br></div></div></div>