Text this: ADAPTIVE DEFECTOSCOPY OF THE HIDDEN SURFACES OF CASTINGS AND ROLLING