Hi,<div><br></div><div>i just added one statement here</div><div><br></div><div><span class="Apple-style-span" style="font-family: monospace; font-size: 10px; "><pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; background-color: rgb(249, 249, 249); line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
this<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>Data<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>GetPoints<span class="br0" style="color: rgb(0, 128, 0); ">(</span><span class="br0" style="color: rgb(0, 128, 0); ">)</span><span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>SetPoint<span class="br0" style="color: rgb(0, 128, 0); ">(</span>this<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>SelectedPoint, this<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>MoveActor<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>GetPosition<span class="br0" style="color: rgb(0, 128, 0); ">(</span><span class="br0" style="color: rgb(0, 128, 0); ">)</span><span class="br0" style="color: rgb(0, 128, 0); ">)</span><span class="sy4" style="color: rgb(0, 128, 128); ">;</span></pre>
<pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; line-height: normal; font-family: monospace; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
<b><span class="Apple-style-span" style="font-size: small;"><i><u>this->Data->Modified();</u></i></span></b></pre><pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; background-color: rgb(249, 249, 249); line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
<span class="sy4"></span>this<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>GlyphFilter<span class="sy2" style="color: rgb(0, 0, 64); ">-</span><span class="sy1" style="color: rgb(0, 0, 128); ">></span>Update<span class="br0" style="color: rgb(0, 128, 0); ">(</span><span class="br0" style="color: rgb(0, 128, 0); ">)</span><span class="sy4" style="color: rgb(0, 128, 128); ">;</span></pre>
</span><br><div class="gmail_quote">and it works..</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Sep 20, 2010 at 8:19 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am attempting to modify the underlying data of an actor by glyphing<br>
a PolyData's points and then interacting with a specific glyph.<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/MoveAGlyph" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/MoveAGlyph</a><br>
<br>
I trick the interactor into thinking a new object (MoveActor) is what<br>
it should be interacting with. I "spawns" a ghost glyph. When the<br>
interaction is complete (OnMiddleButtonUp) I try to update the<br>
underlying point in the data set. This update does work (the actual<br>
data point is changed), but the positions of the glyphs are not<br>
updated! Shouldn't the pipeline take care of this (since the polydata<br>
is connected to the glyphFilter which is connected to the mapper which<br>
is connected to the renderer)?<br>
<br>
Any comments on what I've done here?<br>
<br>
Thanks,<br>
<br>
David<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>
</blockquote></div><br></div>