<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Users,<br>
<br>
I usually clip meshes using the clip filter and a box, or a plane. I
would be interested in exporting the clipping box data, not the
clippedData, but the box itself. I also would like to get the
thickness of the box, eg. distance between two handles.<br>
I know that VTK allows to do that (using the method GetPolyData),
and that it doesn't work properly (you have to triangulate the data
first). There is no option in paraview to retrieve the box.<br>
<br>
My solution is to create a filter that do the same job as the
clipper with the additional ability to export the data and compute
the distance. But I'm not sure to be able to handle a widget inside
my plugin.<br>
Since I've never wrote a plugin for paraview, I prefer ask before!<br>
<br>
So, is it possible?<br>
Is there another (simpler) way around? Add a check box to the
"properties" of the clipper to GetPolyData ?<br>
Thx,<br>
Laurent.<br>
<br>
<div class="moz-signature">-- <br>
<font size="1">Please consider environmental impact before
printing documents</font></div>
</body>
</html>