<div dir="ltr">Actor.Getmapper()->GetInput() work well for me.<br><br>Verify your input<br><br>Jothy<br><br><div class="gmail_quote">On Tue, Jun 22, 2010 at 3:44 PM, Giancarlo Amati <span dir="ltr"><<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
Hello everybody,<br><br>I am trying to retrieve the polydata linked to a particular actor. I have my actor saved in a list<br>I used the "GetMapper" function to get the pointer to a vtkMapper * and the I used<br>
the function "IsA" to test if it is a vtkPolyDataMapper.<br>The IsA function returns true and I used<br><br>vtkPolyData *pd = mapper->GetInput();<br><br>to retrieve the polydata, but somehow I don't get anything reasonable and the number of vertices is 0.<br>
<br>is that the right way to retrieve a polydata from the pipeline?<br><br>Many thanks.<br>Giancarlo<br>                                            <br><hr>Un mondo di personalizzazioni per Messenger, PC e cellulare, <a href="http://www.pimpit.it/" target="_blank">scaricale gratis!</a></div>
<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>
<br></blockquote></div><br></div>