<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<p>Hello everybody,</p>
<p><br>
</p>
<p>I am creating a paraview plugin that launches some filters programatically and I need to know how to create a filter that accepts as input a vtkSelection (like the extract selection filter).</p>
<p>In fact, I tried to use the createFilter() method of pqObjectBuilder class and tried to pass the selectedPorts of the pqSelectionManager class as namedInputs.
<br>
</p>
<p>But it appears that it is not the right way to do it.</p>
<p><br>
</p>
<p>So my question is about how to get the active selection and how to create the filter using it.</p>
<p><br>
</p>
<p><br>
</p>
<br>
<p></p>
</div>
</body>
</html>