[Paraview] Unstructured to structured...

Sohail Shafii sohailshafii at yahoo.com
Fri Aug 12 12:30:24 EDT 2011


Thanks.  I had a hunch  that this was the answer.  In my case, the surface would represent values that smaller than the requested iso-value, so inner cells would be below, while bordering cells would have points that are equal to and above.

I needed to do the conversion because the paper specifically makes use of the iso-surface boundary in 3D space.  I suppose I could have a multi-block data set with two data sets (using Group data sets): one unstructured (contour) and another structured (original).  I could find out where the points of the iso-surface exist in the structured grid, although that part will take some thought.

Sohail


________________________________
From: "Moreland, Kenneth" <kmorel at sandia.gov>
To: Sohail Shafii <sohailshafii at yahoo.com>; "paraview at paraview.org" <paraview at paraview.org>
Sent: Thursday, August 11, 2011 4:32 PM
Subject: Re: [Paraview] Unstructured to structured...


In general, no.  It is not possible to convert an unstructured grid to a structured grid because there are structures representable with unstructured grids that are non-representable with structured grids.

For your question, it would be much easier to get the information you want by just looking at the scalar value on the original structured grid.  You don't need to look at the isosurface.  For example, all cells "inside" the isosurface will have all scalar values either above or below the isovalue (depending on the orientation of the surface).  Bordering cells have scalar values both above and below the isovalue.

-Ken

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

From: Sohail Shafii <sohailshafii at yahoo.com>
Reply-To: Sohail Shafii <sohailshafii at yahoo.com>
Date: Thu, 11 Aug 2011 14:54:18 -0700
To: "paraview at paraview.org" <paraview at paraview.org>
Subject: [Paraview] Unstructured to structured...


Hi,
>
>
>I've been wondering: would it be possible to take an unstructured grid using existing filters and make it into structured?  Here's why: I compute an iso-surface for a data set (resulting surface is unstructured subset of original structured data set), which needs to be compared against the cells of the original structured grid.  Specifically, I need to find out which cells of the original data set border the iso-surface, and which are inside.  All filters that do appending/combination of the contour and original (structured) data set create unstructured grids.
>
>
>Thanks, Sohail
_______________________________________________ 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  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110812/200e09f9/attachment.htm>


More information about the ParaView mailing list