3D technology for diagnosis in dentistry