Devices acting selectively as reflecting surface, as diffracting or as refracting device