Three-dimensional Scheimpflug principle and its application to full-focus positioning