<div dir="ltr">Raul,<div><br></div><div>Try calling the Modified() member function on your input to the vtkGlyph3DMapper. </div><div><br></div><div>- Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 3:02 AM, Raul Gerardo Huertas Paiva <span dir="ltr"><<a href="mailto:rax20037@gmail.com" target="_blank">rax20037@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">My dear fellows. I’m trying to use an animation with <font color="#800080">vtkGlyph3DMapper </font>but I’ve read somewhere VTK doesn’t handle animations very well. Anyway, I’m trying something. <div>At the beginning of my code I’m using:<div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#800000">points</span><span style="color:#c0c0c0"> </span>=<span style="color:#c0c0c0"> </span><span style="color:#800080">vtkPoints</span>::New();</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#800000">points</span>->SetNumberOfPoints(nPuntos);</pre><div>for(…){<span style="color:rgb(128,0,0)">points</span>->SetPoint(…)}</div><div>…</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#800000">glypher</span>-><span style="font-style:italic">Update</span>();</pre><div><br></div></div><div><br></div><div>And the view appears as expected. However, after moving an slide i’m changing a parameter of my visualization and I’m trying to update wth:</div><div><br></div><div><div>for(…){<span style="color:rgb(128,0,0)">points</span>->SetPoint(…)}</div></div></div><div><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,0)">glypher</span>-><span style="font-style:italic">Update</span>();</pre><div><br></div></div><div><br></div><div>However, what I get in my view is the same. I can still interact with it but the position of the elements doesn’t change. Whats the correct way to update it?</div><div><br></div><div>Thanks in advance!</div><div><br></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>