Juan,<div><br></div><div>This page:</div><div><a href="http://www.cmake.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput">http://www.cmake.org/Wiki/VTK/VTK_6_Migration/Replacement_of_SetInput</a></div><div>should explain the SetInput/SetInputData differences.</div>
<div><br></div><div>Bill<br><br><div class="gmail_quote">On Tue, Oct 23, 2012 at 8:10 AM, Juan Cardelino <span dir="ltr">&lt;<a href="mailto:juan.cardelino@gmail.com" target="_blank">juan.cardelino@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Seems that adding  an Update() call on the cone source did the trick.<br>
So changing my example like this now works.<br>
<br>
  // create an actor and give it cone geometry<br>
  vtkConeSource *cone = vtkConeSource::New();<br>
  cone-&gt;SetResolution(8);<br>
  cone-&gt;Update();<br>
<br>
Is there any explanation for this change of behaviour? Or did I<br>
misread something?<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Oct 23, 2012 at 10:01 AM, Juan Cardelino<br>
&lt;<a href="mailto:juan.cardelino@gmail.com">juan.cardelino@gmail.com</a>&gt; wrote:<br>
&gt; Dear all,<br>
&gt;              I tried to move to vtk git version (pulled today), and<br>
&gt; after migrating all the code (mainly SetInput-&gt;SetInputData), every<br>
&gt; single vtk application stopped rendering. See for instance this simple<br>
&gt; program:<br>
&gt; <a href="https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/Cone.cpp" target="_blank">https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/Cone.cpp</a><br>
&gt; <a href="https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/CMakelists.txt" target="_blank">https://iie.fing.edu.uy/avn/gral/trunk/src/vtk/CMakelists.txt</a> (it<br>
&gt; includes other stuff, but it is still useful to see how I call VTK)<br>
&gt; My programs were working in windows, mac and linux with VTK 5.9 and<br>
&gt; 5.10. I&#39;ve checked the migration guide and googled it but without any<br>
&gt; luck so far.<br>
&gt; Has anyone experienced a similar behaviour?<br>
&gt; Best,<br>
&gt;         Juan<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>