A class of depth functions for directional data