[vtkusers] Delaunay2D filter problem when using best fitting plane option

Andy Smith agsmith424 at gmail.com
Fri Jan 22 17:39:16 EST 2016


The Delaunay2D filter does not work properly when using best fitting plane
option if the points of interest all lie in the y-z or x-z plane.  It
appears that this problem has been around for a while:
https://cmake.org/pipermail/paraview/2008-November/010200.html

The comments in the source code indicate the ComputeBestFittingPlane was
taken from the vtkTextureMapToPlane class and modified but a few key parts
from the vtkTextureMapToPlane were neglected.
The code should check to see if the bounds are perpendicular to an axes so
the normal can be computed quickly.

I've attached a patch that takes more of the code from vtkTextureMapToPlane
and fixes the problem for my case.  Would it be easier for someone else
with developer access to test this patch or should I proceed down the
GitLab/developer route?

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160122/d693d9d6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Delaunay2D.patch
Type: text/x-patch
Size: 2998 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160122/d693d9d6/attachment-0001.bin>


More information about the vtkusers mailing list