Automorphic forms constructed from Whittaker vectors