Hi,<div><br></div><div>As of now, this is only possible by sub-classing vtkContourWidget and reimplementing the actions you want (in other words, it&#39;s probably more trouble than it&#39;s worth).</div><div><br></div><div>
We&#39;ve done the sub-classing, but it&#39;s really painful.</div><div><br></div><div>Regards,</div><div>Shash<br><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 3:37 PM, Rakesh Patil <span dir="ltr">&lt;<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello users,<br><br>I want to implement the following functionalities:<br><br>I am using vtkContourWidget to draw a single contour. So there are set of buttons.<br>
<br>One button to create a contour using this class. <br>Another button to select this contour. <br>One button to add intermediate nodes on the contour<br>And another button to select and move the intermediate nodes.<br><br>
Thus i want to Implement this features. Now by default the contour is drawn as expected. <br>Now once i click on the contour, instead of creating a new node i want the contour to get selected and should be highlighted.<br>
<br>Similary, a new node should be inserted on the contour only when i click add intermediate button and click on the contour.<br><br>and when i say select intermediate nodes, it should get selected and highlighted.<br><br>
Can anyone please help me how to do this.?? Basically, i feel some changes need to be done by changing the events of the widget.<br><br>Thanks in advance<br>
 <br>Rakesh Patil<br><br><br><div style="border-top:1px dashed #ccc;border-bottom:1px dashed #ccc;padding:5px"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&amp;utm_medium=outgoing" style="font:13px arial;color:#1E56A1;text-decoration:none" target="_blank">Dear <b>vtkusers !</b> Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>

<br>_______________________________________________<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/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_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/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>