<div class="gmail_quote">On Tue, Feb 23, 2010 at 7:08 AM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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></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>