Dynamic focal shift and extending depth of focus based on the masking of the illuminating beam and using an adjustable axicon.