An integrated robot-scanner system for automatic measurements of 3D shapes