[vtkusers] slice structured grid with polydata

Cory Quammen cory.quammen at kitware.com
Fri Mar 25 12:16:24 EDT 2016


Awesome, thanks!

Cory

On Fri, Mar 25, 2016 at 12:11 PM, Justin Weber <onlyjus at gmail.com> wrote:

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


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160325/dd73395a/attachment-0001.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/dd73395a/attachment-0001.png>


More information about the vtkusers mailing list