Filtrations induced by continuous functions