Measure dimension, position, shape and roughness with one sensor | Optimax