[vtkusers] slice structured grid with polydata

Justin Weber onlyjus at gmail.com
Fri Mar 25 12:11:45 EDT 2016


vtkTableBasedClipDataSet looks like what I want.


I tried a cube. Background mesh is 9x9x9 = 729 cells


cell breakdown:

tetra: 8

wedge: 84

hexahedron: 637

total: 729


Thanks for all your help! I'll add another example using
vtkTableBasedClipDataSet  to the wiki.

Justin

[image: Inline image 2]

On Thu, Mar 24, 2016 at 9:04 PM, Justin Weber <onlyjus at gmail.com> wrote:

> Every hex is converted to 5 tets.  So the "background mesh" starts with:
> 51x51x51x5 = 663,255 tets
>
> Volume cone / volume of mesh * tets = 1÷3×3.14×.5^2×1÷8×663255=21694
>
> Does seem a little off...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160325/22a25c2e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkTableBasedClipDataSet.png
Type: image/png
Size: 94995 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160325/22a25c2e/attachment.png>


More information about the vtkusers mailing list