<div dir="ltr">Shouldn't be <span style="color:rgb(51,51,51);font-family:Consolas,Courier,Helvetica,Arial;font-size:14px;line-height:20px;white-space:pre">icp-></span><span style="font-family:arial,sans-serif;font-size:13px">GetMeanDistance()?</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 12, 2014 at 1:40 AM, Massinissa Bandou <span dir="ltr"><<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried this but it shows nothing<br>
<br>
<br>
icp->SetCheckMeanDistance(1);<br>
<br>
icp->AddObserver(vtkCommand::ProgressEvent,this,&TomoRegistration::ICPCallback);<br>
icp->Modified();<br>
icp->Update();<br>
<br>
<br>
and<br>
<br>
void TomoRegistration::ICPCallback(vtkObject* caller,long unsigned int<br>
eventId,void* callData)<br>
{<br>
vtkIterativeClosestPointTransform* progress =<br>
static_cast<vtkIterativeClosestPointTransform*>(caller);<br>
cout<<progress->GetMeanDistance()<<endl;<br>
}<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/read-mean-distance-tp5725854p5725876.html" target="_blank">http://vtk.1045678.n5.nabble.com/read-mean-distance-tp5725854p5725876.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>