[vtkusers] read mean distance

Massinissa Bandou Massinissa.Bandou at USherbrooke.ca
Tue Feb 11 23:40:57 EST 2014


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.


More information about the vtkusers mailing list