Method for scanning along a continuous scanning trajectory with a scanner system