[vtkusers] How to remove points/handle from one vtkDistanceWidget or vtkAngleWidget?

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Thu Jul 15 10:07:20 EDT 2010


Actually I am more interested in being able to reinitialize these widgets.
For instance, when you want to measure different objects that are far 
apart, and I guess it would be faster to reinitialize the widget than to 
drag these points to another part of my image (quite far from here).

How should I proceed?

Thanks,
Arnaud

On 07/15/2010 09:56 AM, Karthik Krishnan wrote:
> How can the widget exist in a valid state without its end points ? Do 
> you mean you want to re-define the widget from start in response to a 
> key press ?
>
> Please let us know.
>
> Thanks
> --
> karthik
>
> On Thu, Jul 15, 2010 at 7:21 PM, Arnaud GELAS 
> <arnaud_gelas at hms.harvard.edu <mailto:arnaud_gelas at hms.harvard.edu>> 
> wrote:
>
>     Hi all,
>
>     I would like to be able to
>      * delete points/handles from these widgets with a key
>      * reinitialize these widgets without any points/handle on the screen.
>
>     I could not figure out how to proceed?
>     Is it possible with the existing code?
>
>     Thanks,
>
>     Best Regards,
>     Arnaud
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Please keep messages on-topic and check the VTK FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100715/0b9d0b62/attachment.htm>


More information about the vtkusers mailing list