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"><<a href="mailto:juan.cardelino@gmail.com" target="_blank">juan.cardelino@gmail.com</a>></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->SetResolution(8);<br>
cone->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>
<<a href="mailto:juan.cardelino@gmail.com">juan.cardelino@gmail.com</a>> wrote:<br>
> Dear all,<br>
> I tried to move to vtk git version (pulled today), and<br>
> after migrating all the code (mainly SetInput->SetInputData), every<br>
> single vtk application stopped rendering. See for instance this simple<br>
> program:<br>
> <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>
> <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>
> includes other stuff, but it is still useful to see how I call VTK)<br>
> My programs were working in windows, mac and linux with VTK 5.9 and<br>
> 5.10. I've checked the migration guide and googled it but without any<br>
> luck so far.<br>
> Has anyone experienced a similar behaviour?<br>
> Best,<br>
> 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>