3D sensors for geometry and surface inspections