<div dir="ltr"><div><div><div>Hi Mathieu,<br><br></div>vtkSplineWidget does not use point placer classes internally, so it wouldn't be straight forward to restrict<br></div><div>the widget to a given actor. You could use a callback to restrict the handle positions to the actor, but the complexity<br>
of restricting the handles will depend on the surface geometry of the actor.<br></div><div>It may be easier to use a vtkContourWidget has a vtkContourRepresentation which has methods to set a point placer.<br></div><br></div>
Dean<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 3:51 AM, Mathieu Moigner <span dir="ltr"><<a href="mailto:mmoigner@phenix-systems.com" target="_blank">mmoigner@phenix-systems.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
<br>
Is it possible to restrict a vtkSplineWidget to a given actor ?<br>
<br>
I'd like to modify HandleRepresentation of the first and last point using a vtkPolygonalSurfacePointPlacer instead of default point placer.<br>
<br>
<br>
But looks like the representation of the handles in the vtkSplineWidget are private. There are no option to set the individual handles to the Prop.<br>
<br>
Any idea ?<br>
<br>
Thanks for your help.<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><br>
</blockquote></div><br></div>