[vtkusers] Using an isosurface as the cut function with an unstructured grid. (UNCLASSIFIED)
Bill Lorensen
bill.lorensen at gmail.com
Mon Oct 5 17:42:07 EDT 2009
vtkCutter works with either a CutFunction or point data scalars
defined on the input dataset. So I think you could use ProbeFilter to
probe the material volume. This will assign material volume fractions
scalars to the input data. Then specify the the particular value as
the contour value.
Don't forget to apply the method GenerateCutScalarsOn(). It is off by default.
It might work,
Bill
On Mon, Oct 5, 2009 at 4:59 PM, Mark, Eric (Civ, ARL/CISD)
<emark at arl.army.mil> wrote:
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
> Hello All,
>
> Is it possible to use something other than an implicit function as the cut
> function to trim an unstructured grid? I'm working with an unstructured
> grid that has cell based material volume fractions defined for several
> different materials. I would like to be able to generate an isosurface
> using a particular value for cell based material volume fraction and then
> use that isosurface as input to a vtkCutter to trim off the edges of a cell
> based volume of the same material. Is this possible or is there another
> approach that would be better?
>
> Thanks,
>
> Eric
>
>
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list