<HTML>
<HEAD>
<TITLE>Re: [Paraview] Threshold</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>In that case, try the clip filter and set the clip function. If you still get the wrong surface, invert it with the Inside Out toggle.<BR>
<BR>
In the next version of ParaView there will be an “Iso Volume” filter that will look like the threshold filter but create interpolated cuts between two isosurfaces (or the mesh boundary).<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 6/16/10 5:22 PM, "Mohammad Mirzadeh" <<a href="mirzadeh@gmail.com">mirzadeh@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks Ken,<BR>
<BR>
I have tried that. The problem is that contour gives exactly the opposite surface. That may sound a bit confusing, so let me explain. Suppose I have a cube, and I exclude a sphere from it. Now what I want to see is the parts of the cube that are outside the sphere. However, if I plot the zero contour of my level set, it just draws the sphere which is exactly the opposite of what I'm interested in!<BR>
<BR>
On Wed, Jun 16, 2010 at 4:11 PM, Moreland, Kenneth <<a href="kmorel@sandia.gov">kmorel@sandia.gov</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Try using the contour filter instead.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
<BR>
On 6/16/10 4:51 PM, "Mohammad Mirzadeh" <<a href="mirzadeh@gmail.com">mirzadeh@gmail.com</a> <<a href="http://mirzadeh@gmail.com">http://mirzadeh@gmail.com</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Dear all,<BR>
<BR>
I had a question about threshold filter. I am working on complex geometries and the way I represent them is to use a level set function. Now when I want to see solid part of domain, I just use the threshold filter on the level set function and ask for wherever it is positive. The problem that I have right now is that threshold filter kinda creates a rasterized bject right at the solid-fluid interface. Is there any way you can have a rather smooth shape at the interface?<BR>
<BR>
Thanks,<BR>
Mohammad<BR>
<BR>
Graduate Research Assistant,<BR>
Dept. Mech. Eng.,<BR>
University of California Santa Barbara<BR>
CA 93106<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a> <<a href="http://kmorel@sandia.gov">http://kmorel@sandia.gov</a>> <BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>