On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan <wasc...@sandia.gov> wrote: > Thanks Andy! Although I will take a round about method, I would love a real > solution. > > > > Cory? Thoughts? > > > > Alan > > > > From: Andy Bauer [mailto:andy.ba...@kitware.com] > Sent: Wednesday, January 17, 2018 9:24 AM > To: Scott, W Alan <wasc...@sandia.gov>; Quammen, Cory (External Contacts) > <cory.quam...@kitware.com> > Cc: paraview@paraview.org > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter > > > > The best way I can think of is to then use the threshold filter to isolate > each of the pieces and then use the cell size filter on each piece. This > would be fairly easy to automate in a Python script to just print out the > values. > > Alternatively, I don't see a reason why the Connectivity filter couldn't > have an option added to output a field data array with the summed sizes of > each piece. Since Cory just made the connectivity filter work correctly in > parallel it would surprise me that he may be familiar enough with the code > to do the change in a couple of hours.
I'm hesitant to add an option in the Connectivity filter to do this. Instead, I can imagine uses for a volume computation for surfaces/volumes labeled by a RegionId that isn't necessarily assigned as a function of connectivity. Instead, I would prefer to create a separate filter that computes volumes for each RegionId in the input dataset. You would feed the output of the Connectivity filter to this new filter and get the volume-per-region information you want. Cory > > > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan <wasc...@sandia.gov> wrote: > > I have a user that wants to use the equivalent of the Material Interface > Filter on VTK files. Is there a way to do this? I did find the > Connectivity filter, that gets me half way. I then want to find the mass of > these individual fragments. > > > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then > ran the connectivity filter. > > > > Thanks, > > > > Alan > > > > > > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > https://paraview.org/mailman/listinfo/paraview > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: https://paraview.org/mailman/listinfo/paraview