There are three different levels of making the gesture, each appropriate for a different set of occasions.
(1) The solemnest occasion is, of course, when one worships a Buddha image or salutes a Buddhist monk. There are two different ways for males and females to wai.