Well,<div><br></div><div>I didnt use glyph filter, but simple unstructured grid in my application and my cells are vtkVertex type.. </div><div><br></div><div>And i use vtkPointPicker to pick a vertex.. it works fine till now..</div>
<div><br></div><div>and to move a vertex, i pass my unstructured grid through vtkProgrammableFilter.</div><div>eventhough this works, but it is very slow.. </div><div><br></div><div>Hope that you'll come up with faster technique to implement this.. :-)</div>
<div><br></div><div>Thanks</div><div><br></div><div>Regards</div><div><br></div><div>Rakesh Patil<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">David Doria</b> <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br>
Date: Mon, Sep 20, 2010 at 5:33 PM<br>Subject: Re: [vtkusers] Moving a glyph<br>To: rakesh patil <<a href="mailto:prakeshofficial@gmail.com">prakeshofficial@gmail.com</a>><br>Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br><br><div class="im">On Mon, Sep 20, 2010 at 5:10 AM, rakesh patil <<a href="mailto:prakeshofficial@gmail.com">prakeshofficial@gmail.com</a>> wrote:<br>
> Hi,<br>
> i just added one statement here<br>
><br>
> this->Data->GetPoints()->SetPoint(this->SelectedPoint,<br>
> this->MoveActor->GetPosition());<br>
><br>
> this->Data->Modified();<br>
><br>
> this->GlyphFilter->Update();<br>
><br>
> and it works..<br>
<br>
</div>Yes, you're right, thanks.<br>
<br>
I started doing all this glyph moving business when I decided I<br>
couldn't click on a vertex. Can anyone confirm that there is no way to<br>
select a vertex with a click (besides doing a rubber band + frustum<br>
selection)? I guess the idea is that vertex glyphs are drawn directly<br>
in window coordinates so they do not actually "exist" in the scene to<br>
be picked?<br>
<br>
Here is what I tried:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/SelectAVertex" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/SelectAVertex</a><br>
<font color="#888888"><br>
David<br>
</font></div><br></div>