<br>Well,<br><br>If you observe the way rubberbandInteractorstyle works during zooming, I guess it redraws the new rectangle by replacing old one.. Am i right.??<br>This happens in mouse drag event.. (mouse move event).. <br><br>So similarly, can i move the selected node or vertex in the mouse move event..?? Any how when I pick a node or vertex, i get the ID of that particular node..?? So cant i change the value of this point (node or vertex) everytime on mouse move event..??<br><br>Please correct me if am going wrong somewhere..<br><br>Thanks<br><blockquote><br>---------- Original message ----------<br>From:David Doria&lt; daviddoria+vtk@gmail.com &gt;<br>Date: 23 Feb 10 19:14:21<br>Subject:  Re: [vtkusers] Moving a node using mouse<br>To: rakeshthp@in.com<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 7:08 AM, Rakesh Patil <span dir="ltr">&lt;<a target=\"_blank\" target="\&quot;_blank\&quot;" href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>&gt;</span> wrote:<br
 ><font color="#000000"></font><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#000000">Hello,<br><br>I have an unstructured grid and it contains only node points.. Now if I wish to move one of the nodes among the set of nodes, then, how do i do it.??<br><br>I have successfully implemented the picking of node..<br>
<br>Thanks<br><br>Regards<br>Rakesh Patil<br><br></font></blockquote><div class="gmail_quote"><br></div><div class="gmail_quote">By "nodes" do you mean "vertices"? I don't think that it is really trivial to move one point - you'd have to create a new vtkPolyData with a single point+vertex and create a new actor/mapper for it. The trick would then be deleting the point/vertex from the set of points. I think the only way to do this is to loop through the points and add all of them except the one you want to delete to a new object. You can imagine this would be quite slow.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Is there a better way to delete a point from a vtkPoints/vtkPolyData?</div><br clear="all">Thanks,<br><br><div>David</div></div>
</blockquote>