<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Tue, Jan 11, 2011 at 5:23 PM, agerlach <span dir="ltr">&lt;<a href="mailto:agerlach@gmail.com">agerlach@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello,<br>
<br>
I am developing an application that compares a 3D CAD generated model with<br>
that of a 3D scan of the same object. To test my algorithms I would like to<br>
load the CAD model as a vtkPolyData, deep copy that to a new vtkPolyData and<br>
then add random noise to the point locations in the second vtkPolyData. I<br>
know how to create the random noise, but how do I modify the point locations<br>
in the vtkPolyData? I just want to add the noise to the x,y,z locations of<br>
the point locations of each point in the mesh. Thanks.<br></blockquote><div><br></div><div>Take a look at this:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/daviddoria/vtkNoiseFilter">https://github.com/daviddoria/vtkNoiseFilter</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><a href="https://github.com/daviddoria/vtkNoiseFilter"></a>It should do what you want directly, or if not, at least give you a good start.</div><div class="gmail_quote">
<br><div>David</div></div>