[vtkusers] Find closest point
Jothy
jothybasu at gmail.com
Mon Sep 19 12:29:11 EDT 2011
Try passing your polydata through vtkTriangleFilter before applying
smoothing.
Jothy
On Mon, Sep 19, 2011 at 4:19 PM, nuno.jf <nunofernandes7 at gmail.com> wrote:
> Well, this is strange, my application crashes each time I run it since I
> applied vtkWindowedSincPolyDataFilter.
> I read my point cloud (vtkpolydata) and then I apply the filter to it. What
> could be wrong?
>
> vtkPolyDataReader * imp = vtkPolyDataReader::New();
> imp -> SetFileName (argv[1]);
> imp -> Update();
>
> vtkWindowedSincPolyDataFilter *smoother =
> vtkWindowedSincPolyDataFilter::New();
> smoother->SetInput(imp -> GetOutput());
> smoother->SetNumberOfIterations(15);
> smoother->SetPassBand(.001);
> smoother->Update();
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Find-closest-point-tp4816065p4819327.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Jothybasu K Selvaraj
PhD Student
University of Liverpool
Liverpool,UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110919/c1bdb37d/attachment.htm>
More information about the vtkusers
mailing list