[vtkusers] icp prblem compile

raimi87 amich.randa at gmail.com
Mon Aug 8 10:07:08 EDT 2011


hi i try to compile the example of "IterativeClosestPointTransform." but it
doesn't work how could i fix it ?
vtkSmartPointer<vtkIterativeClosestPointTransform> icp = 
      vtkSmartPointer<vtkIterativeClosestPointTransform>::New();
  icp->SetSource(source);
  icp->SetTarget(target);
  //icp->GetLandmarkTransform()->SetModeToRigidBody();
  icp->SetMaximumNumberOfIterations(40);
   icp->SetMaximumNumberOfLandmarks(source->GetNumberOfPoints()); 
        icp->SetCheckMeanDistance(1); 
        icp->SetMaximumMeanDistance(0.0000001); 
        icp->GetLandmarkTransform()->SetModeToRigidBody(); 
        icp->Modified(); 
        icp->Update(); 


--
View this message in context: http://vtk.1045678.n5.nabble.com/icp-prblem-compile-tp4677832p4677832.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list