<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Actually I saved the list of my actor in a vector. And well the input is deleted once I has set the actor in the renderer. If I would saved the input, where there would be no mean of using getmapper()-&gt;getInput(). <br><br>I checked the actor, and I verified the input and everything seems ok.<br>:(<br><br>GC.<br><br><hr id="stopSpelling">Date: Tue, 22 Jun 2010 11:20:40 -0400<br>Subject: Re: [vtkusers] recovering the Polydata<br>From: darshanpai@gmail.com<br>To: jothybasu@gmail.com<br>CC: ilferraresebono@hotmail.it; vtkusers@vtk.org<br><br>I am just wondering , maybe I am wrong, but if you delete the Input then Actor-&gt;GetMapper()-&gt;GetInput() should fail . Maybe that is your error here ?<br><br><div class="ecxgmail_quote">On Tue, Jun 22, 2010 at 10:59 AM, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="ecxgmail_quote" style="padding-left: 1ex;"><div dir="ltr">Actor.Getmapper()-&gt;GetInput() work well for me.<br><br>Verify your input<br>
<font color="#888888"><br>Jothy<br><br></font><div class="ecxgmail_quote"><div><div></div><div class="h5">On Tue, Jun 22, 2010 at 3:44 PM, Giancarlo Amati <span dir="ltr">&lt;<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>&gt;</span> wrote:<br>

</div></div><blockquote class="ecxgmail_quote" style="padding-left: 1ex;"><div><div></div><div class="h5">



<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-&gt;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/">scaricale gratis!</a></div>


<br></div></div><div class="ecxim">_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>                                               <br /><hr />Il tuo mondo MSN a portata di clic.  <a href='http://events.it.msn.com/internet-explorer-8' target='_new'>Scarica IE8 per MSN</a></body>
</html>