We suggest a general technique for creating virtual atom-optical elements which are adaptive. The shape and position of these elements is determined by the frequency distribution for optical fields which induce transitions in a high gradient potential. This adaptive method is demonstrated in an all-optical atom interferometer, by creating either a variable optical slit or a variable optical grating which is scanned across the atomic spatial patterns to measure the fringes. This method renders mechanical motion of the interferometer elements unnecessary.