<div dir="ltr">Thanks Alan and Ken,<div><br></div><div>That's exactly what I was looking for -- never knew we have the ability to clip by scalars :).</div><div><br></div><div>That "IsoVolume" idea is also pretty awesome. Looking forward to use it in future. Thanks again</div>
<div><br></div><div>Mohammad<br><div class="gmail_quote">On Wed, Jun 16, 2010 at 4:29 PM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<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<div class="im"><br>
<br>
<br>
On 6/16/10 5:22 PM, "Mohammad Mirzadeh" <<a href="http://mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>> wrote:<br>
<br>
</div></span></font><blockquote><div class="im"><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="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>> wrote:<br>
</span></font></div><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><div class="im">Try using the contour filter instead.<br>
<br>
-Ken<br>
<br>
<br>
<br></div><div class="im">
On 6/16/10 4:51 PM, "Mohammad Mirzadeh" <<a href="http://mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a> <<a href="http://mirzadeh@gmail.com" target="_blank">http://mirzadeh@gmail.com</a>> > wrote:<br>
<br>
</div></span></font><div class="im"><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></div><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><div class="im"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br></div>
*** *** *** email: <a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <<a href="http://kmorel@sandia.gov" target="_blank">http://kmorel@sandia.gov</a>> <br><div class="im">
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
</div></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><div class="im"><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="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/~kmorel" target="_blank">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>
</div></div>
</blockquote></div><br></div></div>