<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Superb!!! :)<br>Thanks!<br><br><hr id="stopSpelling">Date: Thu, 25 Feb 2010 12:04:58 -0500<br>From: daviddoria+vtk@gmail.com<br>CC: vtkusers@vtk.org<br>Subject: Re: [vtkusers] retrieving the dataset from actor<br><br><div class="ecxgmail_quote">On Thu, Feb 25, 2010 at 10:30 AM, Giancarlo Amati <span dir="ltr"><<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
Hello guys,<br><br>I'm developing my software and I'm a kinda of OK to keep a vector of actors for managing the properties of visibility, color and renderings.<br>But In case I need to apply a filter to a visualized dataset and I have just the list of actors, is there any way to:<br>
<br>1) determine the type of dataset which that actor is visualising,<br>2) retrieving that dataset.<br><br>Many Thanks.<br>Giancarlo<br>                                            </div><div><br></div></blockquote><div class="ecxgmail_quote"><br></div>try:</div>
<div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">actor->GetMapper()->GetInput()</div><div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">This will give you the data set. You can then find the type with</div>
<div class="ecxgmail_quote"><br></div><div class="ecxgmail_quote">result->GetClassName()</div><div class="ecxgmail_quote"><br clear="all">Thanks,<br><br><div>David </div></div>                                            <br /><hr />Non sei a casa? <a href='http://www.messenger.it/web/default.aspx' target='_new'>Accedi a Messenger dal Web!</a></body>
</html>