[vtkusers] read mean distance
Matias Montroull
matimontg at gmail.com
Wed Feb 12 07:35:07 EST 2014
Shouldn't be icp->GetMeanDistance()?
On Wed, Feb 12, 2014 at 1:40 AM, Massinissa Bandou <
Massinissa.Bandou at usherbrooke.ca> wrote:
> I tried this but it shows nothing
>
>
> icp->SetCheckMeanDistance(1);
>
>
> icp->AddObserver(vtkCommand::ProgressEvent,this,&TomoRegistration::ICPCallback);
> icp->Modified();
> icp->Update();
>
>
> and
>
> void TomoRegistration::ICPCallback(vtkObject* caller,long unsigned int
> eventId,void* callData)
> {
> vtkIterativeClosestPointTransform* progress =
> static_cast<vtkIterativeClosestPointTransform*>(caller);
> cout<<progress->GetMeanDistance()<<endl;
> }
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/read-mean-distance-tp5725854p5725876.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140212/360ab4ce/attachment.html>
More information about the vtkusers
mailing list