[vtk-developers] Best fit plane function location
David Doria
daviddoria+vtk at gmail.com
Fri Jan 22 15:46:53 EST 2010
If you'll recall, a while back we tried to add a BestFitFroMPoints function
to vtkPlane. This caused some issues with cross-library linkage. Is this big
enough to make a separate class: vtkBestFitPlane (or maybe
vtkLeastSquaresPlane)?
I noticed that there is no vtkImplicitFunctionAlgorithm, so is this usually
not done?
I'm thinking something like:
vtkPoints* points = vtkPoints::New();
// ... fill points....
vtkBestFitPlane bestFitFilter = vtkBestFitPlane::New();
bestFitFilter->SetInput(points);
bestFitFilter->Update();
vtkPlane* bestPlane = bestFitFilter->GetOutput();
Thoughts?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100122/4d01dbb3/attachment.html>
More information about the vtk-developers
mailing list