Hi, <div><br></div><div>I'm developing a filter plugin for paraview that basically compares a certain surface (a vtkPolyData) against a bank of other surfaces (a bunch of STL files on a directory), and somehow marks the three surfaces in the bank that better match the former surface. I'm wondering what would be the best way to do it inside paraview. I have been thinking of these two possibilities:<div>
<br></div><div>1) Load the bank in paraview before running the filter; in this case I would need the filter to accept a variable number of inputs because I don't know the size of the bank before it is loaded. I don't know if it is possible to build a filter plugin that accepts a variable number of inputs...</div>
<div><br></div><div>2) Use as the input to the filter only my surface (loaded in paraview) and a path to the directory where the bank of the other surfaces is located. Then I would make the comparison in my plugin and return the three better matches as outputs of the filter; I like a little bit more this option, but I don't know how to open a directory browser from a ParaView filter plugin.</div>
<div><br></div><div>Any suggestions about this problem will be greatly appreciated.</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Federico</div></div>