<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">My dear fellows. I’m trying to use an animation with <font color="#800080" class="">vtkGlyph3DMapper </font>but I’ve read somewhere VTK doesn’t handle animations very well. Anyway, I’m trying something. <div class="">At the beginning of my code I’m using:<div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#800000;" class="">points</span><span style=" color:#c0c0c0;" class=""> </span>=<span style=" color:#c0c0c0;" class=""> </span><span style=" color:#800080;" class="">vtkPoints</span>::New();</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><span style=" color:#800000;" class="">points</span>->SetNumberOfPoints(nPuntos);<!--EndFragment--></pre><div class="">for(…){<span style="color: rgb(128, 0, 0);" class="">points</span>->SetPoint(…)}</div><div class="">…</div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#800000;" class="">glypher</span>-><span style="font-style: italic;" class="">Update</span>();<!--EndFragment--></pre><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class=""><div class="">for(…){<span style="color: rgb(128, 0, 0);" class="">points</span>->SetPoint(…)}</div></div></div><div class=""><pre style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(128, 0, 0);" class="">glypher</span>-><span style="font-style: italic;" class="">Update</span>();</pre><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Thanks in advance!</div><div class=""><br class=""></div></div></body></html>