Vector optical field manipulation via structural functional materials: Tutorial