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.

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).

-Ken


On 6/16/10 5:22 PM, "Mohammad Mirzadeh" <[email protected]> wrote:

Thanks Ken,

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!

On Wed, Jun 16, 2010 at 4:11 PM, Moreland, Kenneth <[email protected]> wrote:
Try using the contour filter instead.

-Ken



On 6/16/10 4:51 PM, "Mohammad Mirzadeh" <[email protected] 
<http://[email protected]> > wrote:

Dear all,

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?

Thanks,
Mohammad

Graduate Research Assistant,
Dept. Mech. Eng.,
University of California Santa Barbara
CA 93106



   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected] <http://[email protected]>
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel





   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to