multi-pass in-place algorithm?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

multi-pass in-place algorithm?

Dean Inglis-2
I am developing a widget based on a sphere implicit
function that smooths polydata meshes locally.  The
idea is to apply local smoothing interactively to a single
input vtkPolyData.  Is there a way to do feed back
the output of my local smoothing filter into itself as the input or to repeatedly
apply filtering operations to the same input?

here are the steps:
1) set vtkPolyData with pedigree Ids (via vtkIdFilter) as input to a sphere type widget
2) apply vtkExtractPolyData to the input using the widget as
  a sphere implicit function
3) smooth the extracted output from 2) and overwrite
   the original points' coordinates using the smooth points  in 1) according to pedigree id mapping
4) move the widget over the input and repeat 2), 3)

best,
Dean

_______________________________________________
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
Loading...