<div><div class="gmail_quote">On Mon, Jun 14, 2010 at 6:00 PM, Wagner Sales <span dir="ltr">&lt;<a href="mailto:wsales@gmail.com">wsales@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;">
Hi David,<br>
<br>
Let me see if I get:<br>
<br>
a) set the two known points ( the points on each cap of the cylinder )<br>
to source of the vtkLandmarkTransform ( SetSourceLandmarks )<br>
b) set the two desired points to target of the vtkLandmarkTransform (<br>
SetTargedLandmarks )<br>
c) set a type of transform ( rigid? )<br>
d) creates a vtkTransformPolyDataFilter and sets the previous<br>
vtkLandmarkTransform to this filter<br>
e) apply the filter on the polydata<br>
<br>
That&#39;s it?<br>
<br>
Regards,<br>
<br>
Wagner Sales<br><br></blockquote><div> </div>Yep, that&#39;s exactly what I meant to say, but I wasn&#39;t 100% clear of what you were trying to so I&#39;m not sure that it does what you want.<div><br></div><div>Let me know if it doesn&#39;t and we&#39;ll continue to brainstorm.</div>
<div><br></div><div>David </div></div></div>