with means for selecting or varying the shape or the direction of the emitted beam