[vtkusers] clipping question

Bill Lorensen bill.lorensen at gmail.com
Fri Feb 2 19:58:37 EST 2018


These clip filters depend on the resolution size, I modified your
example to use a higher resolution image. I'd like to add this to the
VTKExaamples repo if is OK with you. I will acknowledge your
contribution.

Bill

On Fri, Feb 2, 2018 at 12:37 PM, Langer, Stephen A. (Fed)
<stephen.langer at nist.gov> wrote:
> Hi --
>
> When using vtkTableBasedClipDataSet to apply two more more clipping planes to a grid, I'm seeing incorrect results along the line where the planes meet.  I've attached a simple program that demonstrates the problem and a screenshot of the output.   The program generates a vtkRectilinearGrid and pipes it through vtkTableBasedClipDataSet with its clip function set to two perpendicular planes.  The result should have a concave right angle, but diagonal facets appear instead.
>
> I've tried using vtkClipDataSet instead, but it just gives different wrong answers, although it does work correctly when the clipping planes lie exactly along a row of nodes in the grid.  vtkTableBasedClipDataSet draws diagonal facets across cells in that case.
>
> What am I doing wrong?
>
> Thanks.
>
>   -- Steve
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsParadise at noware dot com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TableBasedClipDataSetWithPolyData2.cxx
Type: application/octet-stream
Size: 6170 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180202/7780da87/attachment.obj>


More information about the vtkusers mailing list