[vtkusers] GetMeanDistance
    Massinissa Bandou 
    Massinissa.Bandou at USherbrooke.ca
       
    Wed Dec  4 13:49:29 EST 2013
    
    
  
Hello everyone!
I'm trying to read the mean distance on every iteration in
vtkIterativeClosestPointTransform 
which event is supposed to do this because I've tried with AnyEvent and I
got the first & the last value?? 
icp->AddObserver(vtkCommand::AnyEvent,this,&TomoRegistration::ICPCallback);
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/GetMeanDistance-tp5724842.html
Sent from the VTK - Users mailing list archive at Nabble.com.
    
    
More information about the vtkusers
mailing list