//=====
void MeasureLength::Process()
{
- std::cout << "RaC MeasureLength::Process START"<< std::endl;
-
_points = bbGetInputPoints();
_image = bbGetInputImageData();
-
double sumLength = 0 ;
double sumLengthVoxels = 0 ;
if(_image != NULL && _points->GetNumberOfPoints()>1)
} // for
} // if
-
bbSetOutputLength( sqrt(sumLength) );
bbSetOutputLengthVoxels( sqrt(sumLengthVoxels) );
-
- std::cout << "RaC MeasureLength::Process END"<< std::endl;
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)