[vtkusers] How to and random noise to the point locations in vtkPolyData?
David Doria
daviddoria at gmail.com
Tue Jan 11 17:34:24 EST 2011
On Tue, Jan 11, 2011 at 5:23 PM, agerlach <agerlach at gmail.com> wrote:
>
> Hello,
>
> I am developing an application that compares a 3D CAD generated model with
> that of a 3D scan of the same object. To test my algorithms I would like to
> load the CAD model as a vtkPolyData, deep copy that to a new vtkPolyData
> and
> then add random noise to the point locations in the second vtkPolyData. I
> know how to create the random noise, but how do I modify the point
> locations
> in the vtkPolyData? I just want to add the noise to the x,y,z locations of
> the point locations of each point in the mesh. Thanks.
>
Take a look at this:
https://github.com/daviddoria/vtkNoiseFilter
<https://github.com/daviddoria/vtkNoiseFilter>It should do what you want
directly, or if not, at least give you a good start.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110111/6bf646d8/attachment.htm>
More information about the vtkusers
mailing list