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

Cory Quammen cory.quammen at kitware.com
Fri Jan 22 17:58:59 EST 2016


Hi Andy,

It would be easiest for VTK developers to help you if you push a patch to
GitLab.

Thanks,
Cory

On Fri, Jan 22, 2016 at 5:39 PM, Andy Smith <agsmith424 at gmail.com> wrote:

> 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
>
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160122/f0b87e5b/attachment.html>


More information about the vtkusers mailing list