Dynamic shape measurement system for laser materials processing